SAP Reports / Programs

RWPOS_PARA_ENQUEUE SAP ABAP Report - POS Inbound IDOC Dispatcher







RWPOS_PARA_ENQUEUE 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 RWPOS_PARA_ENQUEUE into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RWPOS_PARA - POS Sales IDOC Enqueue Control


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


Text pool values


POS Sales IDOC Inbound Dispatcher (Enqueue Control)
Selection Text: CREDAT = Creation Day
Selection Text: CRETIM = Creation Time
Selection Text: DAYHIGH = Day To
Selection Text: DAYLOW = Day Fr.
Selection Text: DOCNUM = IDOC Number
Selection Text: E_ANALY = Error analysis (yes/no)
Selection Text: GROUP = aRFC Server Group
Selection Text: HPR_FLAG = Read IDOC Data in aRFC proc.
Selection Text: LI_STAT = Line Item Statistic
Selection Text: MAX_JOBS = Maximum Number Processes
Selection Text: MESCOD = Message Code
Selection Text: MESFCT = Message Function
Selection Text: MESTYP = Message Type
Selection Text: MINUTES = Update Frequency
Selection Text: O_LIST = Log Creation (yes/no)
Selection Text: PACKAGE = Package Size
Selection Text: PERHIGH = Time to
Selection Text: PERLOW = Time fr.
Selection Text: PREFIX = Prefix
Selection Text: SERGRP = ALE Serialization Group
Selection Text: SNDPFC = Sender Partner Function
Selection Text: SNDPRN = Partner Number
Selection Text: SNDPRT = Port
Selection Text: STAT_KO = Status 51
Selection Text: STAT_OK = Status 64
Selection Text: TEST = Test Flag
Selection Text: T_OUT = Time Out (seconds)
Selection Text: UPD_FLAG = Update (Yes/No)
Title: POS Inbound IDOC Dispatcher
Text Symbol: 991 = Event Handling
Text Symbol: 100 = Server Group Settings
Text Symbol: 200 = IDOC Selection
Text Symbol: 250 = Throughput Statistic
Text Symbol: 300 = Control
Text Symbol: 400 = Automatic Update of the Working List
Text Symbol: 500 = Time Out Control (seconds)
Text Symbol: 501 = Fire Event





Text Symbol: 502 = Process Log
Text Symbol: 503 = Error Log
Text Symbol: 504 = Event Log
Text Symbol: 505 = Event Prefix used:
Text Symbol: 506 = Event Check
Text Symbol: 507 = Relative Offset
Text Symbol: 508 = No Event Trigger before day
Text Symbol: 509 = and time
Text Symbol: 600 = Status 64
Text Symbol: 601 = Read IDOC segments in aRFC (status 64)
Text Symbol: 602 = Status 51
Text Symbol: 603 = Package Size
Text Symbol: 661 = Day from
Text Symbol: 662 = to
Text Symbol: 663 = Time from
Text Symbol: 700 = IDOC Selection Criteria
Text Symbol: 701 = Selection for IDOCS of status 64
Text Symbol: 801 = Line Item Statistic
Text Symbol: 802 = Store Statistic
Text Symbol: 803 = Appserv Statistic
Text Symbol: 900 = Process Flow Settings
Text Symbol: 901 = Display Logs
Text Symbol: 961 = Package Size (Attention : VALUE > 1 ONLY FOR HPR!)


INCLUDES used within this REPORT RWPOS_PARA_ENQUEUE

INCLUDE RWPOS_PARA_DATA.
INCLUDE RWPOS_PARA_SELECTION.


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:

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = group "Name of group to check IMPORTING max_pbt_wps = wp_total "Total number of dialog work "processes available in group "for parallel processing free_pbt_wps = wp_available "Number of work processes "available in group for "parallel processing at this "moment EXCEPTIONS invalid_group_name = 1 "Incorrect group name; RFC "group not defined. See

WPOS_IDOC_OK CALL FUNCTION 'WPOS_IDOC_OK' STARTING NEW TASK taskname DESTINATION IN GROUP group PERFORMING return_info ON END OF TASK EXPORTING segment_statistic = ' ' TABLES idoc_control = t_idoc_control idoc_data = t_idoc_data EXCEPTIONS RESOURCE_FAILURE = 1 system_failure = 2 MESSAGE msg_text communication_failure = 3 MESSAGE msg_text.

WPOS_IDOC_OK CALL FUNCTION 'WPOS_IDOC_OK' STARTING NEW TASK taskname DESTINATION IN GROUP group PERFORMING return_info ON END OF TASK TABLES idoc_control = t_idoc_control idoc_data = t_idoc_data EXCEPTIONS RESOURCE_FAILURE = 1 system_failure = 2 MESSAGE msg_text communication_failure = 3 MESSAGE msg_text.

WPOS_IDOC_OK CALL FUNCTION 'WPOS_IDOC_OK' STARTING NEW TASK taskname DESTINATION IN GROUP group PERFORMING return_info ON END OF TASK EXPORTING segment_statistic = 'X' TABLES idoc_control = t_idoc_control idoc_data = t_idoc_data EXCEPTIONS RESOURCE_FAILURE = 1 system_failure = 2 MESSAGE msg_text communication_failure = 3 MESSAGE msg_text.

WPOS_IDOC_KO CALL FUNCTION 'WPOS_IDOC_KO' STARTING NEW TASK taskname DESTINATION IN GROUP group PERFORMING return_info_51 ON END OF TASK TABLES idocs = ko_idocs idoc_control = t_idoc_control EXCEPTIONS RESOURCE_FAILURE = 1 system_failure = 2 MESSAGE msg_text communication_failure = 3 MESSAGE msg_text.

BP_CHECK_EVENTID CALL FUNCTION 'BP_CHECK_EVENTID' EXPORTING event_id = evt_id event_id_type = 'U' EXCEPTIONS eventid_not_defined_yet = 1 invalid_eventid_type = 2 invalid_systemeventid_prefix = 3 invalid_usereventid_prefix = 4 no_eventid_specified = 5 OTHERS = 6.






ALE_FTCH_DATA_SEGMENTS_OF_IDOC CALL FUNCTION 'ALE_FTCH_DATA_SEGMENTS_OF_IDOC' TABLES t_idoc_control = p_t_idoc_control_r t_idoc_data = p_t_idoc_data EXCEPTIONS OTHERS = 1.

IDOC_READ_COMPLETELY ** CALL FUNCTION 'IDOC_READ_COMPLETELY' ** EXPORTING ** DOCUMENT_NUMBER = P_T_IDOC_CONTROL_R-DOCNUM * IMPORTING * IDOC_CONTROL = * NUMBER_OF_DATA_RECORDS = * NUMBER_OF_STATUS_RECORDS = ** TABLES * INT_EDIDS = ** INT_EDIDD = P_T_IDOC_DATA ** EXCEPTIONS ** DOCUMENT_NOT_EXIST = 1 ** DOCUMENT_NUMBER_INVALID = 2 ** OTHERS = 3.

BP_EVENT_RAISE CALL FUNCTION 'BP_EVENT_RAISE' EXPORTING eventid = evt_id * EVENTPARM = ' ' * TARGET_INSTANCE = ' ' EXCEPTIONS bad_eventid = 1 eventid_does_not_exist = 2 eventid_missing = 3 raise_failed = 4 OTHERS = 5 .

SPBT_GET_PP_DESTINATION CALL FUNCTION 'SPBT_GET_PP_DESTINATION' IMPORTING rfcdest = tasklist-rfcdest EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = msg_out-msg.

SPBT_GET_PP_DESTINATION * CALL FUNCTION 'SPBT_GET_PP_DESTINATION' * IMPORTING * RFCDEST = TASKLIST-RFCDEST * EXCEPTIONS * OTHERS = 1.

SPBT_GET_PP_DESTINATION * CALL FUNCTION 'SPBT_GET_PP_DESTINATION' * IMPORTING * RFCDEST = TASKLIST-RFCDEST * EXCEPTIONS * OTHERS = 1.

SPBT_DO_NOT_USE_SERVER * CALL FUNCTION 'SPBT_DO_NOT_USE_SERVER' * EXPORTING * SERVER_NAME = ZRFCDES_RFCDEST * EXCEPTIONS * INVALID_SERVER_NAME = 1 * NO_MORE_RESOURCES_LEFT = 2 * PBT_ENV_NOT_INITIALIZED_YET = 3 ** No servers left in group.



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