RHCONC00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report enables you to create multiple relationship records for a specified target object...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 RHCONC00 into the relevant SAP transactions such as SE38 or SE80
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: PCHTIMED = ?...(PCHTIMED)
Selection Text: PCHSEARK = ?...(PCHSEARK)
Selection Text: PCHPLVAR = ?...(PCHPLVAR)
Selection Text: PCHOTYPE = ?...(PCHOTYPE)
Selection Text: PCHOSTAT = ?...(PCHOSTAT)
Selection Text: PCHOEND = ?...(PCHOEND)
Selection Text: PCHOBJID = ?...(PCHOBJID)
Selection Text: PCHOBEG = ?...(PCHOBEG)
Selection Text: PCHISTAT = ?...(PCHISTAT)
Selection Text: PCHENDDA = ?...(PCHENDDA)
Selection Text: PCHDYMOD = ?...(PCHDYMOD)
Selection Text: PCHBEGDA = ?...(PCHBEGDA)
Selection Text: %_END056 = ?...(%_END056)
Selection Text: %_END048 = ?...(%_END048)
Selection Text: %_END021 = ?...(%_END021)
Selection Text: %_END011 = ?...(%_END011)
Selection Text: %_BEG049 = ?...(%_BEG049)
Selection Text: %_BEG023 = ?...(%_BEG023)
Selection Text: WEIGHTIN = Weighting
Selection Text: TEST = Test
Selection Text: RSIGN = Rel. type obj.->source obj.
Selection Text: RELAT = Relationship obj.->source obj.
Selection Text: BASETYPE = Source object type
Selection Text: BASEOBID = Source object ID
Selection Text: BASEARCH = Search Term
Title: Relate Objects
Text Symbol: ZVP = Available target objects:
Text Symbol: VDA = Var.data
Text Symbol: SHG = Records created.
Text Symbol: MDQ = with the source object:
Text Symbol: FPV = The following objects will be related
Text Symbol: ANV = Relationship selected:
Text Symbol: AGV = Relationships created:
Text Symbol: 007 = Validity (from - to)
Text Symbol: 006 = P
Text Symbol: 005 = S
Text Symbol: 004 = Subty
Text Symbol: 003 = Infty
INCLUDE RHODAT00.
INCLUDE RHRDAT00.
INCLUDE RHOINI00.
INCLUDE RHRINI00.
No SAP DATABASE tables are accessed within this REPORT code!
RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING * mode = 'X' plvar = pchplvar otype = basetype seark = '*' DYNPRO_REPID = sy-cprog DYNPRO_DYNNR = sy-dynnr dynpro_plvarfield = 'PLVAR' dynpro_otypefield = 'BASETYP' dynpro_searkfield = 'BASEOBID' IMPORTING sel_object = s_objects EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6.
RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'D' * ORDER_FLG = 'X' * COMMIT_FLG = 'X' * AUTHY = 'X' * PPPAR_IMP = * OLD_TABNR = ' ' * REPID = ' ' * FORM = ' ' * KEEP_LUPD = * WORKF_ACTV = 'X' TABLES innnn = wplog_tab * ILFCODE = EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' "#EC * EXPORTING p1001_imp =
IMPORTING p1001_exp = EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
PATH_BUILD CALL FUNCTION 'PATH_BUILD' IMPORTING path_id = hlp_path_id TABLES 77aw = hlp_aw.
STRUCTURE_BUILD CALL FUNCTION 'STRUCTURE_BUILD' "#EC * EXPORTING plvar = p1001-plvar otype = p1001-sclas objid = p1001-sobid wegid = hlp_path_id svect = hlp_svect sbegd = p1001-begda sendd = p1001-endda sflag = 'X' recurs = 'X' 77aw_int = 'X' authy = ' ' authy_base = ' ' cbflag = ' ' IMPORTING root = hlp_root entry = hlp_entry EXCEPTIONS root_not_found = 1 wegid_not_found = 2 OTHERS = 3.
STRUCTURE_ENTRY_READ CALL FUNCTION 'STRUCTURE_ENTRY_READ' EXPORTING index = stru_index IMPORTING entry = hlp_entry.
STRUCTURE_DELETE CALL FUNCTION 'STRUCTURE_DELETE' EXPORTING pstru = hlp_root-pstru.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.