cancel
Showing results for 
Search instead for 
Did you mean: 

selecting item from selection control

Former Member
0 Kudos
67

Hi,

i have one issue in the va01 trasaction.

There is screen called Choose an unloading Point.

i am going to Seach and giving invalid and recording so.

My reqirement is if given value found it should continue.

if not it it suppress the error dialog and script should be exit by writing information to log.

Can any one suggest me the solution.

Thanks in Advance.

Regards,

sreedhar d

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member585451
Active Participant
0 Kudos

HI Sree,

You should do this before the recording(something like a preparation part).

Use INLINE ABAP, to find out if you have the desired entry(as far as I see what you are asking for is a customizing entry, which should be stored in a table/view) in the database table/View.. If you find the value continue till recording else

IF ( <VALUE NOT FOUND> ).

E_ERROR = 'X'.

LOGTEXT ( 1 , <Message> ).

EXIT ( '' = '' ).

ENDIF.

PS: here in LOGTEXT, 1 is to show the log as error, you can use 0(ZERO) if you want to get the log with green result.

Hope this helps.

Best regards,

Harsha