on 03-20-2008 5:08 PM
Hi friends i want to know how can i go to my next screen that is iw ant to know what should me my code in flow logic.
I have one screen say 1000 in which i have entered my Empid- and password then it should go to next screen where i will have
2 radio buttons after enter one say functional or technical then next like this i want the procedure please can anybody help me in this..
hi,
If yoy have some pushbutton in first screen say 100 under user-command
MODULE USER_COMMAND_0100 INPUT.
OKCODE = SY-UCOMM.
CASE OKCODE.
WHEN 'DISP' OR SPACE.
SELECT *
FROM VBAK
INTO CORRESPONDING FIELDS OF TABLE IT_TAB
WHERE KUNNR = KNA1-KUNNR.
IF SY-SUBRC <> 0.
MESSAGE 'No sales document exists'(001) TYPE 'I'.
ENDIF.
LEAVE TO SCREEN 200. -
second screen
CLEAR OKCODE.
*--- To leave Transaction
WHEN 'BACK' .
LEAVE PROGRAM.
CLEAR OKCODE.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Reward Points if usefull
Regards
Fareedas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
After you enter the values on the screen, you press enter on the screen.
For this you need to write the code in PAI.
create an module.
and in this module based on the sy-ucomm.
i.e.
case sy-ucomm.
when 'ENTE'
do the required validations.
leave screen 'next screen number'.
set screen 0.
endcase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
while creating screen in attributes place next screen number.
it wil go to next screen what you specified in that.
create screen number what you specified using same program.
after you can trigger based on your control.
Reward points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.