Application Development and Automation 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: 
Read only

bapi_po_create field ekko statu return 9

cherx95
Explorer
0 Likes
1,600

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
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,347

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.

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
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,348

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.

Read only

cherx95
Explorer
0 Likes
1,347

thank you @Giuseppi