SAP Reports / Programs | Interface to Terminal Automation System | Industry Solution Oil | Interface to Terminal Automation System(IS-OIL-DS-TAS) SAP IS

ROIKCALE SAP ABAP Report - Contract Output for ALE via Message Control







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


Text pool values


Title: Contract Output for ALE via Message Control


INCLUDES used within this REPORT ROIKCALE

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:

ALE_MODEL_DETERMINE_IF_TO_SEND CALL FUNCTION 'ALE_MODEL_DETERMINE_IF_TO_SEND' EXPORTING MESSAGE_TYPE = PI_MESSAGE_TYPE IMPORTING IDOC_MUST_BE_SENT = IDOC_MUST_BE_SENT EXCEPTIONS OWN_SYSTEM_NOT_DEFINED = 01.

IDOC_OUTPUT_OILORD CALL FUNCTION 'IDOC_OUTPUT_OILORD' EXPORTING OBJECT = NAST CONTROL_RECORD_IN = F_IDOC_CONTROL IMPORTING OBJECT_TYPE = OBJECT_TYPE CONTROL_RECORD_OUT = F_IDOC_CONTROL TABLES INT_EDIDD = T_IDOC_DATA EXCEPTIONS ERROR_MESSAGE_RECEIVED = 01.

MASTER_IDOC_DISTRIBUTE CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' EXPORTING MASTER_IDOC_CONTROL = F_IDOC_CONTROL TABLES COMMUNICATION_IDOC_CONTROL = TD_COMM_CONTROL_OUT MASTER_IDOC_DATA = T_IDOC_DATA EXCEPTIONS ERROR_IN_IDOC_CONTROL = 01 ERROR_WRITING_IDOC_STATUS = 02 ERROR_IN_IDOC_DATA = 03 SENDING_LOGICAL_SYSTEM_UNKNOWN = 04.

NAST_PROTOCOL_INITIALIZE CALL FUNCTION 'NAST_PROTOCOL_INITIALIZE'.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 MSG_V3 = SY-MSGV3 MSG_V4 = SY-MSGV4 EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NO_SY_MESSAGE = 02.

NAST_PROTOCOL_STORE CALL FUNCTION 'NAST_PROTOCOL_STORE' IMPORTING MSG_CMFPNR = NAST-CMFPNR EXCEPTIONS NO_PROTOCOL_UPDATE = 01.

EDI_DOCUMENT_DEQUEUE_LATER call function 'EDI_DOCUMENT_DEQUEUE_LATER' exporting docnum = g_idoc_comm_control-docnum.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = 'E0' "rollback MSG_NR = SY-MSGNO MSG_TY = 'I' MSG_V1 = SY-MSGV1 EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 01 NO_SY_MESSAGE = 02 OTHERS = 03.



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