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

errors in BAPI_PO_CREATE1.

Former Member
0 Likes
637

Hi abapers,

I am trying to create PO using BAPI_PO_CREATE1.

After executing the bapi i get the error that PO header data is still faulty.

what are the mandatory fields that need to to be passed.

Also i had a few other doubts:

1) is it necessary to pass the item no to POitem or does the BAPI generate it automatically.

2) also what is the use of POitemx POschedulex .is it necaessary to pass them.

Regards,

Aditya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
592

Hi,

You have to give item no as per the configuration done in your system.

POitemx POschedulex : If you are giving any data in POITEM or POSCHEDULE, then you have to set the corresponding fields in these tables as X.

Regards,

Anil Salekar

4 REPLIES 4
Read only

shishupalreddy
Active Contributor
0 Likes
592

Hello,

Please search SDN on BAPI_PO_CREATE1 u will get number of threads with CODE also ...

Still if u have doubts please let me know

Regards

Read only

Former Member
0 Likes
592

hai aditya just once go thorugh the documentation of the function module

itesm will not be autmoticaly generated u have to pass

poitemx tables are used durign changing any field

m.a

Read only

former_member192467
Active Participant
0 Likes
592

Hi,

Check this: abap.wikiprog.com/wiki/BAPI_PO_CREATE1

here is a smple code I found:

Edited by: Renjith Michael on Jun 26, 2009 12:00 PM

Edited by: Renjith Michael on Jun 26, 2009 12:02 PM

Read only

Former Member
0 Likes
593

Hi,

You have to give item no as per the configuration done in your system.

POitemx POschedulex : If you are giving any data in POITEM or POSCHEDULE, then you have to set the corresponding fields in these tables as X.

Regards,

Anil Salekar