RBDSEMCD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Distribute Merch...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 RBDSEMCD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WAFS - Send Merchandise Category to AFS
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: DL_IGN = Ignore distribution lock
Selection Text: LOGSYS = Logical system
Selection Text: PSIZE =
Selection Text: RFCGR =
Selection Text: SELHIERL = MC Hierarchy Level
Selection Text: SELMATKL = Merchandise Category
Selection Text: SENDFULL = Send full
Title: Distribute Merch. Category and associated data via ALE: send direct
Text Symbol: 001 = Send full requested
Text Symbol: 002 = master IDocs can be sent. Do you want to continue?
Text Symbol: 003 = Send full
Text Symbol: P01 = Parallel processing
Text Symbol: P02 = Server group
Text Symbol: P03 = Number of classes per process
INCLUDE RBDAUTHI.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Send full requested'(001) textline2 = textline2 titel = 'Send full'(003) cancel_display = ' ' IMPORTING answer = answer.
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.
MG_GET_FOR_CLASSES CALL FUNCTION 'MG_GET_FOR_CLASSES' EXPORTING i_klasse = t_mc_hierl TABLES o_hier = t_wghier1 EXCEPTIONS no_lower_classes = 1 no_class_found = 2 OTHERS = 3.
MASTERIDOC_CREATE_REQ_WMERCAT CALL FUNCTION 'MASTERIDOC_CREATE_REQ_WMERCAT' EXPORTING rcvpfc = rcvpfc rcvprn = rcvprn rcvprt = rcvprt sndpfc = sndpfc sndprn = sndprn sndprt = sndprt message_type = c_mestyp parallel = h_parallel dlock_ignore = dl_ign IMPORTING created_comm_idocs = created_c_idocs created_master_idocs = created_m_idocs TABLES it_mercat = t_distrib_mc EXCEPTIONS OTHERS = 1.
MASTERIDOC_CREATE_REQ_WMERCAT CALL FUNCTION 'MASTERIDOC_CREATE_REQ_WMERCAT' STARTING NEW TASK c_mestyp DESTINATION IN GROUP rfcgr EXPORTING rcvpfc = rcvpfc rcvprn = rcvprn rcvprt = rcvprt sndpfc = sndpfc sndprn = sndprn sndprt = sndprt message_type = c_mestyp parallel = h_parallel dlock_ignore = dl_ign TABLES it_mercat = t_distrib_mc EXCEPTIONS RESOURCE_FAILURE = 0.
MASTERIDOC_CR_RESET_WMERCAT CALL FUNCTION 'MASTERIDOC_CR_RESET_WMERCAT' EXPORTING rcvpfc = rcvpfc rcvprn = rcvprn rcvprt = rcvprt sndpfc = sndpfc sndprn = sndprn sndprt = sndprt message_type = c_mestyp IMPORTING created_comm_idocs = created_c_idocs EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.