SAP Reports / Programs

RFVDSTDA SAP ABAP Report - Report for Loans Master Data







RFVDSTDA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..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 RFVDSTDA 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

FNSB - Master data summary


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 RFVDSTDA. "Basic submit
SUBMIT RFVDSTDA AND RETURN. "Return to original report after report execution complete
SUBMIT RFVDSTDA 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: GRU = Display Basic Data
Selection Text: GSART = Product Type
Selection Text: KON = Display Conditions
Selection Text: MEL = Display Regulatory Reporting
Selection Text: NTZ = Display Notes
Selection Text: OBJ = Display Objects/Encumbrances
Selection Text: PARTNER = Partner Data
Selection Text: P_ZUSATZ = with
Selection Text: SANLF = Product Category
Selection Text: SIC = Display Collateral
Selection Text: SO_BUKRS = Company Code
Selection Text: SO_DBEAR = Changed On
Selection Text: SO_DERF = Entered On
Selection Text: SO_RANL = Contract Number
Selection Text: SO_RANLA = Alternative Number 1
Selection Text: BEN = Display User Data
Selection Text: ALL = Suppress blank entries?
Title: Report for Loans Master Data
Text Symbol: 006 = Valid values are:
Text Symbol: 005 = This could be because the product category does not exist
Text Symbol: 004 = No loans matching the selection parameters were found
Text Symbol: 003 = Addit. Data
Text Symbol: 002 = w/
Text Symbol: 001 = Partner Data
Text Symbol: 016 = Time:
Text Symbol: 031 = Object No.:
Text Symbol: 030 = Date:
Text Symbol: 029 = Control:
Text Symbol: 028 = Entry Data:
Text Symbol: 027 = Condition Header
Text Symbol: 026 = Collateral No.
Text Symbol: 025 = Condition Items
Text Symbol: 024 = P E R S O N A L D A T A
Text Symbol: 023 = U S E R D A T A
Text Symbol: 022 = M E M O S
Text Symbol: 021 = O B J E C T D A T A
Text Symbol: 020 = C O N D I T I O N S
Text Symbol: 019 = C O L L A T E R A L





Text Symbol: 018 = R E G U L A T O R Y R E P O R T I N G
Text Symbol: 017 = B A S I C D A T A
Text Symbol: 032 = Encumbrances for Object No.:
Text Symbol: 033 = Memos for Object:
Text Symbol: 034 = No memo found
Text Symbol: 035 = Initiator:
Text Symbol: 036 = Entry Date From:
Text Symbol: 037 = Change Date From:
Text Symbol: 038 = * > Text field not maintained
Text Symbol: 039 = Fixed:
Text Symbol: 040 = Variable:
Text Symbol: 100 = Y
Text Symbol: 101 = N
Text Symbol: 102 = Incl.
Text Symbol: 103 = Excl.
Text Symbol: 015 = Master Data From:
Text Symbol: 014 = Product Type :
Text Symbol: 013 = Product Category :
Text Symbol: 012 = To:
Text Symbol: 011 = Alternative Number From:
Text Symbol: 010 = Loan Number From :
Text Symbol: 009 = Company Codes From :
Text Symbol: 008 = Selection Parameters:
Text Symbol: 007 = Printout of the summarized master data for loan


INCLUDES used within this REPORT RFVDSTDA

INCLUDE VDCONST0.


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:

LOAD_GUARANTEE_PRINTFORM CALL FUNCTION 'LOAD_GUARANTEE_PRINTFORM' EXPORTING bukrs = vdarl-bukrs f_ssichart = vdarlsic-ssichart vertrag = vdarl-ranl TABLES i_rvdsich = sicher.

LOAN_GUARANT_GET_NEW CALL FUNCTION 'LOAN_GUARANT_GET_NEW' EXPORTING fb_bukrs = vdarl-bukrs fb_vertrag = vdarl-ranl TABLES fb_vdarlsic = sich2.

LOAN_GUARANT_GRPF_GET * CALL FUNCTION 'LOAN_GUARANT_GRPF_GET' * TABLES * FB_VDARLSIC = SICH2 * FB_VDHGRPF = PFAND.

FVZR_LOAD_KOKOS CALL FUNCTION 'FVZR_LOAD_KOKOS' EXPORTING FLG_AKTUELL = 'X' I_BUKRS = BUKRS I_RKEY1 = RANL I_SANLF = SANLF I_SKOKOART = KOKOART TABLES XVZZKOKO = I_VZZKOKO EXCEPTIONS NOT_FOUND = 1 NO_HISTORY = 2 OTHERS = 3.

FVZK_LOAD_VZZKOPO CALL FUNCTION 'FVZK_LOAD_VZZKOPO' EXPORTING * DEFAULT_VALUES = ' ' * DGUEL_KP = ' ' FLG_KOPA_READ = ' ' GET_EMPTY = ' ' GSART = GSART INIT_TABLES = 'X' KOKO_KEY = KOKOKEY TABLES IVZZKOPO = I_VZZKOPO EXCEPTIONS GROUP_NOT_FOUND = 1 KONDITION_NOT_FOUND = 2 SBEWZITI_DIFFERENT = 3 SKOART_NOT_FOUND = 4 TEXT_NOT_FOUND = 5 OTHERS = 6.

GET_DOMAENENTEXT CALL FUNCTION 'GET_DOMAENENTEXT' EXPORTING dname = dname dvalue = dvalue IMPORTING dtext = dtext EXCEPTIONS no_domain_found = 01.






SELECT_VDZSB_EMPLOYEE CALL FUNCTION 'SELECT_VDZSB_EMPLOYEE' EXPORTING i_bukrs = vdarl-bukrs i_mode = 'S' i_object = vdarl-sobjekt i_process = tdp6-styp TABLES e_vdzsb = e_vdzsb EXCEPTIONS error_in_parameters = 1 clerk_not_defined = 2 OTHERS = 3.

SELECT_PARTNER_EMPLOYEE CALL FUNCTION 'SELECT_PARTNER_EMPLOYEE' EXPORTING * I_BNAME = ' ' i_bukrs = vdarl-bukrs * I_DATE = SY-DATUM i_mode = 'S' i_ranl = vdarl-ranl i_roletyp = tdp6-roletyp IMPORTING e_partbname = namen EXCEPTIONS error_in_parameters = 1 error_in_partner_select = 2 no_bname = 3 OTHERS = 4.

LOAN_GUARANT_GET_NEW CALL FUNCTION 'LOAN_GUARANT_GET_NEW' EXPORTING fb_bukrs = vdarl-bukrs fb_vertrag = vdarl-ranl TABLES fb_vdarlsic = sich2.

LOAN_GUARANT_GRPF_GET CALL FUNCTION 'LOAN_GUARANT_GRPF_GET' TABLES fb_vdarlsic = sich2 fb_vdhgrpf = pfand.

LOAD_VDARLOBJ CALL FUNCTION 'LOAD_VDARLOBJ' EXPORTING i_bukrs = vdarl-bukrs i_ranl = vdarl-ranl TABLES ivdarlobj = darl_obj.

OBJECT_GET_ALL CALL FUNCTION 'OBJECT_GET_ALL' TABLES fb_rvdhobj = uebersicht fb_vdarlobj = darl_obj fb_vdhobj = objekte fb_vigba3 = grundbuch.

BPAR_R_ADDRESS_REFERENCES CALL FUNCTION 'BPAR_R_ADDRESS_REFERENCES' EXPORTING partner = uebersicht-gbpartnr TABLES t_bpdadref = tadrtyp EXCEPTIONS OTHERS = 1.

BPAR_R_X_ADDRESS_REFERENCE CALL FUNCTION 'BPAR_R_X_ADDRESS_REFERENCE' EXPORTING langu = sy-langu adr_ref_in = tadrtyp-adr_ref_k IMPORTING adr_ref_out = tp14t EXCEPTIONS error_adr_ref = 1 OTHERS = 2.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING * ADDRESS_INTO_MEMORY = ' ' adr_ref = tadrtyp-adr_ref_k * COMPANYCODE = ' ' * COUNT_LINES = 5 * DATE = SY-DATUM * NO_ADDRESS = ' ' partner = uebersicht-gbpartnr * ROLE = ' ' IMPORTING address = adresse * partner_entry = * partner_adref = EXCEPTIONS address = 1 partner = 2 OTHERS = 3.

PARTNER_IN_PRINTFORM * CALL FUNCTION 'PARTNER_IN_PRINTFORM' * EXPORTING * ADRTYP = TADRTYP-ADRTYP * DATE_IN = SY-DATUM * NO_ADDRESS = ' ' * PARTNR = uebersicht-GBPARTNR * IMPORTING * ANSCHWA_OUT = ADRESSE ** FLG_OUT = ** NAME_OUT = * EXCEPTIONS * ADDRESS_NOT_FOUND = 01 * ILLEGAL_ADRTYP = 02 * PARTNER_NOT_FOUND = 03.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = 'NOTZ' language = sy-langu name = key_notiz object = 'R3VV' IMPORTING header = kopf TABLES lines = zeilen EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = 'NOTZ' language = sy-langu name = key_notiz object = 'R3VV' IMPORTING header = kopf TABLES lines = zeilen EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = tab fieldname = name langu = sy-langu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = i_dfies TABLES dfies_tab = i_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = tab fieldname = name langu = sy-langu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = TABLES dfies_tab = i_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = tab fieldname = name langu = sy-langu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = TABLES dfies_tab = i_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

PARTNER_IN_PRINTFORM * CALL FUNCTION 'PARTNER_IN_PRINTFORM' * EXPORTING * ADRTYP = TADRTYP-ADRTYP * DATE_IN = SY-DATUM * NO_ADDRESS = ' ' * PARTNR = SPRT1-PARTNR * IMPORTING * ANSCHWA_OUT = ADRESSE * EXCEPTIONS * ADDRESS_NOT_FOUND = 01 * ILLEGAL_ADRTYP = 02 * PARTNER_NOT_FOUND = 03.

PARTNER_IN_PRINTFORM * CALL FUNCTION 'PARTNER_IN_PRINTFORM' * EXPORTING * ADRTYP = ' ' * DATE_IN = SY-DATUM * NO_ADDRESS = ' ' * PARTNR = VZPARZA-SFINAMT * IMPORTING * ANSCHWA_OUT = ADRESSE * EXCEPTIONS * ADDRESS_NOT_FOUND = 01 * ILLEGAL_ADRTYP = 02 * PARTNER_NOT_FOUND = 03.

BPAR_R_PARTNER_CHECK CALL FUNCTION 'BPAR_R_PARTNER_CHECK' EXPORTING partner = tpartner-partnr * RELEASE = ' ' IMPORTING bp000_entry = bp000 EXCEPTIONS partner = 1 partner_not_released = 2 OTHERS = 3.

BPAR_R_ADDRESS_REFERENCES CALL FUNCTION 'BPAR_R_ADDRESS_REFERENCES' EXPORTING partner = bp000-partnr TABLES t_bpdadref = tadrtyp EXCEPTIONS OTHERS = 1.

BPAR_R_X_ADDRESS_REFERENCE



CALL FUNCTION 'BPAR_R_X_ADDRESS_REFERENCE' EXPORTING langu = sy-langu adr_ref_in = tadrtyp-adr_ref_k IMPORTING adr_ref_out = tp14t EXCEPTIONS error_adr_ref = 1 OTHERS = 2.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING * ADDRESS_INTO_MEMORY = ' ' adr_ref = tadrtyp-adr_ref_k * COMPANYCODE = ' ' * COUNT_LINES = 5 date = sy-datum * NO_ADDRESS = ' ' partner = bp000-partnr * ROLE = ' ' IMPORTING address = adresse * partner_entry = * partner_adref = EXCEPTIONS address = 1 partner = 2 OTHERS = 3.

BPAR_R_X_ROLETYP CALL FUNCTION 'BPAR_R_X_ROLETYP' EXPORTING * LANGU = SY-LANGU roletyp_in = tpartner-role IMPORTING roletyp_out = tpz3t EXCEPTIONS error_roletyp = 1 OTHERS = 2.

BPAR_R_X_ROLE CALL FUNCTION 'BPAR_R_X_ROLE' EXPORTING langu = sy-langu role_in = tpartner-role IMPORTING role_out = tpz6t EXCEPTIONS error_role = 1 OTHERS = 2.

BPAR_R_X_TITLE CALL FUNCTION 'BPAR_R_X_TITLE' EXPORTING langu = sy-langu title_in = bp000-title IMPORTING title_out = tp01t EXCEPTIONS error_title = 1 OTHERS = 2.

BPAR_R_X_GROUP_ID CALL FUNCTION 'BPAR_R_X_GROUP_ID' EXPORTING langu = sy-langu group_in = bp000-group_d IMPORTING group_out = tp13t EXCEPTIONS error_group = 1 OTHERS = 2.

BPAR_R_CREDITWORTHINESS CALL FUNCTION 'BPAR_R_CREDITWORTHINESS' EXPORTING credit_in = bpdboni "ALRK032648 * credit_in = bpdboni-partnr "ALRK032648 IMPORTING credit_out = bpdboni EXCEPTIONS credit_not_found = 1 OTHERS = 2.

BPAR_R_X_SOLVENCY_INSTITUT CALL FUNCTION 'BPAR_R_X_SOLVENCY_INSTITUT' EXPORTING langu = sy-langu sol_ins_in = bpdboni-sol_ins IMPORTING sol_ins_out = tp07t EXCEPTIONS error_sol_ins = 1 OTHERS = 2.

BPAR_R_REPORTING_DATA CALL FUNCTION 'BPAR_R_REPORTING_DATA' EXPORTING reporting_in = bpdmeld IMPORTING reporting_out = bpdmeld EXCEPTIONS rep_not_found = 1 OTHERS = 2.

BPAR_R_X_KWG_ORGANKREDIT CALL FUNCTION 'BPAR_R_X_KWG_ORGANKREDIT' EXPORTING langu = sy-langu kwg_org_in = bpdmeld-kwg_org IMPORTING kwg_org_out = tp10t EXCEPTIONS error_kwg_org = 1 OTHERS = 2.

BPAR_R_ADD_DATA CALL FUNCTION 'BPAR_R_ADD_DATA' EXPORTING add_data_in = bpdadd IMPORTING add_data_out = bpdadd EXCEPTIONS not_found = 1 OTHERS = 2.

BPAR_R_X_VIP CALL FUNCTION 'BPAR_R_X_VIP' EXPORTING langu = sy-langu vip_in = bp000-vip IMPORTING vip_out = tvipt EXCEPTIONS error_vip = 1 OTHERS = 2.

BPAR_R_TAX_DATA CALL FUNCTION 'BPAR_R_TAX_DATA' EXPORTING tax_in = bpdtax IMPORTING tax_out = bpdtax EXCEPTIONS tax_not_found = 1 OTHERS = 2.

BPAR_R_X_KWG_CREDITABILITY CALL FUNCTION 'BPAR_R_X_KWG_CREDITABILITY' EXPORTING langu = sy-langu kwg_cre_in = bpdmeld-kwg_cre IMPORTING kwg_cre_out = tp12t EXCEPTIONS error_kwg_cre = 1 OTHERS = 2.

BPAR_R_ACCOUNT_CONTROLL CALL FUNCTION 'BPAR_R_ACCOUNT_CONTROLL' EXPORTING account_in = bpdcon1 IMPORTING account_out = bpdcon1 EXCEPTIONS account_not_found = 1 OTHERS = 2.

BPAR_R_CONTROLL_DATA CALL FUNCTION 'BPAR_R_CONTROLL_DATA' EXPORTING bpdcon3_in = bpdcon3 IMPORTING bpdcon3_out = bpdcon3 EXCEPTIONS controll_not_found = 1 OTHERS = 2.

BPAR_R_PERSON_OCCUPATION CALL FUNCTION 'BPAR_R_PERSON_OCCUPATION' EXPORTING partner = bp000-partnr * importing * e_bp000 = TABLES e_bp011 = i_bp011 EXCEPTIONS partner = 1 OTHERS = 2.

BPAR_R_X_EMPLOYMENT CALL FUNCTION 'BPAR_R_X_EMPLOYMENT' EXPORTING employment_in = i_bp011-employment langu = sy-langu IMPORTING employment_out = tp11t EXCEPTIONS error_employment = 1 OTHERS = 2.

BPAR_R_X_MARITAL_STATE CALL FUNCTION 'BPAR_R_X_MARITAL_STATE' EXPORTING langu = sy-langu marital_in = bp000-marital_st IMPORTING marital_out = tp03t EXCEPTIONS error_marital = 1 OTHERS = 2.

BPAR_R_X_PROPRTY_STATE CALL FUNCTION 'BPAR_R_X_PROPRTY_STATE' EXPORTING langu = sy-langu proprty_in = bp000-proprty_st IMPORTING proprty_out = tp04t EXCEPTIONS error_proprty = 1 OTHERS = 2.

BPAR_R_X_LEGAL_ENTITY CALL FUNCTION 'BPAR_R_X_LEGAL_ENTITY' EXPORTING * LANGU = SY-LANGU legal_enty_in = bp000-legal_enty IMPORTING legal_enty_out = tp08t EXCEPTIONS error_legal_enty = 1 OTHERS = 2.

BPAR_R_X_LEGAL_ORG CALL FUNCTION 'BPAR_R_X_LEGAL_ORG' EXPORTING * LANGU = SY-LANGU legal_org_in = bp000-legal_org IMPORTING legal_org_out = tp09t EXCEPTIONS error_legal_org = 1 OTHERS = 2.

BPAR_R_ACCOUNT_CONTROLL CALL FUNCTION 'BPAR_R_ACCOUNT_CONTROLL' EXPORTING account_in = bpdcon1 IMPORTING account_out = bpdcon1 EXCEPTIONS account_not_found = 1 OTHERS = 2.

BPAR_R_REPORTING_DATA CALL FUNCTION 'BPAR_R_REPORTING_DATA' EXPORTING reporting_in = bpdmeld IMPORTING reporting_out = bpdmeld EXCEPTIONS rep_not_found = 1 OTHERS = 2.

BPAR_R_CREDITWORTHINESS CALL FUNCTION 'BPAR_R_CREDITWORTHINESS' EXPORTING credit_in = bpdboni IMPORTING credit_out = bpdboni EXCEPTIONS credit_not_found = 1 OTHERS = 2.

BPAR_R_X_RATING CALL FUNCTION 'BPAR_R_X_RATING' EXPORTING * LANGU = SY-LANGU rating_in = bpdboni-rating IMPORTING rating_out = tp06t EXCEPTIONS error_rating = 1 OTHERS = 2.

BPAR_R_ORG_BUSINESS_YEAR CALL FUNCTION 'BPAR_R_ORG_BUSINESS_YEAR' EXPORTING partner = bp000-partnr * importing * e_bp000 = TABLES e_bp021 = i_bp021 EXCEPTIONS partner = 1 no_org_data = 2 OTHERS = 3.



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