Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

syntax problem

Hi All!

I want the equivalent ABAp syntax code for this selection screen code:

DELETE et_vekp WHERE NOT ( packvorschr IN selpackv

AND status IN selstat

AND vpobj IN selvpobj).

The inputs for selstat selpackv and selvpobj is coming from selection screen.

I had done like this : I had passed fixed inputs through r_packins r_vpobj and r_status (ranges)

DELETE et_vekp WHERE NOT ( packvorschr in r_packins

AND status in r_status

AND vpobj in r_vpobj ).

in first code : if suppose packvorschr is blank in selection screen the output is a combination of all packvorschr satisfying the condition of status and vpobj.all packvorschr is selected

But for the second code the output is values where packvorschr is blank

0r null.I mean its not taking all packvorschr into consideration and only null values are pulled out with the combination of other conditions.

I want the second code to work similarly like the first one.Please advise changes.



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question