Skip to Content
0
Feb 28, 2011 at 06:47 AM

IF...ENDIF Condition in Dialog Text not Working ..

144 Views

Hi All

Am using Program RSWUWFML2 to send notification mail for workitem, where I have used custom Dialog Text Z_Diallog_Text. In this dialog Text, I have written below IF..EndIF condions...

/: DEFINE &V_400& = '400'

/: DEFINE &V_500& = '500'

/: IF &SY-SYSID& EQ &V_400&.

* System is 400

/: ENDIF.

/: IF &SY-SYSID& EQ &V_500&.

* System is 500

/: ENDIF.

Then am executing the Report RSWUWFML2 in system 400 with above custom dialog text and getting the below output (which is Strange !!):

System is 400

System is 500

Could any one pls confirm me whether IF...ENDIF condion will really work or not in a custom dialog text when it is called from Standard Program RSWUWFML2 ?

If it should work, then where am doing the wrong ? or Missing anything ?

Actually in SE61 -> Dialog Text -> Click on Screen Output (CtrlShiftF6) ->

Am getting correct Output i.e.

In system 400, am getting:

System is 400

Thanks in Advance

Satya