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

datasource enhancement problem

hello guys

Im trying to enhance 2LIS_02_S013 Datasource on R3 side....I added BISMT ...then I went into CMOD...ZBW220(ENHANCEMENTS FOR bw)....trying to change code...but I donot know where to change and what to change

Can anyone please help me with code....Thanks

Regards,

S

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2009 at 11:44 AM

    Hi,

    The following is the procedure to enhance the datasource.

    1. Go to RSA6.

    2. Select the Data Source, which you want to enhance.

    3. Select display Data Source

    4. Double click on the Extract structure.

    5. Click on the Append Structure.

    6. Add the required fields starting with ZZ*.

    7. Activate the Append Structure.

    Then you have to fill those fields with some ABAP custom code. You can do that by CMOD, creating a project and using the enhancement: RSAP0001.

    SAP provides enhancement RSAP0001 that can be used to populate the extract structure.

    This enhancement has four components that are specific to each of the four types of R/3DataSources:

    Transaction data - EXIT_SAPLRSAP_001

    Master data attributes - EXIT_SAPLRSAP_002

    Master data texts - EXIT_SAPLRSAP_003

    Master data hierarchies - EXIT_SAPLRSAP_004

    Go to enhancement of transaction datasources in CMOD. Add a case statement with datasource check and go for the below code.This user exit is called for every datasource so be sure to put a CASE statement on the datasource.

    CASE i_datasource:

    WHEN '2lis_02_s013'.

    loop at c_t_data into <datasource structure>

    select single BISMT

    from <table>

    into <datasource structure>-ZZBISMT.

    modify c_t_data from <datasource structure>

    endloop.

    endcase.

    Hope this helps

    Regards,

    Akhan

    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.