SAP Function Modules

PRGN_CHECK_USERPROF_STATUS_COL SAP Function module







PRGN_CHECK_USERPROF_STATUS_COL 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 PRGN_CHECK_USERPROF_STATUS_COL into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM PRGN_CHECK_USERPROF_STATUS_COL - PRGN CHECK USERPROF STATUS COL





CALL FUNCTION 'PRGN_CHECK_USERPROF_STATUS_COL' "
  EXPORTING
    activity_group =            " agr_name
*   users_changed = SPACE       " char01
*   transactions_changed = SPACE  " char01
*   use_internal_table = SPACE  " char01
*   take_coll_flag = SPACE      " char01
*   coll_flag = SPACE           " char01
  IMPORTING
    message_text =              " c
    led_color =                 " c
    invalid_activity_group =    " c
    no_users_available =        " c
* TABLES
*   i_agr_users =               " agr_users
    .  "  PRGN_CHECK_USERPROF_STATUS_COL

ABAP code example for Function Module PRGN_CHECK_USERPROF_STATUS_COL





The ABAP code below is a full code listing to execute function module PRGN_CHECK_USERPROF_STATUS_COL 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_message_text  TYPE C ,
ld_led_color  TYPE C ,
ld_invalid_activity_group  TYPE C ,
ld_no_users_available  TYPE C ,
it_i_agr_users  TYPE STANDARD TABLE OF AGR_USERS,"TABLES PARAM
wa_i_agr_users  LIKE LINE OF it_i_agr_users .

DATA(ld_activity_group) = 'Check type of data required'.
DATA(ld_users_changed) = 'Check type of data required'.
DATA(ld_transactions_changed) = 'Check type of data required'.
DATA(ld_use_internal_table) = 'Check type of data required'.
DATA(ld_take_coll_flag) = 'Check type of data required'.
DATA(ld_coll_flag) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_agr_users to it_i_agr_users. . CALL FUNCTION 'PRGN_CHECK_USERPROF_STATUS_COL' EXPORTING activity_group = ld_activity_group * users_changed = ld_users_changed * transactions_changed = ld_transactions_changed * use_internal_table = ld_use_internal_table * take_coll_flag = ld_take_coll_flag * coll_flag = ld_coll_flag IMPORTING message_text = ld_message_text led_color = ld_led_color invalid_activity_group = ld_invalid_activity_group no_users_available = ld_no_users_available * TABLES * i_agr_users = it_i_agr_users . " PRGN_CHECK_USERPROF_STATUS_COL
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_message_text  TYPE C ,
ld_activity_group  TYPE AGR_NAME ,
it_i_agr_users  TYPE STANDARD TABLE OF AGR_USERS ,
wa_i_agr_users  LIKE LINE OF it_i_agr_users,
ld_led_color  TYPE C ,
ld_users_changed  TYPE CHAR01 ,
ld_invalid_activity_group  TYPE C ,
ld_transactions_changed  TYPE CHAR01 ,
ld_no_users_available  TYPE C ,
ld_use_internal_table  TYPE CHAR01 ,
ld_take_coll_flag  TYPE CHAR01 ,
ld_coll_flag  TYPE CHAR01 .

ld_activity_group = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_agr_users to it_i_agr_users.
ld_users_changed = 'Check type of data required'.
ld_transactions_changed = 'Check type of data required'.
ld_use_internal_table = 'Check type of data required'.
ld_take_coll_flag = 'Check type of data required'.
ld_coll_flag = '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 PRGN_CHECK_USERPROF_STATUS_COL or its description.