on 06-30-2006 4:37 AM
Hello Friends,
Iam trying a scenario where I want to create a PO in R/3 by sending the .xml file which contains the mandatory parameters to create a PO.
I tried the scenario where I used PORDCR IDoc and mapped that to a file with required values. I could see that the IDoc is received in R/3 without errors but the problem is there is no Process Code to create a PO in R/3. So, is there any other way to create a PO.
I think BAPI_PO_CREATE will be useful for this but I dont have any idea how to use this BAPI and what are the mandatory fields in that.
My scenario is FileXIR/3.
Regards,
Raju...
Hi Raju,
Just Do mapping with the following values
<b>*</b>Note the values which r not mentioned will come from the flat file..
<b>Source Field</b> <b>Target Field*</b> <b>Default Value</b>
Document Date ZBapi_Create_PO PO_Header-Doc_Date
Vendor ZBapi_Create_PO PO_Header-Vendor
Document type ZBapi_Create_PO PO_Header-Doc_Type NB
Doc Category ZBapi_Create_PO PO_Header- CAT F
Company Code ZBapi_Create_PO PO_Header-CO_CODE 3000
Purch. Org ZBapi_Create_PO PO_Header-PURCH_ORG 3000
Purch. Group ZBapi_Create_PO PO_Header-PUR_GROUP 010
PO Item ZBapi_Create_PO PO_Items-item-PO_ITEM 0010
Material ZBapi_Create_PO PO_Items-item-PUR_MAT
Plant ZBapi_Create_PO PO_Items-item-PLANT 3200
Net PriceZBapi_Create_PO PO_Items-item-NET_PRICE
Unit ZBapi_Create_PO PO_Items-item-UNIT
Price Unit ZBapi_Create_PO PO_Items-item-PRICE_UNIT
PO Item ZBapi_Create_PO PO_Items_Schedules-PO_ITEM 0010
Serial No ZBapi_Create_PO PO_Items_Schedules-SERIAL_NO 0010
Delivery Date ZBapi_Create_PO PO_Items_Schedules-DELIV_DATE
Quantity ZBapi_Create_PO PO_Items_Schedules-QUANTITY
Preq Item ZBapi_Create_PO PO_Items_Schedules-PREQ_ITEM 0002
Here ZBapi_Create_PO is BAPI_PO_CREATE1
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narayana,
In R/3 go to transaction BAPI and choose 'Alphabatical' tab. Then go to Purchase Order->CreateFromData1 and Choose 'Documentation' Tab. There is a sample example and Documentation available for this BAPI. Check if that helps..
Also BAPI_PO_CREATE1 is the latest BAPI for PO creation..
Regards
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.