RGJVBASW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Joint venture expenditures can be funded from dedicated venture bank accounts (VBAs)...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 RGJVBASW into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GJ20 - Venture Bank Account Switching
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.
Selection Text: P_BKTXT = Document text
Selection Text: P_BRNCH = Letter for each branch
Selection Text: P_BUKRS = Company code
Selection Text: P_COBJ = Cost object analysis
Selection Text: P_DOCRPT = Generate Additional Report
Selection Text: P_EFFDAT = Effective date
Selection Text: P_ELDAYS = Elapsed days analysis
Selection Text: P_EQGRP = Post using equity group
Selection Text: P_INTRST = Calculate interest due
Selection Text: P_NET2 = Two-way netting
Selection Text: P_NETTNG = Perform net calculation
Selection Text: P_OVERRD = Override event check (re-run)
Selection Text: P_POSTDT = Posting date
Selection Text: P_POSTPR = Posting period
Selection Text: P_SELPER = Selection Period
Selection Text: P_SELYR = Selection year
Selection Text: P_SWLET = Create switch letters
Selection Text: P_SWNET = Net amounts in switch letters
Selection Text: P_T8JVBA = Read data from VBA table
Selection Text: P_TEST = Test run
Selection Text: P_VALUDT = Post using value date
Selection Text: P_VENT = Post using ventures
Selection Text: S_CPUDT = System date
Selection Text: S_DOCNR = Reference Document number
Selection Text: S_DOCTY = Document type
Selection Text: S_JVDOC = JV Document number
Title: JV Bank Account Switches
Text Symbol: 125 = To Activity
Text Symbol: 124 = To Counter
Text Symbol: 123 = From Activity
Text Symbol: 122 = From Counter
Text Symbol: 121 = To AUFPL
Text Symbol: 120 = From AUFPL
Text Symbol: 119 = Int Local Crcy2
Text Symbol: 118 = Int Trans Crcy2
Text Symbol: 117 = Int Local Crcy1
Text Symbol: 116 = Int Trans Crcy1
Text Symbol: 115 = Line Item
INCLUDE RGJVBASS. "ALL SELECTION SCREEN COMPONENTS ARE IN HERE.
INCLUDE GJV_SCHEDMAN_DATA_DEFINITION .
No SAP DATABASE tables are accessed within this REPORT code!
CHECK_ERP_JVA_LIST CALL FUNCTION 'CHECK_ERP_JVA_LIST' IMPORTING EV_CHECK_SWITCH_FLAG = LV_SWITCH_FLAG EXCEPTIONS INVALID_SWITCH = 1 OTHERS = 2 .
JV_INITIALISE_MESSAGE call function 'JV_INITIALISE_MESSAGE' exporting no_co = 'X'.
JV_WRITE_MESSAGE call function 'JV_WRITE_MESSAGE' exporting sort_order = 1.
JV_AUTHORITY_CHECK_PROCESS call function 'JV_AUTHORITY_CHECK_PROCESS' exporting process_code = bankaccnt activity = act_simulate bukrs = p_bukrs.
JV_AUTHORITY_CHECK_PROCESS call function 'JV_AUTHORITY_CHECK_PROCESS' exporting process_code = bankaccnt activity = act_execute bukrs = p_bukrs.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'Information ' TEXT_QUESTION = 'Selection year is in past. Continue?'
G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING VARIANT = fiscal_year_variant year = p_selyr IMPORTING LAST_NORMAL_PERIOD = LAST_PERIOD TABLES I_PERIODS = I_PERIODS EXCEPTIONS VARIANT_NOT_DEFINED = 01 YEAR_NOT_DEFINED = 02.
POSTING_INTERFACE_END call function 'POSTING_INTERFACE_END' exceptions session_not_processable = 01.
UPDATE_T8JVBA call function 'UPDATE_T8JVBA' in update task tables int_t8jvba = int_mod_t8jvba.
DELETE_T8JVBA * CALL FUNCTION 'DELETE_T8JVBA' IN UPDATE TASK "HSU * TABLES * INT_T8JVBA = INT_UPD_T8JVBA.
POSTING_INTERFACE_END call function 'POSTING_INTERFACE_END' EXCEPTIONS session_not_processable = 01.
UPDATE_T8JVBA call function 'UPDATE_T8JVBA' in update task TABLES int_t8jvba = int_mod_t8jvba.
DELETE_T8JVBA * CALL FUNCTION 'DELETE_T8JVBA' IN UPDATE TASK "HSU * TABLES * INT_T8JVBA = INT_UPD_T8JVBA.
POSTING_INTERFACE_START call function 'POSTING_INTERFACE_START' exporting i_client = sy-mandt i_function = 'B' i_group = session_name i_keep = space i_user = sy-uname exceptions client_incorrect = 01 function_invalid = 02 group_name_missing = 03 mode_invalid = 04 update_invalid = 05.
POSTING_INTERFACE_DOCUMENT call function 'POSTING_INTERFACE_DOCUMENT' exporting i_tcode = w_tcode * I_NO_AUTH = 'X' "503089 "504074 tables t_blntab = xblntab t_ftpost = xftpost t_fttax = xfttax exceptions account_missing = 01 company_code_missing = 02 posting_key_invalid = 03 posting_key_missing = 04 record_type_invalid = 05 transaction_code_invalid = 06.
AC_DOCUMENT_DIRECT_INPUT call function 'AC_DOCUMENT_DIRECT_INPUT' importing e_bukrs = l_direct-bukrs e_gjahr = l_direct-gjahr e_belnr = l_direct-belnr tables t_bbkpf = t_bbkpf t_bbseg = t_bbseg t_bbtax = t_bbtax exceptions error_message = 1 others = 2.
CJPN_INTERN_TO_EXTERN_CONV call function 'CJPN_INTERN_TO_EXTERN_CONV' exporting edit_imp = ' ' int_num = l_project_no importing ext_num = external_project_num exceptions others = 1.
JV_COLLECT_MESSAGE call function 'JV_COLLECT_MESSAGE' exporting msgid = 'GJ' msgno = '155' status = 'E' var1 = l_field var2 = l_value importing max_severity = maxsev.
JV_COLLECT_MESSAGE call function 'JV_COLLECT_MESSAGE' exporting msgid = 'GJ' msgno = '155' status = 'E' var1 = l_field var2 = l_value importing max_severity = maxsev.
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING I_NAME = lv_fname IMPORTING E_FUNCNAME = lv_fm_name E_INTERFACE_TYPE = lv_interface_type.
OPEN_FORM call function 'OPEN_FORM' exporting application = 'TX' device = p_device DIALOG = ' ' form = lettertab-form.
START_FORM call function 'START_FORM' exporting form = lettertab-form startpage = first language = sy-langu.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_intro function = appnd.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_tobrn function = appnd.
START_FORM call function 'START_FORM' exporting form = lettertab-form startpage = first language = sy-langu.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_intro function = appnd.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_from function = appnd.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_trans function = appnd.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_summary function = appnd.
END_FORM call function 'END_FORM'.
WRITE_FORM call function 'WRITE_FORM' exporting window = main element = form_summary function = appnd.
END_FORM call function 'END_FORM'.
CLOSE_FORM call function 'CLOSE_FORM'.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = lv_fp_outputparams EXCEPTIONS CANCEL = 1 USAGE_ERROR = 2 SYSTEM_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4 .
JV_WRITE_MESSAGE call function 'JV_WRITE_MESSAGE' exporting sort_order = 1.
JV_WRITE_MESSAGE call function 'JV_WRITE_MESSAGE' EXPORTING sort_order = 1.
JV_COLLECT_MESSAGE call function 'JV_COLLECT_MESSAGE' exporting msgid = message_class msgno = message_number status = message_type var1 = var1 var2 = var2 var3 = var3 var4 = var4 importing max_severity = maxsev.
HEADER call function 'HEADER' exporting i_report_num = audit_rpt_num i_report_title = text-041 i_title_length = audit_rpt_ttl_len.
HEADER call function 'HEADER' exporting i_report_num = main_rpt_num i_report_title = text-031 i_title_length = main_rpt_ttl_len.
HEADER call function 'HEADER' exporting i_report_num = stat_rpt_num i_report_title = text-032 i_title_length = stat_rpt_ttl_len.
HEADER call function 'HEADER' exporting i_report_num = err_rpt_num i_report_title = text-033 i_title_length = err_rpt_ttl_len.
HEADER call function 'HEADER' exporting i_report_num = doc_rpt_num i_report_title = text-045 i_title_length = doc_rpt_ttl_len.
GET_RULE_AND_DETAIL call function 'GET_RULE_AND_DETAIL' exporting i_jvfunc = 'BNKS' i_company = p_bukrs i_billing_method = ' ' i_itemtype = 'XX' i_recid = ' ' importing e_record_t8j0f = l_st_t8j0f e_record_t8j0g = l_st_t8j0g exceptions inv_function = 1 inv_billmeth = 2 no_posting_rule = 3 no_rule_detail = 4.
JV_GET_EQUITY_GROUP_DATES call function 'JV_GET_EQUITY_GROUP_DATES' exporting company = p_bukrs equity_group = equity_group last_date = p_postdt venture = venture importing valid_from_date = from_dat valid_to_date = to_dat exceptions dates_not_same = 1 group_not_found = 2 no_date_passed = 3.
JV_AND_FI_CURRENCIES call function 'JV_AND_FI_CURRENCIES' exporting bukrs = p_bukrs importing hwae2 = curr2 hwae3 = curr3 ldnrh2 = curr2_ledger ldnrh3 = curr3_ledger ldnrf2 = curr2_field ldnrf3 = curr3_field.
KPEP_MONI_INIT_RECORD call function 'KPEP_MONI_INIT_RECORD' exporting ls_detail = ls_detail * ls_witem = ls_witem ls_appl = ls_appl_jv * ld_worklist_flag = ld_worklist_flag importing ls_key = gs_key tables lt_selkrit = lt_selkrit.
JV_INITIALISE_MESSAGE call function 'JV_INITIALISE_MESSAGE' exporting no_co = 'X'.
MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE' importing e_identification = messages_identification.
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 = 5 not_active = 4 program_error = 3 save_not_allowed = 2 wrong_identification = 1.
MESSAGES_STOP call function 'MESSAGES_STOP' exceptions a_message = 4 e_message = 3 w_message = 2 i_message = 1.
MESSAGES_SHOW call function 'MESSAGES_SHOW' exporting object = 'JV_SCMA_test' "<< header text popup show_linno = ' ' exceptions inconsistent_range = 2 no_messages = 4.
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 = * TABLES * LT_SPOOL = changing ld_aplstat = ld_aplstat exceptions no_id_given = 1 others = 2.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = lt_line.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid * i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts2 is_print = ls_prnt tables t_outtab = summary_list_2 exceptions program_error = 1 others = 2.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid * i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts3 * is_print = ls_prnt tables t_outtab = t8jvba_list exceptions program_error = 1 others = 2.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid * i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts4 * is_print = ls_prnt tables t_outtab = posting_list exceptions program_error = 1 others = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'HANDLE_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts1 i_tabname_header = '2M' i_tabname_item = '2S' is_keyinfo = ls_key is_print = ls_prnt
tables t_outtab_header = gt_master1 t_outtab_item = gt_slave1 exceptions program_error = 1 others = 2.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = gt_master-NPLNR_FR IMPORTING OUTPUT = gt_master-NPLNR_FR .
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = gt_master-NPLNR_TO IMPORTING OUTPUT = gt_master-NPLNR_TO .
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = gt_slave-REFDOCLN IMPORTING OUTPUT = gt_slave1-REFDOCLN .
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = gt_slave-DOCLN IMPORTING OUTPUT = gt_slave1-DOCLN .
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'BASW_SWITCHING_LIST1' * just = 'C' changing ct_fieldcat = lt_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'BASW_SUMMARY_LIST1' changing ct_fieldcat = lt_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'BASW_SUMMARY_LIST_2' changing ct_fieldcat = ct_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'BASW_T8JVBA_LIST' changing ct_fieldcat = ct_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'BASW_POSTING_LIST' changing ct_fieldcat = ct_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
IS_SUBMIT_TO_SPOOL CALL FUNCTION 'IS_SUBMIT_TO_SPOOL' IMPORTING FLAG = print_status .
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 RGJVBASW or its description.
RGJVBASW - JV Bank Account Switches RGJVBASW - JV Bank Account Switches RGJVBAST - Global data declaration for Bank Switching RGJVBASS - Selection Screen section of Bank Switching RGJVATI1 - Include with Table UMS40 Structure for Converting Documents RGJVATAX - Advance Return for Tax on Sales/Purchases