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

Transaction Code having problem with Screen calling

Former Member
0 Likes
680

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

5 REPLIES 5
Read only

Former Member
0 Likes
634

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

Read only

0 Likes
634

the code is simple

after that just PBO n PAI modules are written which never been hit.

Read only

0 Likes
634

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

Read only

former_member761936
Active Participant
0 Likes
634

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

Read only

Former Member
0 Likes
634

Hi,

Delete the T code once and Re Crearte it may sove ur problm

Regards