FPB_GENERATE_PROFILE_CCMD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter FPB_GENERATE_PROFILE_CCMD into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: GD_KOKRS = Controlling Area
Selection Text: KNOTEN = Hierarchy Node
Selection Text: PROF_ID = Profile ID
Selection Text: USER = User
Title: Generate Profiles from Cost Center Master Record
Text Symbol: 001 = Profiles were generated and added to user master record
Text Symbol: 002 = Error while generating profile
Text Symbol: 004 = No users found
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict.
CALL_PROFILE_GENERATION CALL FUNCTION 'CALL_PROFILE_GENERATION' EXPORTING id_prefix = 'FPB' "#EC NOTEXT id_co_area = gd_kokrs id_profile_id = prof_id CHANGING it_resparea = lt_user_resparea EXCEPTIONS add_gen_error = 1 OTHERS = 2.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = id_username IMPORTING address = ls_address TABLES return = lt_message.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ls_csks-kostl IMPORTING output = ld_kostl.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = setclass_cca shortname = gd_shortname kokrs = gd_kokrs IMPORTING setid = ld_hier EXCEPTIONS no_co_area_specified = 1 illegal_setclass = 2 OTHERS = 3.
COTB_HIERACHY_RESOLVE CALL FUNCTION 'COTB_HIERACHY_RESOLVE' EXPORTING value = ld_value hierachy = ld_hier field = field_cca kokrs = gd_kokrs IMPORTING group = ld_group EXCEPTIONS top_node_reached = 1 wrong_initialization = 2 wrong_hierarchy_name = 3 set_not_imported = 4 value_not_in_group = 5 group_not_found = 6 start_group_not_found = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FPB_GENERATE_PROFILE_CCMD - Generate Profiles from Cost Center Master Record FPB_GENERATE_PROFILE_CCMD - Generate Profiles from Cost Center Master Record FPB_FILL_PERS_PC - FPBFILLPERSPC FPB_FILL_PERS_PC - FPBFILLPERSPC FPB_FILL_PERS_DIALOG_MULTI - Personalization Data: Collective Processing FPB_FILL_PERS_DIALOG_MULTI - Personalization Data: Collective Processing