* GSETC type pool stores codes for differenct group classes
* i.e. gsetc_costcenter_setclass = '0101'.
TYPE-POOLS: gsetc. "
TYPES: gseth_node_line LIKE grpobjects,
gseth_node_tab TYPE gseth_node_line OCCURS 0.
TYPES: gseth_val_line LIKE grpvalues,
gseth_val_tab TYPE gseth_val_line OCCURS 0.
TYPES: GSETH_MD_LINE LIKE GRPMDLINE,
GSETH_MD_TAB TYPE GSETH_MD_LINE OCCURS 0.
DATA: it_nodes TYPE gseth_node_tab,
it_values TYPE gseth_val_tab,
it_mdtab type gseth_md_tab,
wa_mdtab type GSETH_MD_LINE.
DATA: ld_setid TYPE sethier-setid,
ld_info LIKE grphinfo,
ld_overwrite LIKE sy-datar.
PARAMETERS: p_ksgru LIKE rksb1-ksgru,
p_burks TYPE bseg-BUKRS.
BREAK-POINT.
* An alternative function module can be found below which
* is slightly easier to code but there is no direct link between
* the hier and the val tables, it is just based on there
* index possition.
*types : begin of T_SETHIER.
* include STRUCTURE SETHIER_CO.
*types: end of t_sethier.
*data: it_SETHIER type standard table of t_SETHIER.
*
*types : begin of T_SETVAL.
* include STRUCTURE SETVAL_CO.
*types: end of t_SETVAL.
*data: it_SETVAL type standard table of t_SETVAL.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.