FM CRM_ORGMAN_ORGOBJECTS_FIND_3

Hi Guys,
I'm testing  FM CRM_ORGMAN_ORGOBJECTS_FIND_3 to obtain code of the org unit assigned to an user (employee).
However, this FM never return anything. I introduced buiness partner number and scenario, but I never had anything.
I need one organization determination rule for assign to my access sequence in my partner procedure.
At the moment, I'm using  rule 10000194 (ORGMAN_12), that use FM CRM_ORGMAN_ORGOBJECTS_FIND_3 .
According to the documentation, this  determination rule delivers the responsible organizational unit of the user. User is defined as a business partner in the container attribute 'PARTNER'. If not, the system user (sy-uname) is used.
I'm testing with an BP employee that has an user assigned. However the FM always return blank.
Which function module can I use for obtain organisation unit where the user (employee) is assigned?. I need the organisation unit, not the sales or service organisation
Anybody can help me?
Regards,
Lyda
Edited by: Lyda Osorio on Sep 24, 2009 7:18 AM

Hi,
You can use the FM:BBPU_GET_ORGSTRUCTURE_OF_USER to get the organization details of the user.
If you want organization determination rule for the same then 10000194 (ORGMAN_12) is used for sales and 14000148   (ORGMAN_22) is used for service.
Regards,
PePe

Similar Messages

  • How to drive sales order Organizational Unit to equal the Sales Office

    CRM 7.0, sales order is using org rule ORGMAN_23 which has FM CRM_ORGMAN_ORGOBJECTS_FIND_11
    The sales order finds the sales org, dist channel, division, sales office, and sales group but the Organizational Unit always matches the sales group.
    Will any of the delivered FM's used in PFAC
    CRM_ORGMAN_ORGOBJECTS_FIND_1
    CRM_ORGMAN_ORGOBJECTS_FIND_2
    CRM_ORGMAN_ORGOBJECTS_FIND_3 ......
    return the results I desire? or will we need to copy and modify one of these FM's.

    Hello,
    You need to adjust your org structure in ppoma_crm.
    Currently the org unit which is mapped to an ECC sales group holds the attributes that mapped to the BP's sales area data.
    (If you are using rule ORGMAN_23).
    Please create an org unit, which is not mapped to the sales group, with the desired attributes, then assign the BP to this org unit.
    Best regards,
    Maggie

  • Org Unit Code

    Hi,
    I am using FM CRM_ORGMAN_ORGOBJECTS_FIND_3 to return the orgunit for a user. This returns the OBJID of the orgunit, but what I really need is the code of the actual orgunit. Is there another function module available that might do this for me (possibly using the OBJID)?
    Thanks,
    Bernard

    Hi Bernard,
    You can directly fetch it from table HRP1000, pass the objid you get from the FM CRM_ORGMAN_ORGOBJECTS_FIND_3 to HRP1000, the field SHORT gives you the code of the org unit.
    Hope this helps.
    Regards,
    Karthik.

Maybe you are looking for