Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.7 KB

functionmodule.md

File metadata and controls

60 lines (42 loc) · 1.7 KB

Function Module

create

Creates a function module in the given function group of the given name with the given description.

sapcli functionmodule create ZFG_PARENT Z_FUNCTION_MODULE "Class description"

write

Changes main source code of the given function module.

sapcli functionmodule write [GROUP_NAME|-] [OBJECT_NAME|-] [FILE_PATH+|-] [--corrnr TRANSPORT] [--activate] [--ignore-errors] [--warning-errors]
  • GROUP_NAME either function group name or - when it should be deduced from FILE_PATH
  • OBJECT_NAME either founction module name or - when it should be deduced from FILE_PATH
  • FILE_PATH if OBJECT_NAME is not -, single file path or - for reading stdin; otherwise space separated list of file paths
  • --corrnr TRANSPORT specifies CTS Transport Request Number if needed
  • --activate activate after finishing the write operation
  • --ignore-errors continue activating objects ignoring errors
  • --warning-errors treat activation warnings as errors

chattr

Changes attributes of the given function module.

sapcli functionmodule chattr "ZFG_PARENT" "Z_FUNCTION_MODULE [--processing_type normal|rfc] [--corrnr TRANSPORT]
  • --processing_type [normal|rfc] could be used to make RFC enabled
  • --corrnr TRANSPORT specifies CTS Transport Request Number if needed

activate

Activates the given function module.

sapcli functionmodule activate ZFG_PARENT Z_FUNCTION_MODULE

read

Download main source codes of the given function module

sapcli functionmodule read ZFG_PARENT Z_FUNCTION_MODULE