Master data enhancement

Hi gurus,
i have a requirement where in i want to enhance the 0material with standard price in MBEW -STPRS
what should be the logic in the user exit, i assume that it should be something like
select stprs from mbew where mara-matrn = mbew-matrn
but in mbew the key is matnr, bwkey so how should be the logic so that i can populate the correct standard price for the material...i am going in the right direction or else do i need to use some other method to get the standard price
i want to use this standard price to calculate the value of my materials in cube later in BW how to achieve this if i enhance the 0material with stprs.
thanks a lot in advance.
regards
Neel

Hi all,
thanks for the info, sorry to ask a basic question what is the difference between
0material and 0mat_plant
what exactly is BWKEY and other key fields in MBEW.
like can i use 0mat_plant as a substitue to 0material.
thanks and regards
Neel
Message was edited by:
        Neel Kamal

Similar Messages

  • Function Module Call Via CMOD Logic for Master Data Enhancement

    Hi Friends Please help me to resolve this, would really be very kind of all of you.
    Requirement. I want to Enhance the field ZFACTREG from VIBDBE table in my datasource 0busentity_attr extract structure l_s_REIS_BUSENTITY_ATTR, I want to create the logic in CMOD exit_saplrsap_002 to call my function module for enhancement of master data. Please help me Step by Step
    Thanks
    Poonam Roy
    <b>Step #1</b>
    I put this code which gives me error in CMOD like this
    ERROR : Das formale Argument 'OTHERS' muss am Schluss der Ausnahmeliste stehen.
    ABAP Code#1 IN exit_saplrsap_002     
    DATA: l_d_fmname(30) TYPE c.
    CONCATENATE 'Z_DS_' i_datasource(25) INTO l_d_fmname.
    TRY.
    CALL FUNCTION l_d_fmname
    EXPORTING
    I_DATASOURCE = I_DATASOURCE
    I_UPDMODE = I_UPDMODE
    TABLES
    I_T_SELECT = I_T_SELECT
    I_T_FIELDS = I_T_FIELDS
    I_T_DATA = I_T_DATA
    C_T_MESSAGES = C_T_MESSAGES
    EXCEPTIONS
    RSAP_CUSTOMER_EXIT_ERROR = 1
    OTHERS = 2
    IF FOUND.
    IF SY-SUBRC <> 0.
    RASIE RSAP_CUSTOMER_EXIT_ERROR.
    END IF
    CATCH CX_SY_DYN_CALL_ILLEGAL_FUNC.
    ENDTRY.
    <b>Step#2</b>
    I simple created the Function module Z_DS_BUSINESS
    and put the code in source code  which gives me error . what should i put in other tabs like"Import", Export", Tables" i kept blank
    ABAP CODE give me error : The Dictionary structure or table "FIELD-SYMBOLS" is either not active. i have to remove include in the FM. WHY SO??
    FUNCTION Z_DS_BUSINENSS
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_DATASOURCE) TYPE  RSAOT_OLTPSOURCE
    *"             VALUE(I_CHABASNM) TYPE  SBIWA_S_INTERFACE-CHABASNM
    *"             VALUE(I_UPDMODE) TYPE  SBIWA_S_INTERFACE-UPDMODE
    *"       TABLES
    *"              I_T_SELECT TYPE  SBIWA_T_SELECT
    *"              I_T_FIELDS TYPE  SBIWA_T_FIELDS
    *"              I_T_DATA
    *"              C_T_MESSAGES STRUCTURE  BALMI OPTIONAL
    *"       EXCEPTIONS
    *"              RSAP_CUSTOMER_EXIT_ERROR
    INCLUDE ZXRSAU02.
      WRITE: / 'INSIDE THE Z_DS_MEASUREMENTS PROGRAM'.
    TABLES: REIS_BUSENTITY_ATTR,
            VIBDBE,
    field-symbols:.<fs_REIS_BUSENTITY_ATTR> like REIS_BUSENTITY_ATTR.
    DATA: BEGIN OF i_c_t_data OCCURS 0.
              include structure REIS_BUSENTITY_ATTR.
    DATA END OF i_c_t_data.
    DATA: i_c_t_data_copy like i_c_t_data OCCURS 0 WITH HEADER LINE,
          begin of i_vibdbe occurs 0,
          INTRENO like vibdbe-INTRENO,
          ZFACTREG like vibdbe-ZFACTREG,
                  end of i_vibdbe.
    i_c_t_data_copy[] = i_c_t_data[] = c_t_data[].
    sort i_c_t_data_copy by vibdbe.
    Select  INTRENO
            into table i_VIBDBE from VIBDBE
            for all entries in i_c_t_data_copy
            where  INTRENO = i_c_t_data_copy- INTRENO.
    if sy-subrc = 0.
      sort i_VIBDBE by INTRENO.
      loop at i_c_t_data assigning <fs_REIS_BUSENTITY_ATTR>.
        clear: i_VIBDBE.
        read table i_VIBDBE with key INTRENO = <fs_REIS_BUSENTITY_ATTR>-INTRENO
        BINARY SEARCH
        transporting ZFACTREG .
        if sy-subrc = 0.
          <fs_REIS_BUSENTITY_ATTR>-ZZFACTORY = i_vibebe-ZFACTREG
        endif.
    null

    (I leave office until Monday morning, Europe time)
    in include from customer-exit ZXRSAU01, etc.
    CASE I_DATASOURCE.
    WHEN '0CUSTOMER_ATTR'.
       PERFORM 0customer_attr changing i_t_data...
    ENDCASE.
    In each perform, doing what you wrote ; select (needed fields) from complementary-database-table into an internal table with a for all entries. sort the table. LOOP and MODIFY on i_t_data.
    In some case i had to insert lines of i_t_data to an internal table of DS_structure when entering subroutine and back at exit. (on 4.6C PI 2003 if i remember)
    Some optimization done when reading small tables (T001 society and the same, these are filled once and not for each packet of data.
    Your idea of creating different FM is of interest, but the cost of passing i_t_data between two programs (two function groups) may overcome the gain of performance. In a job only one DataSource is processed so only one routine is actually called.
    Regards.

  • HR Master Data Enhancement using BAdi RSU5_SAPI_BADI.

    Hi Experts,
       I am trying to use first time BAdi 'RSU5_SAPI_BADI' instead of RSAP0001 for enhancing HR Master data.  I have enhanced the structure and I have created implemention method for BAdi and activated fine. Then I am not sure about the next step, I did search SDN but this point is not clear. Where is the link between these two things between Structure and the method, how is it called to populate the data. Because When I run RSA3, it shows my new field with blanks.  So I am missing some thing that integrates. IF some one has implemented this please let me know. Your help is appreciated.
    Thanks!
    Moorthy
    I was able to populate the new fields only when I use the structure in one place ie in BAdI. I mean, two fields were populating using user exit and I was trying two fields using BAdI for the same structure. When I tried all fields from BAdI only then it worked. So is my assumtion correct that we should either use user exit or BAdI for the same structure?
    Message was edited by:
            Moorthy

    Created one method for each datasource and is working fine.

  • 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

  • Step by Step Master Data Enhancement

    Can some one provide more information for generating Master Data from SAP R/3 system
    thanks

    Hi......
    What do you mean by generating Master Data from SAP R/3 system.......did you mean loading master data......
    If so.........then.....
    1) First create master data datasource in RSO2......or use standard one....
    2) replicate it......
    3) create infopackage and load data till PSA.......
    4) Insert the infoobject in the Infoprovider tree on RSA1......to do this in the Infoprovider tree right click on the desired Infoare >> select Insert Characteristic as Infoprovider..........
    5) Then create transformation between PSA and Infoobject.
    6)create DTP and load data..........
    If you mean Datasource Enhancement.........then check this.....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    http://sapbwneelam.blogspot.com/2008/10/sap-bw-data-source-enhancement.html
    Hope this helps........
    Regards,
    Debjani...........

  • Delta enabling for Custom fields after Master Data Enhancement

    Dear Friends,
    Two new custom fields were added to MARA table in ECC. I enhanced the extractor 0MATERIAL_ATTR by adding an append structure and added these new fields. For enabling DELTA, I did the following:
    1. In table ROOSGEN  lookup the 'Message Type' for extractor 0MATERIAL_ATTR. Found 'RS0152' as message type.
    2. Used transaction BD52 to create and entry in table 'TBD62' for Message Type - 'RS0152', Change object- 'MATERIAL' and fields - ZFIELD1 and ZFIELD2.
    3. Did a SCC1 in the test system for the transport carrying the above changes and did a re-init in BW. Then did a DELTA.
    I am seeing 0 records for DELTA eventhough I made some changes to the ZFIELDS in ECC.
    Please share your thoughts and suggestions if I am missing anything.
    Thanks,
    Raj

    Hi Raj,
    Check the following
    1) If you transport the changes, the message type name changes across the system
    2) The Data Element of the Z fields, check whether you have set the 'Change Documents' option in the 'DEFINITION' tab(Below th Parameter ID).
    Regards,
    BINetweaver2004s

  • Urgent-Need help with code for Master data enhancement

    hi Experts,
    I have appended YMFRGR field(Table MARC) to 0MAT_PLANT_ATTR datasource.
    The key fields in the MARC table are MATNR and WERKS.Can anybody help with the user exit to populate this field,as am pretty new to ABAP.
    Thanks in advance

    Hi,
    go through this link which has the similar problem:
    https://forums.sdn.sap.com/click.jspa?searchID=1331543&messageID=2794783
    hope it helps.
    Thanks,
    Amith

  • Add additional field in Vendor master data for VAT Reg. No.?

    Add additional field in Vendor master data for VAT Reg. No.?
    Hi I need to add one additional field for other VAT Reg. number in vendor master data FK01, We currently have two field
    Current Settings:
    Country : LFAS-LAND1
    VAT registration no.: LFAS-STCEG
    I need to add one additional field for text information. Is this possible?
    Thanks you very much
    Luis G.

    If you want to add new fields that are not possible from config (check with your consultant) you need to implement BADIs
    In SPRO, go to:
    >Logistics-General
    ->Business Partner
    -->Vendors
    --->Control
    >Adoption of Cusomter's Own Master Data Fields
    and read the documentation provided there.
    You will need to implement following BAPIs
    Processing Master Data Enhancements: VENDOR_ADD_DATA
    Customer Subscreens: VENDOR_ADD_DATA_CS
    I am not aware of any other way to add new fields to Vendor master (however, check with your consultant for config related screen modifications)
    Should you need any further info to implement it, post back (read it thoroughly first, it's quite self-explanatory).
    regards,
    Aabhas

  • 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

  • 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

  • Enhancement for Equipment master data

    Hi all
       I want to find an enhancement for Equipment master data. I want to add some customer fields to Equipment data,but i can't find the enhancement.Anybody tell me the Enhancement which be useful for that. thanks.
    BR
    Chris.

    Hi,
    you can add new tab on the screen and provide your custom field on that tab. You have to add a new tab for any Technical Object by doing some configuration changes in SPRO. first go to SPRO and in screen sequences add a new tab sequence against the profile. Now in the function group SAPLXTOB you can see this new tab screen. Do your requirements on this screen.
    Reward if useful and get back to me if you need any help.
    Thanks,
    Anil

  • Critical Error in master data: Transffered 250056  and added 0 enhancement

    Hi,
    First we have loaded master data into 0CUSTOMER and there after enhanced the datasource and mapped the same in transfer rules and update rules.
    We loaded data again into master data with full update. But  the enhaced fields data is not getting updated. But in PSA data is available.
    We deleted the all master data at Maitainence and relaoded data.
    Now its showing 250056 as transffered and added as 0
    we didnt seen any single record in master data now.
    I have actovated data and attributre change also done.
    But no success.
    Please suggest us what should i do now.
    Thnaks &Regards,
    Revathi

    Hi,
    The data is available for the all enhanced fields in PSA.
    For the master data Text also data there in infoobject maintainece.
    For the enhanced and all the other attributes data is not aviale.
    If i load data again with full load also it is Transffered 250056  and added 0
    But In data load monitor i obseved one thing ....
    in the details tabprocessingdatapavckages--update rules it saying Update rules ( 0 Records ) : No errors.
    But for transfer rules istep it is giving message Transfer rules ( 4139  Records ) : No errors .
    So till here data is processing...in update rules it is not.
    We dont have any routines in update rules. and its one to one mapping.
    Please suggest how to get it resolve.
    Thanks &Regards,
    Revathi

  • 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

Maybe you are looking for

  • How to put header and footer information in excel chart

    I modified the create chart.vi, I got from this site and able to create a chart from *.xls file. Now I want to print the filename as header and date and time the chart created as footer in the excel chart. Any idea is appreciated. Thank you MM Attach

  • My Exceed is not working with Solaris 9 Box

    What are the neccessary changes do i need to make on solaris 9 box in order to see the Solaris 9 screen on my Window XP desktop. I have enabled the following setting such as ./dtlogin -daemon enable But still it keep XDMCP timed out. Any body has any

  • Dolby Digital in Flash CS4?

    Hi, does someone know if it's possible to work with dolby digital in Flash CS4. Can I import audio files with 5.1 information or is Flash able to distribute mono wav-files to the different 5.1 speakers? Or is there a way to import flv-files with 5.1

  • Version of SQL Server Express for a Secondary Site in Configuration Manager 2012 R2

    Hi, I want to install a secondary site in my Configuration Manager 2012 R2. I want to install the SQL Server Express in a diferente drive. To do so, I want to previous install the SQL Server Express. Can I use the SQL Server 2014 Express? Thanks in a

  • IPhone 5 Wi-Fi signal issues

    Upgraded from iPhone 4 to 5 this week. New iPhone 5 constantly loses wi-fi signal in any other room in my house except the room where the actual router is based. Router is 2 months old N series, works perfectly. Interestingly I upgraded this router s