‎2010 Jan 26 4:58 PM
Hi everyone,
i have a program which have two screens lets say screen 100 and 101 and also i got two parameters from user before calling this screen.
code is like
PARAMETERS: SaleDoc type ZPCOST-VBELN,
LineNo type ZPCOST-POSNR.
CALL SCREEN 100.
program is working fine but when i create a transaction and call screen 1000 (i.e. parameter screen) it immediatly got exit after getting paramters.
but logically it must proceed to screen 100 but it isnt.
Thanks in advance to everyone
‎2010 Jan 27 5:20 AM
Hi Wasif,
It all depends on the placement of the statement Call Screen 100.
Can you please share your code, so that i may be able to assist you further.
Regards,
Abhijit G. Borkar
‎2010 Jan 27 5:37 AM
the code is simple
after that just PBO n PAI modules are written which never been hit.
‎2010 Jan 27 5:52 AM
put CALL SCREEN 100 after the start-of-selection, if you have made a selection screen in the program.
Alternatively if you have made a screen 1000 via screen painter then write this in the PAI event and in the SET PF-STATUS 'MAIN0100' active the enter event.
Regards,
Abhijit G. Borkar
‎2010 Jan 27 9:37 AM
Hi ,
I think There is a probelm with creation of TCODE.While creating TCODE it will give options like
1) Program and screen(Dialog)
2) Program and selection screen
3)Method of class
I think you selected 1st one by mistake, please seelct second one for report programs.
HOpe this will solve your problem
Thanks and Regards,
Narendra.Soma
‎2010 Feb 11 6:11 AM
Hi,
Delete the T code once and Re Crearte it may sove ur problm
Regards