SAP RE_PRINT_LTTR_FOR_OBJ_CORRAPPL Function Module for
RE_PRINT_LTTR_FOR_OBJ_CORRAPPL is a standard re print lttr for obj corrappl SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for re print lttr for obj corrappl FM, simply by entering the name RE_PRINT_LTTR_FOR_OBJ_CORRAPPL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVKD
Program Name: SAPLFVKD
Main Program: SAPLFVKD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RE_PRINT_LTTR_FOR_OBJ_CORRAPPL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RE_PRINT_LTTR_FOR_OBJ_CORRAPPL'".
EXPORTING
I_INTRENO = "
* I_RC_RNT_ADJ_DUNN = "
* I_RC_COLLATERAL = "
I_KORRBER = "
* I_KORRVORF = ' ' "
I_VIPRINTFROMOBJ1 = "
IMPORTING
E_FLG_PROG_END = "
TABLES
* T_I_RSOXIDENT = "
* T_I_RSOSANPNR = "
* T_I_RSOVVNDOCCNT = "
T_C_ERRORS = "
EXCEPTIONS
OBJECT_KEY_FAILURE = 1 NO_SALES_SETTLEMENT_FOR_RC = 10 NO_RU_INSPECT_LETTER_FOR_RC = 11 CORR_ACTIVITY_DEF_FAILURE = 2 PRINTING_CANCELED = 3 PRINTING_FAILURE = 4 TENANCY_LAW_NOT_UNIQUE = 5 NO_NOTICE_FOR_RENTAL_CONTRACT = 6 NO_INSPECTION_OF_RU_FOR_RC = 7 CORRACT_CORRAPPL_NOT_ASSIGNED = 8 NO_COLLATERAL_FOR_RC = 9
IMPORTING Parameters details for RE_PRINT_LTTR_FOR_OBJ_CORRAPPL
I_INTRENO -
Data type: VIMIMV-INTRENOOptional: No
Call by Reference: No ( called with pass by value option)
I_RC_RNT_ADJ_DUNN -
Data type: VIMI16Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RC_COLLATERAL -
Data type: VIMI32Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KORRBER -
Data type: TIVA7-KORRBEROptional: No
Call by Reference: No ( called with pass by value option)
I_KORRVORF -
Data type: TZKV-KORRVORFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VIPRINTFROMOBJ1 -
Data type: VIPRINTFROMOBJ1Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RE_PRINT_LTTR_FOR_OBJ_CORRAPPL
E_FLG_PROG_END -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RE_PRINT_LTTR_FOR_OBJ_CORRAPPL
T_I_RSOXIDENT -
Data type: RSOXIDENTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_I_RSOSANPNR -
Data type: RSOSANPNROptional: Yes
Call by Reference: No ( called with pass by value option)
T_I_RSOVVNDOCCNT -
Data type: RSOVVNDOCCNTOptional: Yes
Call by Reference: No ( called with pass by value option)
T_C_ERRORS -
Data type: SPROT_UOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OBJECT_KEY_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SALES_SETTLEMENT_FOR_RC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_RU_INSPECT_LETTER_FOR_RC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CORR_ACTIVITY_DEF_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PRINTING_CANCELED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PRINTING_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TENANCY_LAW_NOT_UNIQUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_NOTICE_FOR_RENTAL_CONTRACT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_INSPECTION_OF_RU_FOR_RC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CORRACT_CORRAPPL_NOT_ASSIGNED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_COLLATERAL_FOR_RC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RE_PRINT_LTTR_FOR_OBJ_CORRAPPL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_i_intreno | TYPE VIMIMV-INTRENO, " | |||
lt_t_i_rsoxident | TYPE STANDARD TABLE OF RSOXIDENT, " | |||
lv_e_flg_prog_end | TYPE C, " | |||
lv_object_key_failure | TYPE C, " | |||
lv_no_sales_settlement_for_rc | TYPE C, " | |||
lv_no_ru_inspect_letter_for_rc | TYPE C, " | |||
lt_t_i_rsosanpnr | TYPE STANDARD TABLE OF RSOSANPNR, " | |||
lv_i_rc_rnt_adj_dunn | TYPE VIMI16, " | |||
lv_corr_activity_def_failure | TYPE VIMI16, " | |||
lv_i_rc_collateral | TYPE VIMI32, " | |||
lt_t_i_rsovvndoccnt | TYPE STANDARD TABLE OF RSOVVNDOCCNT, " | |||
lv_printing_canceled | TYPE RSOVVNDOCCNT, " | |||
lv_i_korrber | TYPE TIVA7-KORRBER, " | |||
lt_t_c_errors | TYPE STANDARD TABLE OF SPROT_U, " | |||
lv_printing_failure | TYPE SPROT_U, " | |||
lv_i_korrvorf | TYPE TZKV-KORRVORF, " SPACE | |||
lv_tenancy_law_not_unique | TYPE TZKV, " | |||
lv_i_viprintfromobj1 | TYPE VIPRINTFROMOBJ1, " | |||
lv_no_notice_for_rental_contract | TYPE VIPRINTFROMOBJ1, " | |||
lv_no_inspection_of_ru_for_rc | TYPE VIPRINTFROMOBJ1, " | |||
lv_corract_corrappl_not_assigned | TYPE VIPRINTFROMOBJ1, " | |||
lv_no_collateral_for_rc | TYPE VIPRINTFROMOBJ1. " |
  CALL FUNCTION 'RE_PRINT_LTTR_FOR_OBJ_CORRAPPL' " |
EXPORTING | ||
I_INTRENO | = lv_i_intreno | |
I_RC_RNT_ADJ_DUNN | = lv_i_rc_rnt_adj_dunn | |
I_RC_COLLATERAL | = lv_i_rc_collateral | |
I_KORRBER | = lv_i_korrber | |
I_KORRVORF | = lv_i_korrvorf | |
I_VIPRINTFROMOBJ1 | = lv_i_viprintfromobj1 | |
IMPORTING | ||
E_FLG_PROG_END | = lv_e_flg_prog_end | |
TABLES | ||
T_I_RSOXIDENT | = lt_t_i_rsoxident | |
T_I_RSOSANPNR | = lt_t_i_rsosanpnr | |
T_I_RSOVVNDOCCNT | = lt_t_i_rsovvndoccnt | |
T_C_ERRORS | = lt_t_c_errors | |
EXCEPTIONS | ||
OBJECT_KEY_FAILURE = 1 | ||
NO_SALES_SETTLEMENT_FOR_RC = 10 | ||
NO_RU_INSPECT_LETTER_FOR_RC = 11 | ||
CORR_ACTIVITY_DEF_FAILURE = 2 | ||
PRINTING_CANCELED = 3 | ||
PRINTING_FAILURE = 4 | ||
TENANCY_LAW_NOT_UNIQUE = 5 | ||
NO_NOTICE_FOR_RENTAL_CONTRACT = 6 | ||
NO_INSPECTION_OF_RU_FOR_RC = 7 | ||
CORRACT_CORRAPPL_NOT_ASSIGNED = 8 | ||
NO_COLLATERAL_FOR_RC = 9 | ||
. " RE_PRINT_LTTR_FOR_OBJ_CORRAPPL |
ABAP code using 7.40 inline data declarations to call FM RE_PRINT_LTTR_FOR_OBJ_CORRAPPL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single INTRENO FROM VIMIMV INTO @DATA(ld_i_intreno). | ||||
"SELECT single KORRBER FROM TIVA7 INTO @DATA(ld_i_korrber). | ||||
"SELECT single KORRVORF FROM TZKV INTO @DATA(ld_i_korrvorf). | ||||
DATA(ld_i_korrvorf) | = ' '. | |||
Search for further information about these or an SAP related objects