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

Similar Messages

  • I want to create generic master data attribute datasource on ANLA table .

    hI,
    I want to create generic master data attribute datasource on ANLA table .
    and have to activate delta load.
    Is it possible for delta upload on this table?
    if it is possible then on which field i can create genric delta?

    1.I want to fetch quantity ,inventory no , serial no.......
    I have to enhance that datasource.....
    2.else i can create master data for asset number using ANLA
    I have opted 2nd option

  • Some of the Master Data Attributes DataSources not visible in RSA5

    Hi Experts,
    After installation of R/3 ECC 5, some of the master data attributes datasources are not visible in RSA5.
    Do i need to do any other settings to get them.
    Awaiting response....
    Thanks in advance.....
    Rafi

    Hi Prakash,
    Thanks for quick response. I have checked those tables. i found that i have same datasources as it is in RSA5.
    For example: i have 0SALE_DIST_TEXT in both RSA5 and ROOSOURCE, how i can have the attributes for the same.
    also i don't have attributes datasource for Customer Group1...5, Material Group1...5, sales office etc.,
    Anticipating your response,
    Thanks
    Rafi

  • Master data attributes with direct update...its very urgent

    Hi all,
    Could anyone tell me how to laod the master data attributes with direct update in the infopackge..
    provide steps to create master data attributes and how to load..
    Thanks,
    Manjula

    Hi Manjula,
    Flexible Uploading
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used
    honor with points if this helps,
    Sudhakar

  • Pupulating Char with Master data attribute

    Hi,
    I need to populate the characteristic with a master data attribute value at the tranfer rules.
    Can anybody send me the code to do so.
    If it is at Update rules we have the option of Master data attribute of.
    But I need to do it at transfer rules.
    Thanks in advance.

    Hi Indira,
    It is difficult to give the exact code but, here is the pseudo code:
    In the start routine:
    select * from /bic/m<characteristic>
    into itab for all entries in datapak
    where ..............
    if sy-subrc = 0.
    sort itab by....
    endif.
    In the mapping for the info object, create a routine and the following code goes in there:
    read table itab with key ......
    if sy-subrc = 0.
    result = itab-********
    endif.
    Make sure you handle time dependencies if the master data attribute is time dependent.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • 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

  • Datasource for master data attributes : QUAN fields ?

    Hi,
    In the datasources for master data attributes (in R3), fields type QUAN are in the extraction structure but not in the datasource (for example field LFMNG is in extraction structure BIW_MVKE_S but is not in the datasource 0MAT_SALES_ATTR).
    Is there a standard way to have these fields type QUAN in master data attributes ?
    Otherwise I think to this solution :
    => add a field ZZLFMNG type DEC (DEC fields are in the datasource for master data attributes) in a structure append of BIW_MVKE_S
    => in the user-exit for master data attributes : move the value of LFMNG to ZZLFMNG
    => in the infosource in BW  : assign an infoobject type QUAN to the field ZZLFMNG
    What do you think of it ?
    Thanks in advance.

    Hello,
        I'm adding this field LFMNG too, but after I update the roosfield table an error occurs in RSA6.
        This error said that the MEINS field is hide in the DataSource. But we there isn't this field there. Someone knows what should I do?
    Thanks!
    Eduardo

  • Maintain key figure in master data attribute

    Hi,
    For some special requirement I have maintained  key figure in master data attribute but I am unable to use key figure attribute in infocube.  Please help.
    Thanks & regards,
    Goutam

    Hi,
    See in the below URL...under "Customer Exit Variables in BW/BI Reports", you can have all examples about Cust Exits and Replacement Path.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • How to  extract  master data  attribute from  r/3 to bw give steps details

    how to  extract  master data  attribute from  r/3 to bw give steps details screenshots

    Hi
    Go through the below process to extract Master Data Attribute from R/3
    Hi,
    Maintaining Generic DataSources
    Use
    Regardless of the application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any transparent table, database view or SAP Query InfoSet, or using a function module. This allows you to extract data generically.
    Procedure
    Creating Generic DataSources
    1. Select the DataSource type and specify a technical name.
    2. Choose Create.
    The screen for creating a generic DataSource appears.
    3. Choose the application component to which you want to assign the DataSource.
    4. Enter the descriptive texts. You can choose any text.
    5. Select the datasets from which you want to fill the generic DataSource.
    a. Choose Extraction from View if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the database view or transparent table.
    For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
    b. Choose Extraction from Query if you want to use a SAP Query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
    Notes on Extraction Using SAP Query
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the InfoSet.
    For more information about maintaining the InfoSet, see the System Administration documentation.
    c. Choose Extraction Using FM if you want to extract data using a function module. Enter the function module and extraction structure.
    The data must be transferred by the function module in an interface table E_T_DATA.
    Interface Description and Extraction Process
    For information about the function library, see the ABAP Workbench: Tools documentation.
    d. With texts you also have the option of extracting from fixed values for domains.
    6. Maintain the settings for delta transfer, as required.
    7. Choose Save.
    When performing extraction, note SAP Query: Assigning to a User Group.
    Note when extracting from a transparent table or view:
    If the extraction structure contains a key figure field that references a unit of measure or a currency unit field, this unit field has to be included in the same extraction structure as the key figure field.
    A screen appears on which you can edit the fields of the extraction structure.
    8. Edit the DataSource:
    &#9675; Selection
    When you schedule a data request in the BI scheduler, you can enter the selection criteria for the data transfer. For example, you can determine that data requests are only to apply to data from the previous month.
    If you set the Selection indicator for a field within the extraction structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
    &#9675; Hide field
    You set this indicator to exclude an extraction structure field from the data transfer. The field is no longer available in BI when you set the transfer rules or generate the transfer structure.
    &#9675; Inversion
    Reverse postings are possible for customer-defined key figures. Therefore inversion is only active for certain transaction data DataSources. These include DataSources that have a field that is marked as an inversion field, for example, the update mode field in DataSource 0FI_AP_3. If this field has a value, the data records are interpreted as reverse records in BI.
    If you want to carry out a reverse posting for a customer-defined field (key figure), set the Inversion indicator. The value of the key figure is transferred to BI in inverted form (multiplied by –1).
    &#9675; Field only known in exit
    You can enhance data by extending the extraction structure for a DataSource by adding fields in append structures.
    The Field Only Known in Exit indicator is set for the fields of an append structure; by default these fields are not passed to the extractor from the field list and selection table.
    Deselect the Field Only Known in Exit indicator to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list and in the selection table.
    9. Choose DataSource ® Generate.
    The DataSource is saved in the source system.
    Maintaining Generic DataSources
    &#9679; Change DataSource
    To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
    You can change the assignment of a DataSource to an application component or change the texts of a DataSource. Double-click on the name of the table, view, InfoSet or extraction structure to get to the appropriate maintenance screen. Here you make the changes to add new fields. You can also completely swap transparent tables and database views, though this is not possible with InfoSets. Return to DataSource maintenance and choose Create. The screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
    If you want to test extraction in the source system independently of a BI system, choose DataSource ® Test Extraction.
    &#9679; Delta DataSource
    On the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the corresponding query. If you want to delete a DataSource, make sure it is not connected to a BI system.
    NR

  • Error while loading to Master data attribute 0product

    Hi experts,
    While loading the data from 0material to 0product master data attribute i am getting a error ' 0MATERIAL : Data record 2421 (''300000072 '):Version '300000072 ' is not valid. I request u all to help me to solve this error.
    Diagnosis
        Data record 2421 & with the key '300000072 &' is invalid in value
        '300000072 &' of the attribute/characteristic 0MATERIAL &.
    System Response
        The system has recognized that the value mentioned above is invalid, and
        has processed this general error message. A subsequent message may give
        you more information on the error. This message refers to the same
        value, even though it does not state this explicitly.
    Procedure
        If this message appears during a data load, maintain the attribute in
        the PSA maintenance screens. If this message appears in the master data
        maintenance screens, leave the transaction and call it again. This
        allows you to maintain your master data.
    Please let me know what could be the problem....
    Regards,
    Prashanth
    Edited by: Prashanth Shetty on Jul 16, 2008 7:42 AM

    Hi,
       The issue is due to errorneous record.
    Delete the request in Master data and Try the following.
    1) Goto PSA --> filter the Status (Red or Green)
    Select the Red records and correct the data in which error is throwm.
    After correcting the data, save and Right click PSA and give Start update immediately.
    2) Load via Infopackage only to PSA and later update from PSA and check.
    Any one of the above 2 methods will solve the issue.
    Regards,
    Balaji V

  • Where to set lock while loading master data attributes

    Hello Experts,
    I have two different datasources from ECC which loads into 0CUST_SALES attributes. I'm using two different DTP & transformation which are loading data in the this infoobject attributes.
    When i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".
    Here what exactly  LOCK means?
    Thanks in advance.
    Zakir Khan.

    Hi,
    The lock means that some program is updating the master data (a table) and at the same time other program can not update that same master data. When the first program completes the updation it will release the lock so that the other program can update this.
    In your case you and schedule the DTP one after another.
    Thanks

  • Map My Update Rule from a Master Data Attribute

    Hello experts,
    I haven't tried this scenario yet, hope you can help me, the Issue is this
    I have 2 InfoObjects ZPSCHRCHY and 0PROFIT_CTR from InfoCube WBS cost and allocations I want both the InfoObjects to be mapped to 0PROFIT_CTR attribute of 0WBS_ELEMT master data object, I have tried the Master Data Attribute but only 0PROFIT_CTR is an attribute of the Master Data.how can I mapped ZPSCHRCHY and 0PROFIT_CTR to 0PROFIT_CTR?, Is creating a start routine for it must be used? Thank you very much
    Regards and Thanks
    Chris

    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TYPES:
    BEGIN OF r_MD_WBS_ELEMENT,
       WBS_ELEMT  like /BI0/PWBS_ELEMT-WBS_ELEMT,
       OBJVERS    like /BI0/PWBS_ELEMT-OBJVERS,
       PROFIT_CTR like /BI0/PWBS_ELEMT-PROFIT_CTR,
    END of r_MD_WBS_ELEMENT.
    DATA: t_MD_WBS_ELEMENT  TYPE STANDARD TABLE OF r_MD_WBS_ELEMENT,
           wa_MD_WBS_ELEMENT TYPE r_MD_WBS_ELEMENT.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZPSG030.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
      REFRESH: t_MD_WBS_ELEMENT.
          SELECT WBS_ELEMT
                 OBJVERS
                 PROFIT_CTR
          INTO TABLE t_MD_WBS_ELEMENT
          FROM /BI0/PWBS_ELEMT
       FOR ALL ENTRIES IN DATA_PACKAGE
         WHERE WBS_ELEMT   = DATA_PACKAGE-WBS_ELEMT.
        IF sy-subrc EQ 0.
        Do nothing
        ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Error in Master data attribute

    Hi Gurus,
    I Have got the following error while iam loading master data attribute
      Data record 5238 & with the key '000000000030022055 &' is invalid i
      value '4902430016629  &' of the attribute/characteristic 0EANUPC &.
    Regards

    Hi,
    Please perform the data load with the option via PSA (in infopackage). Right click on data source- > manage. Click on the request and edit the record in error.
    Hope this help. Let me know if you further queries.
    Viren

  • Master Data Attributes

    Hello Experts,
    I notice that for certain Master data attributes, there are 2 datasources available. The difference I could notice is that, the Delta process for one would be 'A - ALE Update Pointer (Master Data)' and for the other one, it would be AIMD.
    For example, for Business Partner there are 2 datasources.
    0UCBU_PART_ATTR - Delta process = A
    0UCBU_PART_ATTR_2 - Delta process = AIMD.
    Since I think that the DS, 0UCBU_PART_ATTR_2 is the more recent version, I activate that. And while doing that I get a warning message saying 'Datasource with Delta process AMID requires a cancellation field.'
    What is this message? In your experience, which one would you chose? Are there any implications? Your opinion would be helpful.
    Regards,
    Prince

    Hi,
    very useful for you:
    Duplicate records -master data load
    converting master data to language independent
    assign points if useful ***
    Thanks,
    Raj

  • Transofmration :  Master data attribute

    Hello,
    I am on NW 2004S BI and ECC 6.0.
    In the transformation rule types, i can not find "Master data attribute of" .
    If this is the case in this version,in the infocube, how to load the data for a particular IO, which is an attribute of another IO ? 
    In the older versions, in the update rules, i can select either source, constant, master data attribute of,routine etc ..
    Any advice? 
    Regards,
    Ravi

    Hi Ravi,
    We have "Master Data Attribute" as a Rule type of Transformation in NW2004S BI also.
    Where in the previous version BW3.x you have option to create the Master Data Read Rule only between
    DataTarget to DataTarget
    or
    Infosource to DataTarget.
    But, The New Enhancement of NW2004S BI is, Even you can read the Master Data Attribute in Transformation have builded between DataTarget (InfoCube or ODS) and DataSource also.
    How to assign the InfoObject for Master Data Read?
    Select Target Field.
    Select the source InfoObject from where you want to read Master Data.
    When you have to choose the "Master Data Read" as the Rule Type. Then You will get the entry block next to Rule Type.
    Click F4, then it will give the Attribute automatically.
    Hope this helps you.
    Regards,
    Vamsi

Maybe you are looking for

  • Macbook Air In Apple Repair For 3 Weeks.

    I sent in my revb air to apple on Dec 15th. They recieved it and repaired it sent me a email twice that it was on its way back. Called yesterday and they said now that engineering had it because they have never seen a problem like this before. Should

  • PO Approval: OAF Form -Whether notes during rejection can be made mandatory

    Hi, During PO Approval process, when the approver receives the notification and when the notification is clicked. If the approver choses to reject the PO, then is it possible whether entering notes during PO Rejection can be made mandatory at OAF for

  • Apple TV2 unit makes an ultra-high pitch sound every 40 seconds

    This just started happening about two hours ago: every 40 seconds our Apple TV2 makes this dog whistle-like sound that pierces through the whole house. Has this happened to anyone else? I have tried recording the sound but the mic on my iPhone can't

  • New features Release 12 Financials

    Does anyone know of Documentation detailing Changes/Enhancements from 11.5.10 to R12 in particular changes to the Finance packages.

  • Relinking media...please s.o.s

    In my FCPX Project there was a clip missing because I removed the hard disk where it was originally placed...but the same file is in my hard disk...BUT I don't know how can I tell to my project that this file is here and make the final cut x replace/