Ansicht
Dokumentation

SMOE_GROUP_SEL_HIERARCHY - Determines the parents and children in group hierchary

SMOE_GROUP_SEL_HIERARCHY - Determines the parents and children in group hierchary

BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Function module checking the hierarchy structure of the organization regarding the subscriptions of the SiteID's in the organization structure. The function module is only a selection module. If the missing links should be generated the function module 'SMOE_SUBSIT_ADD' has to be used.

The ideal situation is that a SiteID, which is depending of an organization, transmits all its subscriptions to all SiteID's depending to parent organizations. This function module can be used to determine the gaps in the organization structure.

Example

We have the following structure:

Org1 with Site1->Subscr11, Subscr12

  • Org2 with Site2->Subscr21, Subscr31
  • Org3 with Site3->Subscr31, Subscr32

Org3 depends on Org2 and Org2 depends on Org1.

If the function module gets the import parameters I_SITEID=Key of Site2, I_ACTION='A' and I_TYPE='B' then the export table O_SUBSITPARENT will contain two entries:

  • SMOHSITEID=Key of Site1 and SMOHSUBSCR=Key of Subscr21
  • SMOHSITEID=Key of Site1 and SMOHSUBSCR=Key of Subscr31

and O_SUBSITCHILD will contain one record:

  • SMOHSITEID=Key of Site3 and SMOHSUBSCR=Key of Subscr32

Notes

Further information





Parameters

I_LOCK
I_SITEID
I_SUBSCR
O_GROUP
O_GRPLK
O_RETURN
O_SITE
O_SUBSCR
O_SUBSIT
O_SUBSITADD
O_SUBSITDEL

Exceptions

Function Group

SMOE_DATABASE_CARE

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1994 Date: 20240523 Time: 115306     sap01-206 ( 44 ms )