on 06-26-2007 10:05 AM
Dear all,
I am facing an issue in SRM 5.0 in Classic Scenario.
In R/3 the freedom exist to assign independently the Purchasing Organization and the Purchasing Group to a PREQ or PO.
Then the following lists have been created:
<u>PurchORG</u>:
- PORG1: Porg of country 1
- PORG2: Porg of country 2
<u>and PurchGROUP</u>
- PGRP1: Pgrp Office sup
- PGRP2: Pgrp IT
and then I want to be able to use all the following combinations:
PORG1-PGRP1
PORG1-PGRP2
PORG2-PGRP1
PORG2-PGRP2
To do that I create in my Organization Plan the following:
- PORG1
-PGRP11
-PGRP12
- PORG2
-PGRP21
-PGRP22
However as I am in Classical Scenario I need to link the OrgPlan Pgrp to the coresponding in R/3
- PORG1
-PGRP11 >PGRP1
-PGRP12 >PGRP2
- PORG2
-PGRP21 >PGRP1 : Error Purchasing group ... in system ... already assigned to ... (message BBP_ATTR 030)
-PGRP22
1) I have read somewhere but I can not find it anymore that the system messages can be updated to avoid this error and to allow that functionality. Has somebody done it? Where is it? I am correct?
2) Otherwise do you have an option to do it?
How must I create my Org Plan as I suppose all Porg and PGrp must exist once in Org Plan.
Then must I use the BADI BBP_PGRP_FIND with Determine Responsible Purchasing Group(s) BADI BBP_PGRP_FIND. Can you explain how, or provide piece of code.
I looked in doculentation but I don't see clearly the difference between the 2 exit objects (they seem duplicate for me):
- ES_PURCH_DATA - This output structure should contain the object type and the object ID of the default purchasing group and the higher-level purchasing organization. If you are dealing with a backend purchasing group (purchasing organization), then you must also define the corresponding backend IDs.
- ET_PURCH_DATA - This output table passes the list of all responsible purchasing groups and their higher-level purchasing organizations. A table line is formed corresponding to structure ES_PURCH_DATA.
Thanks in advance
RD
Hi
<b>You can go through the link for complete code and other required details -></b>
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
Every purchaser will be assigned to the relevant purchasing groups in Organization structure and purchasing groups have the product responsibility (product category) and person/organization responsiblility assigned in the 'Responsibility' tab. I think this should be sufficient to get the linkage.
Using BAdI BBP_PGRP_FIND for purch.group determination
-
Use Function Module -> BBP_OM_READ_PURCH_ORG_ID
-
Give Logical system and Purchasing group to this FM.
It will give you
ES_PURCH_ORG-OT
ES_PURCH_ORG-OBJID
Use this info in table HRP1000(Infotype 1000 DB Table) to get the value of text.
Function module - BBP_OM_DETERMINE_RESP_PGRP
-
The purchaing groups are responsible for product catrgories (material group) and not material numbers. If you use "describe requirement" to create a shopping cart, the purchasing group will default from this responsibilty of product categorty and not material number.
Also the purchasing group can default on other criterias like the organizational responsibility and so on....
Inorder to determine the reponsible purchase organization for creating shopping carts for all product categories, this task can be accomplished by implemeting the badi BBP_DOC_CHANGE_BADI. here you have to write some logic to change the purchasing organization based on product category. In the purchasing cycle Purchase Organization is not responsible to procure the product, Purchase Group is responsible for the same. In the Organization structure after defining Purchasing organization, you might have define Purchase Group also in the purcase group RESPONSIBLE TAB you have to define the PRODUCT CATAGORY to be procure by this Purchase group.
Do let me know.
Regards
-Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RD,
the Org Assignment in SRM is more restrictive than in R/3. Netherless, the assignment of one purchaser to several Groups is possible. In order to have a purchaser into more than one purchasing group, go in the organizational model using transaction 'PPOMA_BBP', goto the bottom left hand panel, where you see a list of all of your Organizations. Right click on a "Purchasing Group" and you will see in the menu "Purchaser Assignment". Select this and you will see that the right hand panel changes from "Staff assignments" to "Purchaser Assignment". You can maintain a user "linkage" to the Purchasing Group here without having to change the organization of your users in the Staff assingments structure. After following the steps you will not find the purchaser user assigned to the Purchasing group in PPOMA_BBP itself (where the default view would be "Staff Assignment" view). The person would be still assigned to the other Org unit. But in BUB3, when you display the available 'Relationship' for the purchase user's BP number, you would find a new "Is Employee of" relation to the Purchasing Group (in addition to the business org unit which he already had). The purchase user should be able to perform purchaser activities according to the ROLE assingment.
Cheers,
Claudia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.