SAP MIRO 参考字段XBLNR 数电发票20位问题

参考字段XBLNR只能个支持16位,没有办法支持20位的数电发票号码。只能增强了。

目前还是无解!觉得SAP还是不太重视中国的用户!

Do you need to extend RBKP-XBLNR to handle more characters? You’re not alone. | SAP Blogs

2580037 - MIRO/MIR7: Extended lengths for INVFO-XBLNR - SAP ERP & SAP S/4 HANA

SAP Knowledge Base Article, Version: 3, Released On: 26.09.2023

Symptom

You would like to increase the lengths for XBLNR due to business requirement. For example, having INVFO-XBLNR being filled with 20 characters or more in order to make the reference field being unique. You would like to increase the lengths of XBLNR for invoice duplication check.

Environment

  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Reproducing the Issue

  1. Go to transaction code MIRO and input the posting date and reference date.

  2. Input series of numbers or alphabets according to your business need.
  3. You have noticed system will only handle 16 characters.

Cause

This is standard behavior.

Since ERP is being built up, reference document number (XBLNR) can only handle 16 characters.

The reference document (XBLNR) is not only defined/designed in MM area, such as invoice headers table RBKP, FI header table BKPF, (index for vendor validation of double document) BSIP, purchase order history table EKBE, goods receipt header table MKPF and other applications as well. As the result, for this matter, we can not provide system change, as it would be caused un-expect effect not just from MM, FI area, also other application processes.

Resolution

For duplication check, you may consider to fill up the "TEXT" field and develop your own program under FM MRMBADI_HEADER_CHECK in order to meet up with your requirement. However, this BadI is only valid from MM invoice process. Please notice that this is a workaround and SAP will not provide support for this custom solution.

See Also

Blog: Do you need to extend RBKP-XBLNR to handle more characters? You’re not alone.

305201 Description: Check for duplicate invoices

213929 MIRO: Check duplicate invoices does not work

924769 MIRO: M8 108 is not issued for archived FI documents

Keywords

XBLNR, RBKP, BSIP, BKPF, EKBE, MRMBADI_HEADER_CHECK, duplication check, INVFO-XBLNR, MIRO, MIR7, length

你可能感兴趣的:(ABAP,SAP后勤业务,sap)