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.

Similar Messages

  • 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

  • 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

  • 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

  • Error "No extraction structure for event I3" running set up 2LIS_17_I3HDR

    Hi, Experts:
    I am trying to activate and run set up datasource for PM 2LIS_17_I3HDR, so that data can be extracted from R/3 into BW 3.5 system.
    In R/3 environment, we have 2 clients. client 200 for configurations but has no data, and client 230 has data but can not change configurations.
    I have done the following in client 200:
    - Activated datasources for for PM 2LIS_17_I3HDR in RSA5.  
    - Made selection in RSA6.
    - Activated extract structures and datasource for application 17 in LBWE and also ran job control. Now I can see the extract structures for application 17 are active in client 200 only, but inactive in client 230. I tried to turn then active in client 230 but got error "Client 230 has status not modifiable".
    - I assume I should run set up tables in client 230 because it is the client with data in tables? But when run set up in OLIIBW, I got the error "
       No extraction structure for event I3: Messages active
       Message no. MCEX106
       Diagnosis
       You called the setup for the extractor structures of application '17' (Plant Maintenance). However no extractor structure is active for event I3 (messgaes).
       System Response
       Data for event I3 is not transferred to the BW interface.
       Procedure
       First activate the desired extractor structures for application '17' using the Customizing Cockpit and then start the setup again."
    - I can not manually activate extract structures in client 230 because it is not modifiable. I tried moving transports, the path is not set up. I see extract structures for other applications like 11, 13 are active. So I guess there may be other ways to activate the extract structures in client 230.
    - I also tried to run set up in client 200, which has extract structures for 17 in active status. But got the same error as client 230.
    Would anyone please help me with what to do to fix this?
    Thanks,
    Jenny
    Edited by: Jenny Chen on Oct 29, 2009 6:38 AM

    Hi, thanks for the reply!
    Just update for what we did to solve this. Both clients are for development. Client 200 is only for configuration but no data. Client 230 has data but not modifiable. Usually, when we create a structure, table, program, or active anything in 200. We will see it in 230 right away without transports. But this is not the case for activating extract structure for datasource from Business Content. We end up having Basis guy manually activate the structure for us directly in client 230 with transaction LBWE. That worked.
    Thanks,
    Jenny

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

  • Change the Domain of a data elements in the extraction structure

    Hi experts
    I was transport a extraction structure from BW DEV to BW QA System, but in STMS of QA System generated an error "Active ABAP Dictionary" then in T-code SE11 -> visualize -> Components Tab i am watching that the Data Type of a component ZBITRST is QUAN whereas in BW DEV system the Data Type is CHAR which is correct
    by double-clicking the component I am watching that the domain of both is different, How I can change the domain in QA System / BIC/VQUAN_000013_000003 to / BIC/VCHAR_000003_000000?
    or What is the solution to this problem?
    Thanks 

    Hi
    As you told you have correct domain for the info object in DEV system, transport this single info object through one transport.
    now check whether domain of the info the info object is correct.
    now you can import the extraction structure.
    If you want to change the domain type, goto edit mode of info object and select the data type CHAR instead of UNIT and activate the info object. this will change the domain type of your Info Object.
    Regards,
    Venkatesh

  • Changing the extract structure MC02M_0ITM

    Hi,
    When I am trying to change the extract structure MC02M_0ITM, I am getting the following error:
    "struct. from appl. 02 due to open v3 proc. not changed -> Long text" , "Message No. MCEX 140". All I was doing  was adding more fields from communication structure to extract structure and I am getting above error message. Can someone shed some light on that. Appreciate your help. Thanks.
    Wen.

    Hi Wen
    You have to
    1) Clear LBWQ Queues if you are using Queued delta
    2) Move all records from RSA7 - two times to BW under delta update call from BW - so that the records stored for repeat delta are also emptied
    3) Empty the statistical set-up table - LBWQ transaction in R/3
    then you can modify the structure in LO cockpit
    Arvind

  • Why do we de-activate the extract structure  in the LO extraction?

    Hi,
      plz let me know
    why do we de-activate the extract structure  in the LO extraction?
    what are preventive steps to be taken for duplicate records?
    Regards,
    Madhavi

    Hi,
    Why do you think that the deactivation is necessary step. Generally we donot activate the unrequired Extraction structures to avoid collecting of data in queues(in case of LO ). But we never deactivate the ES in any process intentionally. Ya, the ES turns into yellow(inactive) if we modify the ES in LBWE, but we make it active immediately as the part of process.
    With rgds,
    Anil Kumar Sharma .P

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

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

  • Latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress

    latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress.

    Refer to EX11....
    Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
    Mylenium

  • 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

  • Premiere CS3: How can you encode xml cue point data in the chapter section of a marker for FlashVid?

    Hi there, I'm a total newb to this forum, so hello adobe premiere community! I'm perplexed by Adobes documentation on Premiere (and I'm sure I'm not the first ) anyway on the live documents page below: http://livedocs.adobe.com/en_US/PremierePro/3.0/

  • Prepayment Vendor

    Hello, Can someone please explain how to use the prepayment functionality in ECC 6.0 How can I create an example and what I need to do in customizing. Kind Regards

  • EXC_BAD_ACCESS and I can't figure out why!

    My web browser has a feture called Quick Sites that provides quick acess to popular sites on the net. But im having trouble programming this. I am using this method to load the site in the web view. {code} -(IBAction)Google:(id)sender{           [[we

  • Problems with dSLR footage - help/experience needed

    Hi All -- I'm running Premiere Pro CS5 on 3 different towers at my small studio. We switched to Premiere for the native H.264 support last month and have been experiencing numerous crashes, poor exports etc on several recent projects. Our machines ar

  • Dreamweaver's FTP suddenly broken - am I the only one?

    I'm using iMacs and the Macromedia package incl. Dreamweaver. Already on the second computer, Dreamweaver's ftp stopped working - out of the blue. And without any error messages in the log file. It connects to the server, but doesn't put the file. Th