SAP Reports / Programs | Provisioning | Aerospace & Defence Industry Solution | Provisioning(IS-AD-SPC-PR) SAP IS

ADS2KIP_BROWSER_FORMS4 SAP ABAP INCLUDE - Subroutines







ADS2KIP_BROWSER_FORMS4 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 ADS2KIP_BROWSER_FORMS4 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 ADS2KIP_BROWSER_FORMS4. "Basic submit
SUBMIT ADS2KIP_BROWSER_FORMS4 AND RETURN. "Return to original report after report execution complete
SUBMIT ADS2KIP_BROWSER_FORMS4 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutines


INCLUDES used within this REPORT ADS2KIP_BROWSER_FORMS4

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:

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING * CLIENT = SY-MANDT objnr = l_st_items_tree-statobjnbr only_active = 'X' TABLES status = active_statuses EXCEPTIONS object_not_found = 1 OTHERS = 2.

STATUS_SET_INTERN CALL FUNCTION 'STATUS_SET_INTERN' EXPORTING iv_objnr = p_fl_objnbr iv_status = p_fl_status EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

STATUS_CHANGE_INTERN CALL FUNCTION 'STATUS_CHANGE_INTERN' EXPORTING * CHECK_ONLY = ' ' client = sy-mandt objnr = p_fl_objnbr * ZEILE = ' ' set_chgkz = 'X' * IMPORTING * ERROR_OCCURRED = * OBJECT_NOT_FOUND = * STATUS_INCONSISTENT = * STATUS_NOT_ALLOWED = TABLES status = l_tb_status EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

STATUS_MAINTAIN CALL FUNCTION 'STATUS_MAINTAIN' EXPORTING client = sy-mandt * DISPLAY_ONLY = ' ' * FLG_NO_STSMA_CHANGE = ' ' * FLG_OBJECT_LIST = ' ' objnr = p_fl_objnbr subscreen_ext = '0124' subscreen_prog_ext = 'ADS2KIP_BROWSER' set_chgkz = 'X' * FLG_NO_SYSTEMSTATUS = ' ' * FLG_NO_USERSTATUS = ' ' IMPORTING * FLG_FIRST_OBJ = * FLG_LAST_OBJ = * FLG_NEXT_OBJ = * FLG_PREVIOUS_OBJ = stonr = l_fl_stonr * EXIT_CODE = EXCEPTIONS OTHERS = 0.

STATUS_OBJECT_CREATE CALL FUNCTION 'STATUS_OBJECT_CREATE' EXPORTING chgkz = 'X' client = sy-mandt * OBJNR = ' ' obtyp = p_fl_obtyp * STSMA = ' ' * IONRA_IMP = * I_OBJECTKEY = IMPORTING objnr = l_fl_objnbr_tmp stonr = l_fl_stonr EXCEPTIONS obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 OTHERS = 5.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'IS_ADSPCIP' quantity = '1' * SUBOBJECT = ' ' * TOYEAR = '0000' * IGNORE_BUFFER = ' ' IMPORTING number = l_fl_objnbr_new * QUANTITY = * RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

OBJECT_NUMBER_GET_OR CALL FUNCTION 'OBJECT_NUMBER_GET_OR' EXPORTING aufnr = l_fl_objnbr_new IMPORTING objnr = l_fl_objnbr EXCEPTIONS number_already_exists = 1 OTHERS = 2.

STATUS_OBJECT_SWITCH_NUMBER CALL FUNCTION 'STATUS_OBJECT_SWITCH_NUMBER' EXPORTING client = sy-mandt objnr_new = l_fl_objnbr objnr_old = l_fl_objnbr_tmp EXCEPTIONS object_not_found = 1 objnr_new_invalid = 2 objnr_old_invalid = 3 status_object_already_exists = 4 OTHERS = 5.



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 ADS2KIP_BROWSER_FORMS4 or its description.