2005 Nov 11 2:08 AM
Hi,
I am using BAPI to create Purchase order , my problem is after created the purchase order i need to create Inbound Delivery with help of Call transaction.
when i execute in the night time it is working fine in background but when i execute in day time it doesn't work . can you please give some suggestion to fix this problem.
Thanks in advance,
Regards,
Kannan.
2005 Nov 11 4:20 AM
After creating Purchase Order using BAPI, call BAPI_TRANSACTION_COMMIT and pass 'X' to WAIT parameter. This will solve your problem.
Cheers
Satyanarayana.
After creating Purchase Order using BAPI, call BAPI_TRANSACTION_COMMIT and pass 'X' to WAIT parameter. This will solve your problem.
Cheers
Satyanarayana.
2005 Nov 11 2:10 AM
2005 Nov 11 2:35 AM
Hi Kannan,
This may be due to load on the server during day time.After Bapi add some <u>wait time</u> and use enquee/Dequee locks. We have similar issue SAP suggested to improve system performance .
2005 Nov 11 2:43 AM
You can use RZL_SLEEP function module for the delay between transaction.
Hope this helps.
Bipin
2005 Nov 11 4:20 AM
After creating Purchase Order using BAPI, call BAPI_TRANSACTION_COMMIT and pass 'X' to WAIT parameter. This will solve your problem.
Cheers
Satyanarayana.
2005 Nov 11 1:42 PM
Hi,
I have solved myself. now i got the two more issues.
1 . i am fetching <b>netprice from flatfile</b>. i can see the same netprice while debug the BAPI function module, but after creating the PO the netprice got changed means some value does overwrite that flatfile netvalue.
2. we have <b>Our reference</b> and <b>your reference</b> fields on header detail in PO. here also while i debug i can see the value but after creating the PO no values are there.
kindly give suggestion to fix this problems.
Thanks,
Kanna.
2005 Nov 13 5:08 PM
Kannan,
Please check PO user exits. They may be overwriting the values which you are passing to the BAPI.
Cheers,
Satyanarayana
2005 Nov 13 5:33 PM
Hi,
Please check any user exits/Badis active in PO creation wahich may chaning your net price/Reference values.
Please check whether you are passing 'X' to POHEADERX-our_ref and POHEADERX-REF_1 fields .
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |