How to verify present data in database or not?

For example if i enter the range of values 1000 to 2000 it displays no data, I want cheak wather data is in database or not? Explain.

Showing Answers 1 - 6 of 6 Answers

hi swapna,
                This can be done by using AT SELECTION-SCREEN EVENT.

CODE:
TABLES : VBAP.
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
AT SELECTION-SCREEN.  "FOR VALIDATIONS.
SELECT SINGLE VBELN  FROM VBAP INTO VBAP-VBELN WHERE VBELN IN S_VBELN.

THE ABOVE CODE WILL SOLVE UR PROBLEM..

Regards,
Kiran Kumar.G.A
                Have a Nice Day.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions