Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

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

    Ignore message

    Message was edited by: Rishi Joseph

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

    • Former Member

      we thought about that too. Unfortunately POs get fed from diffrent systems in our company and there is no particular format :-(.

      thanks for your prompt answer.