on 04-30-2008 12:27 AM
Hi experts.
Please help me..^^
i have 3 pages in a smartform.
if plant = '1000'. A page -> B page
else A page -> C page
or
if plant data exist. A page -> B page
else A page only
how to do this?
Hi,
if you have 3 pages in a smartform do this
DATA:L_NAME(17) TYPE C VALUE '%HEADER-FIRSTPAGE'.
FIELD-SYMBOLS: <FIELD>.
if plant = '1000'. A page -> B page
ASSIGN (L_NAME) TO <FIELD>.
IF SY-SUBRC EQ 0.
<FIELD> = 'PAGEA'.
ENDIF.
ENDIF.
else A page -> C page
ASSIGN (L_NAME) TO <FIELD>.
IF SY-SUBRC EQ 0.
<FIELD> = 'PAGEC'.
ENDIF.
ENDIF.
Thanks,
Nethaji.
Edited by: Nethaji babu on Apr 30, 2008 8:47 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can add two commands into your form: one for GOTO PAGE B and second one for GOTO PAGE C. Then same as for each node in smartform, you can add conditions to each command (tab Conditions).
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You canexplicitely write following code in MAIN window.
if <condition>
NEW-PAGE
endif .
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.