Enhancing the extract structure of Datasource 0CO_OM_CCA_9

Hi,
   My requirement goes as, we have a cube already getting populated with the data of 0CO_OM_CCA_9.
Now I have a accounting doc. available. My issue is we need a corresponding COPA doc.and its customer and produt for this accounting doc.
My Functional guy says, we can get the corresponding copadoc. and its details from the table CE10010. So now I need to add to fields to my stnd. extract structure and populate these 2. I know how to add them to the structure. My issue is all about populating them.
I see in RSA2 , that the extractor is a FM, which provides no exit within .
As far as my knowledge goes, is it sufficient if I write some code in the CMOD to fetch data from CE10010 and then pass it on to the extract structure, or do we have any thing else to be done to populate them.
Thanks in advance,
Sudha

Hi
Enhancing Extract structure can be achieved through the coding (cmod).
Or else you can even go for the Generic Data Source to combine both the tables.
Hope it helps

Similar Messages

  • Enhancing the extract structure for 0FI_GL_4,  0FI_AP_4,  0FI_AR_4

    Hi all,
          Does anyone know how to enhance the extraction structures with additional fields for datasources 0FI_GL_4 (General ledger: line item), 0FI_AP_4 (vendors: line item) and 0FI_AR_4 (customers: line item). 
    Thanks,
    Sabrina.

    Hi
        Here are the two scenario's described in the note:
    1. All the fields of the customer enhancement in the customer include are contained in the read structure (see the table above).  Then no additional action is required. The fields of the customer enhancement are filled automatically by the datasource from the assigned read structure via "move-corresponding".
    Example:   The extraction structure DTFIGL_4 for datasource 0FI_GL_4 (General ledger: line item) should be enhanced by the VALUT (value date) field.
               To do this, create structure CI_BSIS in the data dictionary of the R/3 source system and include the VALUT field in it. The data dictionary in the R/3 source system shows that the VALUT field is contained in the read structure of the datasource (table BSIS). For that reason the VALUT field is automatically filled by datasource 0FI_GL_4.
    2. Fields of the customer enhancement in the customer include are not contained in the read structure (see the table above).  In this case you have to program a function module to fill the field of the customer enhancement. To do this, there is a Business Transaction Event available (open FI interface for process 00005021). Create any function module you like and use function module SAMPLE_PROCESS_00005021 as a template for the interface (input parameter, changing parameter).
               Interface of function module SAMPLE_PROCESS_00005021:
                Input-parameter I_OLTPSOURCE: datasource that is currently extracting data from the R/3 source system.
                Changing-Parameter C_STRUCTURE: Extraction structure of the data source currently extracting including fields from the assigned customer include. When you call this customer defined function module, all the fields of the extract structure are transferred filled.
               Check whether the type pool SBIWA is declared in the TOP include of the function group.
    If not, add it with the statement TYPE-POOLS: SBIWA.
               Then maintain table TPS31 with Transaction SM30. Create the following entry:
               PROCS LAND APPLK FUNCT
               00005021 <fname>
               <fname> stands for the customer defined function module.
                By doing so, the function module you defined is called for each extracted record. Note that in this case the performance of the extraction may be reduced significantly regardless of the table read and the complexity of the programmed logic.
               Example:
               You want to enhance the extraction structure DTFIAR_3 for datasource 0FI_AR_4 (customers: line item) by the ORT01 (city) field from the customer master record.
                To do this, create structure CI_BSID in data dictionary of the R/3 source system and include the ORT01 field in that. The data dictionary in the R/3 source system displays that the ORT01 field is NOT contained in the read structure of datasource 0FI_AR_4 (Table BSID).
                Therefore you have to program a function module that reads the customer master in the R/3 system (table KANN1) and fills the ORT01 field of the customer enhancement. In the changing parameter C_STRUCTURE the filled fields of the extraction structure DTFIAR_3 are available to you. With the KUNNR field of extraction structure DTFIAR_3, you can select the respective master data record from table KNA1 and determine field ORT01 of the customer enhancement.
    1. All the fields of the customer enhancement in the customer include are contained in the read structure (see the table above).
               Then no additional action is required. The fields of the customer enhancement are filled automatically by the datasource from the assigned read structure via "move-corresponding".
               Example:
               The extraction structure DTFIGL_4 for datasource 0FI_GL_4 (General ledger: line item) should be enhanced by the VALUT (value date) field.
               To do this, create structure CI_BSIS in the data dictionary of the R/3 source system and include the VALUT field in it. The data dictionary in the R/3 source system shows that the VALUT field is contained in the read structure of the datasource (table BSIS). For that reason the VALUT field is automatically filled by datasource 0FI_GL_4.
               ATTENTION:
               By using Note 430303 you can enhance DataSource 0FI_GL_4 by all fields from table BSEG (instead of BSIS); then the fields are filled automatically in the extractor.
    1. Fields of the customer enhancement in the customer include are not contained in the read structure (see the table above).
                In this case you have to program a function module to fill the field of the customer enhancement. To do this, there is a Business Transaction Event available (open FI interface for process 00005021). Create any function module you like and use function module SAMPLE_PROCESS_00005021 as a template for the interface (input parameter, changing parameter).
               Interface of function module SAMPLE_PROCESS_00005021:
                Input-parameter I_OLTPSOURCE: datasource that is currently extracting data from the R/3 source system.
                Changing-Parameter C_STRUCTURE: Extraction structure of the data source currently extracting including fields from the assigned customer include. When you call this customer defined function module, all the fields of the extract structure are transferred filled.
               Check whether the type pool SBIWA is declared in the TOP include of the function group.
    If not, add it with the statement TYPE-POOLS: SBIWA.
               Then maintain table TPS31 with Transaction SM30. Create the following entry:
               PROCS LAND APPLK FUNCT
               00005021 <fname>
               <fname> stands for the customer defined function module.
                By doing so, the function module you defined is called for each extracted record. Note that in this case the performance of the extraction may be reduced significantly regardless of the table read and the complexity of the programmed logic.
               Example:
               You want to enhance the extraction structure DTFIAR_3 for datasource 0FI_AR_4 (customers: line item) by the ORT01 (city) field from the customer master record.
                To do this, create structure CI_BSID in data dictionary of the R/3 source system and include the ORT01 field in that. The data dictionary in the R/3 source system displays that the ORT01 field is NOT contained in the read structure of datasource 0FI_AR_4 (Table BSID).
                Therefore you have to program a function module that reads the customer master in the R/3 system (table KANN1) and fills the ORT01 field of the customer enhancement. In the changing parameter C_STRUCTURE the filled fields of the extraction structure DTFIAR_3 are available to you. With the KUNNR field of extraction structure DTFIAR_3, you can select the respective master data record from table KNA1 and determine field ORT01 of the customer enhancement.
    After you create the customer include in the R/3 source system you have to post process the accompanying datasource with Transaction RSA6. Select the application component according to the above table and change the datasource that fits the customer include. The "Hide fields" flag should be removed in the field list for the fields of the customer include. Then save the field list.
    If the fields of the customer include is not displayed in Transaction RSA6, refer to note 415530.
    1.  After you create the customer include in the R/3 source system you have to post process the accompanying datasource with Transaction RSA6. Select the application component according to the above table and change the datasource that fits the customer include. The "Hide fields" flag should be removed in the field list for the fields of the customer include. Then save the field list.
    If the fields of the customer include is not displayed in Transaction RSA6, refer to note 415530.
    Please let me know.
    Thanks,
    Sabrina.

  • Need help in ABAP code to Enhance the Extract Structure ?????

    Hi all,
        I want to enhance the extract structure to get KBETR & KBRUE fields of KONP table since it didn’t allow me to add those fields while creating the generic extractor because of currency key problems. I want to read all KONP records into internal table with KNUMH (Key). Next, I want to fill them into ZZKBETR & ZZKBRUE of Extract Structure ZOXUR40065 in loop.
    DATA:
      i_t_zrebate like ZOXUR40065 occurs 0 with header line,
      reb_tabix like sy-tabix.
    TABLES: KONP.
      Could you please help me in completing the ABAP code?
    Thanks,
    Venkat.

    Hello Manga,
        I have included the following code in ZXRSAU01:
    WHEN 'ZREBATE'.
    PERFORM ZREBATE_EXIT TABLES C_T_DATA.
    After Double click on ZREBATE_EXIT on perform statement, it created ZXRSAF01 include and the following code is added in it:
    FORM ZREBATE_EXIT TABLES FP_C_T_DATA STRUCTURE ZOXUR40065.
    DATA:
    i_t_zrebate like ZOXUR40065 occurs 0 with header line,
    reb_tabix like sy-tabix.
    FIELD-SYMBOLS: <l_c_t_data> TYPE ZOXUR40065.
    LOOP AT fp_c_t_data ASSIGNING <l_c_t_data>.
    reb_tabix = sy-tabix.
    select single KBETR KBRUE
    into (<l_c_t_data>-ZZKBETR,
    <l_c_t_data>-ZZKBRUE,
    from KONP
    where KNUMH eq <l_c_t_data>-KNUMH.
    if sy-subrc eq 0.
    MODIFY fp_c_t_data FROM <l_c_t_data> INDEX reb_tabix.
    endif.
    CLEAR:reb_tabix.
    ENDLOOP.
    ENDFORM.
    When I tried to Activate this ZXRSAF01 include, it fails with 'The FORM "ZREBATE_EXIT" does not exist'.
      Should it be FP_C_T  or P_C_T? I found P_C_T in ZXRSAF01 include.
      What is wrong with it, please ?
       Can't I add this whole code in main include ZXRSAU01itself?
      The Extractor ZREBATE is based on KONA, KONH & KONP tables. This Extractor and KONA table have the same 4000 records and KONP has 13000 records. I want to extract KBERT & KBRUE from KONP.
       Thanks in advance.
    Regards,
    Venkat

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

  • Failed to enhance the extract structure 2lis_11_vaitm

    Hi,
    I would like to enhance the datasource 2lis_11_vaitm, therefore I go to RSA6 tcode, mark the required datasource and when press Enhance Extarct Structure button, I get this error message:
    "DataSource 2LIS_11_VAITM does not allow append structures".
    Is it possible to enhance 2lis_11_vaitm? if so how to do?
    Thanks,
    Mohamad.

    Hi Mohammed,
        Go To T-Code SE11 , In Data Type give your extract structure name MC11VA0ITM . Select display . Click on Append structure button and add the fields you want to enhance with. Then activate the append structure.
    Regards,
    Prakash

  • Enhance 0CRM_OPPT_I extract structure

    Friends
    I got a requirement to enhance the extract structure
    The CRM datsource is 0CRM_OPPT_I.
    In that we do not have the requested delivery date.
    Hence i need to enhance the structure.
    Is that we need to follow the same process as that enhancements that we do in R3 or is there any other separate process.
    Regards
    Sundaresan

    Same process
    While replicating the DS in BI ,depending on how you have modelled your cube (3.x or NEW datasource flow) replicate the modified datasource as 3.x or NEW.
    Hope it Helps
    Chetan
    @CP..

  • Unable to change the Extract structure

    Hi All,
    In LBWE in R/3, I need to the change the extract structure MC02M_0HDR for DataSource 2LIS_02_HDR, by including some fields using the maintenance tab, After doing the required changes when i give "continue", the system is throwing me the following error -
    <b>"Struct. from appl. 02 due to open V3 proc. not changed".</b>.
    The long text of the error message shows -
    Diagnosis
    Changing the extract structure MC02M_0HDR of application 02 is not recommended as there are no V3 update entries for the update module MCEX_UPDATE_02.
    If an extract structure is changed for which there are still open V3 updates, these can no longer be updated and the V3 collective update is terminated.
    Procedure
    Start the V3 update and delete those update entries that are already incorrect. You will find these in the update overview.
    Kindly reply me as soon as possible in this regard.
    Regards,
    Manickavasagan

    Hello,
    in transaction sm37 in the source system, you will find a job starting with LIS-BW-VB_APPLICATION*. Please select the job related to your application and in the menu Job->Delete, delte the same which is in the released state ready to be executed.
    then you can go ahead and enhance the extract structure.
    Hope it helps.
    thanks

  • Difference between Extraction Structure and Datasource

    Hi Gurus,
    I have a very basic question here.Can anybody explain to me in detail the difference between an extraction structure and Datasource.
    Thanks in advance

    Hi:
    I am pasting a summarized def. from sap notes.
    http://help.sap.com/saphelp_bw30b/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Data Source:
    Data that logically belongs together is stored in the source system in the form of DataSources. A DataSource contains a number of fields in a flat structure used to transfer data into BW (Extract Structure).
    Extract Structure:
    In the extract structure, data from a DataSource is staged in the source system. The extract structure contains the amount of fields that are offered by an extractor in the source system for the data loading process.
    You can edit and enhance DataSource extract structures in the source system. To do this, in the BW Administrator Workbench choose Goto à Modeling à Source Systems à Your Source System à Context Menu (right mouse click) à Customizing Extractors à Subsequent Processing of DataSources.
    While, you are on the topic, you have one more structure.
    Transfer Structure:
    The transfer structure is the structure in which the data is transported from the source system into the SAP Business Information Warehouse.
    It provides a selection of the extract structure fields for the source system.
    It may be a good idea to look into a sample Business Content extractor to get a better understanding of how they are related.
    Chamarthy

  • How to Transport Extract Structure and datasource

    Hi all!
    I had recently made enhancements to 0CO_PC_PCP_01 datasource.When I transported the datasource and the Extract structure, I noticed that only the append structure has been transported. The datasource has not been transported.
    Could some one tell me how to collect the datasource and the Appended extract structure and transport them.
    Thanks,
    S.P

    Hi Jaya,
    I had already tried this already. When I selected the dtasource and selected the transport button. I got the message, action successfully executed. When I checked in SE09, I see no transport. Unless it asks me for a transport request, I will not see it in SE09, right.
    ~S.P

  • How can we assign Extract Structure of datasource to request to transport

    Hi,
    I was trying to transport datasource. But it ended with errors due to unavailability of extract structure. So plz guide me how I can assign Extract structure of datasource to request to transpport.
    I tried to assign in RSA6 but here there is no option to extract structure to assing to request.

    Hi,
    Normally when you get the screen to select and hide the fileds and then save it, you will get the extract structure collected automaticaly in your TP request.
    Hope it helps
    Regards,
    Srini

  • The extraction structure V_KONA_PROMO of DS 0PROMOTION_ATTR is a view. This

    Hi,
    I am Activating master datasources from ECC for BI7, i am getting this error ' The extraction structure V_KONA_PROMO of DS 0PROMOTION_ATTR is a view. This allows no CustApp '.
    Does any one know what esxactly this is ?
    Regards.

    Hi,
    The message is a warning only...you can go ahead n activate...

  • Different number of fields in extract structure and Datasource

    Hi All,
    There is a data source 0FUNCT_LOC_ATTR, which are showing 16 fields in the datasource. But when i went into the extract structure, it shows 25 fields. Is it any kind of bug?
    thanks
    Annie

    Hi MTi,
    Thanks for your reply. I checked in ROOSOURCE and ROOSFIELD table and found that we activated the datasource somewhere in 14.08.2008 and the delivered version is in 18.11.2008. Now i reactivated the datasource in RSA5 and could see all the fields in RSA6.
    Actaully we posted the issue to SAP and they have come back with the same reply what you have mentioned.
    Cheers
    Annie

  • "The extract structure is not permitted"

    Hi,
    I created a new datasource on R/3 system over a table Z*. Always works fine until I created a new append structure to enable load more data from new appended fields.
    The problem is that when I access to the datasource using tcode RSO2, I click on the save button and a error message is displayed below with the following text: "The extract structure is not permitted".
    I already activated the structure referred as the append extraction structure too. If i try to access to that structure by RSA6 tcode, i can do it, however the same it is not possible using RSO2.
    This only happens to the datasource created using a tabel Z*. I created too another datasource, but using a table standard and it works good.
    Can anyone, please, help me with this thread?
    Many thanks in advance.
    Kind regards,

    Hi Ravi, Vinay and Suman,
    Thanks a lot for your answers.
    Unfortunately, my question hasn't been solved yet.
    I have, correctly, assigned Ref tables and Ref fields for Currency /Quantity fields.
    This error message only happens when i add the append structure on the datasource. If i remove the append structure created, datasource works fine. So, this means that the problem is related with this append.
    I have another datasource created over a standard table and i added the same append structure with same fields and data elements, and i have no problems at all.
    This is happening only with this Z* datasource created over a Z* structure.
    Any more ideas, please?
    Many thanks!
    Kind regards,
    HT

  • LIS (Extract Structure to Datasource) Documentation

    Hi
    Does anyone have any good documents that explain the relationship with the LIS and the extract structures etc.
    I understand that they are predefined Extract structure from (LIS) and if you add more fields then you must do ABAP too to make sure these are filled.
    As per my post yesterday I originally thought that as the fields were in the main table in SAP anyway then it would just be a case of just adding them to the extract strucuture in SBIW.
    This now seems worng
    Any documentation is very welcomed.

    Very good weblogs on LOGISTIC COCKPIT DELTA MECHANISM from “Master” Roberto Negro:
    Episode one: V3 Update, the ‘serializer’
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    Episode two: V3 Update, when some problems can occur...
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    Episode three: the new update methods
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    WHEN YOU NEED MORE - First option: enhance it
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Related to changes the data source extractor when a delta load is in production:
    How to retain deltas when you change LO extractor in Production system
    /people/pradip.patil/blog/2006/06/07/how-to-retain-deltas-when-you-change-lo-extractor-in-production-system
    Regards,
    Sergio

  • 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

  • DMS_MASS_UPLOAD_HELP

    Hello Team, We are implementing SAP in one of the client's place. He has been using other ERP but some how has been saving all drawing files in to PC. Now initially while implementing DMS how to do mass upload of all available drawings and link the m

  • Choice of Server

    I have been reading the other posts on this topic but each situation is slightly different so I'm hoping someone can provide some insight into ours. We currently use ASIP 6.3.3 on a G3 strictly for file serving. We have about 20 Mac users working on

  • ABAP proxy related issue

    Hi All, Good morning, i working with ABAP proxy to file scenario. the requirement for this scenario is we are fetching data from data base to internal table then using that table we have to write code and send data to xi.  can give me past response t

  • File missing in petstore1.4

    Hi all, i unzipped the sample bundle of j2ee1.4 but i got an error while doing asant in the samples/bluprints/petstore1.4/src folder as the instructions say. The error is about java.io.FileNotFoundException: samples/common-ant.xml (No such file or di

  • Synchroniz​ing BB Bold

    I have installed the BB Desktop Manager Version 4.6.0.12 (May 22, 2008) on my Laptop. When trying to synchronize I get a message stating "The computer must be connected to the Internet in order to initially configure synchronization settings. Please