Enhance master data

Hi
Enhance the master data extractor 0APPLIC_ATTR extract structure RCF_S_BW_0APPLIC_ATTR with APPL_SOURCE_INFO field.
APPL_SOURCE_INFO  for this field how can i get information for source table . ple let me know abap code also.
regards
suneel.

Hi Suneel,
These are the steps that you need to do:
1. You need to find in which table that APPL_SOURCE_INFO data is being stored. Usually I use SE11, and check in which table that this field is being used. It will list down the list of table name.
2. You go to RSA6, find and higlight 0APPLIC_ATTR, click on 'Enhance Extraction Structure' button to add APPL_SOURCE_INFO field into the extract structure.
3. Once you add the new field, you enhance the function module by clicking 'Function Enhancement' button. Then you add ABAP code to get APPL_SOURCE_INFO data into your extract structure.
Hope this will give you some ideas, if you want, I can give you a sample ABAP code.
Cheers,
Mona

Similar Messages

  • ABAP code to Enhance Master data

    Hi Friends,
    can  you send me a sample ABAP code to enhance the master data
    Regards
    Hari

    Dear Adluru Hari Varma ,
    Hereunder an example of code to enhance Master Data
    0ART_SALES_ATTR for 0MAT_SALES:
    EXIT_SAPLRSAP_002
    DATA: l_biw_mvke_s LIKE biw_mvke_s,
    l_tabix LIKE sy-tabix,
    v_satnr LIKE mara-satnr.
    CASE i_datasource.
    WHEN '0ART_SALES_ATTR'.
    LOOP AT i_t_data INTO l_biw_mvke_s.
    l_tabix = sy-tabix.
    clear v_satnr.
    SELECT SINGLE satnr FROM MARA INTO v_satnr
    where matnr = l_biw_mvke_s-matnr.
    IF sy-subrc = 0.
    l_biw_mvke_s-zzsatnr = v_satnr.
    ENDIF.
    MODIFY i_t_data FROM l_biw_mvke_s INDEX l_tabix.
    ENDLOOP.
    ENDCASE.
    Also
    the user exit code zxrsau02 to populate the new fields .say you add field zzfield1, user exit code zxrsau02 can be like
    data : l_s_custattr like BIW_KNA1_S,
    l_zzfield1 like tablexyz-fieldabc,
    l_tabix like sy-tabix.
    case i_datasource.
    when '0customer_attr'.
    loop at c_t_data into l_s_custattr.
    l_tabix = sy-tabix.
    fill the new field
    select single fieldabc into l_zzfield1
    where ....
    l_s_custattr-zzfield1 = l_zzfield1.
    modify c_t_data from l_s_custattr index l_tabix.
    endloop.
    take a look some links on enhancement
    Enhancement
    User exit
    and download pdf 'enhancements in sap bw'
    here you can find the steps ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    hope this helps.
    Re: enhancements
    Check in SDN you will find more programs
    Hope it helps.Revert back to me if you have any queries
    Regards
    Bala

  • Adding/Enhancing master data with a standard field?

    Dear Friends,
    I have to enhance master data 0VENDOR to add a field LFM1-LFABC (vendor ABC indicator) which is a standard SAP field in LFM1. How do i do that? How do you see which table/s the datasource 0VENDOR_ATTR is pulling data from in R/3.
    Thanks for your time and help
    Raj

    Hi,
    The procedure is like below.
    Take the datasource in which you enhance.
    1. If you enhancing in the LO datasaource, take the aprapriate communication strucute append the structure in that structure add the fields you wnat enhance.
    If you are enhancing other than LO you take extract structure append the structure and add the fields in that structure.
    2. Goto LBWE Tcode take the option called "Maintain Extract structure" take the fields which you enhanced from pool take push in to extract strucure.
    If you enhancing other than LO no need to do this.
    3. Goto RSA6, take datasource, goto change mode. The enhanced fields Hide option checked, reomove that tick and save it.
    4. Goto "CMODE" tcode, If project is already created for that enhancement goto disply mode. If the project is not created give the project name created and give the enhancemet name as "RSAP0001" and save it.
    in the component you can find 4 Function modules
    EXIT_SAPLRSAP_001 -> Transaction Data
    EXIT_SAPLRSAP_002 -> masterdata attributes
    EXIT_SAPLRSAP_003 -> Master data Texts
    EXIT_SAPLRSAP_004 -> Masterdata Hirarchies.
    Take the apprapriate FM and double click on it
    there you can find Include name. If you double click on it you can find ABAP editor.
    there we have to write the code
    example code will be like below.
    data: l_s_icctrcst like icctrcst,
    l_s_icctract like icctract,
    l_s_icctrsta like icctrsta,
    l_tabix like sy-tabix.
    case i_datasource. */ in BW 1.2B case i_isource.
    when '0CO_OM_CCA_1'.
    loop at c_t_data into l_s_icctrcst.
    l_tabix = sy-tabix.
    select single * from z0001 where kokrs = l_s_icctrcst-kok
    and kostl = l_s_icctrcst-kostl.
    if sy-subrc = 0.
    l_s_icctrcst-zfield1 = z0001-zfield1.
    l_s_icctrcst-zfield2 = z0001-zfield2.
    modify c_t_data from l_s_icctrcst index l_tabix.
    endif.
    endloop.
    when '0CO_OM_CCA_2'.
    when '0CO_OM_CCA_3'.
    when others.
    exit.
    endcase.
    This is example code.
    Thnaks
    DST

  • Enhancing master data extractor View-based

    Hi there,
    I want to append fields to a standard master data extractor that uses a standard view. How can the enhancement be performed? Per my understanding, the append structure won't work here. So is extending the view the only valid option? Please can you provide steps how this needs to be done.
    Thanks!

    Hi Intel,
    The first step would be to enhance the underlying tables involved in view. You will have to first add the required field in one of the tables involved in building the view.
    In this enhancement you might have to use append structure if it is standard table or in case of 'Z' table the field can be directly added.
    Once you add this field in table you will have to make this field available in View for usage and then simply enhance the DS, replicate the DS. You will get the newly added field in BW.
    Regards,
    Durgesh.

  • Enhancing master data source.

    Hi experts,
    How to enhance an master data data source ( 0customer_attr ). Which function exit we need to use.
    Is it EXIT_SAPLRSAP_001 or EXIT_SAPLRSAP_002 ?
    Regards,
    Nishuv.

    hi fallow these steps
    1. Go To SAP R/3 TCODE-RSA6 
    2. Open the SAP R/3 Tab & select the module & the masterdata extractor name for ex.MM -> MM-IO ->0VENDOR_ATTR 
    3. Double click on it. It will show you the extract structure name under "ExtractStru" as BIW_LFA1_S. 
    4. Double click on it or copy the name & open SE11 & paste the name open the structure. 
    5. There you can find append structure field name in ZZ. i.e all append structure fields should start with ZZ as prefix. 
    6. To find the source field you have to go to CMOD. 
    7. Provide the project name which is created. 
    8. Then select the "Enhancement components" option. 
    9. Click on display button. 
    10. Select the function exits "Exit_SAPLRSAP_002" it will open the include program "include zxrsau02". 
    11. Double click on "zxrsau02". 
    12.You will find the case program with datasource name. 
    13.Choose your master datasource & check the table names & the logic. 

  • Enhance Master data 0material

    Dear friends .
    I am in bit confusion , I have one request where i need to activate 0Pur_c01 . the problem is there is one charterstics . which is agency code(0matl_grp_1) .I need to add this charcter to the cube . but 2lis_02_ITM or 2lis_02_SCL does not contain this char.  My question is .
    1. Can i add this char as attribute for 0material .
    2. Agency code (0matl_GRP_1 ) is coming from MVKE Table and Feild is MVGR1. the data for 0material is coming for MARA.
    3.Can i enhance the 0material .
    4. If i can add this char to 0material . please let me know . how to enhance 0material .
    Hope you all can help me on this . points are rewarded for your efforts . thankyou .

    Hi Kumar,
    You can enhance the agency code to master data object 0material for reporting or you can enhnace this for the cube dircetly.
    Method 1. Enhancement for Master data 0material:
    Add 0matl_grp_1 as an attribute in 0material defination.
    Enhace data source 0MATERIAL_ATTR with a new characterstic agency code and make it as navigartional attribute.
    Write  ABAP code in R3 (using T-code :CMOD) in RSAP0001 componet specified and functional exit EXIT_SAPLRSAP_002 specified for master data to populate the agency code from tabel MVGR1 using the key filed Material.(But you have to know the functional relation ship between material and agency code to write the ABAP code in CMOD).
    Replicate the data source and make the necessary assignments for infosource.
    Load the master data for 0material.
    Assign agency code as navigationl attribute in the cube defination, so that agency code is used in reports for navigation.
    Method 2: enhance your data source 2lis_02_ITM or 2lis_02_SCL with agency code ((using T-code :CMOD) in RSAP0001 componet specified and functional exit EXIT_SAPLRSAP_001 specified for transanction data.
    add char agency code to cube and bellow data flow and load the data.
    Method 1 is suggestable for your case.
    regards,
    srinivas.

  • Enhancing master data extractor

    Hi,
    I am trying to add some fields to the 0customer_attr extractor.
    I did the following went to RSA6 enhanced the append and then removed the check mark from the hide and field columns.
    In rsa3 its not getting populated. am i missing something.
    thanks
    a

    hi,
    do you write the user exit code zxrsau02 to populate the new fields ? can more detail get from which table-fields ? say you add field zzfield1, user exit code zxrsau02 can be like
    data : l_s_custattr like BIW_KNA1_S,
    l_zzfield1 like tablexyz-fieldabc,
    l_tabix like sy-tabix.
    case i_datasource.
    when '0customer_attr'.
    loop at c_t_data into l_s_custattr.
    l_tabix = sy-tabix.
    fill the new field
    select single fieldabc into l_zzfield1
    where ....
    l_s_custattr-zzfield1 = l_zzfield1.
    modify c_t_data from l_s_custattr index l_tabix.
    endloop.
    take a look some links on enhancement
    Enhancement
    User exit
    and download pdf 'enhancements in sap bw'
    here you can find the steps ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    hope this helps.

  • Enhancing Master Data Attribute Datasource with a Key Figure

    Hi All,
    I need to add key figure 0PRICE as a display attribute of characteristic 0XYZ.
    I enhanced the datasource 0XYZ_ATTR, by adding an append structure to BIW_XYZ. Do I need to add a currency field to the append structure? Where do I reference this currency field? Your input is greatly appreciated. Thank you.
    Juice

    Yes, you need to include a currency field, at least when you get to the BW side (mapping) ... In this case, if you use 0PRICE, you need to include 0CURRENCY...
    You can either assign it in the ABAP routine for the InfoObject Attributes in CMOD or once you do the mapping in BW... Either as a fixed value or transferred from R/3, if you added it to the enhance structure and assigned a value to it in your CMOD include...
    0MATERIAL is a good reference to look at for this kind of scenario...

  • Enhancing master data datasource

    Hi there
    Some time ago i enhanced a masterdata infosource (0project_attr) by adding new fields to a append structure. This works fine without problems. Now i needed to ad one more field. I did that without problems in the appendstructure however the new field is not displayed at the Datasource screen (TC SBIW - Datasource 0project_attr and display).
    This means that the field is not moved to BW even after replication. It seems like the extract structure is not activated/generated proberly at the second enhancement.
    Chris

    Hi Chris,
    create a little abap in se38 with the following content:
    update roosfield set selection = space
    where  oltpsource = <your datasource>
    and    objvers = 'A'
    and    field = <your fieldname>.
    regards
    Siggi

  • MASTER DATA ENHANCE MENTS

    hi all
    1. how to enhance Master Data 
    could any one help me wt are steps /procedure to be follow?
    thanks

    below thread can help..
    Re: enhancements
    Vishvesh

  • Initial Load for Master Data from R/3 to CRM

    Hi Middleware Experts,
        I have an ambiguity on initial load of enhanced master data from R/3 to CRM. The current situation is
    1)I have already enhanced master data on R/3 side with some additional fields. Now shall i go ahead with standard intial load of these Master data to CRM without creating middleware interfaces to map those enhanced fields on CRM side?
    2)Also after doing initial load from R/3 to CRM, if I develop middleware interfaces for mapping these new fields of master data and then again do the initial load, so that new fields also get mapped, will the initial load be done properly as i have already done it once? will it overwrite the previous initial load data on CRM side properly?
    Please suggest whether it can be done or not and which is the better option.
    Regards,
    Rahul

    Hi Rahul,
    Since you have not done the mapping yet the middleware will not bring those fields to CRM it will work just like a standard initial load without considering the enhanced master data field.
    When you develop the middleware interface and enhance the CRM data structure also and then you can see the exchange of those fields through MW. You can start the intial load at that time also its not that you can do the initial load just once. But the better option would be that you avoid doing initial load several times because its time consuming activity. You do all the enhancement and then finally perform the initaial load.
    <b>Allot points if my post helps!!</b>
    Best regards,
    Vikash.

  • Master data reading does not work

    Hello,
    Having as a source for a transformation an infosource, masterdata reading (i.e. enhance master data with attributes) produces less data records than a simple transformation without reading master data attributes.
    Question: Is the reason for this behavior, that an infosource is no info-object based data provider as is written in the RKT docu?
    Thank you + regards,
    Ingo

    Hi Ingo,
    please open an customer problem message, since this seems to be a bug. It might be that it happens only in certain scenarios. Nevertheless it should be investigated by development.
      Cheers
        SAP NetWeaver 2004s Ramp-Up BI Back Office Team

  • Impact of changing/enhance an existing master data object

    Hi Experts,
    I have a new requirement to enhance 0comp_code in order to add 2 extra fields in the master data.
    As 0comp_code is an infoobject used in lots of cubes, I would like to know which is the impact of changing it.
    Which actions should I take into account before doing any changes.
    Many thanks in advance!

    Hi,
    If you are adding any new fields to infoobject, you will not have any impact to existing info providers which uses that infoobject.
    If the attr u add is a navigational attr and if you want ur info provider to have it, then you will have to enable it and activate the info provider and the update rule as well.
    is your data source modified to bring in those new fields? or is it going to be manually maintained?
    Regards,
    Pradhiba

  • Enhancements vendor/customer master data

    Hi,
    Are enhancements aboutvendor/customer master data there to allow to insert 55 digit into field 'Name' (ADDR1_DATA-NAME1) ?
    Now the ADDR1_DATA-NAME1 is 40 char.
    Any assistance would be greatly appreciated.
    Best Regards.
    Helen.

    Moderator message - Welcome to SCN
    This question seems closely related to your other question Enhancements vendor/customer master data. Please expand on that one if you want. This one is locked.
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • To enhance 0EMPLOYEE master data attributes, need to delete and load again?

    Dear Support,
    In order to meet business intelligence demands, I had three more attributes (region, time rate and worksite) to 0employee time dependent characteristic.  The datasource to load 0employee attributes and its structure were enhanced to fill the new fields.
    After first load, 0employee master data could not be activated. So I deleted 0employee master data, what I couldnu2019t do without deleting its data from transactional HR infocubes. I deleted transactional data and afterwards master data. I load it again and activated, with no errors this time.
    This occured in development system.
    Changes are about to go to production environment and deleting almost all transactional RH area infocubes and 0employee master data is something that we all want to avoid.
    I am asking if there is a workaround in order to solve this without doing the stated time and resources consuming task.
    Thanks in advance for your help,
    Best Regards,
    André Oliveira

    Hi Andre,
    You should be able to do a full load to achieve this. No need to delete the data. If there are corrupt data in BI with overlapping time periods, fix it by maintaining the master data. If corrupt data comes from source fix it in PSA.
    Also you can specify to load the data for a time range only which might be easier than to load all history.
    good luck,
    vijay

Maybe you are looking for

  • Regarding creation of data type from an excel sheet

    hi experts,   I am to create a data type which has 2000 fields. details about data type is in excel sheet. Is there any way i can convert this excel sheet to xsd and impot it in XI or there is any other way to do it fast. Or i will have create it man

  • Worried about T61 Shipping..​. Share your *US* Experience​s?

    I've been reading the other thread about the T61 shipping and am definitely NOT pleased with other people's experience. It must be a pain to go through, sorry for those that went through it. I just wanted other experiences, as far as those who live i

  • Quicktime not working properly on Mountain Lion

    I recently tried to open an client's AE project on my MACPRO (late 2010, running on Mountain Lion) and everything seemed to be offline, after digging in my client's portable drive, I found all the media but could not reconnect it to the project. AE k

  • JUST TOO LESS OF RAM ON THE N95

    I have always been a Nokia fan for many years and have always recommended Nokia phones to all my friends. I however bought the N95 and am terribly dissapointed to find that the RAM is totally totally inadequate and one just cannot enjoy the phone due

  • Can anyone get trial Project 2013 to run on Parallel 7

    I get a message from the laptop to say that the MS Project needs to run in a 32bit format. I change the setting to 32bit and download the correct trial file and still the 32bit message pops up.