To add a key field to master data

Hi Gurus,
  I have 0UC_DEVICE as my time dependant master data.
It has two key fields(device number and todate).
I have to add from date also as a keyfield to this master data.
Can some one help me in this?
points will be assigned for helpfull answers.
Regards,
Senoy

Hi,
You can add other Key Field to your master by insetting it as a compounding characteristics. Before that couple of points needs to be taken care off.
1. Delete the data from Master. As you are adding a Key to master, it will not allow it unless you delete the complete data from master.
2. Also delete the master data from Quality, Production systems etc... to make this transport successful.
Regards,
Yogesh.

Similar Messages

  • FI-AP  Add  field of master data vendor for reporting of vendor

    Hi,
    I have to add the field LFA1-BRSCH (industry) into layout output reports for suppliers:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    I have already read the note 984305 - Line Item: Definition of special fields (T021S), but does not help me because it does not allow to enter fields of master data vendor
    But  I 've found the extension RFKRRANZ, but I do not know what to enter as a code.
    Has anyone ever used or even if it is used on your systems could send me the code?
    Any assistance would be greatly appreciated.
    Eric

    Hi,
    if someone can affect, the answer SAP  such enhancement is not possible for teh reports:
    S_ALR_87012082
    S_ALR_87012093
    S_ALR_87012103
    But only transactions: FBL1N/FBL3N/FBL5N or, as of ERP2004, FAGLL03.
    Best Regards.
    Eric

  • Start Routine to Populate Account Group Field from Master data of 0Customer

    Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
    during the load from source DSO to Target DSO.
    Error Explicit length specifications are necessary with types C, P, X, N und
    DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
        DATA: l_S_comp type comp.
        DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
    IF  L_th_COMP[] IS INITIAL.
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
    ENDIF.
    LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
    READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
    IF SY-SUBRC = 0.
    L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
    MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
    ENDIF.
    ENDLOOP.
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
    so  Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer.
    No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
    ***SOURCE DSO Table
    types: begin of typ_tgl1.
        include type /BIC/AZDAFIAR000.
        types: end of typ_tgl1.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
    DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
    INITIAL SIZE 0.
      data: wa_itab type COMP.
        data: wa_zdtg type typ_tgl1.
    IF  L_th_COMP[] IS INITIAL.
    ***Master Data Table
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
    FIELDS OF TABLE L_th_COMP.
    sort L_th_COMP by CUSTOMER.
    ENDIF.
    LOOP AT L_th_COMP into wa_itab.
    select * from /BIC/AZDAFIAR000 into wa_zdtg
                        where DEBITOR  eq wa_itab-CUSTOMER.  *** SOURCE DSO Table
    IF SY-SUBRC = 0.
    wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
    MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
    ENDIF.
      endselect.
        endloop.
    soniya kapoor

  • Add new bank account in master data client with idoc DEBMAS.

    Hi friends,
    I have an issue.
    I am trying to add new bank account in master data client with idoc DEBMAS.
    But when I submit, then just overwrite the bank data but not add.
    I try playing with MSGFN code with value '009' or '004' but nothing done.
    Someone has met this issue ?
    Thanks for your answers.

    Thanks,
    But what do you mean ? where can I find this path , in img ?
    Fields->Set Qualified Update ->Append Option
    I think we have to use another idoc :
    BUPA_C_BANKDETAIL_ADD01 SAP BP,  BAPI: Add Bank Details
    I'll try...

  • XRPM: Need to find the BADI for adding custom fields to  master data

    Hi,
      We have activated XRPM(4.0) business content and need to add some custom fields to some of the master data ( for example need to add custom fields to master data info object 0RPM_IHGU, 0RPM_IGCG etc).
      We have enhanced the data sources ( 0RPM_ITEM_HEADER_GUID_ATTR and 0RPM_FIN_CAT_GUID_ATTR respectively) in the source system  by appending additional fields to the append structure of the data source We are trying to find the BADI where we can implement the custom code.
      Can anybody help to find the particular BADI, id there one for all master data carrying data source in the xRPM source system?
      Thanks

    Dear Arunava,
    1) In your R3 goto  SE16 --> open table ROOSOURCE.
       Search for your OLTP source...eg: 0RPM*
       The column  EXTRACTOR will give you the module name.
    2) Also look/follow the link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9f668696-0701-0010-22be-a278e4587b68
    Currently available BAdIs include:
    RPM_BUPA_CUST_FIELDS BUPA customer fields
    RPM_CALC_BUPA_BPFTE Calculate the business partner availability
    RPM_CALC_STAFF_ICON calculate the staffing icon
    RPM_CREATEUSR_NAME Generates user names
    RPM_HR_IN_IF001 Customer exit for inbound time processing
    RPM_HR_IN_IF002
    RPM_HR_IN_IF003
    RPM_HR_IN_IF004
    RPM_HR_IN_IF005
    RPM_HR_IN_IF006
    RPM_INTEGRATION_OPTS get and set the project integration options
    /RPM/OBJECT_SERVICES Object support services
    /RPM/PERSON_CUST_FLD Resource customer fields
    RPM_PROCESS_DATA Inbound processing of time data by customer
    Good Luck, BB

  • Who can I update primary key field in master block

    Hi,
    I want to update the primary key field in master block when there are some records are present in detail block, when I edit the primary key filed there is an error FRM-40509 unable to update record. The primary key is also referred by the detail table.
    So kindly give me the solution who can I update the primary key in master block when there is child records exists in detail block?.
    Best regard,
    shahzad

    pls tell us a little more about, why you want to update a PK in a master block.
    I haven't done that my whole time. Maybe you need something different.
    The problem is, that your child-data references to the master-pk, so there is the point you have to go deep into the codings. But better don't do it. Tell us first why. I think there are other solutions for that.
    try it
    Gerd

  • 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

  • Adding new field to Master Data

    Hi All,
    I have one master data which is business content.
    i need to add one custom field in that with the status information of records. that new field will get data from R/3 status table via extractor from CMOD.
    now this Master data is having delta.
    my confusion is if i add new field in it how the delta will react ? coz there are different status - eg. when user create the status - it will be "created" that time delta will pick up that record coz it has been changed. Now if user changes status to "closed" or "in transit" how delta will react ?
    i meant is it doable to do like that ?  any guidance will be appreciated.
    Thanks in advance.

    Smith,
    Your master data extractor will continue to give your existing fields- as for delta - it depends on how the delta is managed - you would have to find that oiut - is it on timestamp / date et etc... ?
    CMOD will change only the extract structure and whenever this datasource is called - CMOD fills in the additional field - nothin about delta / init here...
    Arun

  • Addition of key figure in master data attributes.

    Hi All,
    I have a scenario to DPO (Days payable outstanding) amount in FI.
    I need to calculate purchases amount From 2LIS_O3_BF Based on the given input dates from customer .The Company code wise ACCOUNT PAYABLE amount  to be calculated from OFI_AP_4.
    There is no key link between this.
    So i want to add one key figure in Company code attributes to calculate and store account payable amount using Routine. Then i will give this attribute as navigational  in ODS of 2LIS_03_BF .
    Can i have key figure in attributes of masterdata. I need to load this daily to calculate amount.
    Is there any other solution, how performance will be effected with this solution.
    Thanks,
    JO

    Hi Joseph;
    Yes, you can add a KF as one attribute of master data.
    The other solution that I see is you create a DSO as a target of 2LIS_03_BF and then a transformation with company code. Direct link between DS and IO is not advise because one is delta and the other is full (you could have some problems).
    But if it's my choice... enhance the 0COMP_CODE_ATTR.
    Regards;
    Ricardo

  • SIgnificance of Bank Number(BNKLZ) field in Master data

    Hi,
    I am working on Bank Master data setup in ECC6 and have a question regarding the significance of Bank Number(BNKLZ) field.
    In IMG settings -> General Settings->Set Countries->Set country specific checks, if Bank Key = 1 i,e Bank Number then in T-code FI01 for Bank Master, the Bank Number field is display only and is automatically copied from Bank Key value.
    However if Bank Key = 4 in config, the Bank Number field becomes open for input in FI01.
    My question is, what is the significance of Bank Number visa viz Bank Key, in Master data - Bank, Vendor (payment transactions) and Customer etc.
    If in the second option ie, Bank Key = 4, I leave the Bank Number blank while creating Bank Master data, will it affect any other processes related to Payment Process etc?
    SAP allows me to leave all of the control data Blank while creating the Bank Key. Will this not create problems for Vendor or Customer Payment processing etc?
    What is the significance of the Control Data section on FI01 while creating a Bank Key?

    Hi,
    bank key (BANKL) is an identification of the bank defined by the user, bank number (BNKLZ) is used to dientify the bank in payment order file, so this should be oficial code of the bank.
    Example: Each bank in Germany is identified by BLZ - that's the bank number. Deutsche Bank in Berlin has BLZ 10070000.
    So, I can use key 1 in country specific checks customizing and have bank key same as bank number, i.e. 10070000. This helps me to enter bank data into master records, because BLZ is always stated next to bank account number on the invoice.
    Or I can use key 4, create the bank with bank key DEUT_BERLIN and enter bank number 10070000. My payment order will be correct, but in vendor master date in the bank key column will be DEUT_BERLIN.
    My recommendation is to use key 1 and keep bank key same as bank number.
    Regards,
    Michal

  • Key figure in Master data

    Hello
    I have a key figure defined in the master data info object.
    Now the values of the key figure are not getting updated in the info object after running the DTP.any suggestions as to why this could be happening.
    One thing i noticed is that the length of the key figure is 9 digits and in the source field it is 15 digits. Does that make a difference at all.

    Hi,
    Even you can maintain key figure as an attribute for master data, it wont be a problme. Define your keyfigure as an attribute for master data info object and load the master data again.
    Regarding the length of the field between source and BW, it should get atleast 9 digits (I guesss).

  • The sort key in the master data G/l account and master data customer

    Sort Key
    Hi All,
    in the master data (control data) of the G/l account XXXXXX (it's a reconciliation account) I've filled in the sort key the value ZZ1 (XBLNR).
    Instead, in the master data of a certain customer which has its Reconciliation Account equal to xxxxxx, I've filled in the sort key ZZ2 (BELNR).
    Posting a document, I need that the Assignment number is equal to XBLNR.
    How could I obtain this?
    Thanks a lot
    G.

    Hi,
    You are assign short key with Customer master in ZZ1 (Account Management Tab Bottam).
    I think it is helpful to you.
    Regards,
    Spradip

  • Master Data is in Revised Version while transporting a request to add an attribute in existing master data infoobject

    Hi Experts,
    I am facing short dump when trying to send a request to add an attribute in Master Data Infoobject from DEV to QA.
    Although the attribute is getting added to main Master data Info object but main master Info object is in Revised Version.
    I have been searching the solution in SCN from couple of days and tried every single solution but none of them works for us.
    When I check in se09 I am getting the following message
    Program terminated (job: RDDEXECL, no.: 09445401)
       Execution of programs after import (XPRA)
    End date and time : 20150420094559
    Ended with return code: ===> 12 <===
    When checking in ST22 IN QA I am getting the following message
    The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
      along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RSDD_DS====================CP' has to be
    terminated.
    When I checked in ST22 in QA I am getting following dump
       31         RAISE EXCEPTION TYPE cx_rs_program_error
       32           EXPORTING
       33             text = 'Invalid DSO subtype'.                   "#EC NOTEXT
       34     ENDCASE.
       35
       36 *   get table name from DDIC
       37     CALL METHOD cl_rsd_odso=>get_tablnm
       38       EXPORTING
       39         i_odsobject = n_infoprov
       40         i_tabt      = l_tab
       41       IMPORTING
       42         e_tablnm    = l_tablnm
       43       EXCEPTIONS
       44         OTHERS      = 1.
       45
       46     IF sy-subrc <> 0.
       47       RAISE EXCEPTION TYPE cx_rs_program_error
       48         EXPORTING
       49           text = 'Error in CL_RSD_ODSO=>get_Tablnm'. "#EC NOTEXT
       50     ENDIF.
       51
       52     CALL FUNCTION 'DDIF_NAMETAB_GET'
       53       EXPORTING
       54         tabname   = l_tablnm
       55       TABLES
       56         dfies_tab = l_t_comp
       57       EXCEPTIONS
       58         not_found = 1
       59         OTHERS    = 2.
       60     IF sy-subrc <> 0.
    >>>>> RAISE EXCEPTION TYPE cx_rs_program_error
       62         EXPORTING
       63           text = 'Error in DDIF_NAMETAB_GET'.        "#EC NOTEXT
       64     ENDIF.
    I have attached the short dump
    Thanks In Advance
    Rashid

    Hi Tom
    Thanks for your reply.
    I am not sure what do you mean by Manually activated in Dev or QA . If you mean Dev then i did and also maintain the infoobject related tables using transaction SE14 but still same error.
    But if you mean in QA then QA is lock for manual activation but i tried though program RSDG_IOBJ_ACTIVATE but again failed. I also maintain the infoobject related tables using transaction SE14 but still same error.
    Regards
    Rashid

  • Add barcode in the item master data

    Hi All
    we have a field in the item master data called Bar Code.  if you have several hundred thousand items in the database how do you assign a barcode for each item?  do you enter the barcode manually for each item or is there any other way to enter this item's barcode automatically when the item is added into ware house?  if you have enter manually the barcode how we should follow with the number of characters in the field? is that should look like exactly on the barcode label when you print? or we need to follow our own naming convention in using the numbers?
    thanks
    Santhosh

    Check this Thread
    [Barcode scanner addon;

  • Unable to Add Bank Details in Employee Master data................

    Hi All,
               I am Unable to select the Bank Name in Bank Details field-Finance Tab- Employee Master data window.
    Where as I can see the bank names for other employees which were already added earlier.
    Thank you,
    Sree.

    Hi,
    This issue mentioned is not a bug but handling issue.
    Kindly check the following and the same will resolve your issue :
    Select the Home adress in Human Resources -> Employee Master Data -> General tab -> Home Address.
    After that in Finance Tab you can choose the bank, but the rest of fields (branch, Branch No, Account no.) you have to fill in manually.
    Every bank must be in a certain country, you can't define a bank with no country. To define details for bank > Go to > in Admin > Definition > Banking and double click on the bank name.
    Hope it helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for