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

help in dunning forms

Former Member
0 Likes
487

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

3 REPLIES 3
Read only

Former Member
0 Likes
444

Hi Reddy ,

check ur IF and ENDIF conditions in DEBUG MODE.

Regards

Prabhu

Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
444

To activate the debugger,

Go to SE71>Utilities>Activate Debuggur

Reward if useful.

Vasanth