RPCPSCQ2 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 RPCPSCQ2 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include RPCPSCQ2
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_READ_T100 CALL FUNCTION 'RP_READ_T100' EXPORTING msgnr = l_msgnr msgv1 = l_msgv1 msgv2 = l_msgv2 msgv3 = l_msgv3 msgv4 = l_msgv4 IMPORTING text = l_text.
BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING abap_program_name = 'RSBDCSUB' dialog = 'N' TABLES joblist = $sel_joblist EXCEPTIONS no_jobs_found = 1 program_specification_missing = 2 invalid_dialog_type = 3 job_find_canceled = 4 OTHERS = 5.
SHOW_JOBSTATE CALL FUNCTION 'SHOW_JOBSTATE' EXPORTING jobcount = $sel_joblist-jobcount jobname = $sel_joblist-jobname IMPORTING aborted = $aborted * Job terminated abnormally.
BDC_OBJECT_SELECT CALL FUNCTION 'BDC_OBJECT_SELECT' EXPORTING name = $jobname datatype = 'BDC' client = sy-mandt * date_from = ' ' * date_to = ' ' qstate = 'E' TABLES apqitab = $statuslist EXCEPTIONS invalid_datatype = 1 OTHERS = 2.
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING language = sy-langu currency = sy-waers amount = $amount IMPORTING in_words = spell.
END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING form = $formname language = $lang startpage = $page EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 OTHERS = 6.
BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = text-c16 keep = 'X' user = sy-uname.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = $ele function = $fun type = $typ window = $win EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = text-c16 IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = text-c16 strtimmed = 'X' IMPORTING job_was_released = job_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.
BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.
CONVERT_OTF CALL FUNCTION 'CONVERT_OTF' EXPORTING format = 'PDF' * MAX_LINEWIDTH = 132 * ARCHIVE_INDEX = ' ' * COPYNUMBER = 0 IMPORTING bin_filesize = pdf_fsize bin_file = xpdf TABLES otf = xotf lines = pdf_table EXCEPTIONS * ERR_MAX_LINEWIDTH = 1 * ERR_FORMAT = 2 * ERR_CONV_NOT_POSSIBLE = 3 * ERR_BAD_OTF = 4 OTHERS.
BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING abap_program_name = 'RSBDCSUB' dialog = 'N' TABLES joblist = $sel_joblist EXCEPTIONS no_jobs_found = 1 program_specification_missing = 2 invalid_dialog_type = 3 job_find_canceled = 4 OTHERS = 5.
SHOW_JOBSTATE CALL FUNCTION 'SHOW_JOBSTATE' EXPORTING jobcount = $sel_joblist-jobcount jobname = $sel_joblist-jobname IMPORTING aborted = $aborted * Job terminated abnormally.
BDC_OBJECT_SELECT CALL FUNCTION 'BDC_OBJECT_SELECT' EXPORTING name = $jobname datatype = 'BDC' client = sy-mandt * date_from = ' ' * date_to = ' ' qstate = 'E' TABLES apqitab = $statuslist EXCEPTIONS invalid_datatype = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.