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: 

How to update ADPRI field in the table EKPO using BAPI_PO_CHANGE

0 Kudos

Hi

Is there any way to update the (ADPRI) field of table EKPO?.

I am looking at BAPI_CHANGE_PO FM, But it does not have ADPRI field in the item structure BAPIMEPOITEM.

Do I need to extend the BAPI structure with ADPRI field ? As ADPRI is standard field so how to extend the structure. I found thread for same issue to update EKPO-ABSKZ field but no answer was provided for same issue.

Kindly advise.

3 REPLIES 3

marcobeer
Active Participant

Hello Tahir,

You can try adding an append-structure to BAPIMEPOITEM, then you should be able to use ADPRI.
Please see here, how to add an append structure:
https://help.sap.com/doc/saphelp_nw73ehp1/7.31.19/en-US/cf/21ebc9446011d189700000e8322d00/content.ht...

Best Regards
Marco

former_member792919
Discoverer
0 Kudos

Hi Tahir,

I also have same requirement and not able to identify the right field in the BAPI tables, Can you please provide the solution how it is done.

Thanks

Murali

0 Kudos

Hi Murali

We added it by using append structure