SAP Reports / Programs | Financials | Financial Supply Chain Management | FSCM In-House Cash(FIN-FSCM-IHC) SAP FIN

IHC_TEST_PROC_GENERAL SAP ABAP INCLUDE - IHCTESTPROCGENERAL







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

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:

IDOC_READ_COMPLETELY CALL FUNCTION 'IDOC_READ_COMPLETELY' EXPORTING DOCUMENT_NUMBER = u_idoc_number IMPORTING IDOC_CONTROL = ls_idoc_control TABLES INT_EDIDD = lt_idoc_data EXCEPTIONS DOCUMENT_NOT_EXIST = 1 DOCUMENT_NUMBER_INVALID = 2 OTHERS = 3.

IDOC_OUTBOUND_WRITE_TO_DB CALL FUNCTION 'IDOC_OUTBOUND_WRITE_TO_DB' IMPORTING STATE_OF_IDOC = l_rc TABLES INT_EDIDD = lt_idoc_data CHANGING INT_EDIDC = ls_idoc_control EXCEPTIONS IDOC_NOT_SAVED = 1 OTHERS = 2.

EDI_OUTPUT_NEW CALL FUNCTION 'EDI_OUTPUT_NEW' EXPORTING ONL_OPTION = 'B' ERROR_FLAG = ' ' TABLES I_EDIDC = lt_idoc_control I_EDIDD = lt_idoc_data.

EDI_DOCUMENT_DEQUEUE_LATER CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER' EXPORTING DOCNUM = ls_idoc_control-docnum EXCEPTIONS IDOC_IS_NOT_TO_DEQUEUE = 1 OTHERS = 2.

IDOC_READ_COMPLETELY CALL FUNCTION 'IDOC_READ_COMPLETELY' EXPORTING DOCUMENT_NUMBER = u_idoc_number IMPORTING IDOC_CONTROL = ls_control TABLES INT_EDIDD = lt_idoc_data EXCEPTIONS DOCUMENT_NOT_EXIST = 1 DOCUMENT_NUMBER_INVALID = 2 OTHERS = 3.

IDOC_INBOUND_WRITE_TO_DB CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB' EXPORTING PI_DO_HANDLE_ERROR = 'X' PI_RETURN_DATA_FLAG = space IMPORTING PE_IDOC_NUMBER = c_new_idoc PE_STATE_OF_PROCESSING = l_rc PE_INBOUND_PROCESS_DATA = ls_inbound_data TABLES T_DATA_RECORDS = lt_idoc_data CHANGING PC_CONTROL_RECORD = ls_control EXCEPTIONS IDOC_NOT_SAVED = 1 OTHERS = 2.

IDOC_READ_GLOBAL CALL FUNCTION 'IDOC_READ_GLOBAL' IMPORTING GLOBAL_DATA = ls_edi_settings EXCEPTIONS INTERNAL_ERROR = 0 OTHERS = 0.

IDOC_START_INBOUND CALL FUNCTION 'IDOC_START_INBOUND' EXPORTING PI_INBOUND_PROCESS_DATA = ls_inbound_data PI_CALLED_ONLINE = 'X' PI_ORG_UNIT = ls_org_unit TABLES T_CONTROL_RECORDS = lt_control EXCEPTIONS INVALID_DOCUMENT_NUMBER = 1 ERROR_BEFORE_CALL_APPLICATION = 2 INBOUND_PROCESS_NOT_POSSIBLE = 3 OLD_WF_START_FAILED = 4 WF_TASK_ERROR = 5 SERIOUS_INBOUND_ERROR = 6 OTHERS = 7.

BKK_BKKRS_GET_POSTDATE CALL FUNCTION 'BKK_BKKRS_GET_POSTDATE' EXPORTING I_BKKRS = u_bank_area IMPORTING E_POSTDATE = c_posting_date EXCEPTIONS POST_DATE_ERROR = 1 DATA_ERROR = 2 OTHERS = 3.

SMPO_DISPLAY_MESSAGES CALL FUNCTION 'SMPO_DISPLAY_MESSAGES' EXPORTING TITLEBAR = 'Meldungen'(906) TABLES MESSAGES = lt_messages.



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