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: 

pass vendor rma while creating po using BAPI_PO_CREATE1

Former Member
0 Kudos

Hello All,

                 I have a requirement where I need to update VENDOR_RMA field value while creating the returns PO using BAPI_PO_CREATE1.

I could not find any corresponding field in the BAPI structure that I can use to update the VENDOR_RMA.

Is anyone experienced this earlier, if yes, could you tell me, how can I resolve this issue.  Also let me know, if not through BAPI_PO_CREATE1, Is there any other way I can pass this VENDOR_RMA field value while creating the PO.

Thanks in Advance.

4 REPLIES 4

Former Member
0 Kudos

This message was moderated.

0 Kudos

Hi ,

Mention the way you update  BAPI structure,

So that it will helpful for other in future .

0 Kudos

Hi Rajesh,

Return PO gets created as like any other normal PO, the only difference is we need to input the field- RMA_VENDOR both at header and line item.

My req. is to update header and item RMA vendor using BAPIs.

Since you have found out the solution. Could you please enlighten us.

Thanks & Regards,

Durgesh

Hello Durgesh,

           I have used ACKNOWL_NO field in the BAPIMEPOITEM structure of BAPI_PO_CREATE1 to pass the RMA_VENDOR field value and the value gets updated in the Returns Purchase Order - return tab RMA_VENDOR.

Kindly check from your end and let me know, if this is useful to you.

Regards,

Rajesh S