SAP Reports / Programs | Cross-Application Components | Joint Venture und Production Sharing Accounting(CA-JVA) SAP CA

RGJVRU02 SAP ABAP INCLUDE - Suspense projects and equity groups







RGJVRU02 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RGJVRU02 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 RGJVRU02. "Basic submit
SUBMIT RGJVRU02 AND RETURN. "Return to original report after report execution complete
SUBMIT RGJVRU02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RGJVRU02

No INCLUDES are used within this REPORT code!


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:

VALIDATE_PERIOD CALL FUNCTION 'VALIDATE_PERIOD' EXPORTING I_PERIOD = P_PERIOD IMPORTING E_VALID = WS_FLG_I1_VLDN EXCEPTIONS INCOMPLETE = 1.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_PERIOD_INV status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_PERIOD_NOT_DEF status = 'E' IMPORTING max_severity = ws_max_error.

VALIDATE_YEAR CALL FUNCTION 'VALIDATE_YEAR' EXPORTING I_YEAR = P_YEAR IMPORTING E_VALID = WS_FLG_I1_VLDN EXCEPTIONS INCOMPLETE = 1.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_YEAR_INV status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_YEAR_NOT_DEF status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = WS_FLD_N3_PERIOD VARIANT = WS_FLD_C2_PERIV YEAR = P_YEAR IMPORTING FROM_DATE = WS_FLD_D8_FROMDT TO_DATE = WS_FLD_D8_TODT EXCEPTIONS PERIOD_NOT_DEFINED = 1 VARIANT_NOT_DEFINED = 2.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_PERIOD_NOT_DEF status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_VARIANT_NOT_DEF status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COMP_NF_T8JZ STATUS = WS_LIT_C1_I IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COLOW_NOT_JVACT status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_NO_REC_COLOW status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_NO_COLOW status = 'E' IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_INV_POSTDATE status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COMPLO_GT_COMPHI status = 'E' IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COMP_NF_T8JZ STATUS = WS_LIT_C1_I VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COHIGH_INVPER status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 VAR2 = WS_FLD_C50_ERR_VAR2 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COHIGH_NONJV status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE





CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_NO_REC_CO_HIGH_T001 status = 'E' VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = WS_LIT_C2_MSGID MSGNO = WS_ERR_C3_COMP_NOT_USED STATUS = WS_LIT_C1_I VAR1 = WS_FLD_C50_ERR_VAR1 IMPORTING max_severity = ws_max_error.



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