2007 Mar 29 7:22 AM
Hi All,
Can anybody provide me the peace of code for this...
If transaction code is IQS1 and IQS2 and condition type ZC.
If complete button triggered. (Function Code: MDDF)
Action text field from QMSM or Long text not equal to space.
If text field is blank.
Trigger error that required field is missing.
Else.
Continue.
Endif.
Endif.
Endif.
Regards,
Parvez.
Hi All,
Can anybody provide me the peace of code for this...
If transaction code is IQS1 and IQS2 and condition type ZC.
If complete button triggered. (Function Code: MDDF)
Action text field from QMSM or Long text not equal to space.
If text field is blank.
Trigger error that required field is missing.
Else.
Continue.
Endif.
Endif.
Endif.
Regards,
Parvez.
2007 Mar 29 8:27 AM
Try this code:
IF SY-TCODE EQ 'IQS1' OR SY-TOCE EQ 'IQS2' AND CONDITION-TYPE EQ 'ZC'.
IF SY-UCOMM = 'MDDF'.
IF QMSM-TEXT EQ ' ' OR LTXT EQ ' ' . .
MESSAGE 'REQUIRED FIELD MISSING' TYPE 'E'.
ELSE.
CONTINUE.
ENDIF.
ENDIF.
ENDIF.
2007 Mar 29 8:33 AM
Hi Vijayalaxmi,
Thanks for the reply..
Have used the same code but the thing is that CONTINUE stmt is working in IF & ENDIF. It seems we can use that in loops like do, while or so..
thanks,
parvez.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |