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

Related questions

2 Answers

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

  • Posted on 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 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.