‎2005 Oct 29 6:41 AM
Can anyone help how to call this bapi with coding.
I developed a report based on certain calculations.
Now..based on the organzation unit..i want to get the organization data for that calculations.
In HRP1000 , I taked OBJID as organization unit.
In selection screen...s_orgunt for hrp1000-objid.
based on s_orgunit I want to display all the organization data.
how to do this with BAPI "BAPI_ORGUNITEXT_DATA_GET"?
‎2005 Oct 31 2:16 PM
Hello
BAPI_ORGUNITEXT_DATA_GET is used for getting the org data including the relationships/hierarchy in the organisation.
You would need to pass the prg unit no as the input parameter. The imprtant output tables are:
STRUCTURALDATA - Gives the org hierarchy with the input org unit as the root object. The fields VRSIGN and VRELAT
indicates the realtionship specification (A or B) and the type of relationship e.g "is line supervisor of"
OBJECTSDATA - All the object ids and descriptions below the given root object.
Hope this helps
Shounak