on 01-21-2009 7:23 PM
Hi,
I have a requirement to read Organization Structure so as to write the Phone Numbers, First Name & Last Name of the User in an email created from SmartForm. I am not sure, which FM will provide these values to me.
FM: BBP_OM_STRUC_GET_ORG_FROM_USER brings in the OBJECTID. Can I use this is some other FM to being Org values.
Appreciate your help in Advance.
Thanks,
Kannan
Hi,
You can use the FM "BBP_READ_ATTRIBUTES" to read all the attribute values maintained for a user in the ORG structure.
For all other address related data which is maintained for the user,you can first find the ORG id(Object ID) and then go to tables HRP1001/HRP1000 to get the BP and then get all the address data.
To find the link from user to BP you have to look in table HRP1001, that holds all the relationships.
You have to first go from user to central person in HRP1001, SCLAS = US, SOBID = User ID, OTYPE = CP.
Once you have the central person you can use HRP1001 again, this time OTYPE = CP, OBJID = the CP number, SCLAS = BP, then the BP number will be in SOBID.
You can then get the BP details from BUT000.
BR,
Disha.
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.