SAP Function Modules

G_ROW_ATTRIBUTES_GET SAP Function module - Enter row attribute







G_ROW_ATTRIBUTES_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name G_ROW_ATTRIBUTES_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: GRWO
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM G_ROW_ATTRIBUTES_GET - G ROW ATTRIBUTES GET





CALL FUNCTION 'G_ROW_ATTRIBUTES_GET' "Enter row attribute
  EXPORTING
    i_row_seqnr =               " row_seqnr     Number of the row/column
    i_row_type =                " c
*   i_sum_max = 99              " i             Maximum summation level
  IMPORTING
    e_sum_level_changed =       " flag          General Indicator
    e_subrc =                   " sysubrc       Return Value, Return Value after ABAP Statements
  CHANGING
    c_pfeed =                   " pfeed         Page break
    c_pre_sign =                " pre_sign      Character before row
    c_suf_sign =                " suf_sign      Character after row
    c_row_suppr =               " row_suppr     Indicator: Hide row block
    c_rev_sign =                " x_rev_sign    Indicator: Change +/- sign
    c_sum_from_l =              " sum_from_l    Row block summation interval (from level)
    .  "  G_ROW_ATTRIBUTES_GET

ABAP code example for Function Module G_ROW_ATTRIBUTES_GET





The ABAP code below is a full code listing to execute function module G_ROW_ATTRIBUTES_GET including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_e_sum_level_changed  TYPE FLAG ,
ld_e_subrc  TYPE SYSUBRC .

DATA(ld_c_pfeed) = 'Check type of data required'.
DATA(ld_c_pre_sign) = 'Check type of data required'.
DATA(ld_c_suf_sign) = 'Check type of data required'.
DATA(ld_c_row_suppr) = 'Check type of data required'.
DATA(ld_c_rev_sign) = 'Check type of data required'.
DATA(ld_c_sum_from_l) = 'Check type of data required'.
DATA(ld_i_row_seqnr) = 'Check type of data required'.
DATA(ld_i_row_type) = 'Check type of data required'.
DATA(ld_i_sum_max) = 'Check type of data required'. . CALL FUNCTION 'G_ROW_ATTRIBUTES_GET' EXPORTING i_row_seqnr = ld_i_row_seqnr i_row_type = ld_i_row_type * i_sum_max = ld_i_sum_max IMPORTING e_sum_level_changed = ld_e_sum_level_changed e_subrc = ld_e_subrc CHANGING c_pfeed = ld_c_pfeed c_pre_sign = ld_c_pre_sign c_suf_sign = ld_c_suf_sign c_row_suppr = ld_c_row_suppr c_rev_sign = ld_c_rev_sign c_sum_from_l = ld_c_sum_from_l . " G_ROW_ATTRIBUTES_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_c_pfeed  TYPE PFEED ,
ld_e_sum_level_changed  TYPE FLAG ,
ld_i_row_seqnr  TYPE ROW_SEQNR ,
ld_c_pre_sign  TYPE PRE_SIGN ,
ld_e_subrc  TYPE SYSUBRC ,
ld_i_row_type  TYPE C ,
ld_c_suf_sign  TYPE SUF_SIGN ,
ld_i_sum_max  TYPE I ,
ld_c_row_suppr  TYPE ROW_SUPPR ,
ld_c_rev_sign  TYPE X_REV_SIGN ,
ld_c_sum_from_l  TYPE SUM_FROM_L .

ld_c_pfeed = 'Check type of data required'.
ld_i_row_seqnr = 'Check type of data required'.
ld_c_pre_sign = 'Check type of data required'.
ld_i_row_type = 'Check type of data required'.
ld_c_suf_sign = 'Check type of data required'.
ld_i_sum_max = 'Check type of data required'.
ld_c_row_suppr = 'Check type of data required'.
ld_c_rev_sign = 'Check type of data required'.
ld_c_sum_from_l = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name G_ROW_ATTRIBUTES_GET or its description.