04-20-2018 8:40 AM
hi experts,
as always I need your help: The bapi_po_create set the field 'STATU' of table EKKO to '9' instead of 'I'. Online I found the OSS note 751130 that solves the problem, but it's for SAP_APPL 470 - 500, not uppers. Maybe a solution can be to set the field to 'i' before to call the FM , but this meant that i have to set this solution for each program that use the BAPI_po_create1.
Please help .
04-20-2018 10:31 AM
The note wouldn't have actually solved your problem.
You could consider either an implementation of BAdI ME_PROCESS_PO_CUST (beware, no multiple implementations allowed) or some implicit enhancement in the form MEPO_HEADER_FILL_STATU (SAPLMEPO)
In both case you should look for the creation BAPI in the system stack (returned from FM SYSTEM_CALLSTACK) before setting MEPOHEADER-STATU.
04-20-2018 10:31 AM
The note wouldn't have actually solved your problem.
You could consider either an implementation of BAdI ME_PROCESS_PO_CUST (beware, no multiple implementations allowed) or some implicit enhancement in the form MEPO_HEADER_FILL_STATU (SAPLMEPO)
In both case you should look for the creation BAPI in the system stack (returned from FM SYSTEM_CALLSTACK) before setting MEPOHEADER-STATU.
04-20-2018 11:45 AM