SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

FKJO_CNTRCHAIN SAP ABAP INCLUDE - Program FKJO_CNTRCHAIN







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


Text pool values


Title: Program FKJO_CNTRCHAIN


INCLUDES used within this REPORT FKJO_CNTRCHAIN

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:

FKJO_GET_DEBUG call function 'FKJO_GET_DEBUG' importing e_debug_output = debugon exceptions others = 0.

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = theitem-id i_start_date = theitem-start_date i_start_time = theitem-start_time importing e_runid = runid exceptions others = 0.

JOB_OPEN call function 'JOB_OPEN' exporting delanfrep = 'X' jobname = jn importing jobcount = jc exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jc jobname = jn sdlstrtdt = sd sdlstrttm = st * IMPORTING * JOB_WAS_RELEASED = exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8. "#EC DOM_EQUAL

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = theitem-id i_start_date = theitem-start_date i_start_time = theitem-start_time importing e_runid = runid exceptions others = 1.

JOB_OPEN call function 'JOB_OPEN' exporting delanfrep = 'X' jobname = jn importing jobcount = jc exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jc jobname = jn sdlstrtdt = theitem-start_date sdlstrttm = theitem-start_time exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8. "#EC DOM_EQUAL

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jc jobname = jn strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8. "#EC DOM_EQUAL

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = theitem-id i_start_date = theitem-start_date i_start_time = theitem-start_time importing e_runid = runid.

FKJO_CNTR_START_JOB call function 'FKJO_CNTR_START_JOB' exporting i_aktyp = akt i_jtype = itab_wa-jtype i_laufd = itab_wa-laufd i_laufi = itab_wa-laufi i_copyd = itab_wa-copyd i_copyi = itab_wa-copyi i_run_id = runid i_start_date = sd i_start_time = st importing e_restext = s exceptions fuba_not_found = 1 error_executing_fuba = 2 others = 3.

FKJO_CNTR_START_JOB call function 'FKJO_CNTR_START_JOB' exporting i_aktyp = akt i_jtype = jtype i_laufd = '00000000' "determined later i_laufi = '000000' "determined later i_copyd = theitem-copyd i_copyi = theitem-copyi i_run_id = runid i_start_date = sd i_start_time = st importing e_restext = s exceptions fuba_not_found = 1 error_executing_fuba = 2 others = 3.

FKJO_CNTR_MSG call function 'FKJO_CNTR_MSG' exporting repname = 'FKJO_CREATE_BATCH' datum = theitem-start_date zeit = theitem-start_time msg = s msg_no = mno typ = mt runid = runid. "#EC DOM_EQUAL

FKJO_CNTR_MSG call function 'FKJO_CNTR_MSG' exporting repname = s datum = msg_date zeit = msg_time msg = msg msg_no = msgno typ = msgtype. "#EC DOM_EQUAL

FKJO_CNTR_MSG call function 'FKJO_CNTR_MSG' exporting repname = s datum = msg_date zeit = msg_time msg = msg msg_no = msgno typ = msgtype runid = runid exceptions others = 0. "#EC DOM_EQUAL

FKJO_JOBOPEN_ERR call function 'FKJO_JOBOPEN_ERR' exporting i_rep = i_rep i_rc = i_rc changing e_msg = e_msg e_msg_type = e_msgtype e_msg_no = e_msgno.

FKJO_SUBMIT_ERR call function 'FKJO_SUBMIT_ERR' exporting i_rep = i_rep i_rc = i_rc importing e_msg = e_msg e_msg_type = e_msgtype e_msg_no = e_msgno.

FKJO_JOBCLOSE_ERR call function 'FKJO_JOBCLOSE_ERR' exporting i_rep = i_rep i_rc = i_rc importing e_msg = e_msg e_msg_type = e_msgtype e_msg_no = e_msgno.

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = theitem-id i_start_date = theitem-start_date i_start_time = theitem-start_time importing e_runid = runid exceptions others = 0.

JOB_OPEN





call function 'JOB_OPEN' exporting delanfrep = 'X' jobname = jn importing jobcount = jc exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jc jobname = jn sdlstrtdt = theitem-start_date sdlstrttm = theitem-start_time * IMPORTING * JOB_WAS_RELEASED = exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8. "#EC DOM_EQUAL



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