2015 Apr 29 9:21 AM
Hi Experts,
I need to develop a custom program that will force close a PR number that are partially served with PO by changing the value of the quantity of a PR number.
I know it is not a good practice to change the data of a standard table.
But by doing this I need to update table eban and change the MENGE value.
I need to know if there are any other fields in a certain table that I need to update in order to close a PR number.
How can i know the affected table and field when deleting a line item in a PO?
Hi Experts,
I need to develop a custom program that will force close a PR number that are partially served with PO by changing the value of the quantity of a PR number.
I know it is not a good practice to change the data of a standard table.
But by doing this I need to update table eban and change the MENGE value.
I need to know if there are any other fields in a certain table that I need to update in order to close a PR number.
How can i know the affected table and field when deleting a line item in a PO?
2015 Apr 29 10:49 AM
2015 Apr 29 6:57 PM
Hi Jepoy,
You're looking at this the wrong way. You say you know that you should not change table data directly, but now you're asking which other tables you have to update directly since you're going to do it anyway!
Use BAPI_PR_CHANGE to make this change. This is the approved way to make the change. Do NOT update EBAN directly, you will cause problems.
Jim