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

Change Purchase Requisition

Former Member
0 Likes
886

Hi experts,

I want to select Purchase Requisitation data from EBAN accordind to selection parameter and check the value of EMLIF field with EINE table which contains another field called ZEMLIF. if both are same i need to update few fields like ADRNR, LBLKZ into EBAN table.

Can you please tell me how we can do this?..

Is there any BAPI to update this fields?

Thank you in Advance.

Hi experts,

I want to select Purchase Requisitation data from EBAN accordind to selection parameter and check the value of EMLIF field with EINE table which contains another field called ZEMLIF. if both are same i need to update few fields like ADRNR, LBLKZ into EBAN table.

Can you please tell me how we can do this?..

Is there any BAPI to update this fields?

Thank you in Advance.

3 REPLIES 3
Read only

former_member386202
Active Contributor
0 Likes
689

Hi,

Try this BAPI BAPI_REQUISITION_CHANGE Change Purchase Requisition

Regards,

Prashant

Read only

Former Member
0 Likes
689

Hi ,

U try with the BAPI " BAPI_REQUISITION_CHANGE Change Purchase Requisition

BAPI_REQUISITION_CREATE Create Purchase Requisition

Read only

SujeetMishra
Active Contributor
0 Likes
689

Hi Ruchit,

Please try to use BAPI "BAPI_PR_CHANGE" instead using BAPI_REQUISITION_CHANGE, because its easy and your requirement is to Update Address either subcontractual Address or Delivery Address, so in above BAPI you can easily see the Dictionary Ref BAPIMERQADDRDELIVERY, where you can retrieve ADDR_NO comparing PREQ_NO (PR no) with EBAN-BANFN.

Have a Nice Day,

Regards,

Sujeet