‎2009 Jun 26 10:51 AM
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
‎2009 Jun 26 11:24 AM
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
‎2009 Jun 26 10:58 AM
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
‎2009 Jun 26 10:58 AM
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
‎2009 Jun 26 11:00 AM
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
‎2009 Jun 26 11:24 AM
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