SAP Reports / Programs

RHCONC00 SAP ABAP Report - Relate Objects







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


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 RHCONC00. "Basic submit
SUBMIT RHCONC00 AND RETURN. "Return to original report after report execution complete
SUBMIT RHCONC00 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: 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





Text Symbol: 002 = Object
Text Symbol: 001 = Plan vers.
Text Symbol: 000 = T E S T R U N


INCLUDES used within this REPORT RHCONC00

INCLUDE RHODAT00.
INCLUDE RHRDAT00.
INCLUDE RHOINI00.
INCLUDE RHRINI00.


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:

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.



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