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
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
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.