Change an extract-structure in an existing datasource

Hello,
I want to change an extract-structure in an existing datasource (0COORDER_TEXT), but I don't know how to do.
(I first thought I can do it with trx RSA6.)
Can anybody give me a hint how to change the extract-structure?
Kind regards
Udo

Hi,
yes, you can change an extract-structure in an existing datasource . The enhancemet of DataSource is the process of enhancing your extract structures by creating an append with your ZZ/YY fields and filling these fields using a specific user exits. Then you have to fill those fields with some ABAP custom code that can be anything from some simple calculations or table lookups to complex business logic requiring access to multiple database tables. You can do that by CMOD, creating a project and using the enhancement:RSAP0001.
You have to follow bellow steps:
1. Go to RSA6.
2. Select the Data Source.
3. Select display Data Source (Ctr+F2).
4. Double click on the Extract structure.
5. Click on the Append Structure.
6. Add the required field .
7. Activate the Append Structure.
8. Go to CMOD.Give the Project, select Display.
9. Click on ZXRSAU01.
10.you have the bellow exits:
    a).Transaction data: EXIT_SAPLRSAP_001
    b).Master data attributes: EXIT_SAPLRSAP_002
    c).Master data texts: EXIT_SAPLRSAP_003
    d).Master data hierarchies: EXIT_SAPLRSAP_004
11. select Transaction Data EXIT,then you have to write the ABAP CODE
12. save and activate.
13. check the data in RSA3.
These steps will help you.
Regards,
Suman.

Similar Messages

  • Change to Extract Structure Doubt

    Hi,
    Our Basis Folks are trying to install Patch 6 ST-PI 2005_1_700 in ECC. I refered to OSS Note 328181.
    For this Patch do we need to delete the Set up Table and Fill it again? And How about Init Delta in BW?
    Please suggest me. Any answers will be appreciated with Points.
    Kind Regards
    Mahesh.N

    Hello,
    Yes you have to delete the Setup table data before that as per the OSS Note you have to clear the delta queue data which cannot be recovered after changing the extract structure. So execute the BW Delta Infopackages and make sure there is no delta records in RSA7 or LBWQ.
    Then you can delete the setup table using LBWG and implement the patch.
    1. Make sure that the following steps are carried out at a time when no updates are performed so that no data is lost.
    2. Start the update collective run directly from within the Customizing Cockpit. Up to PI(-A) 2001.2 , this collective run exclusively concerns the V3 update. As of PI(-A) 2002.1, depending on the update mode setting of the application, the collective run concerns either the V3 update or the update from the extraction queue ("Delta Queued", see Note 505700).
    3. Load all data of the respective DataSource into the BW System.
    Now you can make the change.
    After a change you can no longer use the statistical data already recreated. If such data still exists, you should delete it (Transaction LBWG).
    We recommend in particular to upload the data immediately after a restructuring and (after checking in BW) delete them from the restructuring tables.
    Moreover, the update log (Transaction LBWF) can no longer be read. Post a document in this case so that the last log entry is overwritten. This log entry then has the correct new format of the extract structure.
    As of PI 2000.2 the program RMCEXDELETELOG is available. It can be used to delete log entries.
    But if there is any change in lenght of any field of the extract structure, then you have  to reload the entire data again in BW otherwise a Init without data transfer will do.
    But what is the patch all about? Please follow the instruction given in the OSS Note 328181 - Changes to extract structures in Customizing Cockpit.
    Thanks
    Chandran

  • 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

  • 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

  • Invalid Extract Structure while creating a datasource

    Hello,
    I'm creating a datasource from a view. whenever i try to save it, it gives me an error saying that it is an invalid extract structure and that one of my fields is referenced to another table. After the threads on SDN, I think I need to remove this field from the view, activate my datasource, append my extract structure by adding the problem field and write an user exit to populate the field.
    I don't have any experience in writing an user exit. I would appreciate if anyone would guide in it. Here are the details of my view:
    View with 4 tables: EKBE, EKKO, EKPO AND EKKN
    so that i'll get the line items of the purchase orders with the fields that i need. I didn't see any business content datasource for this.
    problem field: DMBTR in EKBE table
    this is referenced to T001.
    How do i add this field in the extract structure and how do I write an user exit for this?
    Regards,
    Sam

    Hi,
    I am new to this foroum and BW module....
    I too am facing the same problem.
    I am creating a view from 2 tables VBAK and VBAP .
    I was having problem with currency fields NETWR, WAERK, NETPR. So i removed the currency fields. Still i am having same error of not being able to create my data source from the view i have made. It gives the error....
    Invalid extract structure template Z76_VEW_VBAK_VBP of DataSource Z76_DS_VIEW_VBAK_VBAP
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure Z76_VEW_VBAK_VBP. This operation failed, because the template structure quantity fields or currency fields, for example, field NETPR refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
    Can anyone help me out please.
    Thnaks
    Mansi

  • 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

  • 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

  • Invalid extract structure template &2 of datasource &1

    Hi all,
    I really need help in this one. I am trying to create a generic datasource and it gave me this error. I did little research and found that my key figures are pointing to the currency or unit which is in an include. and one of the note says that the currency and unit has to be in your field list. I am using notes 335342 and 202162.
    I am copying a part which I am not able to understand since I am doing this for the first time so Please help.
    "If the currency or the unit a key figure refers to is not located in a table but in a structure, the key figure has to be removed from the view and read via a customer exit (see below). Structures cannot be included in a view.
    ATTENTION!! Often the key of the table in which the referenced unit is located, does not agree with the key in the table with the corresponding key figure. In this case, the join condition of both tables is not unique in the view definition, that means for each key line of the table with the key figure, several lines of the table with the unit may be read: the result is a multiplying of the number of lines in the view by a factor corresponding to the number of lines that fit the key figure, in the unit table. To be able to deliver consistent data to a BW system, check whether the unit of the key figure in question should always have a fixed value. If yes then you can determine that in the view definition via 'GoTo -> Selection conditions'. If no, then you must proceed as follows:
    a) Remove the key figure from the view
    b) Define the DataSource
    c) Enhance the extract structure by key figure and unit for each append (Transaction RSA6)
    d) Add the key figure and the unit in a customer exit
    2. A view is already used for the extraction.
    Thanks for all the help in advance.

    Hi AHP,
    It beats me as to how can I add those fileds from FAGL table in the view, I am just not getting it. Or is there any other table that I can add these views.Some times it gives me this error "Field TCURC-RTCUR does not exist in any of the base tables." or similar to that I dont know what does that mean, Can you let me know plz?
    Also all the links that you have given are really great, I will doing the FM for first time so it took me time to sink in the process and concept. I am trying to use one of the code that Dinesh has given in one of that posts and just adding my table names in his tables just as starting point. I am not getting what exactly do I have to do in these two sections can you help me understand.
    cursor
    S_CURSOR TYPE CURSOR.
    Select ranges
    RANGES: L_R_ZYEAR FOR YSALES-ZYEAR,
    L_R_ZMONTH FOR YSALES-ZMONTH.
    why exactly is it zyear and zmonth can we change it? what criteria?
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT (S_S_IF-T_FIELDS)
    FROM YSALES .
    select BUKRS
    ZYEAR
    ZMONTH
    WERKS
    MATNR
    SLSCAT
    KNDNR
    SPART
    MATKL
    MENGE
    DMBTR
    VV702
    VV703
    VVADS
    VV704
    VV731
    INTO CORRESPONDING FIELDS OF TABLE I_YSALES
    FROM YSALES
    WHERE ZYEAR IN L_R_ZYEAR
    AND ZMONTH IN L_R_ZMONTH.
    WHERE MATNR IN L_R_MATNR.
    WHERE WERKS = WERKS
    AND MATNR = MATNR
    AND KNDNR = KNDNR
    AND SPART = SPART.
    IF SY-SUBRC = 0.
    SORT I_YSALES BY WERKS MATNR .
    ENDIF.
    Do we have to add here all the fileds that we want from the table? and what does "WHERE KNDNR = KNDNR" means , how should i relate it to my table.??
    Thanks again for all the help.

  • Fileds available in extract structure but not in Datasource.

    Dear All
    I n the extract structure BIW_MARC_S of 0MAT_PLANT_ATTR,  fields like reoder point, safty stock are available but these are not showing up in the data source 0MAT_PLANT_ATTR . How can I bring them in the data source...
    Thanks in advance
    Dinesh Sharma

    Hi Dinesh,
    I have the solution for this.
    Go to contents of the table ROOSFIELD in SE11, give your data source 0MAT_PLANT_ATTR. These steps are to be done in ECC. There you can find the fields of datasource. Trace for your field safety stock.
    Double click on that. you will get the details of that field. In that screen, the selection is shown as A, it means hidden.
    You have to change it either P or X in debug mode. Then the required field will be available for your datasource.
    Do revert in case of queries.
    Regards,
    Rama Murthy.

  • Error :Extract Structure does not exist for the table YFSP03A .

    Hi Could you please help me to solve the above mentioned problem?
    I have a requirement where i have to generate the Data Source ' 3FI_SL_FS_SI ' using the table YFSP03A .
    Using the Tcode: BW03MAST i tried to assign FI-SL to the ledger but it throwed me an error that extract structure does not exit for the table YFSP03A .The reason being that i didnot create an extract structure for the table.So i tried to create it using the Tcode: BW01,but i did not have authorisation for the Transaction and BI team also could not generate as even they were not authorized to generate extract Structures.
                          So, Please are there any other ways to generate Extract structure for the table so that i can generate the Data source? Or is there any other means of generating the Data Source? And i couldnot access the other Tcodes viz :FAGLBW03, FAGLBW01,  FAGLBW02.

    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 No. MCEX028 "You can not change the extraction structure" in LBWE

    Hi,
    I am getting this error when moving the fields from left to right...
    Thanking you in advance,
    Tarun Brijwani.

    Hi,
    Sorry for the wrong information..
    Actually the error is "Struct. from appl. 02 due to open V3 proc. not changed -> Long text"
    Data source name: 2lis_02_itm(unserialised v3 update)
    1.tcode LBWG and deleted the set up tables for application 02
    2..I went in rsa7(delta queue) but there are no entries in that queue...
            it is absolutely empty...
    2.I went in sm13 and put the client (all), user(all), and status radio button as 'all' and date as 01.01.2004 to current date,
    some entries were displayed but for all of them, in the status column is  "v2 processed" being displayed
    and some of them are using synchronous update adjacent to which STOP tatoo is displayed
    What do I do now..
    Thanking you,
    Tarun Brijwani.

  • Unable to change Extract structure MC03BF0 for DataSource 2LIS_03_BF

    Hi all
    In LBWE in R/3, I need the change the extract structure MC03BF0 for DataSource 2LIS_03_BF, by including some fields from MCMSEG pool. On including these fields from MCMSEG pool on the right side table to the left side table, and on confirming these entries, I get the following error message,
    ' Struct. from appl. 03 due to open V3 proc. not changed '.
    The long text for this message is :
    'Diagnosis
    Changing the extract structure MC03BF0 of application 03 is not allowed as there are no V3 update entries for the update module MCEX_UPDATE_03.
    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 using the "Job Control" function in the customizing cockpit (transaction yDS:TRAN.LBWE>LBWE) or delete those update entries that are already incorrect. You will find these in the update overview.'
    Please guide me with what is to be done so that I can maintain the extract structure.
    Thanks
    Urmi

    Jelina,
    I think still some records available at SM13 clear it aswell.
    Clear records at LBWQ, SM13, RSA7, Setuptables in all CLIENTS of R/3 and check.
    Still a problem, then instead of enhancing datasource from RSA6, take extract structure name and enhance from SE11.
    P.S: Its better to create a new post by referencing same thread, so you can close call by assigning poings.
    Srini

  • Changes in Logistics DataSource Extract Structure

    Hi All,
    We intend to transport our enhanced extract structure of our Logistics DataSource. We know that extraction queue and delta queue must be emptied first before the transport starts.
    However, we are wondering whether a re-INIT of delta also must be done or not. At this moment, we have delta up and running already.
    Please advice. Thanks.

    Hi Reddy,
    Thanks for your fast reply.
    No, we don't need that historical data. Perhaps, to be more specific, we are wondering whether a Re-INIT without data transfer should be done again or not ?
    We have two cubes. One is old one with up and running delta. The other is new one which we are going to transport soon.
    So, we plan to use same delta infopackage later for these two cubes.
    The concern is now about the delta.
    Please advice again. Thanks.

  • Do we need to fill setup table if we change extract structure of D/S

    Hello Experts,
    as we are in need of adding new filed to existing delta enable Datasources.
    Do we need to fill the setup table if we change the Extract structure of Data source which is already loading Delta data to bw system?
    case 1) we are planning to add new field directly in maintain structure in TCode LBWE.
    case 2) adding new field to Extract structure and writing relavent code in CMOD.
    Thanks in advance
    Regards
    Ravi

    Hello Ravi,
    If you are adding new field to a structure, even though you do not need historical data in the new fields it is a mandate that you have to replicate the datasource and then reinitialize the datasource, in both the cases you have mentioned. The reason for this is, the RSA7 contains your existing structure, as you are changing it, a new replica needs to be created in RSA7. You have to run a INIT without datatransfer, dont need to refill the setup tables for the INIT without data transfer.
    After you activate the new fields and poppulate it using CMOD. First transfer all the records in SMQ1 to RSA7, using a V3 update. Then run a delta in BW, by this way you will load all the existing records from source system to BW. Then replicate the datasource and create the required InfoObject and mapping in BW (Please note that without deleting data, you wont be able to change the DataTarget structure unless you are using remodelling in BI 7.0). Delete the datasource entry in RSA7. Runa INIT without datatransfer.
    Please let me know if you need any more information.
    Regards,
    Pankaj

  • Change Extract structure -- Access key required ?

    Hi guys,
    I wanted to change the extract structure for one LO extractor. Just add one field from the available pool of fields. Is access key required for this ?
    Thanks,
    BWer

    You can't directly change the extraction structure without an Access Key, nor would you want to. Instead, go to SE11 and pull up the extraction structure you want to modify, in update mode, and then click on the Append Structure... button. You can add the columns of data that you wish to have on the DataSource there. After re-activating the structure, you should then be able to see the columns that you added in the maintenance view for the DataSource, pull them over, re-generate the DataSource and create the code in CMOD to populate these columns.

Maybe you are looking for