2007 Aug 02 8:48 AM
i have to validate comany code (parameter)COEP-BURKS and cost center (CSKS-KOSTL) (parameter) and fiscal year (select option) (COEP-GJAHR).
If any wrong data is entered it should give error message and stay on the selection screen.
Hi,
Validate each parameter with corresponding value table in AT SELECTION SCREEN event by writing select queries and giving error messages if sy-subrc ne 0.
Regards,
Sankar
2007 Aug 02 8:52 AM
Hi,
Validate each parameter with corresponding value table in AT SELECTION SCREEN event by writing select queries and giving error messages if sy-subrc ne 0.
Regards,
Sankar
2007 Aug 02 8:55 AM
Hi,
u can use AT selection-screen. event to validate data. like:
AT SELECTION-SCREEN.
IF S_BUKRS IS INITIAL.
MESSAGE E001. "PL ENTER DATA
ENDIF.
JOGDAND MB
2007 Aug 02 8:58 AM
Hi Vishal,
AT SELECTION-SCREEN.
IF P_BUKRS OR P_KOSTL OR P_GJAHR IS INITIAL.
MESSAGE E001(ZSD) WITH 'XXXXXXXXXXXXXXXXXXX'
LEAVE TO TRANSACTION XXXXX.
ENDIF.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.
2007 Aug 02 10:08 AM
2007 Aug 02 10:08 AM
2007 Aug 02 11:28 AM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |