Skip to Content

Access fields of infospoke from badi

Hi all,

i'm trying to transform an infospoke with BADI and i don't know how to access the fields from the IF_EX_OPENHUB_TRANSFORM~TRANSFORM method to manipulate them.

Can anyone give me some expample coding ?

thx in advance.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

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

    You can find the example at transformation tab itself. Click on the information icon...

    In the following implementation, a counter OHCOUNT is added to the extracted data of InfoSpoke MYSPOKE. To do this, the field OHCOUNT was added to the target structure /BIC/CZMYSPOKE in the DataDictionary.

    method if_ex_openhub_transform~transform .

    data: l_count type sy-tabix,

    l_s_data_in type /bic/cymyspoke,

    l_s_data_out type /bic/czmyspoke.

    data l_dummy.

    message i899(rsbo) with 'exit started' into l_dummy.

    i_r_log->add_sy_message( ).

    clear e_t_data_out.

    loop at i_t_data_in into l_s_data_in.

    move-corresponding l_s_data_in to l_s_data_out.

    l_s_data_out-ohcount = sy-tabix.

    insert l_s_data_out into table e_t_data_out.


    message i899(rsbo) with 'exit finished' into l_dummy.

    i_r_log->add_sy_message( ).


    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.