Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_po_create field ekko statu return 9

bulldozerino
Explorer
0 Kudos

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 .

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

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.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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.

bulldozerino
Explorer
0 Kudos

thank you @Giuseppi