2009 Dec 29 6:53 AM
Hi Experts,
Good Day.
How can I call several screens from a screen? The later screens will contain fields for data insertion in table.
Hope that i will get help from you.
Thanks
Sohel
2009 Dec 29 7:27 AM
Hi Moshiur,
Please search on SCN before asking basic questions.
Regards
Abhii
Hi Sohel,
Small change in Naveens code:
CASE OK_CODE.
WHEN 'BACK' .
LEAVE PROGRAM.
WHEN OTHERS. " Remove quotations here
CASE 'VBAK_VKORG'.
WHEN '1000'.
CALL SCREEN 200.
WHEN '2000'.
CALL SCREEN 300.
WHEN '3000'.
CALL SCREEN 400.
ENDCASE.
ENDCASE.
Check if this makes any difference. Even if ti is not working, keep a brea-point and check whetehr control is coming to when case or not.
Regards,
Swarna Munukoti
2009 Dec 29 6:58 AM
2009 Dec 29 7:14 AM
HI,
simply by using the CALL SCREEN <screen_no>.
For example if you are on Scr 0100 which has a push button and when you press this button you need to call a different screen then you use Call screen 0200.
after completion of the exercise in screen 200 the control will to screen 0100 again from there you can continue with the processing in screen 0100.
hope it helps you,
regards,
Abhijit G. Borkar
2009 Dec 29 8:04 AM
Dear Abhijit,
Thanks.
my code is as like bellow:
call screen 100.
CASE OK_CODE.
WHEN 'BACK' .
LEAVE PROGRAM.
WHEN '1000'.
CALL SCREEN 200.
WHEN '2000'.
CALL SCREEN 300.
WHEN '3000'.
CALL SCREEN 400.
ENDCASE.
In 'SCREEN 100' i have to give the value from VBAK-VKORG.
Suppose the values VBAK-VKORG are : 1000/2000/3000.
Based on these values one screen will appear.
Please tell me the code & procedure in brief how this can be done.
Regards
sohel
2009 Dec 29 8:11 AM
Hi,
In that case your code will work with one change.
Say VBAK-VKORG is the screen element for that input field.
CASE OK_CODE.
WHEN 'BACK' .
LEAVE PROGRAM.
WHEN 'OTHERS'.
CASE 'VBAK_VKORG'.
WHEN '1000'.
CALL SCREEN 200.
WHEN '2000'.
CALL SCREEN 300.
WHEN '3000'.
CALL SCREEN 400.
ENDCASE.
ENDCASE.Thanks,
Naveen Inuganti.
2009 Dec 29 8:29 AM
Dear Naveen Inuganti,
Thanks.
when I am putting the value 1000/2000/3000 in SCREEN 100 and pressing the OK button, it takes me to the main program.
can you give me more detail solution.
Regards
sohel
2009 Dec 29 8:36 AM
Hi Sohel,
Small change in Naveens code:
CASE OK_CODE.
WHEN 'BACK' .
LEAVE PROGRAM.
WHEN OTHERS. " Remove quotations here
CASE 'VBAK_VKORG'.
WHEN '1000'.
CALL SCREEN 200.
WHEN '2000'.
CALL SCREEN 300.
WHEN '3000'.
CALL SCREEN 400.
ENDCASE.
ENDCASE.
Check if this makes any difference. Even if ti is not working, keep a brea-point and check whetehr control is coming to when case or not.
Regards,
Swarna Munukoti
2009 Dec 29 7:27 AM
Hi Moshiur,
Please search on SCN before asking basic questions.
Regards
Abhii
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |