Hi All,
I have a requirement that I need to create a Purchase Order using BAPI by uploading excel file which contains PO header data and Item data.
while creating the PO , info record also need to be craeted. if the PO already have inforecord , then its should be updated.
Now i tranfered the data from excel file to internal table by using the function module TEXT_CONVERT_XLS_TO_SAP .This internal table now contain both PO header and multiple line item.
1. How to pass this internal table to BAPI " BAPI_PO_CREATE1 " to create PO ? (internal table contain mutiple line item ).
2. How to create info record ? if any FM available for both creating and updating info record?
3. If the info record cant be created, then PO should not be created.. how to acheive this?