CALL FUNCTION 'G_SET_ENCRYPT_SETID'
EXPORTING
SETCLASS = GSETC_COSTELEMENT_SETCLASS
SHORTNAME = LV_COST
KOKRS = 'ASD1'
* KTOPL =
* LIB =
* RNAME =
* ECCS_DIMEN =
* ECCS_ITCLG =
* ECCS_SITYP =
* FIKRS =
* SUBCLASS =
IMPORTING
SETID = SET_ID
* EXCEPTIONS
* NO_CO_AREA_SPECIFIED = 1
* ILLEGAL_SETCLASS = 2
* OTHERS = 3
.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
CALL FUNCTION 'G_SET_GET_ALL_VALUES'
EXPORTING
* CLIENT = ' '
* FORMULA_RETRIEVAL = ' '
* LEVEL = 0
SETNR = SET_ID
* VARIABLES_REPLACEMENT = ' '
* TABLE = ' '
* CLASS = ' '
* NO_DESCRIPTIONS = 'X'
* NO_RW_INFO = 'X'
* DATE_FROM =
* DATE_TO =
* FIELDNAME = ' '
TABLES
SET_VALUES = LT_KSTAR.
* EXCEPTIONS
* SET_NOT_FOUND = 1
* OTHERS = 2
.
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
abap如何取集(set)里面的数据
最新推荐文章于 2021-10-29 22:08:24 发布