Enchancing R/3 Extract Structure 2LIS_13_VDITM

Hi,
I would like to add an custom field in the Extract Structure 2LIS_13_VDITM.
Could anyone please tell me the steps to do so?
Thanks in advance.
Best Regards,
Chris

Hi,
1) Go to Rsa6 and select the DS 2LIS_13_VDITM , and double click on it and note down the  ES name .It is
2) Go to Se11 and keep the ES name at DATATYPE and clcik on Display. and then Click on Append structure Button.
3) Give the techinica name to AS in the immedaite screen and then give description in other screen and enter the zzfields that you want to add. Finally activate the Append Structure.
4) aggin goto RSA6 and enter into change mode for the DS 2LIS_13_VDITM , and then remove tick mark for newly added fields aginst <i>Hide only</i> .
5) Replicate the DS into BIW.
6) give th ccoding for these newly added fields in CMOD.
7) in CMOD , you need to use already existing project. If there is no project existing,then create new one . While creating take RSAP0001 as Enhance ment assignement.
8) you have to code the ABAP lines in EXIT_SAPLRSAP_001 component and in the include ZXRSAU01.
9) Donot forget the activation of Project and include after every  modifications.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • Transporting Extract Structures for Business Content Data Sources

    Hi
    We have added a new field to the 2lis_13_vditm data source and when i am trying to capture it in the transport, only the data source is getting captured and not the extract sturcture. When I go to the Object Entry Directory of the Extract Structure, it shows package as MCEX and person responsible as SAP. Should i need to change this and capture it in a transport or is it enough if i capture the data source alone
    Thanks
    Rashmi.

    Hi,
    If you transport the DS that should do it . The extract structure is standarad one and it would show as SAP, however you would have added the new filed using an append structure and if you go to the append structure and view the transport request you should be ble to see the transport request and your package in it.
    P.S : if the Append structure is not under any transport req then check if it has already been transported
    Cheers!!
    Ashwin G

  • Adding one more field in extract structure maintenance

    Hi Gurus,
    I have already extarcted data to BW using 2LIs_13_Vditm datasource and the deltas are also loaded.
    Initially when the extract structure(in LBWE) was maintained in LBWE, the field KTGRM-Acct.Assgnmt group was not selected from the POOL.Now there is a requirement to include that in the maintenance of extract structure.
    My question is, can i directly add the field to the datasource in R/3,without any coding in CMOD like in enhancements, and replicate again to BW without disturbing the existing data? OR Do I have to add the field in Trans.Stru, Update rules and cube and goahead loading data.
    Thanks in advance.
    Regards,
    Satya

    You can add any field listed in the pool of available fields directly to your LO datasource without enhancing the extract structure and coding in CMOD. But be aware to empty the delta queue and the extraction queue before, otherwise you can't change the extract structure.
    After replicating the changed datasource you have to update the relevant infoproviders, update rules and the infosource, because the new field was not known before.
    It is also recommended to reload the data from the source system in order to populate the new field for all data.

  • Code to populate a zzfield in extract structure

    Hi Guru's
    I am enhancing a zfield in extract structure for 2lis_13_vditm. I have added the zfield in the append struture & activated it.
    Zfield is populated from the table VBAP. I wanted to write an User Exit (EXIT_SAPLRSAP_001) to populate this zfield at CMOD.
    As I am not well versed in ABAP,I would really appreciate if you can help me to write a code  to populate this zfield from VBAP.
    Thank you,
    Neel

    Hi,
    Check for the sample code for 2LIS_13_VDITM.
    For 2LIS_13_VDITM Billing item Data
    TYPES: BEGIN OF ty_vbak,
             vbeln TYPE vbeln_va,
             vgbel TYPE vgbel,
           END OF ty_vbak.
    DATA: lx_vbak TYPE ty_vbak,
          lt_vbak TYPE TABLE OF ty_vbak.
    TYPES: BEGIN OF ty_vbrp,
             vbeln TYPE vbeln_va,
             vgbel TYPE vgbel,
           END OF ty_vbrp.
    DATA: lx_vbrp TYPE ty_vbrp,
          lt_vbrp TYPE TABLE OF ty_vbrp.
    DATA: lx_billitem TYPE mc13vd0itm.
    DATA: lt_billitem TYPE TABLE OF mc13vd0itm .
    DATA: lt_billitem_tmp TYPE TABLE OF mc13vd0itm .
    For 2LIS_13_VDITM item data
      WHEN '2LIS_13_VDITM'.
        lt_billitem[]  = c_t_data[].
        lt_billitem_tmp[] = c_t_data[].
        IF NOT lt_billitem_tmp[] IS INITIAL.
          SORT lt_billitem_tmp BY aubel.
          DELETE ADJACENT DUPLICATES FROM lt_billitem_tmp COMPARING aubel.
          SELECT vbeln
                 vgbel
            FROM vbak
            INTO TABLE lt_vbak
             FOR ALL ENTRIES IN lt_billitem_tmp
           WHERE vbeln = lt_billitem_tmp-aubel
             AND vgtyp = 'G'.
          IF sy-subrc EQ 0.
            SORT lt_vbak BY vbeln.
          ENDIF.
        ENDIF.
    Populate the added fields
        LOOP AT lt_billitem INTO lx_billitem.
          l_index = sy-tabix.
          MOVE lx_billitem-vbeln TO l_name.
    Internal Text
          CLEAR lt_line.
          REFRESH lt_line.
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
             CLIENT                        = SY-MANDT
              id                            = 'Z010'
              language                      = sy-langu
              name                          = l_name
              object                        = 'VBBK'
            ARCHIVE_HANDLE                = 0
            LOCAL_CAT                     = ' '
          IMPORTING
            HEADER                        =
            TABLES
              lines                         = lt_line
           EXCEPTIONS
             id                            = 1
             language                      = 2
             name                          = 3
             not_found                     = 4
             object                        = 5
             reference_check               = 6
             wrong_access_to_archive       = 7
             OTHERS                        = 8
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          IF NOT lt_line[] IS INITIAL.
            CLEAR lx_line.
            READ TABLE lt_line INTO lx_line INDEX 1.
            lx_billitem-zitext = lx_line-tdline.
          ENDIF.
          CLEAR lt_line.
          REFRESH lt_line.
    External Text
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
             CLIENT                        = SY-MANDT
              id                            = 'Z011'
              language                      = sy-langu
              name                          = l_name
              object                        = 'VBBK'
            ARCHIVE_HANDLE                = 0
            LOCAL_CAT                     = ' '
          IMPORTING
            HEADER                        =
            TABLES
              lines                         = lt_line
           EXCEPTIONS
             id                            = 1
             language                      = 2
             name                          = 3
             not_found                     = 4
             object                        = 5
             reference_check               = 6
             wrong_access_to_archive       = 7
             OTHERS                        = 8
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          IF NOT lt_line[] IS INITIAL.
            CLEAR lx_line.
            READ TABLE lt_line INTO lx_line INDEX 1.
            lx_billitem-zetext = lx_line-tdline.
          ENDIF.
          CLEAR lx_vbak.
          READ TABLE lt_vbak INTO lx_vbak
                     WITH KEY vbeln = lx_billitem-aubel.
          IF sy-subrc EQ 0.
            lx_billitem-zcontract = lx_vbak-vgbel.
          ENDIF.
          IF lx_billitem-aubel EQ lx_billitem-vgbel.
            lx_billitem-vgbel = space.
          ENDIF.
          MODIFY lt_billitem FROM lx_billitem INDEX l_index.
        ENDLOOP.
        CLEAR c_t_data.
        REFRESH c_t_data.
        c_t_data[] = lt_billitem[].
    Thanks,
    Debasish

  • Changes in extract structure

    Hello All,
    The extract structure for 2lis_11_vaitm has been changed and since then whenever I try to execute the datasource using RSA3.
    I get an error Import_mismatch_error.
    The extractor was working fine in dev. So I collected one structure which was missing in quality.
    After releasing the same in quality, I deleted the setup tables and did run RSA3 - I got 0 records.
    As per the SAP note 328181 - the old Sales orders are not compatible with the new structure and so we get the same error.
    If any new documents are posted they will come in RSA3. How do I make sure that in Production I dont miss any data?
    Regards,
    Nikekab

    Hello Venkat,
    I found one error description though:
    Error when resetting DataSource 2LIS_11_VAITM                 OKQCLNT332 to the active version
    Message no. RSO410
    Diagnosis
    Errors arose when activating DataSource 2LIS_11_VAITM. An active version already existed before theactivation.
    System Response
    DataSource 2LIS_11_VAITM  could not be resetto the old active version. Since the generated objects no longer correspond to the old active version, they were reset to inactive.
    Procedure
    The old active version of DataSource 2LIS_11_VAITMcan no longer be used. Remove the cause ofthe activation error and activate DataSource 2LIS_11_VAITM   anew.
    Regards,
    NIKEKAB

  • Custom Datasource using View COVJ - R8359 Invalid extract structure

    I'm trying to build a custom datasource so I can get at plan line item data with partner object (I've tried using 0CO_OM_CCA_1 but I dont get the partner object for plan data - no idea why). So I thought if I create a datasource using COVJ I can get it out. However when I try and save the custom datasource (created using RSO2) I get the error R8359 Invalid extract structure: You tried to generate an extract structure with the template structure COVJ. This operation failed, because the template structure quantity fields or currency fields, for example, field WOG001 refer to a different table.
    I saw posts saying when people get this error thye should reference the table these fields come from in the view. So I've talked to our ABAP'er and I asked him to reference the table these fields come from but he said this cant be done because these come from a structure not a table.
    Any ideas?
    Thanks
    Joel

    The WOG* columns in table COEJ, one of the tables contributing to the COVJ view, use CCCUR-CURKY as the reference table-column for those quantities. The ABAPer you spoke to is correct that CCCUR is a structure. View value fields inherit their reference table-column from the source, in this case COEJ, and since this source table is an SAP delivered table it cannot be modified change this reference.
    This means that you're only option for extracting the data out of the COVJ view would be to create a Function Module and use that Function Module as the basis for your DataSource.

  • Invalid Extract Structure error while creating "Generic DataSource" on a view...

    Dear All,
    I have created a view on following tables MARA, AFKO and MSEG. The Table/Join condition is as follow:
    AFKO--AUFNR  = MSEG--AUFNR
    AFKO--PLNBEZ = MARA--MATNR
    I have included all the fields from MSEG and other all fields from MARA and AFKO. The view is created successfully and contents/records are also being fetched/displayed from this view.
    See screen shot as well:
    But when I go to RSO2 to create a "Generic DataSource" on this view. I get a series of warning messages and then error message "Invalid Extract Structure" and therefore I'm unable to create my DataSource on this view. See below screen shots of warning and error messages.
    Other warning messages are as follow:
    Field GAMNG with reference field MEINS: Reference table MARA is replaced by ZOXPRD0150
    Field PLSVB with reference field PLNME: Reference table PLKO is replaced by ZOXPRD0150
    Field PLSVN with reference field PLNME: Reference table PLKO is replaced by ZOXPRD0150
    Field LODIV with reference field MEINS: Reference table MARA is replaced by ZOXPRD0150
    Following is the screen shot of error message:
    1. How can I get rid of this error message and be able to create my "Generic DataSource" on top of this "View"?
    2. What should I do to resolve the above warning and error messages?
    I will appreciate your reply.
    Many thanks!
    Tariq Ashraf

    Hi Vipul,
    as you can find in CKIS table, the reference feild for value feild "WERTN" is missing.
    As per the table the reference feild is HWAER. This should have been used in place of FWAER.
    Try mentioning this in your view and this should work.
    Also I am a little enthusiastic to know, what are you trying to get from the datasource.
    If you are trying to get the cost estimate of multi level BOM, not (just one child level), then this approach may not work.
    There is a BAPI that gives such itemization split. Just FYI, in case you are looking for multi level explosion.
    "BAPI_COSTESTIMATE_ITEMIZATION".
    Hope this helps.
    Naveen.A

  • Invalid Extraction Structure Template

    Hi All,
       Am getting "Invalid Extraction Structure Template"
       error while creating generic datasource, am creating
       datasource based on a view.
       please suggest a solution.
    Thanks

    Hi,
      If we have any quantity or amount fileds in views, we have to provide refernce objects for Units.
    Goto Viwe -->> check for tab Units and provide units from source tables(like : <tablename>-<fieldname>)
    Srini

  • No extraction structure active or no BW connected

    Hi All,
    While filling the setup Table in SBIW, we are getting Error
    <b>“No extraction structure active or no BW connected “.</b>  
    I have Activated extract structure in LBWE and also checked in ROOSOURCE table  and found the datasource is ACTIVE.
    Also, tried replicating and extracting Master Data, it works fine, it means that my connection is good. I can see this structure MC11VA0ITM  is Active in SE11.
    Getting same error message for all the datasources.  We are working on R/3- ECC 5
    And BW 3.5.
    Anticipating response at the earliest.
    Thanks
    Jashaik
    Points = Thanks

    Shaik
    Have you checked this thread
    "No extraction structure active or no BW connected"
    Hope this helps
    Thanks
    sat

  • Extract structure does not exist at the time of transport

    HI ,
    i am facing an shortdump error while transporting customized copa data source from r/3 dev to r/3 qua. The error analysis  is
    Extract structure does not exist at the time of transport
    Long text of error message:
    Technical information about the message:
    Message class....... "RD"
    Number.............. 041
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    please provide the  solution asap

    Hi Bharath,
    Goto SE11, put the name of your extract structure in Data type and click display, check the version of the structure. if it is inactive then goto RSA6 and activate your DS.
    After activation try to retransport.
    Regards,
    Durgesh.
    Edited by: Durgesh Gandewar on Jul 25, 2011 3:13 PM

  • Error while enhancing the Extract structure in LBWE

    Hi All,
    When I am trying to change the extract structure os logistic extractors in LBWE, it is giving me an error saying "Entries for application 11 still exist in the extraction queue".
    Below is my scenario:
    I have 3 clients in the same R/3 system, Client 010, 020 and 030.
    Clients 020 and 030 are connected to my BW system. Client 010 will be used for all development while test loads can be done from clients either 020 or 030. Till now, I have tested my data flows only from client 030. Now, I have to add some extra field to the structure in LBWE but facing the above mentioned error.
    I went into LBWQ in both the client 020 and 030 and deleted the queue and then tried to change the extract structure in client 010 but still the same error.
    What else do I need to do to resolve this?
    Thanks,
    RPK.

    Hi Raki,
    We are still in development phase. I did all my developments(R/3) in client 010. Till now I did only full loads to BW from client 030 and haven't done any loads from client 020. My BW system is also connected to another sandbox client 100 but I haven't done any loads from that client aswell.
    As I have to add some extra fields to the extractor from LBWE, I did the follwing steps in R/3:
    1) I have deleted the setup tables from client 010, 020 and 030.
    2) Deleted the data from LBWQ from clients 010, 020 and 030.
    3) Trying to change the extract structure by clicking on "Maintenance" for the extractor in Client 010.
    At this point it is throwing an error.
    I thought that the client 100 might be a problem as I have transfer rules created in my BW system from this source system as well. As I do not need this source system anymore, I have deleted it from BW and tried changing the structure in LBWE but still the same problem.
    Any ideas would be highly appreciated.
    Thanks,
    RPK.

  • Error while saving Extract Structure

    Hi Friends,
    We have enhanced the DataSource 0FI_AR_4 by adding new feilds. After that i went to Extract Structure to Un check (Deselect) the HIDE check box for newly added feilds and when i save the structure it is throwing the Error The OLTP source still has errors. When i go to detail it is giving message .........
    *The OLTP source still has errors
    Message no. R8417*
    I Have checked the Extract Structure it is in Active and For the newly added Key Figures there are referenced table and Feilds.
    WHat Might be the reason.
    How can Deselect the check boxes for newly added At Hide Feild in the Extract Structure and Save it.
    Thanks & Regards
    Anand

    Hi,
    Check similar kind of threads in SDN
    Re: The OLTP source still has errors  Message no. R8417
    Re: Urgent ! Error while append structure for EISBE field
    Generic extractor help needed badly.
    Thanks
    Reddy

  • How to find out the tables from extract structures

    Hi All,
    As I know my data sources are 2lis_04_p_matnr,2lis_04_p_comp,2lis_04_p_arbpl.
    How to find out the tables concerned with the fields in the extract structure.
    Thanks

    Pl check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    OR navigate to: help.sap.com - netweaver - bi content - supply chain - look for your application area and the extractor and you will see the source tables and fields.
    Ravi Thothadri

  • BW FICA extract structures corrupted after upgrade from 4.6C to ECC6

    Hi All. After the upgrade an include (FKKBWP) in the extract structure FKKOPBW_BASIC contained  a field belonging to the APPEND structure ZAFKKOPBW_BASIC (originating from enhancing the configured structure). Also ZAFKKOPBW_BASIC is not visible in FKKOPBW_BASIC anymore, although when checking/activating the structure it complains about duplicate fields, which can only happen if ZAFKKOPBW_BASIC is still referenced. Furthermore, some new includes have also appeared in the extract, amongst others FKKOPBW_EVOLVED.
    I have not been able to find any documentation regarding this. Two different systems were upgraded and the structures were corrupted in both systems in the same way, so this is not a fluke.
    The application dumps when one tries to access it via SBIW->Settings for Application-Specific DataSources->Contract accounts receivable->Define Fields for the Extraction of Open Items, because the config and structures do not match.
    All of this also applies to the Cleared Items as well.
    Has anybody encountered this or can somebody point me to some documentation referering to this problem?
    Regards,
    Johan Loock

    Hi
        Please refer to the SAP note 1278056 and 1278115 - PDS Display: F4-characteristic values are not selectable.  Hope this will resolve your issue.
    Regards,
    JB

  • Problem in populating the new field from the extract structure. Kindly help

    my requirement a new text field is added on R/3 side and I have to populate
    the same field into BW.
    In the R/3 a new customization table 'AAA' is created which will have
    code - char 3 and
    text - char 30.
    The code field is added to a table BBB.
    The SAP standard generic data source exracts data from the table BBB where in the new code field have been added.
    Now I can the see the code field in the extract structure and not in the data source as the filed has selection value 'A' when checked in the ROOSFIELD table.
    To populate the value in BW, I will be creating a Generic Master Data text wherein I fetch the values from the table 'AAA' which the fields code and text  and replicate the same in BW.
    In the reporting level, the code InfoObject will be selected as display both KEY and TeXT, by doing I can populate the values of TEXT in the reporting.
    But to achieve the same I need to add the field code in the ODS but cannot do the same because I am not able to see the field code in the data source.
    Kindly let me know how to achieve the same.
    Also let me know if there is any alternate solution to populate the text field in BW.
    Any Inputs will be appreciated.
    Thanks

    > You should get the userdatasources bound to the
    > columns and assign the values of the recordset to
    > each one and after that use "setLineData" to write in
    > the matrix.
    >
    > hope it helps
    Hi all,
    i have created tables (non BO Tables) directly on the SQL-server and want to use recordset to populate a user form matrix.
    Is there any workaround to achieve this using non BO tables?
    Please provide some sample code since it is a very urgent matter.
    regards
    Daniel

Maybe you are looking for

  • JInternalDialog stealing the focus in Linux environment.

    I have the code which opens new JInternalFrame (showPopup() method). When this code is called from EDT directly, for instance from actionPerformed() then newly opened JInternalFrame does not steal focus from other applications ... but If this code ca

  • Avoid shrinking of null values in a column....

    I created an RTF template but one of the columns is shrinking if it has null values. Is there any way to avoid this. If I replaced the null values with a dot it's workig fine, but the users dont wanna see the dots. Any ideas !!!!!!!!! Thanks in advan

  • Change font in Adobe Acrobat Extended Pro

    I was wondering how I am able to change the font in Adobe Acrobat.  I know we can use the type writer, but how can I make it my own font, color and size? Please help! =)

  • How Can I add a object to the scene Graph ??

    Hi all! I have set up a 3d scene Graph. Now I want to add a object (for example,a cone) to the scene Graph. How can I do ??? thanks in advance!

  • Problem in Sapscript , After creating a copy of Standard Script

    Hello friends,                    I have copied a standard script WASCHEIN into ZWASCHEIN, now all the data is coming from driver program SAPM07DR. Now there is one field which is not coming from the standard program,                   Is there any w