Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module updating the data base table

Former Member
0 Likes
1,213

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

5 REPLIES 5
Read only

Former Member
0 Likes
744

Hi,

Did you do commit work after the FM call? if not jsut do that.

Regards,

HImanshu

Read only

0 Likes
744

Hi,

I have done the COMMIT after this call . If the return Code is sucess

I have put the COMMIT statement.

Best regards,

Mahesh

Read only

kanishakgupta1
Contributor
0 Likes
744

hi friend,

This link wont five u the complete help but if u ananyse it then it might provide u some idea......

regards

kanishak

Read only

Former Member
0 Likes
744

Hi,

Try calling BAPI,

BAPI_TRANSACTION_COMMIT after you call your FM. pass wait as 'X' here.

Regards,

Amit

Read only

Former Member
0 Likes
744

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