Hello,
My program runs perfect in DG1 but when it has been moved to the QG1, i found an issue with the screen validations.
When user selects a value in the Select-option Ex : Prod Status : PROD1
Then in S_QSTA should be PROD1.
In DG1 (Devlkopement) it is slecting correctly but in QG1(Quality) It is selecting : PROD1 and PROD2 without user selecting this value.
This is the way I had written the Screen Validations..Is there anything that I need to change?
*VALIDATION FOR NUMBER SCHEME
DATA : L_STCTS TYPE /SAPSLL/STCTS.
SELECT SINGLE STCTS
FROM /SAPSLL/CTSNUMC
INTO L_STCTS
WHERE STCTS IN S_STCTS .
IF SY-SUBRC <> 0 .
MESSAGE : E000(ZMSSG) WITH 'Data not available for this entry'.
ENDIF .
*VALIDATION FOR PRODUCT STATUS
DATA : L_QSTA TYPE /SAPSLL/QALSTA.
SELECT SINGLE QUAL_STA
FROM /SAPSLL/CORSTA
INTO L_QSTA
WHERE QUAL_STA IN S_QSTA.
IF SY-SUBRC <> 0 .
MESSAGE : E004(ZMSSG) WITH 'Data not available for this entry'.
ENDIF .
ANy Suggestions will be Appreciated!
Regards,
Kittu
Edited by: Kittu on Feb 6, 2009 4:21 PM