Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ORGUNITEXT_DATA_GET

Former Member
0 Likes
796

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"?

1 REPLY 1
Read only

Former Member
534

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