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

ADSPC_IP_FORMS2 SAP ABAP INCLUDE - Subroutines 2







ADSPC_IP_FORMS2 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 ADSPC_IP_FORMS2 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 ADSPC_IP_FORMS2. "Basic submit
SUBMIT ADSPC_IP_FORMS2 AND RETURN. "Return to original report after report execution complete
SUBMIT ADSPC_IP_FORMS2 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 2


INCLUDES used within this REPORT ADSPC_IP_FORMS2

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_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING client = sy-mandt objnr = l_status_object_number only_active = 'X' IMPORTING obtyp = l_status_object_type stsma = l_fl_status_profile stonr = l_fl_user_status TABLES status = l_tb_status EXCEPTIONS object_not_found = 1 OTHERS = 2.

STATUS_CHECK_BY_SELSCHEM_MULTI CALL FUNCTION 'STATUS_CHECK_BY_SELSCHEM_MULTI' EXPORTING selschem = g_fl_sts IMPORTING status_objects_deleted = h_status_selected TABLES objnr_tab = objnr_tab EXCEPTIONS no_stat_scheme = 01.

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING * ACTIVITY_ALLOWED = ' ' * CHECK_ONLY = ' ' * CLIENT = SY-MANDT * NO_CHECK = ' ' objnr = p_fl_objnbr vrgng = p_fl_btrans * ZEILE = ' ' * SET_CHGKZ = * DATE = * NO_AUTHORITY_CHECK = ' ' * IMPORTING * STONR = * ACTIVITY_NOT_ALLOWED = * ERROR_OCCURRED = * OBJECT_NOT_FOUND = * STATUS_INCONSISTENT = * STATUS_NOT_ALLOWED = * WARNING_OCCURRED = EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING * CLIENT = SY-MANDT objnr = p_fl_objnr only_active = 'X' IMPORTING * OBTYP = stsma = l_fl_stsma * STONR = l_fl_stonr TABLES status = l_tb_actstatus EXCEPTIONS object_not_found = 1 OTHERS = 2.

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

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING objnr = current_objnr only_active = 'X' TABLES status = status_list EXCEPTIONS OTHERS = 0.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu objnr = current_objnr status_number = status_list_single-stat IMPORTING txt04 = status_text_wa EXCEPTIONS OTHERS = 01.

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = p_fl_objnr vrgng = p_fl_btrans EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.

CONVERSION_EXIT_PDATE_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT' EXPORTING input = -obj IMPORTING output = -obj.

ADS2KIPUPL_LOG_SEARCH_AND_LOAD CALL FUNCTION 'ADS2KIPUPL_LOG_SEARCH_AND_LOAD' EXPORTING i_srnbr = gs_diff_seqnr-srnbr IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.

ADS2KIPUPL_DISPLAY_LOG CALL FUNCTION 'ADS2KIPUPL_DISPLAY_LOG' EXPORTING i_log_handle = l_log_handle i_display_tree = 'X' i_display_browser = ''.



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