SAP Reports / Programs | Supply Chain Management | SCM Basis(SCM-BAS) SAP SCM

CIFTOOLS SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE CIFCONST.
INCLUDE CIFUCTLS.


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:

CIF_GEN_COUNTER_RESET CALL FUNCTION 'CIF_GEN_COUNTER_RESET'.

CIF_GEN_COUNTER_EXCEEDED CALL FUNCTION 'CIF_GEN_COUNTER_EXCEEDED' EXPORTING iv_enqueue_args = iv_enqueue_args.

ENQUEUE_ECIF_IMOD CALL FUNCTION 'ENQUEUE_ECIF_IMOD' EXPORTING mode_cif_imod = iv_mode modelname = is_enqueue_args-modelname logsys = is_enqueue_args-logsys * APOAPP holds the unique number of an initial download apoapp = is_enqueue_args-apoapp imtyp = is_enqueue_args-imtyp segment = is_enqueue_args-segment status = is_enqueue_args-status blockno = is_enqueue_args-blockno crtime = is_enqueue_args-crtime * _scope = '3' _wait = lv_wait EXCEPTIONS foreign_lock = 1.

ENQUEUE_ECIF_IMOD CALL FUNCTION 'ENQUEUE_ECIF_IMOD' EXPORTING mode_cif_imod = iv_mode modelname = is_enqueue_args-modelname logsys = is_enqueue_args-logsys * APOAPP holds the unique number of an initial download apoapp = is_enqueue_args-apoapp imtyp = is_enqueue_args-imtyp segment = is_enqueue_args-segment status = is_enqueue_args-status blockno = is_enqueue_args-blockno * _scope = '3' _wait = lv_wait EXCEPTIONS foreign_lock = 1. "#EC *

DEQUEUE_ECIF_IMOD CALL FUNCTION 'DEQUEUE_ECIF_IMOD' EXPORTING mode_cif_imod = iv_mode modelname = is_enqueue_args-modelname logsys = is_enqueue_args-logsys * APOAPP holds the unique number of an initial download apoapp = is_enqueue_args-apoapp imtyp = is_enqueue_args-imtyp segment = is_enqueue_args-segment status = is_enqueue_args-status blockno = is_enqueue_args-blockno crtime = is_enqueue_args-crtime _synchron = 'X'.

DEQUEUE_ECIF_IMOD CALL FUNCTION 'DEQUEUE_ECIF_IMOD' EXPORTING mode_cif_imod = iv_mode modelname = is_enqueue_args-modelname logsys = is_enqueue_args-logsys * APOAPP holds the unique number of an initial download apoapp = is_enqueue_args-apoapp imtyp = is_enqueue_args-imtyp segment = is_enqueue_args-segment status = is_enqueue_args-status blockno = is_enqueue_args-blockno _synchron = 'X'.

ENQUEUE_ECIFOPMODE CALL FUNCTION 'ENQUEUE_ECIFOPMODE' EXPORTING logsys = iv_logsys _wait = lv_wait EXCEPTIONS foreign_lock = 1.

DEQUEUE_ECIFOPMODE CALL FUNCTION 'DEQUEUE_ECIFOPMODE' EXPORTING logsys = iv_logsys _synchron = 'X'.

CIF_GEN_LOG_OPEN CALL FUNCTION 'CIF_GEN_LOG_OPEN' EXPORTING iv_logobject = g_logobj_cif_con iv_logsubobject = iv_subobject iv_clear_max_probclass = g_false_con.

CIF_GEN_LOG_CLOSE CALL FUNCTION 'CIF_GEN_LOG_CLOSE' EXPORTING iv_write_to_db = g_true_con TABLES ct_return = ct_return.

CIF_GEN_PARAM_GET CALL FUNCTION 'CIF_GEN_PARAM_GET' IMPORTING es_params = ls_params.

ARFC_GET_RECEIVER_TID CALL FUNCTION 'ARFC_GET_RECEIVER_TID' IMPORTING tid = lv_tid.

CIF_GEN_LOG_OPEN CALL FUNCTION 'CIF_GEN_LOG_OPEN' EXPORTING iv_logsubobject = p_logsubobj iv_extnumber = lv_extnumber EXCEPTIONS initialize_failed = 1 error_message = g_except_error_message_con OTHERS = g_except_others_con.

TRFC_RECEIVER_INFO CALL FUNCTION 'TRFC_RECEIVER_INFO' IMPORTING * TRFCTYPE = * MODE = * TID = fname = lv_fname * S_DATE = * S_TIME = * S_CLIENT = s_user = lv_s_user s_host = lv_s_host * S_PROG = s_tcode = lv_s_tcode .

CIF_GEN_LOG_WRITE CALL FUNCTION 'CIF_GEN_LOG_WRITE' EXPORTING iv_msgty = g_msgty_information_con iv_msgid = g_msgid_cif_con iv_msgno = 051 iv_msgv1 = lv_msgv1 iv_msgv2 = lv_msgv2 iv_msgv3 = lv_msgv3 iv_msgv4 = lv_msgv4 EXCEPTIONS error_message = g_except_error_message_con OTHERS = g_except_others_con.

CIF_GEN_LOG_CLOSE call function 'CIF_GEN_LOG_CLOSE' exporting iv_write_to_db = g_true_con exceptions others = 0.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = &1 iv_functionname = &2.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1.

CIF_GEN_LOG_SEND





call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' tables it_1 = &2.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' tables it_1 = &2 it_2 = &3.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' tables it_1 = &2 it_2 = &3 it_3 = &4.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' iv_4 = '&5' tables it_1 = &2 it_2 = &3 it_3 = &4 it_4 = &5.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' iv_4 = '&5' iv_5 = '&6' tables it_1 = &2 it_2 = &3 it_3 = &4 it_4 = &5 it_5 = &6.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' iv_4 = '&5' iv_5 = '&6' iv_6 = '&7' tables it_1 = &2 it_2 = &3 it_3 = &4 it_4 = &5 it_5 = &6 it_6 = &7.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' iv_4 = '&5' iv_5 = '&6' iv_6 = '&7' iv_7 = '&8' tables it_1 = &2 it_2 = &3 it_3 = &4 it_4 = &5 it_5 = &6 it_6 = &7 it_7 = &8.

CIF_GEN_LOG_SEND call function 'CIF_GEN_LOG_SEND' exporting is_ctrlparams = is_ctrlparams iv_functionname = &1 iv_1 = '&2' iv_2 = '&3' iv_3 = '&4' iv_4 = '&5' iv_5 = '&6' iv_6 = '&7' iv_7 = '&8' iv_8 = '&9' tables it_1 = &2 it_2 = &3 it_3 = &4 it_4 = &5 it_5 = &6 it_6 = &7 it_7 = &8 it_8 = &9.

CIF_GEN_INITIALIZE call function 'CIF_GEN_INITIALIZE'.

CIF_GEN_HANDLE_CALLERROR CALL FUNCTION 'CIF_GEN_HANDLE_CALLERROR' EXPORTING iv_function_module = iv_function_module iv_logsys = iv_logsys iv_message = iv_message.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = iv_msgty cl = iv_msgid number = iv_msgno par1 = iv_msgv1 par2 = iv_msgv2 par3 = iv_msgv3 par4 = iv_msgv4 IMPORTING return = ct_return.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = gv_ciftools_own_logical_system EXCEPTIONS own_logical_system_not_defined = 0 OTHERS = 0.

CIF_GEN_HANDLE_ERROR CALL FUNCTION 'CIF_GEN_HANDLE_ERROR' EXPORTING iv_logsubobject = p_logsubobj is_syst = p_sy is_ctrlparams = p_controlparams iv_exception_type = p_exception_type TABLES ct_return = ct_return CHANGING cv_subrc = p_subrc.

CIF_GEN_LOG_SEND_CONF call function 'CIF_GEN_LOG_SEND_CONF' exporting iv_functionname = &1 is_ctrlparams = is_ctrlparams tables it_cifalogcnf = st_cifalogcnf changing cv_firstcall = lv_firstcall exceptions others = 1. "#EC *

CIF_GEN_LOG_SEND_CONF call function 'CIF_GEN_LOG_SEND_CONF' exporting iv_functionname = &1 is_ctrlparams = is_ctrlparams iv_importing_paramname = l_impparamname is_importing_param = tables it_cifalogcnf = st_cifalogcnf changing cv_firstcall = lv_firstcall exceptions others = 1. "#EC *

CIF_GEN_LOG_SEND_CONF call function 'CIF_GEN_LOG_SEND_CONF' exporting iv_functionname = &1 is_ctrlparams = is_ctrlparams iv_tables_paramname = l_tabparamname tables it_cifalogcnf = st_cifalogcnf it_tables_param = changing cv_firstcall = lv_firstcall exceptions others = 1. "#EC *



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