HIERARCHY_XML_FORMAT SAP Method Method for XML Download









Below is documentation, parameters and attributes of ABAP Method HIERARCHY_XML_FORMAT within SAP class IF_EX_BADI_MATGRP_HIER_LEV. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_MATGRP_HIER_LEV into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method HIERARCHY_XML_FORMAT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method HIERARCHY_XML_FORMAT

.

NameTypeData TypeDescriptionDefault Value
MATGRP_STRUC_DATAImportingTYPE
WRF_NODE_TEXT_TTY
Table Type for Node Tables (Text)
TREE_LEVELImportingTYPE
WRF_CDT_LEVEL
Hierarchy Level
FILEChangingTYPE
RLGRAP-FILENAME
Local file for upload/download
FILE_EXTENSIONChangingTYPE
CHAR5
File Type
TEXT_TABLEChangingTYPE
WRF_MATGRP_TEXT_TTY
Text Table



Exceptions of Method HIERARCHY_XML_FORMAT

ERROR - Error

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_MATGRP_HIER_LEV.
DATA: lv_FILE TYPE RLGRAP-FILENAME,
lv_FILE_EXTENSION TYPE CHAR5,
lv_MATGRP_STRUC_DATA TYPE WRF_NODE_TEXT_TTY,
lv_TEXT_TABLE TYPE WRF_MATGRP_TEXT_TTY,
lv_TREE_LEVEL TYPE WRF_CDT_LEVEL,
lv_other TYPE c.

CALL METHOD lo_class=>HIERARCHY_XML_FORMAT(
EXPORTING
MATGRP_STRUC_DATA = lv_MATGRP_STRUC_DATA
TREE_LEVEL = lv_TREE_LEVEL
CHANGING
FILE = lv_FILE
FILE_EXTENSION = lv_FILE_EXTENSION
TEXT_TABLE = lv_TEXT_TABLE ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!