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: 

Header Text using bapi_po_create1

Former Member
0 Kudos

hi,

I created a purchase order with header text using bapi_po_create1.But now my requirement is to populate all the header level texts through flat file with po data at a time .The problem is in bapi_po_create1 there is only one parameter in tables i.e.poheadertext ,so how can i pass multiple internal table ,as i am not able to create one internal table including all header level texts and passes to the same parameter but it's not working...

KindlyReply with sample code....

2 REPLIES 2

Former Member
0 Kudos

Hi

Call the BAPI in a loop

Regards

MD

0 Kudos

Hi,

plz elborate the same with code.As i create a structure itab1 under that I included heder text,pricing type,delivery notes & payterms and the text will be uploaded through flat file but when i am going to pass the itab1 to tables parameter poheadertext po is created but text is not updated .

so i request you to add some sample code .