Application Development 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: 

Perform Call Transaction Inside transaction

carlos_sev
Discoverer
0 Kudos
408

Hi experts,

I'm modifying standard of transaction VA01 so manual price conditions are added automatically when clicking a self-created button (not when save). I tried to do this adding code unsuccessfully. Now I'm trying to create a Batch-Input inside transaction VA01 but when BI executes, it starts transaction from beginning. I actually want BI to continue at the point where user is at that moment. Is this possible? I made a little test to see if it goes to back but it always start the transaction. Thanks in advance

bd sy-repid sy-dynnr.
bf 'BDC_OKCODE' '/EBACK'.

CALL TRANSACTION 'VA01' USING bdcdata
MODE 'A'
UPDATE 'S'
MESSAGES INTO messtab.

2 REPLIES 2

Sandra_Rossi
Active Contributor
372

No, it's not possible.

But that would be possible with SAP GUI Scripting, if you have this feature activated in both your SAP system (RZ11 profile parameter) and user's SAP GUI (at installation time).

You may possible start the script from the ABAP program.

carlos_sev
Discoverer
0 Kudos
372

Hi Sandra. Thanks a lot for your answer. I've searched about the SAP GUI Scripting API in Internet and there're some notes to install it. Does this API usually have a cost or it's enough just downloading and installing notes? thanks in advance