Skip to Content
author's profile photo
Former Member

ABAP routine in Infopackage

I am in the process of creating an ABAP routine in the Infopackage to load current month based on system data from one cube in BW to another Cube in BW. I am getting the following error in the load. I am not an ABAPer and would appreciate if you can help or guide me with a sample code.

Here is the error.

For sel. field '/BIC/Z_APOSNAP', no selection with SIGN = ''; OPTION '' allowed.

Thank you

Neelu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 21, 2005 at 05:02 AM

    Hi Neelu,

    U can create a ABAP Routine of the type 6 (ABAP Routine),The field you are trying to populate is a select-option so you have to define both Sign and Option along with Low and High values.

    As u want to load current month, from a system values , u can do it from sy-datum.

    data: l_idx like sy-tabix.

    read table l_t_range with key

    fieldname = ''/BIC/Z_APOSNAP'.

    l_idx = sy-tabix.

    l_t_range-low =

    l_t_range-high =

    l_t_range-sign =

    l_t_range-option =

    modify l_t_range index l_idx.

    p_subrc = 0.

    Just u can fill Sign as 'I' and Option 'EQ'.

    Fill Low and High with values u get from System Data.

    Hope this Helps,

    Thanks,

    Krish

    **awarding points is way of saying thanks in SDN.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 20, 2005 at 08:00 PM

    Hi Neelu,

    You can also use OLAP variable int he InfoPackage to load data for current month. The variable is 0CMONTH.

    Hope this helps...

    Add comment
    10|10000 characters needed characters exceeded