Symptom
- When creating/changing a sales order in VA01/VA02, input a numeric value - for example 17 -- in field 'Purchase Order Item' and save, in SE16, the value VBAP-POSEX is 000017, instead of 17.
- After create/update a SD sales document via Inbound IDOC(like message type ORDERS), even though the field E1EDP01-POSEX contains a numeric value - e.g. 17 or 017, in SE16, the VBAP-POSEX will have leading zeros and become 000017, instead of 17 or 017.
- An outbound IDOC is generated from a sales order. The value in segment field which is for POSEX(like e1edp02-zeile for message type ORDRSP) contains leading zeros always if it is a numeric value.
- Create/update a sales order via BAPIs from T-Code SE37, numeric value is set to purchase order number. For example, BAPI_SALESORDER_CREATEFROMDAT2, its ORDER_ITEMS_IN-PO_ITM_NO is 17. After execution, check VBAP-POSEX in SE16, the numeric value has leading zeros 000017 instead of 17.
- When creating/changing a sales order in VA01/VA02, input a numeric value, for example 017 -- in field Purchase Order Item and click Enter, it becomes 17.
*This document is mainly explaining why leading zeros are added into database field VBAP-POSEX when it is numeric values, and why it is displayed without leading zeros on dynpro screen
Read more...
Environment
- Sales And Distribution (SD)
- 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
Product
SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions
Keywords
ORDERS, IDOC_INPUT_ORDERS, ORDRSP, IDOC_OUTPUT_ORDRSP, Purchase Order Item , KBA , SD-SLS-SO , Sales Orders , SD-SLS-GF-IF , Sales Documents BAPI's , SD-EDI , Electronic Data Interchange , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview