SAP Reports / Programs

RFC_R_SCMABOX_RFC SAP ABAP Report - Report RFC_R_SCMABOX_RFC







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


Text pool values


Selection Text: P_WF = WF-Event triggered via RFC
Selection Text: P_UNAME = SAP-User to get the mail
Selection Text: P_MAILC = Mail-Header
Selection Text: P_MAIL = Infomail to user via RFC
Selection Text: PVARIANT = Variant in Satellite System
Selection Text: PREPORT = Program in Satellite System
Selection Text: PDEST_S = RFC-Destination Satellite
Selection Text: PDEST_DS = RFC-Dialog Satellite System
Selection Text: PDEST_DC = RFC-Dialog Central System
Selection Text: PDEST_C = RFC-Destination Central System
Title: Report RFC_R_SCMABOX_RFC
Text Symbol: S03 = Start New job With Own Init/Closing Steps
Text Symbol: S02 = Start Report in Same Job
Text Symbol: S01 = Start New Job and Wait for End (Endless loop)
Text Symbol: F02 = Parameters of New Job to be Started
Text Symbol: F01 = Reports and Variants to be Started
Text Symbol: E02 = Please contact SAP
Text Symbol: E01 = Cross-Box-Function not activated
Text Symbol: 013 = Error reading logical system
Text Symbol: 012 = Error during scheduling
Text Symbol: 011 = Error reading Jobcontext
Text Symbol: 010 = Error Reading Batchinformation
Text Symbol: 007 = Close Schedule Manager
Text Symbol: 006 = Initialize Schedule Manager
Text Symbol: 005 = Started Report is Canceled
Text Symbol: 004 = Created Spool List:
Text Symbol: 003 = Report was Scheduled: &1 / &2
Text Symbol: 002 = Called Report is Ended
Text Symbol: 001 = Start Report/Variant:


INCLUDES used within this REPORT RFC_R_SCMABOX_RFC

INCLUDE MONITOR_CONSTANTS.


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:

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = LS_DETAIL LS_WITEM = LS_WITEM LS_RFC_CONTROL = ls_moni_rfc IMPORTING LS_KEY = GS_KEY TABLES LT_SELKRIT = LT_SELKRIT.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' IMPORTING MAX_SEVERITY = LD_SEVERITY.

MESSAGES_SAVE CALL FUNCTION 'MESSAGES_SAVE' EXPORTING I_BALOBJECT = LD_BALOBJECT I_BALSUBOBJECT = LD_BALSUBOBJECT * i_in_update_task = I_IDENTIFICATION = GD_IDENT IMPORTING E_LOG_HANDLE = lD_LOG_HANDLE EXCEPTIONS NO_MESSAGES = 1 NOT_ACTIVE = 2 PROGRAM_ERROR = 3 SAVE_NOT_ALLOWED = 4 WRONG_IDENTIFICATION = 5.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = GS_KEY LS_SCMA_EVENT = LS_SCMA_EVENT ls_message = ls_message CHANGING LD_APLSTAT = LD_APLSTAT EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 2.

GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = ls_batch-jobcount jobname = ls_batch-jobname stepcount = ls_batch-stepcount exceptions no_runtime_info = 1.

BP_JOBCONTEXT_SELECT_BY_JOB call function 'BP_JOBCONTEXT_SELECT_BY_JOB' exporting jobname = ls_batch-jobname jobcount = ls_batch-jobcount tables jobselect_joblist = lt_tbtcjcntxt exceptions no_jobs_found = 1 others = 2.

RFC_F_SCMA_RFC CALL FUNCTION 'RFC_F_SCMA_RFC' destination pdest_s EXPORTING I_REPORT = preport I_VARIANT = pvariant I_EXTERN_RFCDEST_C = pdest_c I_EXTERN_RFCDEST_S = pdest_s I_EXTERN_CALLER_ID = ld_schedulerid I_EXTERN_UNAME = p_user I_EXTERN_RFCDIA_C = pdest_dc I_EXTERN_RFCDIA_S = pdest_ds EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE LD_MSG_TEXT SYSTEM_FAILURE = 2 MESSAGE LD_MSG_TEXT ERROR_WITH_VARIANT = 3 OTHERS = 4.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = arbgb MSGTY = msgty MSGV1 = v1 MSGV2 = v2 MSGV3 = v3 MSGV4 = v4 TXTNR = txtnr EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NOT_ACTIVE = 2 OTHERS = 3.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' IMPORTING E_IDENTIFICATION = gd_ident.



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