SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

RBDSEDOC SAP ABAP Report - Send Documents Directly







RBDSEDOC 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 RBDSEDOC 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

BDA5 - Distribute documents


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 RBDSEDOC. "Basic submit
SUBMIT RBDSEDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RBDSEDOC 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_DOKAR = D Document Type
Selection Text: P_DOKTL = D Document Part
Selection Text: P_DOKVR = D Document Version
Selection Text: P_LOGSYS = D Logical System
Selection Text: P_RFCGR = D Server Group
Selection Text: P_SIZE = D Objects per Process
Selection Text: S_DOKNR = D Document
Selection Text: P_DLOCK = D Ignore Distribution Lock
Title: Send Documents Directly
Text Symbol: 001 = Document Data
Text Symbol: 002 = Target Sys
Text Symbol: P01 = Parallel Processing
Text Symbol: P02 = Server Group
Text Symbol: P03 = No.of Documents per Process


INCLUDES used within this REPORT RBDSEDOC

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:

MASTERIDOC_CREATE_REQ_DOCMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_DOCMAS' EXPORTING: pf_parallel = lf_parallel rcvprn = rcvprn rcvprt = rcvprt IMPORTING: created_comm_idocs = lf_created_comm_idocs TABLES: pt_draw = lt_draw.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING: group_name = p_rfcgr * rcvprn = rcvprn * rcvprt = rcvprt EXCEPTIONS: invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 OTHERS = 6.

MASTERIDOC_CREATE_REQ_DOCMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_DOCMAS' STARTING NEW TASK c_msg_type DESTINATION IN GROUP p_rfcgr EXPORTING: pf_parallel = lf_parallel rcvprn = rcvprn "Note_742445 rcvprt = rcvprt "Note_742445 TABLES: pt_draw = lt_aux_draw EXCEPTIONS: RESOURCE_FAILURE = 01.

MASTERIDOC_CREATE_REQ_DOCMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_DOCMAS' EXPORTING: pf_parallel = lf_parallel rcvprn = rcvprn rcvprt = rcvprt TABLES: pt_draw = lt_aux_draw.

RETR_DOCUMENT CALL FUNCTION 'RETR_DOCUMENT' EXPORTING: dyname_imp = lf_repid dynumb_imp = lf_dynnr f_dokar_imp = 'P_DOKAR' f_doknr_imp = 'S_DOKNR-LOW' f_doktl_imp = 'P_DOKTL' f_dokvr_imp = 'P_DOKVR' matchcode_selection = 'X' step_loop_zeile = lf_number.



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