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
685

Hi,

I have one query regarding call transaction method.

Suppose in my internal table having data. Now I would like to transfer the data from internal table to screen fields.

I have multiple screen. Now My requirement is to only display the last screen. So that if i would like to modify

some data, I will do it in screen do the further processing.

Is it possible??

Hi,

I have one query regarding call transaction method.

Suppose in my internal table having data. Now I would like to transfer the data from internal table to screen fields.

I have multiple screen. Now My requirement is to only display the last screen. So that if i would like to modify

some data, I will do it in screen do the further processing.

Is it possible??

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
665

Yes, it is. Do the recording up to the point to where you want to take over. Put this code in your program and use the CALL TRANSACTION statement and set to MODE = 'E'.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
665

Hi,

You need to follow the screen sequence, i mean if it possible to go that screen directly then you can write directly, other wise you need to write the code to follow the screen sequence until you reach that screen.

Regards

Sudheer

Read only

0 Likes
665

Hi,

Suppose I have two screen 100 & 200. 200 is final screen.

After reaching to screen 200 I would like to stop the transaction.

So I will code like

PERFORM bdc_dynpro USING 'XYZ' '0100'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=DEF'.

PERFORM bdc_dynpro USING 'ABC' '0200'.

call the transaction 'MNO' using itab mode 'E'.

Am I right??

Read only

0 Likes
665

At any point if you want to stop the execution of Call Transaction on a screen just dont call any further screen in your BDC table.

e.g.

you have screen 1000, 200, 300 and you want to execute only screen 100 & 200 then dont build the table for screen 300.

it will automatically stop there but dont forget to use CALL TRANSACTION with UPDATE 'S' in that case.

Regards,

Amit