Skip to Content

exclude values with infopackage routine

Hi guys,

I would like to exclude some values with an infopackage routine, here my code:

data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'VBELN'.
l_idx = sy-tabix.
delete l_t_range where vbeln = '1'.

delete l_t_range where vbeln = '2'.
modify l_t_range index l_idx.

p_subrc = 0.

Let's say i would like to exclude values vbeln 1 and 2.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 04, 2015 at 02:19 PM

    Hi Amine

    Infopackage could not handle exclusions and guess that is why you are trying for routine.

    If the selections are simple to exclude and just for one time load, use ranges of what you need. In infopackage selections, you could include 1 to 5 and 7 to 10 in order to exclude 6.

    Check the below threads for your code.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.