Start of Content Area

Syntax documentation Implementation of a Category  Locate the document in its SAP Library structure

You can implement your own categories and group your own functions under them.

Add the following code in the BAdl implementation:

Coding Lines

Description

data: l_s_operand TYPE SFBEOPRND.

 

   if i_key = SPACE.

 

       l_s_operand-descriptn =  <description>.

Description of category

       l_s_operand-tech_name = <name>.

Name of category in uppercase letters

       APPEND l_function TO c_operands.

 

       exit.

 

   endif.

 

 

To group functions in this category, add the following code to the BAdl implementation:

Coding Lines

Description

  if i_key = <name of group>.

 

      l_s_operand-descriptn =  <description>.

Description of function

      l_s_operand-tech_name = <name>.

Name of function in uppercase letters

      l_s_operand-tech_name = <name>.

Name of class that implements BAdl

      l_s_operand-tech_name = <name>.

Name of method that implements BAdl  

      APPEND l_function TO c_operands.

 

      exit.

 

  endif.

 

 

 

 

End of Content Area