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 in module pool

Former Member
0 Likes
925

Hi experts,

i have two transactions one is z1 and other is z2.

In z1 i have field called 'number' ,when i double click on 'number' it should call transaction z2 by skipping first screen.

it working fine,

but the main issues is the z2 tcode having three buttons  in initial screen are create ,change,display.

so when i double click on z1 number i should call z2 tcode second screen in display mode by fetching all data of z2  based on number.

My main is issues is to display data in display mode in second screen of z2 tcode based on number when i double click on number.

z1 and z2 are ztcode.

Thanks and Regards

   RAVI.

1 ACCEPTED SOLUTION
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
767

Hello Raviteja.

     Just do a BDC recording and use it in Z1.

Regards.

5 REPLIES 5
Read only

Former Member
0 Likes
767

Hi ,

when the transaction 'Z2'  is called through Z1  internal table data,nunber  and make a flag value as X and export the data.

call transaction 'Z2'  and skip first screen.

import the data in the Z2 tcode and fetch the details based on the Z1 number .

when the flag value is X , make all the fields in the screen as screen-input = 0. in PBO

Read only

0 Likes
767

hi sai anusha,

                         Actually we are not using any internal tables here , we are using parameter id to send data to initial screen based on that value second screen values should be populate.

  Thanks for your suggestion,if you have any idea regarding my requirement please suggest me.

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
768

Hello Raviteja.

     Just do a BDC recording and use it in Z1.

Regards.

Read only

0 Likes
767

Hi Arun,

got it.Thank u..

Read only

former_member186472
Participant
0 Likes
767

Hi, you can use SPA and GPA variables to pass a flag and the number you want to exchange between two tcodes. And check your GPA parameters in PBO of second tcode and make all fields input disabled with the SCREEN-INPUT = 0 option and write your data fetch logic to fill in the screen fields.

SCREEN is a system generated internal table which holds all screen fields as its contents and using this internal table, we can alter screen field properties like visibility and input etc.

Thanks,

Siva