Assigning Employee to Sold-to Parties

Hi Experts,
I have created authorizations for Accounts, with this an employee can see, only those sold-to parties which he is responsbile for.
Now the huge task is assigning employees to the sold-to party, becuase there are around 300 employees each employee might be responsible for 500 sold-to parties. That means a minimum of 1,50,000 assignments.
Is there any functional module?  What would be the easiest way to achieve the same?
Any Inputs are greatly appreciated.
Thanks & Regards
Rohan

Hi Radek,
Thanks & appreciate your reply....
I am close enough....to implement this FM BUPR_RELATIONSHIP_CREATE, but not.
Here is the code I kept, when I execute , it runs succesfully but when I go and check in Business Partner the relationship is not assigned, any points on this?
TABLES : BUT050, BUT020, tbz9.
CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'
EXPORTING
iv_partner_1 = '0006001487'
iv_partner_2 = '0002000145'
iv_relationship = 'ZEMR'
*iv_date_from =
*iv_date_to =
iv_testrun = ' '
iv_x_save = 'X'.
*TABLES
*et_return = gt_return.
*PERFORM disp_error USING gs_warning.
*COMMIT WORK AND WAIT.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
  WAIT          =
IMPORTING
  RETURN        =
Thanks a lot in advance.
Rohan

Similar Messages

  • Copying New Sales Orgs To Sold To Parties

    We are planning to create a new sales org. to replace an existing Sales Org.
    The existing Sales Org stay and will be run in parallel with the new sales org. until phased out.
    All Sold-To Parties under the existing Sales Org will also need the new Sales Org assigned to them.
    Is there a way of giving these Sold-To Parties the new Sales Org i.e. through a program?
    Any advice appreciated.
    Many thanks
    David

    Hi,
    CRM is used with R/3 as the back end system.
    The Sales Org assignment however is driven from CRM.
    I find it hard to believe that there is no way of creating the sales org assignment in multiple Sold-To Parties because this kind of thing must happen many times with SAP implementations where an old sales org in an old company code is superceeded with a new one.
    One action suggested to be was to change the Sales Org Number in PPOMA_CRM against the existing Sales Org and then do a CRMM_BUPA_SEND for the Sales Orgs in this Org structure, then change it back to the old number, but this sounds a tad dodgy.
    David
    null

  • Authorization for Accounts(Sales district) and Sold-to parties

    Hi Experts,
    I have a requirement where I wanted to restrict Sales districts(Accounts) & Sold-to's depending on the employee responsible for.
    The requirement goes like this.
    There are Sales districts. Each Sales district has around 4 to 5 Sold-to parties.
    For each Sales district a sales manager is responsible, and for each sold-to party a sales group is responsible.
    Now when a manager logs in using his logon credentials then he should be able to see only the sales districts(Accounts), he is responsible for and the sold-to parties for that particular Sales district(Account).
    But when a sales group logs in , he should be able to view only his sold-to parties, which he is responsible for.
    Any clue on how to achieve this requirement.
    I have used CRM_ORD_LP, CRM_ORD_OP & CRM_ORD_OE but they are related to actvities, leads & opportunities authorization objects.
    How about Sales districts (Accounts)? How can I restrict it to Sales districts(Accounts) for managers and sales representatives?
    Thanks in advance.
    Rohan

    If you don't need to restrict access to all customers but only to propose customers assigned to certain salesman you could probably do it via partner determination rule where you would say when the employee responsible is entered in sales document that customers belonging to this salesman are proposed on selection screen.
    If you need to restrict it then I think you have 2 choices:
    - use ace to restrict by sales district
    - create Authorization Groups, assigned them to customers and then create pfcg roles for salesman providing in pfcg access to certain Authorization Group. in pfcg you use B_BUPA_GRP object. But the problem using pfcg is that you will have to create as many pfcg roles as many salesman you have and this can be a huge thing.
    So ace will probably be more appropriate.

  • Service Contract Determination - Multiple sold-to-parties

    Hello Gurus,
    Can anyone help me on understanding this:
    We know that in standard configuration, the sold-to party in the service contract and in the business transaction must be identical.
    But It is possible to change someting so that we can assign a service contract to multiple sold-to-parties?
    There must be a workaround to do this. Does anyone tried it?
    Thanks and regards,
    Bruno Garcia

    Hello Ashwin,
    We're using IC Webclient at our customer Call center. We register all contacts made in Interaction Record document, and all service requests in Service Ticket Document.
    What we're trying is to define the same SLA agreement for all sold-to-parties partners. We did all configurations relationated with service profile, response profile, product and service contract.
    However, SLA calculation only works if the sold-to-party partner of service ticket is the same that in the service contract. So that's why we put this question here.
    We already tried to use CRM_SERVICE_CONTRACT and CRM_SRV_SLA_CALCTIME BAdI's, but no luck: they also seem to depend on this verification.
    What we're trying to do is to skip this verification. We need to calculate the SLA for all service ticket, no matter what sold-to-party partner is.
    Do you think this is achievable?
    Thanks in advance,
    Best regards

  • One Sold-to-Part & THREE Ship-to-Parties in One SO-How to configure?

    Dear SAP Peers,
    My requirement is like this:
    Sold-to-Party is one and one sales order is created for the qty. of 250 each. Out of these 250 each we have to send as follows:
    Ship-to-party 01 -
    >    100
    Ship-to-party 02 -
    >      50
    Ship-to-party 03 -
    >    100
    All three Ship-to-Parties are at different places.
    I know that only one Ship-to-party can be given but I am not able to give more than one Ship-to-Party in the Item level also. The Error message is coming like this:
    “Partner function WE can only occur 1 times in procedure N (Sales Document Item)
    Message no. VPD012”
    I looked into the Procedure “N” for the function WE and it is only one time. How can I put more than one WE functions in the procedure “N” or any other procedure?
    Is it that I have to create in a different account group?
    Or
    This can be done by the “Subsequent Outbound delivery Split”?
    Or
    I have to make three different Sales order for three different Ship-to-parties?
    However, I have assigned these three ship-to-parties to the Customer.
    Please help to solve this Problem. If anybody has any detailed document please send to my mail ID <b><REMOVED BY MODERATOR></b>.
    Regards
    Jans

    Hi Harsh,
    Thank you for your reply. I have already assigned all ship-to-parties to the customer i.e sold-to-party.
    I also checked that in Patrner determination procedure "N" the ship-to-party is marked "M" i.e mandatory not "N" i,e. not changeable.
    However, I got the solution. It is not possible to assign more than one Ship-to-party in one item. I have to create three different line items for the same material and then I can assign different ship-to-part at each item level.
    Once again thank you for your reply.
    Jans

  • Many Ship to party assigned to 1 sold to party

    Hi guru's
    Can any 1 tell me what is the maximum number of ship to parties assigned to 1 sold to party. Also let us know if there is  limitation then what is the solution to extened the same.

    Dear prashant,
    A business can have or can engage any no' of ship to parties who take care of its entire logistics world wide where ever the business has its presence.
    Like wise a business can maintain its customer hierarchies which reflect the structure of its customer organization. For example, if your customer base includes multi-level buying groups, cooperatives, or chains of retail outlets, you can create hierarchies to reflect the structure of these groups. Customer hierarchies in order as (sold to parties), in billing document as (payers), and at delivery level (ship to parties) where we can maintain specific to line item
    Reward if it helps you
    Regards
    krishnavamshi

  • Ship-to party is not assigned to a sold-to party

    Dear Experts
    I am creating Sales ORder VA01
    my customer is 42
    so i have enterd 42 in Ship to party and Sold to party
    but getting error is
    Ship-to party 42 is not assigned to a sold-to party
    could u please guide me
    Regards
    Amol

    Hi,
    Goto the T.Code "XD03".
    Enter the customer number as "42".
    Maintain the company code and sales area.Enter.
    Goto the sales area tab.Click on "Partner functions" tab.
    Check whether the ship-to-party is 42 or not.I think it is not 42,so that only,you are getting this error message.
    In sales order,enter the sold-to-party as "42".The ship-to-party will be auto determined from the customer master.After this you can change it to 42 if the following setting is maintained for your partner determination procedure.
    Goto the path:
    SPRO>Sales and Distribution>Basic Functions>Partner Determination>Set Up Partner Determination-->Set Up Partner Determination for Sales Document Header.
    Click on "Partner Determination Procedure Assignment".Identify the procedure assigned to your document type.
    Click on "Partner Determination Procedures".Select that procedure.
    Double click on "Partner Functions in Procedure".
    Ensure that for "SH" partner function,the field "Not modifiable" is not ticked.
    Save.
    Regards,
    Krishna.

  • COPA- Customer Grp 2 to be retreived from Sold to part  in COPA document.

    Hi friends,
    The requirement is to retrive Customer grp 2 from sold to part not from ship to part  in COPA document if the sold to party is different from ship to party.
    For example :
    We have one customer/ payer/sold to party is  10000 and customer grp 2 is YC7.
    Ship to party is 6000 and customer Grp 2 is YL9.
    When we are doing billing to sold to party 10000, customer grp 2 derived as YL9 in COPA document.
    But as per our requirement it shouldbe YC7.
    Could you please suggest me any solution for the above requirement.
    Thanks & regards,
    Amar.

    Hi,
    Since the requests in the ODS would have been datamarted, this is going to be a tricky issue to correct. If possible, you can resolve this issue with reverse loading:
    1. Create 2 temporary cubes as a copy of the original COPA cube. Generate export datasource on the original cube.
    2. Create update rules from the original COPA cube to the temporary cubes with automatically proposed mapping. Add logic to reverse the key figures in the start routine for load into temp_cube1 and the new logic (as per business change) into start routine for load into temp_cube2.
    3. Selectively load the temp cubes from the original cube so that the wrongly uploaded records are now loaded into the temp_cube1 with reverse key figures and into temp_cube2 with the correct logic.
    4. Generate export datasource on the temp cubes and create update rules for loading original cube from the temp cubes with automatically proposed mapping.
    5. Reload the reversed data into the original cube without transformation.
    6. Reload the correct data into the original cube without transformation.
    I hope this would have helped.
    Cheers,
    Reetu

  • FM for assign employee user name to Business partner (employee) in BP t.cod

    Dear alll
    I need fm / bapi for assigning employee (user name) to business partner in identification tcode in BP tcode. Any one help me?

    Hi Saumya Govil
    I have used
    1. BP_BUPA_GET_HROBJECT to get the person number based on PARTNER_GUID.
    2. pass this person number to FM BP_CENTRALPERSON_ASSIGN_USER to assign user ID.
    Instead of the creating new central personal number i have used above BP_BUPA_GET_HROBJECT fm.
    Thanks for your quick reply.

  • Multiple Sold-to-Parties in Organizational Model

    Dear All,
    I've made an Organizational Model with multiple Sold-to-Parties. With that the same amount of Distribution Channels and Divisions have to be maintained, which i have done.
    The problem now is that i can't seem to maintain the relation of those Distribution Channels and Divisions with the Business Partner in the Sales area Data of the Sold-to-Party in transaction BP. I can only choose between the original Sales Organization, Distribution Channel, and Division.
    The only thing that has changed is that it isn't called Distribution Channel 01 / Division 01 anymore, but the name i gave it. That is the strange part too, since that's done in the same transaction where i've added the other Distribution Channels and Divisions too.
    Hopefully anyone can tell me how the Distribution Channels and Divisions i've added will show up in the Sales Area Data in order to link them to the Sold-to-Party.
    Thanks in advance,
    R.Kunst

    Hi Gun. and Jay.
    Thanks for both of your reactions, you're both thinking in the same direction as I am, and where I think we should look for the solution to this problem...
    Gun: You've understood me right and yes, I've already tried exactly what you've told me, but that doesn't work somehow.
    What I mean by the line you didn't understand is this:,I've made changes to the Distribution Channel and Division that were already provided by SAP, and those changes show up in the Sales Area Data. The Divisions and Distribution Channel I've added don't show up though. So i know I've changed the settings in the correct Transaction, but they still don't show up.
    Jay: I've also tried what you're telling me, because I think that should be the right way too, but that didn't work and I don't know why...
    Hopefully we can find an answer to this together since I've already heard from more people who have encountered the same problem.
    Best Regards,
    Reinier Kunst
    NewColutions B.V.

  • Customer rebate-one payer with multiple sold-to parties

    I create one rebate agreement with payer A0001 and put two conditions
    one is sold-to party A0001 with rate 20%
    one is sold-to party A0001A with rate 15%
    but when I create billing for sold-to party A0001A  I found that condition type is not 15% but 20%.
    In one rebate it is possible that multiple sold-to parties having their own accural rate?
    If this is possible do I need to do some customizing for it?
    when I checked rebate agreement, in verification level I can see there is accural amount for sold-to party A0001& A0001A
    but if I want to pay and create credit memo, I found that all the amount come to A0001 and A0001A max amount is 0.
    can anyone give me any suggestions why it is like this.
    thanks.

    Hi There,
    This definitely is possible....but the spoiler is that a little bit of enhancement is required and this is why.,
    If the rebate was a combination of Payer and Ship to party, then it is standard since in the Rebate cond structure, SAP has given separate fields for KUNNR (customer - either Payer or sold to) and KUNWE (for ship to). So in your condition table, you can have KUNNR and KUNWE for Payer and Ship to combo. I have used this in a project and that works fine as standard.
    Now if you want to have your percentage defined as per the Payer and Sold to combo, you need to make a small enhancement here.
    You will have to Add a field, say, ZZKUNNR in Str KOMK and KOMG. Then use the user exit mv45fzz to populate the value of the Sold to in the sales order to this ZZKUNNR field.
    So now you can use these 2 fields, standard KUNNR to take from Payer (KNRZE) and ZZKUNNR to take the value of sold to. Create a new Cond table, use this condition table in an access seq, use this acc seq in your rebate cond type and maintain records and you should be ready to test that.
    Hope this helps.

  • Assign certain color to certain part  of body CS3 !

    Dear Friends !!
    Here is a little challenging question for some , it might be nothing to some Pros , but to us ordinary editors means a lot !
    Let's say I have a chroma (Green screen)  footage , which contain a simple girl standing in front of green screen acting .
    She is wearing red shirt , blue pants and black shoes in front of a green screen with decent lighting and make up.
    Now , even though she put good amount of make up on her face, but I still don't like the tone or color of her skin, her red shirt is red but not a rich red color as well as her blue pants is not rich blue, I mean a good blue or a nice blue !
    Is there any way to assign certain colors to certain part of her body, I mean let's say her face or skin tone, I wanna have it a little more natural (just the skin) I don't wanna change the color of her hair or clothing !
    and then goto hair and make the hair look more black , without touching her face and her clothing color and ect !

    Either RGB Curves (my personal preference for color correcting) or the Three-Way Color Corrector will allow you to isolate specific luminance (brightness) and chrominance (color) ranges to a certain degree, so that you can affect only the values that you want to adjust. It may take multiple copies of an effect, each working on certain colors or ranges of colors, to get the output you want, but it should be doable.
    Note that this will take a lot of tweaking and work, but if you've never experimented with color correction before, there's no time like the present!

  • To automate assigning employee to respective position.

    Hi All,
    Anyone knows about how to assign Employee(Business Partner) to the respective position for the organizational unit programmatically.
    three tasks:-
    To Automate the following programatically:-
    1. assign employee to the position.
    2. update employee positions.
    3. remove employee.( change the status of employee)
    Thanks!

    Hi
      Once you create org.unit you can assign positions,update and remove employee from their positions automatically.Make your customizing settings for automatic organisational data determination using the wizards.When you create a transaction,the system determines the org.data according to your customising settings.You can change or enhance the or.units manually.
    I hope this helps!!
    Cheers

  • Sold-to-parties in CRM are replicated as contract partners in the OLTP syst

    IS-U documentation:
    ' Sold-to-parties in CRM are replicated as contract partners in the OLTP system and VICE VERSA u2019
    Is that true? Does that work for anyone here? Does that mean, that the role 'MKK contract partner' is not existing/not needed in the CRM system
    Thank you

    Hi sapgipsy,
    this is completely correct.
    Best regards,
    Franziska

  • Assigning Employees to Positions as Successors

    Hi Guru's,
    We have deployed HR Renewal 1.0 on EhP6 and planning to implement Talent Management. I went through SAP documentation for Manager Role and read that managers can assign employees to positions as successors.
    But, I could not find an application from role SAP_SR_TMC_MANAGER_6 where managers can perform this activity.
    Please suggest.
    Regards
    Sadhu

    Hi Harinath,
    Are you implementing Talent Visualization by Nakisa also?
    Because as I know, Manager can assign employees to successors pool using Talent Visualization by Nakisa.
    Please refer to link below about the explanation of Talent Visualization by Nakisa.
    http://scn.sap.com/community/erp/hcm/talent-visualization-by-nakisa/blog/2013/01/29/what-s-new-in-visualization-solutions-by-nakisa-40

Maybe you are looking for