07-28-2005 1:33 PM
Hi!
Maybe sb. could help me with following problem: I'd like to call BAPI_PO_CHANGE from a Web Dynpro to change delivery times and quantities.
In the tables PO_SCHEDULE and PO_SCHEDULEX I set the following attributes:
<i>Delivery_Date</i>
<i>Stat_Date</i>
<i>Del_Datcat_Ext</i>
<i>Quantity</i>
<i>Po_Item</i>
as well as the regarded purchaseorder-number as import-parameter.
But unfortunatly, the changes I submitted were not taken over. Could you perhaps tell me what I did wrong or forget?
Thanks a lot in advance!
BR
Thomas
07-28-2005 1:35 PM
Hi Thomas,
maybe i'm wrong, but dont you need to call FM BAPI_TRANSACTION_COMMIT to make modifications effective?
Best regards, Manuel
07-28-2005 1:35 PM
Hi Thomas,
maybe i'm wrong, but dont you need to call FM BAPI_TRANSACTION_COMMIT to make modifications effective?
Best regards, Manuel
07-28-2005 1:37 PM
Hi Manuel!
Thanks for your quick answer, but I built a function module around the bapi and finished it with commit work and wait.
BR
Thomas
07-28-2005 1:41 PM
if i remember well, you really need to call the FM BAPI_TRANSACTION_COMMIT (with parameter wait) instead of commit work and wait...
regards, Manuel
07-28-2005 1:44 PM
I already changed attributes in the order positions - net price, acknowledgement number a.s.o. - with this function module, so I at least can say that the transaction's committed.
Nevertheless thank you very much!
07-28-2005 2:08 PM
Hello,
it seems that you forgot to enter the schedule line no.
You entered
Delivery_Date
Stat_Date
Del_Datcat_Ext
Quantity
Po_Item
in POCHEDULE and POSCHEDULEX.
But you also need to enter SCHED_LINE.
I do not know how familiar you are with debugging:
you could set a breakpoint in L2012F03, FORM move_schedule_in to check data transfer from BAPI format into internal format.
Christian