‎2006 Jul 18 12:39 PM
hi to all,
i need to print all the three dunning levels in one form so i used this code
IF &MHNK-MAHNS& = '0'.
INCLUDE ZDUNN_TEXT_LEVEL1 OBJECT TEXT ID ST LANGUAGE EN
ELSEif &MHNK-MAHNS& = '1'
INCLUDE ZDUNN_TEXT_LEVEL2 OBJECT TEXT ID ST LANGUAGE EN
ELSE &MHNK-MAHNS& = '2'
INCLUDE ZDUNN_TEXT_LEVEL3 OBJECT TEXT ID ST LANGUAGE EN
ENDIF
but it is not working
when we execute for first level it is printing 2nd and 3rd level together in one form.
HOW TO DEBUG SAPSCRIPT BY USING ACTIVE DEBUGGER
plz help me in this issue.
Thanks & Regards
Kranthi Revuri.
Message was edited by: kranthi reddy
‎2006 Jul 18 12:42 PM
Hi Reddy ,
check ur IF and ENDIF conditions in DEBUG MODE.
Regards
Prabhu
‎2006 Jul 18 12:43 PM
Hello Kranthi,
Use this code and check it in the debug mode
IF &MHNK-MAHNS& EQ '0'.
INCLUDE ZDUNN_TEXT_LEVEL1 OBJECT TEXT ID ST LANGUAGE <b>sy-langu</b>
ELSEif &MHNK-MAHNS& EQ '1'
INCLUDE ZDUNN_TEXT_LEVEL2 OBJECT TEXT ID ST LANGUAGE <b>sy-langu</b>
ELSEif &MHNK-MAHNS& EQ '2'
INCLUDE ZDUNN_TEXT_LEVEL3 OBJECT TEXT ID ST LANGUAGE <b>sy-langu</b>
ENDIF
If useful reward points.
Vasanth
Message was edited by: Vasanth M
‎2006 Jul 18 1:02 PM
To activate the debugger,
Go to SE71>Utilities>Activate Debuggur
Reward if useful.
Vasanth