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
Below is a list of transaction codes which are relevant to this SAP report
BD18 - Send General Ledger Account
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.
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
INCLUDE MBDCONST.
INCLUDE RBDAUTHI.
INCLUDE MBDSUBPS.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.