2011 Feb 16 2:03 AM
Dear all,
We have business transaction where PO is getting created automatically. In real time, user is entering header condition manually, because header conditions are not allowed to have access sequence. It is difficult for users on tracking header condition manual entry details.
Can anyone throw some lights for using routine to have automatic entry of header condition while PO is created automatically ? Which routine to be explored to achieve automation of header condition value in PO ?
Rgds,
Dear all,
We have business transaction where PO is getting created automatically. In real time, user is entering header condition manually, because header conditions are not allowed to have access sequence. It is difficult for users on tracking header condition manual entry details.
Can anyone throw some lights for using routine to have automatic entry of header condition while PO is created automatically ? Which routine to be explored to achieve automation of header condition value in PO ?
Rgds,
2011 Feb 16 5:09 AM
Hi,
I have an idea but let us know if get to meet this requirement in someother better way.
You can trigger a UPDATE function module from one of the user exit/BADI and update the header conditions by using some BAPI like BAPI_PO_CHANGE. PO locking has to be taken care in the UPDATE FM. Check for the lock status of the PO before calling BAPI. Because if you have many outputs to be triggered in the PO, then lock may not get released by the time your update FM is triggered. So you have to wait till the lock is released. This logic is similar to standard SAP functionality of creating automatic delivery on saving the order.
Thanks,
Vinod.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |