FM BBP_UPDATE_ATTRIBUTES

Hi SRMs.
SRM 4.0, server 5.0.
Here is the case. I need to set up a batch run that can update the attributes in the PPOMA with a specific value from the SU01 user data.
I need a daily batch run that can do the following:
The FM BBP_UPDATE_ATTRIBUTES should look into the field ADDR3_DATA-DEPARTMENT and then update the user's attribute CNT with this value. When testing the FM it is no problem at all, and the FM is doing its job perfectly. But how do I get this to look into all users in SRM and make this FM a daily job?
How can I use this FM in a batch run? Which type of code do I need to do?
Thanks for info.
BR
Dennis M

Hi
<u>There are no standard report mass maintain attribute, you have to develop your own one.</u>
<b>Please go through this - See related links, which will definitely help -></b>
Re: Batch updates/setting of attributes
Re: Function Module/BAPI to create user-IDs in PPOMA_BBP
Move department field to PPOMA attribute?
FM for Extended Attributes Mantenance
Re: How to read and maintain position attributes on mass
Re: Changing user attributes using FM: BBP_UPDATE_ATTRIBUTES / RH_OM_ATTRIBUTES
Do let me know.
Regards
- Atul

Similar Messages

  • Deleting inherited attribute using FM 'BBP_UPDATE_ATTRIBUTES'

    Hi Forum,
    I am trying to delete one value for attribute CAT using FM BBP_UPDATE_ATTRIBUTE , this attribute value is Inherited but I am unable to delete it.
    I tried this:
    1. Set the inherited flag to space using the same FM (in PPOSA_BBP I can see that inherited checkbox is not checked now)
    2. Try deleting the attribute using same FM (now the inherited flag is SET in PPOSA_BBP instead of deleting the attribute value)
    Is it not possible to delete inherited attribute or set inherited to space in PPOSA_BBP using BBP_UPDATE_ATTRIBUTES FM ?
    Another query is in this FM only USER_ID_P and ORGUNIT_ID_P are import parameters, how can we update attributes of a POSITION using the FM?
    Thanks,
    Anubhav

    Hello Anubhav,
    Inheritance between objects cannot be managed by any function module.
    Even if it can be done with a function module i don't know, it will be overwritten by your current customizing ( OOATTRCUST transaction) for attribute CAT.
    Regarding attributes update for positions, did you try with import parameter IS_OBJECT (OTYPE = 'S' and OBJID = position ID) ?
    Regards.
    Laurent.

  • BBP_UPDATE_ATTRIBUTES - can only overwrite an attr?

    Hi there.
    SRM 4.0.
    The import parameters for this FM are:
    USER_ID_P
    ORGUNIT_ID_P
    SCENARIO_P
    START_DATE_P
    END_DATE_P
    REPLACE_P
    It seems, that no matter if I set the REPLACE_P or do not set it, either way it will delete the attribute in the PPOMA. Why can't this FM append an attribute? I want to update the attribute CNT to allow users to have several different cost centers, but one should be default. I am simply wondering, what purpose the REPLACE_P actually has here, because it is changing the existing attribute either way...

    Hi,
    Pls see the solution in the foll thread:
    Re: BBP_UPDATE_ATTRIBUTES
    BR,
    Disha.
    Do reward points for useful answers.

  • Mandatory fields to create vendor and PO

    Hi all,
    I am migrating data from legacy system to ECC and to SRM. I found mandatory fields in ECC and I am not sure what are the mandatory fields for SRM. I need for Vendor creation(Foreign vendors also) and open PO. Please reply.
    Regards,
    Balaji

    Hi
    <b>Use the function module BBP_VENDOR_GET_NON_BAPI to create a vendor directly in SRM.</b>
    <u>Function module - BBP_VENDOR_GET_NON_BAPI</u>
    <u>Program</u> - <b>BBP_VENDOR_GET_DATA</b>
    <u>BAPI</u> - <b>META_BUSINESS_PARTNER_CREATE</b>
    <u>Also look at Function module - BBP_UPDATE_ATTRIBUTES.</u>
    <b><u>Did you created any PO using that "bapi_poec_create"..? Don't forgot to add a commit work in your program.</u></b>
    You will have to develop your own XML mapping to create a PO in SRM.
    You can use BAPI_POEC_CREATE (read SE37 documentation about GUIDs).
    This one also uses internal functions BBP_PD_PO_CREATE, UPDATE & SAVE.
    You don't have to take care of GUIDs. This function will generate them for you. You can pass the PO number as PO header GUID, and PO items as PO item GUIDs. This will make the links as well.
    <u>Please go through this as well -></u>
    Re: Upload PO from XML file in SRM
    Creating a PO with ME_CREATE_PO_ITEM
    Re: Function Module/BAPI to create vendors in PPOMV_BBP
    Re: BBP_PD_PO_CREATE
    Create PO
    <u>Hope this will definitely help. Do let me know.</u>
    Regards
    - Atul

  • Attribute Tables by User ID

    Hi Guys
    Hi All
    I will really appreciate if anyone can let me know if there is a table(s) that stores the attributes in the EBP org structure by user ID. Let me know of any table that stores org attribute information.
    Thanks

    Hello,
    Attributes are stored as infotype 1222 and 5500/5501. You can check view hrv1222b and hrv550* to get an idea about this tables. But it doesn't display the inherited attributes.
    To display attributes use BBP_READ_ATTRIBUTES as Yann said, you will get all inherited values and to update them, you can use function BBP_UPDATE_ATTRIBUTES.
    rgds,
    Pierre

  • FM for Location details

    Hi,
    Please let me know which Function module can be used to update the location details under extended attributes in SAP SRM.
    Thanks,
    Venky

    Hi,
    Solution in foll thread:
    BBP_UPDATE_ATTRIBUTES - update Storage Location
    BR,
    Deepti.

  • Mass maintenance of Atrributes .

    We are in SRM 5.0 SP 10 . I know there is a Funciton module to upload the attributes to the user .But I would like to upload the attribute values at the org unit level . Is there any FM available ...
    Regards
    Mani

    Check if the report RHOMATTRIBUTES_REPLACE is usefule for massive replace. Otherwise check FM : BBP_UPDATE_ATTRIBUTES;
    Please reward points if useful.
    Thanks
    Kasee Palaniappan

  • Customer specific field table T77OMATTR

    Hi guys.
    SRM 4.0, server 5.0.
    I have added an attribute to use in the PPOMA. My attribute is for the tax jurisdiction code, besides this extra attribute I have added a customer specific field to the SC. But which function modules should I use to fill the customer field with my attribute, any ideas? I would believe that everytime you enter a new attribute in the table, you would also have to do some coding before it can work, right?
    Thanks
    Dennis M

    Hi
    <b>Here are some related links -></b>
    Re: Creation of Custom Attributes in org structure
    R/3 to SRM
    Creating a new custom attributes in org structure
    First take a look at this forum post regarding your questions - the thread has relevant info for you:
    FM for attribute's value assignation in PPOMA ?
    <u>Regarding your specific queries</u>:
    Can you automate replication?
    Yes - it can be automated. Post processing BADIs exist in the IDOC to allow you to perform your actions.
    <u>What are the tables?</u>
    Well not that you are ever to directly read or update these tables, but they are HR info type tables. Examples would be HRP1222, HRP1000, etc. If you really want to the table that has the attribute value see table HRT1222. Again look only - never develop a program to read/update these tables.
    As mentioned in the forum thread above use the function modules BBP_READ_ATTRIBUTES/BBP_UPDATE_ATTRIBUTES.
    <b>Do let me know, incase you need more details.</b>
    Regards
    - Atul

  • Too many lock entries on BUT000 in SRM7

    Hi,
    When we are trying to update attributes of Org units through FM BBP_UPDATE_ATTRIBUTES, there are so many lock entries created for different values on table BUT000.
    We are calling the said FM in loop becasue this FM has the capability of updating just one ORG unit at a time. So while the loop runs, there are a lot of lock entries created on BUT000 which are just not getting unlocked automatically.
    There is a huge performance hit due to this. We are not sure how and why BUT000 entries are getting locked while updating org unit attributes.
    Please suggest what should be a remedy to this.
    Thanks,
    Tirth

    i dont know BUT000 table and have no idea what it does, but i suspect that it works like with every other thing in SAP system.
    In DEV you mostly have not much data. E.G. in your case lets say 200 BUT000 entries.
    200 lock entries aint a problem for the system.
    In Quality you SHOULD have more data, up to number of data in production. If you have nearly same amount of data in Q like in P the problem should have existed in quality as well.
    Another thing is that in productive MORE people work.
    See there is a table where your lock entries get stored, if that table exceeds some certain amount of entries your system is going to slow down up to dumping or timeouting.
    So in production system there are probably other people as well creating lockj entries with various transactions, while when you tested it in quality you were probably not much users on the system.

  • R/3 to SRM

    Helo all,
    We are replicating HR organization to SRM.All organization units and users have been replicated.But we have filled the attributes manually.My questions are:
    -Can we automate the 'attribute' replication/update as well?Any BADI that we can use or do we have to develop a custom program for this purpose?
    -***Can someone pleaseeee tell me the tables in R/3(HR) and SRM where all the information for attributes are stored in?
    I know table T770MATTR(in SRM)...but my query is,<b><u><i>in which tables the
    information such as Company code,cost center,currency,plants, etc is stored in SRM and R/3</i></u></b>.Please help me!
    Thank you...awaiting your reponses,please!!!!!!
    Tom

    Tom-
    First take a look at this forum post regarding your questions - the thread has relevant info for you:
    FM for attribute's value assignation in PPOMA ?
    [url=FM for attribute's value assignation in PPOMA ?]
    Regarding your specific queries:
    Can you automate replication? 
    Yes - it can be automated.  Post processing BADIs exist in the IDOC to allow you to perform your actions. 
    What are the tables?
    Well not that you are ever to directly read or update these tables, but they are HR info type tables. Examples would be HRP1222, HRP1000, etc.  If you really want to the table that has the attribute value see table HRT1222.  Again look only - never develop a program to read/update these tables.
    As mentioned in the forum thread above use the function modules BBP_READ_ATTRIBUTES/BBP_UPDATE_ATTRIBUTES.
    I hope you find this input helpful.
    Regards-
    b

  • FM to upload data / Attribute in EXCEL File in SRM7.0

    Hi Experts,
    We  had used FM BBP_UPDATE_ATTRIBUTE to upload Storage Location( LAG) attribute in SRM ORG Structure and other data in other case ...... Currently we arranged to upload the .TXT file.
    But we want to upload from MS EXCEL File.
    Can anyone please suggest, which FM we can need to use  to upload data from MS EXCEL File.
    Thnaks
    NAP

    Hi Narenrda,
    Normally in ECC we can use the FM "ALSM_EXCEL_TO_INTERNAL_TABLE" to convert excel to internal table but this FM is not there in SRM 7.0 .
    I copied the above mentioned FM along with global data and includes of the function group from ECC and it works fine in SRM.
    You can use the FM "BBPU_FILENAME_HELP" to show an F4 help for the input field for selecting a file from desktop.
    Thanks,
    Anubhav

  • Updation of attributes

    Hi All,
    Can you please help to confirm my below understanding :
    FM - BBP_UPDATE_ATTRIBUTES is used to upload attributes in the "attributes" tab of Organsization structure by giving below inputs:
    Org Unit Id or user Id
    attributes & their value
    Is it mandatory to use this FM via a report only .. Can we try to exceute it via trx se37 just for testing purpose?
    Regards,
    Pratibha.

    hi,
    The FM- BBP_UPDATE_ATTRIBUTES is overwriting the attributes if there are any for a particular user.
    let us know is there any other way such that it should creates an entry if it is not there or else it should update if an attribute already there.
    BTW, The FM is working in both ways 1) direct execution through SE37 2) through a Report program.
    thanks,
    gupta.

  • Updating Attributes at Position Level in SRM

    Hello,
    I need to update the extended attributes 'Approval Limit' & 'Output Limit' at the position level in SRM Org structure.  Could you please help identifying the right FM to use.
    I have tried the FM BBP_UPDATE_ATTRIBUTES but it seems it works only for Users and Org units. I am not able to update the position.
    Need help.
    Thanks,
    NB

    Hi,
    You can use FM BBP_UPDATE_ATTRIBUTES.You can also use Report RHOMATTRIBUTES_REPLACE for massive replace.
    Some other FM's:
    BBP_LOC_ATTR_IT5502_UPDATE
    BBP_WEIGHT_UPDATE_ATTR_WEIGH
    Good way is to define MS Excel file with users and attributes and create own FM to upload these data.
    Looka at this weblogs:
    /people/kathirvel.balakrishnan2/blog/2005/09/07/remote-function-call-to-sap-system-using-microsoft-excel
    /people/kathirvel.balakrishnan2/blog/2006/05/08/data-upload-into-sap-from-microsoft-excel-150-abap-part
    BR,
    Disha.
    Pls reward points for useful answers.

  • Mass update of Attributes

    HI Experts,
    can we update the values of any specific attributes for all uses or  a respective org unit in EBP.
    For example:I need to revise the values of all users ( attribute SLAPAPPROVER.) in a specific org unit
    Kindly guide me how can i proceed
    regards
    subbu

    Hello SUbbu,
    See if these can help
    Re: BBP_UPDATE_ATTRIBUTES - can only overwrite an attr?
    BBP_UPDATE_ATTRIBUTES
    Arshad

  • How to Update Extended Attributes For the Users in SRM Organization?

    Hi,
    I am using 'BBP_UPDATE_ATTRIBUTES' function module to load the Default Attributes for the users in a custom program. I am able to update many attributes like company code, Movement type, catalog id, material usage, shop on behalf of and address ship to. But I am having problem updating extended attributes Plants(Attribute ID 'WRK') and Storage Locations (Attribute ID 'LAG').
    Storage location and Plants has many values. Can anyone have experienced this problem before. I appreciate any help I get. I debugged enough and not able to find any other function module to do this.
    Thanks and Regards,
    Sreeni..

    Hi Sreeni,
    I'm stuck up in the same problem. Did you get any solution for this? If yes please provide the same.
    Regards,
    Gajendra
    Message was edited by: Gajendra Bhatt

Maybe you are looking for

  • Problem with Starcraft 2 and Macbook Pro 13" Nvidia 320M

    Just got the newest 2.4Ghz 13" MBP with 320M video card. Played Starcraft for about a week and started noticing severe issues: 1. sudden frame rate drop, then after about a week, 2. random tears and jagged lines over the screen when playing This now

  • Zen touch software killed my co

    the day i recieved my zen touch i installed the software that came with it which was about a week ago now. A couple of days ago I tried to connect to Realplayer to rip my music becasue it is much better than the creative software. As i went to open r

  • BPEL Loggers

    Hi, I'm pretty new to Oracle SOA but have comfortable knowledge on BPEL 2.0 . I would like to know how to set loggers for individual activties in Oracle SOA. For example : for an invoke activity , would like to include some logging at the start and e

  • Workflow (FCP-Motion-Soundtrack_DVDSP) & Apack

    I've been encoding mp2 & ac3 files in Compressor & Apack (since DSP 1.0) and used to building up assets outside DSP before authoring. Now though, with a workflow that includes sending clips to Motion & Soundtrack Pro from within FCP, I can get away w

  • Giving access to other computers

    I successfully configured the WRT54G and able to access wireless without any problem. Now I bought another laptop and I am not able to access internet wirelessly from new laptop. I entered the MAC address of the new laptop using the weblink of router