Obtaining Org Unit from Business Partner number
Hi, I am trying to obtain an org unit object id from the bp number that is created when the org unit is created. I am in a BP BADI, so I only have the bp number, and am in the process of creating a new org unit when the BADI is called. I have tried to use RH_STRUC_GET but because we are in the creation process this does not retrieve any results. I understand that this fm reads a buffer to get its results, and the org unit is obviously not in the buffer at this time.
Could anyone help me to find a function module that will find the org unit in this case?