‎2009 Aug 12 3:58 PM
Hi,
This post is regarding the function module not updating the data base table.
I am calling the FM SD_SHIPMENT_HEADER_CHANGE inside the ZFM. It's returning success an changing the table c_xvttk_new with the new TDLNR value. But it's not updating the Shipment table VTTK-TDLBR or VT02N Forwarding agent.
When I directly updating Forwarding agent in VT02N it's updating fine.
Please let me know what the extra step need to be included to update or COMMIT the FM for updating
Forwarding Agent(VTTK-TDLNR).
Best Regards,
Mahesh
‎2009 Aug 12 4:08 PM
Hi,
Did you do commit work after the FM call? if not jsut do that.
Regards,
HImanshu
‎2009 Aug 12 4:31 PM
Hi,
I have done the COMMIT after this call . If the return Code is sucess
I have put the COMMIT statement.
Best regards,
Mahesh
‎2009 Aug 12 9:02 PM
‎2009 Aug 14 6:05 AM
Hi,
Try calling BAPI,
BAPI_TRANSACTION_COMMIT after you call your FM. pass wait as 'X' here.
Regards,
Amit
‎2009 Aug 14 9:29 AM
Hi Mahesh,
when we are updating the tables we need to consider the key fileds and required fields for that table and check table reffernce also then only it wll update. other wise it wont be .
~linganna