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

Call Transaction

Former Member
0 Likes
692

Hi Friends,

After Call Transaction statement sy-subrc = 0.

But SAP table is not updating immediately...only after some time it is updating..

What may be the problem?...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
669

if i m right u want to update a DATABASE table..after each update do -

COMMIT WORK

it will update the table at instant once commited..

reward point if helpfull

Hi Friends,

After Call Transaction statement sy-subrc = 0.

But SAP table is not updating immediately...only after some time it is updating..

What may be the problem?...

6 REPLIES 6
Read only

Former Member
0 Likes
670

if i m right u want to update a DATABASE table..after each update do -

COMMIT WORK

it will update the table at instant once commited..

reward point if helpfull

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
669

Hi,

Try giving the update 'S' in addition to call transaction.

call transaction tcode using itab mode 'N' update 'S' messages into i_msg.

Kindly reward points if it helps.

Read only

0 Likes
669

Thanks

Read only

Former Member
0 Likes
669

change the mode for synchronous update

Read only

Former Member
0 Likes
669

Hello,

The reason could be that an update work process is used to update the table in the transaction called. The update process will take some time if the work process is busy. That could be the reason for the delay.

Manoj

Read only

Former Member
0 Likes
669

I'm calling a Transaction form my Function module like

CALL TRANSACTION 'ZLVSCRAP' USING i_bdcdata

  • MODE v_mode

  • UPDATE c_s

  • MESSAGES INTO i_messages.

but when i'm in the PGM , i can not do commits , becuse it jumps back into my Function, and dose not finish the rest of the logic in the called pgm? And with me doing commits it thinks i have hold on orders thst were created in the called pgm whicjh also hangs me up?

pleasae help?????