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

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

  • 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

  • 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

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

  • 2LIS_05_Q0ITEM Enhancement / Extract structure

    Hi experts,
    I am trying to enhance a data source and am having an issue adding a field to the extract structure.
    The 2LIS_05_Q0ITEM includes a field called MATNR for the Material Number of the claimed notification (Table MCQMEL) which I don't need (as it is in the Notification Data source).
    What I need is the material number of the replacement part (MATNR / Table MCQMFE). I can't add it in the Extraction Customizing cockpit. (2 fields with the same is not possible and it isn't possible either to remove the MCQMEL/MATNR field).
    I tried to find a workaround using a user exit to enhance the extract structure but couldn't find anything allowing me to retrieve the MATNR from MCQMEL.
    Any clues on how to add this field to the datasources other than doing a select fron the Table in the extract structure?
    Thanks,

    Hi,
    The LO steps are described in:
    http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:How_to_do_LO_Extraction
    Go through these weblogs for detailed understanding of LO extraction mechanism. If you have any further queries, post them.
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
    Bye
    Dinesh

  • Enhanced  Extract Structure: What should be done on BW side, PLEASE

    Hi all,
       I have 'Enhanced the Extract Structure' (BIW_PROJ) for 0PROJECT_ATTR DataSource with to add a new field 'Project Start Date' (PLFAZ Field of PROJ Table). It has been activated successfully and I could see this new field in 0PROJECT_ATTR DataSource with RSA6. 'Hide' check is cleared.
      This DataSource has been replicated in BW. This new field is not found in the Communication or Transfer Rules. There is no changes in the Communication Structure in BW after 'Append Extract Structure' on R/3 side. Where can I find this new field on BW.
       Did I miss something in this process of 'Enhance the Extract Structure' ? What should I do on BW side, PLEASE?
    Thanks.

    Hi Ganesh,
        1. Define the new InfoObject for the enhanced field.
        2. Add this new InfoObject under 0MATERIAL Attributes.
        3. Now, you could see it in Communication Structure
        4. Double click the Source System under 0MATERIAL InfoSource
            Select 'Transfer Rules' tab.
            On Right side (Assign Info Object field), type the new InfoObject  name
            for the enhanced field.
        5. Select 'DataSource/Trans. Structure' tab.
            Map the DataSource field in the right side to the left side (Transfer Structure).
        6. Activate it.
           You should be fine now.
    Regards.

  • Enhancing extract structure

    Hi all.,
           How will you enhance the extract structure, which is already in the production system without affecting the delta? Can anyone help me.
    Thanks
    Sangeetha

    Hi Sangeetha
    You should do all development related to this enhancement in Dev System and then do testing in QA system and then transport these to Production system.
    For enhancement of extract structure and it's deployment in production system without affecting the delta, Please read my weblog on same subject titled as "How to retain deltas when you change LO extractor in Production system
    " and the link is /people/pradip.patil/blog/2006/06/07/how-to-retain-deltas-when-you-change-lo-extractor-in-production-system
    How to enhance the extract structure-
    <u>If your data source in Non-LO cockpit</u>
    1. Go to RSA6, click on data source and go to extract structure.
    2. In extract structure maintenance you will find Append structure button on upper right corner, click on that.
    3. Name the new append structure, insert required fields.
    4. Activate the structure & also activate the extract structure.
    5. In LBWE go to datasource maintenance and uncheck the Hide check box for newly added fields and Save the data source.
    6. Write code in user exit in CMOD to populate newly added fields.
    <u>If your datasource is LO cockpit datasource</u>
    <u>Option 1- Enhance in LBWE</u>
    1. check in LBWE- Maintenance -> check if your required field is available in pool (right hand side).
    2. If it is available then send it to left hand side.
    3. Save and you will find the new field as part of your extract structure.
    4. In LBWE go to datasource maintenance and uncheck the Hide check box for newly added fields and Save the data source.
    5. No need to write user exit code for these fields.
    <u>Option 2- Append & user exit code</u>
    If your required field is not available in LBWE Manitainance then follow all steps given above in "If your data source in Non-LO cockpit".
    Regards
    Pradip

  • Can I enhance extract structure with standard field?

    Friends,
    Can I enhance the extract structure with standard field.
    Eg. If I want add(append) field PACKNO to Extraction structure MCVGIH. PACKNO is a field from standard table. So Can I do this and populate this without using abap code(customer exit) Should I give foreign key field also in the append stucture.
    Please help me
    Joe

    Hi Joe,
    mostly it works as A.H.P explained, because in the extractor they mostly do a move-corresponding of the fields. Sometimes they don't, specially for newer applications and extractors because the abap statement move-corresponding is on the list of obsolete statements. In that case you need to do some coding.
    So basically I would recommend to add the field, regenerate the datasource and check the result with rsa3.
    regards
    Siggi
    Message was edited by: Siegfried Szameitat

  • Enhance extract structure and deltas

    Hi All,
    We are modifying our first extract structure (well looks like it).  We need to determine a key figure based on lookups and values of other fields.
    Should we enhance the extract structure to pass these fields and then determine the key figure in the update rules to the cube or should we determine the key figure on the SAP side and pass to BW?  If we determine the key figure on the SAP side does it update the delta queue with this value?
    So does the delta queue get updated with this key figure?  Meaning, does the code in the extract structure get executed during the update to the delta queue or do we have to pass the "lookup" values (basically characteristics) to BW and then determine the value of the key figure?
    Thanks so much!

    Hi,
    This can be done at either of the places. This is all dependant on where can we afford to.. in terms of system uitlization. That is, if the look up table is too big in SAP and we have a small volume in BW then its better in BW and the viceversa of it.
    Either in BW or in SAP, the logic is going to take some time to execute and hence the decision relies mostly on this.
    Yes the delta queue would be filled with this logic, if we add the key figure in SAP.
    Hope I am clear.
    Naveen.A

  • Enhance extract structure conflicts with EXIT_SAPLRSAP_001

    Hello All,
    We have many BW projects going on at the same time.  One area we keep bumping into each other is when we need to enhance an extract structure for a datasource.
    What we run into is we have to modify it for one extractor and then for another (let's say both are in the LO Cockpit).  How do you handle this?
    Problem is one project may be ready to move the enhancement and the other not ready.
    This is for transaction data so EXIT_SAPLRSAP_001 is being used.  Should we create multiple include programs to avoid this?
    Thanks!

    I got the question .
    Yes if parallaly many deveopers working on the same task thats modifying the extraxt structure for data source then two ways are there
    A) Select the time frame whose development is moving to quaality first as definately there will
         be the time frame when the development is moving to quality and all .
         So if some one is working on it comment ht ecode andmove to quality .
         Once your transport order realesed the other can uncomment there code and in the next transport
         there code is also transported with your code .
    B) Second is the creation of mulitple includes as there will be no transport order blockage in that .
    I suggest the first in the better optiona as no need to increase the number of INCLUDE as one is already provided by SAP is work fine .
    Assign marks is the best way to appreciate help whoever it is

  • View V/s Extract structure in generic data source!

    Hi,
    Is it mandatory that view and extract structure must contain same number of fields in generic extraction?
    can we enhance the extract structure with a field which is not existing in view?
    clarify me with exmaple
    Thanks,
    Ravi

    Thanks Diego!
    Actaully, the view which is used in the definition of the data source has four tables
    namely AFRU,CRHD,AUFK and AFKO.
    Join conditions are:
    AFRU     MANDT     =     CRHD     MANDT
    AFRU     ARBID     =     CRHD     OBJID
    AFRU     MANDT     =     AUFK     MANDT
    AFRU     AUFNR     =     AUFK     AUFNR
    AFRU     MANDT     =     AFKO     MANDT
    AFRU     AUFNR     =     AFKO     AUFNR
    Now, i want to know from which table is the field AUFNR is mapped to BW info object!
    As the field is in both tables AFRU and AUFK, i am confused of from which table the data is getting filled up to the BW info object!
    I need to make a documentation of of each info object of how is it getting filled up and from which table?
    Thanks,
    Ravi

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

  • Urgent Please : Change back in Extract structure

    Hi All,
    I am working on enhancing an extract structure of Time and labour of 0hr_pt_2 . I had successfully added 2 fields now but afterwords when I try to delete those fields or change that structure it does not allow me to add new fields or delete old those fields which I created.
    I am wondering why it is happening ? Has anyone came across such situation if yes , please feel free to share your experience.
    How can i delete them ? Any helpful reply will be appritiated and rewarded with points.
    Thanks in advance.
    Warm regards,
    John

    One way - Delete the data source via RSA6 and activate back via RSA5; this way you will back to the standard structure.
    Thanks.

Maybe you are looking for

  • How do I change fonts in a Text field ??

    Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong? /

  • How to configure ML Server to send Alert Notifications by mail?

    Is it possible to configure Mountain Lion Server to send out Alert notification by e-mail without enabling full Mail services? I don't want to run the Mail service on the Server. I'm quite happy with my ISP's mail service. Besides, I have a dynamic p

  • G/L  account number vs Cost Element

    Hello Friends, I need your help to know the diffrence between G/L Account and Cost Element.Do they consist of the same numbers and/or  text.I am a non functional guy and i need to get the order numebrs from Table A which has G/L Acct number and Table

  • Oracle 10g Forms Builder in Windows 7

    Oracle 10g Forms Builder crashes whenever we try to open existing 10g fmb files. is Windows 7 certified to run Oracle Dev Suite 10g and/or are there patches required to run this in the said OS?

  • Sending stompbox state to midi channel

    Hello all, I would like to send the status of a Logic Stompbox to an external midi processor to control an external midi stompbox. Basically, is there a way to send a midi value from a Logic effect? I know the other way around is possible. I use it c