on 06-07-2007 11:08 AM
Dear gurus,
I am searching the function module to find a parent Organization ID from Org plan base on an existing that I know. The objective is to go up in the hierarchy t o create via BADI a header level hierarchy approval using the Org plan as source.
EG:
Org ID O 50000001
|_O 50000002
LO 50000003
Then if I give 50000003 I need to obtain 50000002
Then if I give 50000002 I need to obtain 50000001
Thanks
RD
Hi,
Try the foll FM's:
BBP_GET_PURCHORG_PGRP_COMP
BBP_OM_DETERMINE_RESP_PGRP
BBP_GET_PURCHORG_PURCHGRP
BBP_OM_FIND_PURCH_GRPS_ORG
BBP_OM_FIND_PURCH_ORGS_BACKEND
BBP_OM_FIND_PURCH_ORGS_BEI
BBP_OM_FIND_PURCH_ORGS
BBP_OM_STRUC_GET_ORG_FROM_POS
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Combination of these FM used
Thanks
RD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Gurus
None of these seems to be fully and directly usefull
Is there no direct function module to find the parend Organisation ID not beeing a Purchasing org or Purchasing group??
Again
EG:
Org ID O 50000001
|_O 50000002
LO 50000003
Then if I give 50000003 I need to obtain 50000002
Then if I give 50000002 I need to obtain 50000001
Thanks
RD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<u>Incase there is no direct function module, then search for the required data directly into the SRM Database tables.</u>
Look in <u>HRP1001</u> table using SE16 Transaction, here you will be able to find most of the data relevant in your case.
Hi, For Org specific info for users,you can search in the HRP* tables.
Also look for BUT* in SE11 Transaction to get the detailed information about business partners. Try using table BUT000. For fetching the Company codes,you can use table BBP_ATTR_VALUE_T. To get the company code details ,you can use the FM "BBP_IV_COCODE_GETDETAIL".
Hope this will help.
Regards
- Atul
Hi
<b>Please try the following Standard Function modules, which will definitely help -></b>
RH_OBJID_REQUEST
RH_DETERMINE_ORG_OBJID
RH_PEOPLE_LIST_ORG_ID
BBP_OM_READ_PURCH_ORG_ID
<u>Other related info -></u>
The org structure, attributes, purch org and so on are stored as infotype
1000, 1001 for the structure
1222 for common attributes
5500, 5501 for responsabilities (company, purch org and group).
Better than using infotype tables, I suggest you using prebuild FM to retrieve data:
RH_STRUC_GET to read structure
BBP_READ_ATTRIBUTRES to get attributes
BBP_OM_DETERMINE_RESP_PGRP to get puurchasing data
Also, look at table BBP_PDORG in EBP for links.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.