SAP Reports / Programs | Controlling | Overhead Cost Controlling | Cost Center Accounting(CO-OM-CCA) SAP CO

RBDSEGLM SAP ABAP Report - Send G/L accounts







RBDSEGLM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Transmission of master data for the specified general ledger accounts in the form of IDOCs "GLMAST" or "GLCORE" to the given receiver system...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RBDSEGLM 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

BD18 - Send General Ledger Account


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 RBDSEGLM. "Basic submit
SUBMIT RBDSEGLM AND RETURN. "Return to original report after report execution complete
SUBMIT RBDSEGLM 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: ACCSEL = Account No.
Selection Text: BUKSEL = Company code
Selection Text: KPLSEL = Chart of accounts
Selection Text: LOGSYS = Receiving logical system
Selection Text: MESTYP = Logical message
Title: Send G/L accounts
Text Symbol: P01 = Parallel processing
Text Symbol: P02 = Server group
Text Symbol: P03 = G/L accounts per process


INCLUDES used within this REPORT RBDSEGLM

INCLUDE MBDCONST.
INCLUDE RBDAUTHI.
INCLUDE MBDSUBPS.


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:

CHECK_REDUCED_MESSAGE_TYPE CALL FUNCTION 'CHECK_REDUCED_MESSAGE_TYPE' EXPORTING MESSAGE_TYP = MESTYP NEWFLAG = ' ' IMPORTING REFMESSAGE_TYP = ORG_MESTYP.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING OWN_LOGICAL_SYSTEM = OWN_LOGSYS EXCEPTIONS OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1 OTHERS = 2.

ALE_MODEL_DETERMINE_IF_TO_SEND CALL FUNCTION 'ALE_MODEL_DETERMINE_IF_TO_SEND' EXPORTING MESSAGE_TYPE = MESTYP SENDING_SYSTEM = OWN_LOGSYS RECEIVING_SYSTEM = LOGSYS VALIDDATE = SY-DATUM IMPORTING IDOC_MUST_BE_SENT = MESTYP_SEND EXCEPTIONS OWN_SYSTEM_NOT_DEFINED = 1 OTHERS = 2.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING GROUP_NAME = RFCGR 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_GLCORE CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLCORE' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP IMPORTING COUNT = COUNT CREATED_COMM_IDOCS = CREATED_COMM_IDOCS TABLES SKKEY = T_SKKEY.

MASTERIDOC_CREATE_REQ_GLCORE CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLCORE' STARTING NEW TASK MESTYP DESTINATION IN GROUP RFCGR EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK EXCEPTIONS RESOURCE_FAILURE = 01.

MASTERIDOC_CREATE_REQ_GLCORE CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLCORE' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK.

MASTERIDOC_CREATE_REQ_GLCORE CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLCORE' STARTING NEW TASK MESTYP DESTINATION IN GROUP RFCGR EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK EXCEPTIONS RESOURCE_FAILURE = 01.

MASTERIDOC_CREATE_REQ_GLCORE CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLCORE' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK.

MASTERIDOC_CREATE_REQ_GLMAST CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLMAST' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP IMPORTING COUNT = COUNT CREATED_COMM_IDOCS = CREATED_COMM_IDOCS TABLES SKKEY = T_SKKEY.

MASTERIDOC_CREATE_REQ_GLMAST CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLMAST' STARTING NEW TASK MESTYP DESTINATION IN GROUP RFCGR EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK EXCEPTIONS RESOURCE_FAILURE = 01.

MASTERIDOC_CREATE_REQ_GLMAST CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLMAST' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK.

MASTERIDOC_CREATE_REQ_GLMAST CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLMAST' STARTING NEW TASK MESTYP DESTINATION IN GROUP RFCGR EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK EXCEPTIONS RESOURCE_FAILURE = 01.

MASTERIDOC_CREATE_REQ_GLMAST CALL FUNCTION 'MASTERIDOC_CREATE_REQ_GLMAST' EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES SKKEY = T_SKKEYPACK.



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