SAP Reports / Programs | Supplier Relationship Management(SRM) SAP SRM

ATTRMAINT_F02 SAP ABAP INCLUDE - ATTRMAINTF02







ATTRMAINT_F02 is a standard ABAP INCLUDE 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 ATTRMAINT_F02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ATTRMAINT_F02. "Basic submit
SUBMIT ATTRMAINT_F02 AND RETURN. "Return to original report after report execution complete
SUBMIT ATTRMAINT_F02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT ATTRMAINT_F02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = g_plvar otype = gs_sel_object-otype realo = lv_realo IMPORTING stext = lv_stext EXCEPTIONS OTHERS = 1.

BBP_OM_STRUC_GET_UNITS_OF_MGR CALL FUNCTION 'BBP_OM_STRUC_GET_UNITS_OF_MGR' EXPORTING iv_mgr_otype = ls_sel_object-otype iv_mgr_objid = ls_sel_object-objid TABLES et_orgunits = lt_orgunits EXCEPTIONS nothing_found = 1 OTHERS = 2.

BBP_OM_STRUC_GET_USER_FROM_ORG CALL FUNCTION 'BBP_OM_STRUC_GET_USER_FROM_ORG' EXPORTING start_objects = lt_object resolve_all_orgs = space IMPORTING user_tab = lt_user EXCEPTIONS path_not_found = 1 error_reading_structure = 2 no_roots = 3 invalid_roots = 4 internal_error = 5 OTHERS = 6.

RH_READ_OBJECT_SET CALL FUNCTION 'RH_READ_OBJECT_SET' EXPORTING realo_tab = lt_realo IMPORTING text_tab = lt_realo_text EXCEPTIONS no_objects_supplied = 1 nothing_found = 2 OTHERS = 3.

BBP_OM_STRUC_GET_ORG_FROM_USER CALL FUNCTION 'BBP_OM_STRUC_GET_ORG_FROM_USER' EXPORTING user = sy-uname IMPORTING orgunit = ls_orgunit EXCEPTIONS path_not_found = 1 error_reading_structure = 2 no_roots = 3 invalid_roots = 4 internal_error = 5 user_not_assigned = 6 OTHERS = 7.

BBP_OM_STRUC_GET_USER_FROM_ORG CALL FUNCTION 'BBP_OM_STRUC_GET_USER_FROM_ORG' EXPORTING start_objects = lt_object IMPORTING user_tab = lt_user EXCEPTIONS path_not_found = 1 error_reading_structure = 2 no_roots = 3 invalid_roots = 4 internal_error = 5 OTHERS = 6.

RH_READ_OBJECT_SET CALL FUNCTION 'RH_READ_OBJECT_SET' EXPORTING realo_tab = lt_realo IMPORTING text_tab = lt_realo_text EXCEPTIONS no_objects_supplied = 1 nothing_found = 2 OTHERS = 3.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = g_plvar otype = gs_sel_object-otype realo = lv_realo IMPORTING stext = lv_stext EXCEPTIONS OTHERS = 1.

BBP_ATTR_MAINT CALL FUNCTION 'BBP_ATTR_MAINT' EXPORTING is_object = ls_object iv_scenario = 'BBP' IMPORTING et_attributes = gt_attr[] et_attr_properties = gt_attr_prop et_role_attr = gt_attr_role EXCEPTIONS OTHERS = 0.

BBP_LOGSYS_READ CALL FUNCTION 'BBP_LOGSYS_READ' IMPORTING e_my_logsys = gv_loc_system. " local system

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = lv_fieldname dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_objid_field value_org = 'S' TABLES value_tab = gt_object_help[] return_tab = lt_selection[] EXCEPTIONS OTHERS = 1.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynp_fields EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = lv_fieldname dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_attrib_field value_org = 'S' TABLES value_tab = gt_attrib_help[] EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = lv_fieldname dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_logsys_field value_org = 'S' TABLES value_tab = gt_system_help[] EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name ATTRMAINT_F02 or its description.