Skip to Content
author's profile photo Former Member
Former Member

Abap routine to NOT to allow only one value

Hello Everyone,

I am trying to filter out one PO Number from WBS costs load. I wrote an abap routine as the data selection. The data source does not allow the 'NE'. Any suggestions?

Below is the code.

read table l_t_range with key

fieldname = 'REFBN'.

l_idx = sy-tabix.

*....

l_t_range-SIGN = 'I'.

l_t_range-OPTION = 'NE'.

l_t_range-low = '786587543'.

modify l_t_range index l_idx.

p_subrc = 0.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 09:06 PM

    Ignore message

    Message was edited by: Rishi Joseph

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 09:05 PM

    Hi Shilpa,

    We had a similar problem..

    The way we solved it was by loading by PO number..

    Say if you want to skip PO number 5000,

    Load first load using selection 1-4999 and second load from 5001-999999.

    Hope this helps

    Ashish

    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.