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

Defining ABAP variables in update rules

Hello,

How can I define a variable in ABAP of the same type as an InfoObject? I know it's easy as long as the InfoObject is a part of the communication structure. But this InfoObject is not present neither in the source ODS nor in the target cube. It is a custom InfoObject, not BC.

Regards,

Christoffer Owe

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 Nov 23, 2007 at 02:39 PM

    Hi Christoffer.

    You just use:

    variable LIKE /bic/infoobjectname

    Hope it helps.

    BR

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 03:10 PM

    DATA: i_var type DATAELEMENT.

    where DATAELEMENT the Data element field from the General Tab of the infoobjects details

    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.