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

RGJVBRTH SAP ABAP Report - Billing threshold check







RGJVBRTH 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 RGJVBRTH into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

GJBT - Billing threshold check


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 RGJVBRTH. "Basic submit
SUBMIT RGJVBRTH AND RETURN. "Return to original report after report execution complete
SUBMIT RGJVBRTH 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: S_VNAME = Joint venture
Selection Text: S_PARTN = Partner
Selection Text: S_BUKRS = Company Codes
Selection Text: P_YEAR = Fiscal year
Selection Text: P_TEST = Testrun
Selection Text: P_PERIOD = Period
Selection Text: P_PASSTH = Bypass billing threshold
Selection Text: P_BUDAT = Posting date
Title: Billing threshold check
Text Symbol: VEN = Vent.
Text Symbol: THD = Threshold (Deb)
Text Symbol: THC = Threshold (Cre)
Text Symbol: STA = Stat
Text Symbol: SP2 = One spool for each company
Text Symbol: SP1 = One spool for all companies
Text Symbol: SP0 = Spool file handling
Text Symbol: SEL = Selection criteria
Text Symbol: PRO = Processing options
Text Symbol: PER = Posting details
Text Symbol: PAR = Partner
Text Symbol: HD4 = Documents cleared - manual adjustments necessary
Text Symbol: HD3 = Documents already cleared by billing threshold process
Text Symbol: HD2 = Documents to be cleared
Text Symbol: HD1 = Overview on billing thresholds
Text Symbol: FPE = Period
Text Symbol: EGR = EqG
Text Symbol: DNR = Document No
Text Symbol: DLN = DLn
Text Symbol: CUR = Curr
Text Symbol: BII = BI
Text Symbol: ATO = Total amount
Text Symbol: APR = Amount (previous per.)
Text Symbol: ANR = Clear. doc
Text Symbol: AMT = Amount
Text Symbol: ALN = CLn
Text Symbol: ACU = Amount (current period)


INCLUDES used within this REPORT RGJVBRTH

INCLUDE RGJVBRTHTOP.
INCLUDE GJV_SCHEDMAN_DATA_DEFINITION.




INCLUDE RGJVBRTHSCR.
INCLUDE RKASMAWF.
INCLUDE GFW_DC_PRES.


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' EXPORTING * NO_CO = 'X'.

JV_MCC_CHECK CALL FUNCTION 'JV_MCC_CHECK' EXPORTING I_TEST = p_test I_PROCESS_CODE = 'BILLING1' I_T_BUKRS = s_bukrs[] IMPORTING E_MCC_USED = w_mcc_used E_T_MCC = i_mcc * E_NOAUTH = CHANGING C_T_VENTURE = s_vname[] C_T_PARTNER = s_partn[] EXCEPTIONS NO_SELECTION = 1 INCONSISTENT_SELECTION = 2 OTHERS = 3 .

JV_WRITE_MESSAGE CALL FUNCTION 'JV_WRITE_MESSAGE' EXPORTING SORT_ORDER = 1.

MESSAGES_SAVE CALL FUNCTION 'MESSAGES_SAVE' EXPORTING i_balobject = messages_save_balobject I_BALSUBOBJECT = messages_save_balsubobject i_identification = messages_identification IMPORTING E_LOG_HANDLE = ls_message-log_handle EXCEPTIONS NO_MESSAGES = 1 OTHERS = 6 .

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 1 E_MESSAGE = 2 I_MESSAGE = 3 W_MESSAGE = 4 OTHERS = 5.

JV_MESSAGE_GET_HANDLE CALL FUNCTION 'JV_MESSAGE_GET_HANDLE' IMPORTING E_LOG_HANDLE = ls_message-log_handle.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = gs_key LS_MESSAGE = ls_message * LD_OBJECTS = * LS_EXT = * LS_RL = LS_SCMA_EVENT = ls_scma_event changing ld_aplstat = ld_aplstat.

G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING VARIANT = l_PERIV year = l_post_year IMPORTING LAST_NORMAL_PERIOD = l_LAST_PERIOD TABLES I_PERIODS = I_PERIODS EXCEPTIONS others = 1.

G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING VARIANT = l_PERIV year = l_post_year IMPORTING LAST_NORMAL_PERIOD = l_LAST_PERIOD TABLES I_PERIODS = I_PERIODS EXCEPTIONS others = 1.

JV_AUTHORITY_CHECK_PROCESS CALL FUNCTION 'JV_AUTHORITY_CHECK_PROCESS' EXPORTING PROCESS_CODE = 'BILLING1' ACTIVITY = '16' BUKRS = P_BUKRS.

JV_AUTHORITY_CHECK_PROCESS CALL FUNCTION 'JV_AUTHORITY_CHECK_PROCESS' EXPORTING PROCESS_CODE = 'BILLING1' ACTIVITY = '48' BUKRS = P_BUKRS.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail LS_WITEM = ls_witem IMPORTING LS_KEY = gs_key TABLES LT_SELKRIT = lt_selkrit.

JV_PREPARE_SELECT_OPTIONS CALL FUNCTION 'JV_PREPARE_SELECT_OPTIONS' EXPORTING bukrs = p_bukrs sel_partn = l_sel_part sel_vname = l_sel_vname IMPORTING bill_level = bill_level partlist = i_part ventlist = i_vname bilist = i_bi thresholdlist = i_thresh EXCEPTIONS NO_COMPANY_CODE = 1 NO_BILLING_STRUCTURE = 2 NO_VENTURE_ALLOWED = 3 OTHERS = 4.

JV_GET_BILLING_THRESHOLD CALL FUNCTION 'JV_GET_BILLING_THRESHOLD' EXPORTING bukrs = p_bukrs bill_level = bill_level partlist = i_part ventlist = i_vname CHANGING thresholdlist = i_thresh.

JV_GET_CURRENT_BILLING_AMOUNT CALL FUNCTION 'JV_GET_CURRENT_BILLING_AMOUNT' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year bill_level = bill_level bilist = i_bi CHANGING THRESHOLDLIST = I_TEMP_THRESH.

JV_GET_CURRENT_BILLING_AMOUNT CALL FUNCTION 'JV_GET_CURRENT_BILLING_AMOUNT' EXPORTING BUKRS = P_BUKRS FPER = P_PERIOD FYEAR = P_YEAR BILL_LEVEL = BILL_LEVEL BILIST = I_BI CHANGING THRESHOLDLIST = I_THRESH.

JV_GET_BILLING_HISTORY CALL FUNCTION 'JV_GET_BILLING_HISTORY' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year CHANGING thresholdlist = i_thresh.






JV_GET_OLD_BILLING_AMOUNT CALL FUNCTION 'JV_GET_OLD_BILLING_AMOUNT' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year bill_level = bill_level bilist = i_bi CHANGING thresholdlist = i_thresh.

JV_GET_DOCUMENTS_FOR_HOLD CALL FUNCTION 'JV_GET_DOCUMENTS_FOR_HOLD' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year bill_level = bill_level importing jvso2_process = jvso2_process jvso2_done = jvso2_done jvso2_outside = jvso2_outside changing thresholdlist = i_thresh.

JV_PREPARE_FI_POSTING_TO_HOLD CALL FUNCTION 'JV_PREPARE_FI_POSTING_TO_HOLD' EXPORTING bukrs = p_bukrs budat = p_budat CHANGING jvso2_process = jvso2_process EXCEPTIONS NO_POSTING_RULE = 1 NO_POSTING_RULE_DETAIL = 2 OTHERS = 3.

JV_PREPARE_THRESH_UPDATE_HOLD CALL FUNCTION 'JV_PREPARE_THRESH_UPDATE_HOLD' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year thresholdlist = i_thresh.

JV_PREPARE_THRESH_UPDATE_REL CALL FUNCTION 'JV_PREPARE_THRESH_UPDATE_REL' EXPORTING bukrs = p_bukrs fper = p_period fyear = p_year thresholdlist = i_thresh.

JV_COLLECT_MESSAGE CALL FUNCTION 'JV_COLLECT_MESSAGE' EXPORTING MSGID = CLASS MSGNO = NUMBER STATUS = TYPE VAR1 = VAR1 VAR2 = VAR2 VAR3 = VAR3 VAR4 = VAR4 IMPORTING MAX_SEVERITY = WS_MAX_ERROR.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = I_INTERNAL_TABNAME = 'T8JBI_TH_S' I_STRUCTURE_NAME = 'T8JBI_TH_S' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = CHANGING CT_FIELDCAT = IT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING MODE = 'CURRENT' NO_DIALOG = 'X' LIST_TEXT = LS_COVER_TEXT IMPORTING OUT_ARCHIVE_PARAMETERS = ARCH_PARAMS OUT_PARAMETERS = PRI_PARAMS VALID = VALID EXCEPTIONS OTHERS = 4.



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