SAP Reports / Programs

RGJVCPEG SAP ABAP Report - Current Period Equity Group Changes







RGJVCPEG is a standard Executable ABAP Report 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 RGJVCPEG 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 RGJVCPEG. "Basic submit
SUBMIT RGJVCPEG AND RETURN. "Return to original report after report execution complete
SUBMIT RGJVCPEG 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: P_BUKRS = Company
Selection Text: P_CBPER = Cutback Period
Selection Text: P_UPDATE = Update
Selection Text: P_ZERO = Clear Zero Summed
Selection Text: S_EGRUP = Equity Group
Selection Text: S_VNAME = Venture
Title: Current Period Equity Group Changes
Text Symbol: 001 = Table output from INT_DOCNUM
Text Symbol: 002 = Error in finding equity type
Text Symbol: 003 = Pre-Cutback Equity Adjustments Report
Text Symbol: 004 = Venture
Text Symbol: 005 = EqGrp
Text Symbol: 006 = Partner
Text Symbol: 007 = Doc#
Text Symbol: 008 = DocLn
Text Symbol: 009 = RefDoc#
Text Symbol: 010 = RefLine
Text Symbol: 011 = Amount
Text Symbol: 800 = Selection Options
Text Symbol: 801 = Processing Options


INCLUDES used within this REPORT RGJVCPEG

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:

JV_INITIALISE_MESSAGE CALL FUNCTION 'JV_INITIALISE_MESSAGE'.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING msgid = ws_msgid msgno = ws_invalid_comp_code status = ws_statuse IMPORTING max_severity = ws_maxsev.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING msgid = ws_msgid msgno = ws_invalid_venture status = ws_statuse IMPORTING max_severity = ws_maxsev.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING msgid = ws_msgid msgno = ws_invalid_egroup status = ws_statuse IMPORTING max_severity = ws_maxsev.

VALIDATE_PERIOD CALL FUNCTION 'VALIDATE_PERIOD' EXPORTING i_period = p_cbper IMPORTING e_valid = ws_validate_period_error EXCEPTIONS incomplete.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING msgid = ws_msgid msgno = ws_invalid_period status = ws_statuse IMPORTING max_severity = ws_maxsev.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING msgid = ws_msgid msgno = ws_invalid_period status = ws_statuse IMPORTING max_severity = ws_maxsev.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' "get first day of period EXPORTING i_gjahr = ws_year i_periv = ws_comp_variant i_poper = ws_period IMPORTING e_date = ws_cutback_first_day EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' "get last day of period EXPORTING i_gjahr = ws_year i_periv = ws_comp_variant i_poper = ws_period IMPORTING e_date = ws_cutback_last_day EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

VALID_EQUITY_GROUP CALL FUNCTION 'VALID_EQUITY_GROUP' "Function to get EGrp EXPORTING bldat = jvso1-bldat budat = jvso1-budat bukrs = jvso1-rbukrs coobjtype = ws_objtype etype = ws_etype vname = jvso1-rjvnam warn = ' ' prodper = jvso1-prodper IMPORTING egrup = ws_egroup EXCEPTIONS no_entry = 01 obj_art_unknown = 02 warning = 03.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'JV_DOC' subobject = t_jvah-rbukrs toyear = t_jvah-ryear IMPORTING number = ws_docnr returncode = ws_returncode EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

RWIN_CHECK *CALL FUNCTION 'RWIN_CHECK' * EXPORTING * EVENT = 'HEADER' * GJAHR = '1995' "!!!!replace with variable date!!! * PROCESS = 'JVA' * TABLES * TKOMP = T_JVAH.

RWIN_CHECK *CALL FUNCTION 'RWIN_CHECK' * EXPORTING * EVENT = 'CHECK' * GJAHR = '1995' "!!!!replace with variable date!!! * PROCESS = 'JVA' * TABLES * TKOMP = T_JVAP.

RWIN_CHECK *CALL FUNCTION 'RWIN_CHECK' * EXPORTING * EVENT = 'POST' * GJAHR = '1995' "!!!!replace with variable date!!! * PROCESS = 'JVA' * TABLES * TKOMP = T_JVAP.

JV_WRITE_MESSAGE CALL FUNCTION 'JV_WRITE_MESSAGE' EXPORTING sort_order = 1.



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