ā2014 Jul 14 8:54 AM
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.
ā2014 Jul 14 12:37 PM
Hello Raviteja.
Just do a BDC recording and use it in Z1.
Regards.
ā2014 Jul 14 10:37 AM
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
ā2014 Jul 14 12:37 PM
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.
ā2014 Jul 14 12:37 PM
Hello Raviteja.
Just do a BDC recording and use it in Z1.
Regards.
ā2014 Jul 14 1:15 PM
ā2014 Jul 14 1:19 PM
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