SAP SAMPLE_INTERFACE_PRNT_00011060 Function Module for Correspondence on Changing Account Master Data with Print Immediately









SAMPLE_INTERFACE_PRNT_00011060 is a standard sample interface prnt 00011060 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Correspondence on Changing Account Master Data with Print Immediately processing and below is the pattern details for this FM, 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 sample interface prnt 00011060 FM, simply by entering the name SAMPLE_INTERFACE_PRNT_00011060 into the relevant SAP transaction such as SE37 or SE38.

Function Group: FBKCORR_IMPL
Program Name: SAPLFBKCORR_IMPL
Main Program: SAPLFBKCORR_IMPL
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SAMPLE_INTERFACE_PRNT_00011060 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 'SAMPLE_INTERFACE_PRNT_00011060'"Correspondence on Changing Account Master Data with Print Immediately
EXPORTING
* I_BKK40 = "Current Account Master Data: General
* IT_BKK44_OLD = "Table Type for BKK44
* IT_BKK45 = "Table Type of BKK45
* IT_BKK45_OLD = "Table Type of BKK45
* IT_BKK45_CORR = "Correspondence Table Type for BKK45_CORR table
* IT_BKK45_CORR_OLD = "Correspondence Table Type for BKK45_CORR table
* I_BKK46 = "Current Account Master Data: Customer Appends
* I_BKK46_OLD = "Current Account Master Data: Customer Appends
* IT_BKK47 = "Table Type of BKK47
* IT_BKK47_OLD = "Table Type of BKK47
* IT_BKK48 = "Table: Control Indicators for Account Settlement
* I_BKK40_OLD = "Current Account Master Data: General
* IT_BKK48_OLD = "Table: Control Indicators for Account Settlement
* IT_BKK56 = "Table: Account Resubmission
* IT_BKK56_OLD = "Table: Account Resubmission
* IT_BKKM2 = "Table Type of BKKM2
* IT_BKKM2_OLD = "Table Type of BKKM2
* IT_BKKE1 = "Table Type for BKKE1
* IT_BKKE1_OLD = "Table Type for BKKE1
* IT_BKKA4 = "Table Type of BKKA4
* IT_BKKA4_OLD = "Table Type of BKKA4
* IT_BKKNTC = "Table: Notices (Partial and Full Amounts)
* I_BKK42 = "Current Account Master Data: Operative Data
* IT_BKKNTC_OLD = "Table: Notices (Partial and Full Amounts)
* I_BKK42_NTC = "Master Data for Notice and Allowances
* I_BKK42_NTC_OLD = "Master Data for Notice and Allowances
* IT_BCA_US_HOLD = "Table type for holds
* IT_BCA_US_HOLD_OLD = "Table type for holds
* IT_BKK84 = "Table Type of BKK84
* IT_BKK84_OLD = "Table Type of BKK84
* IT_BKK85 = "Table Type of BKK85
* IT_BKK85_OLD = "Table Type of BKK85
* I_BKK58 = "Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs
* I_BKK42_OLD = "Current Account Master Data: Operative Data
* I_BKK58_OLD = "Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs
* IT_BKKTERM = "Table Type
* IT_BKKTERM_OLD = "Table Type
* I_UPDATE_FLAG = "Call Function Module in Update Task
* I_BKK42_CC = "BCA Account Master Data: Currency Changeover
* I_BKK42_CC_OLD = "BCA Account Master Data: Currency Changeover
* IT_BKK43 = "Table Type for BKK43
* IT_BKK43_OLD = "Table Type for BKK43
* IT_BKK44 = "Table Type for BKK44

IMPORTING
E_RETURN = "Return Code: 0 = OK, 1 = Error

TABLES
* T_MESG = "Structure for Transfer of Error Messages
.



IMPORTING Parameters details for SAMPLE_INTERFACE_PRNT_00011060

I_BKK40 - Current Account Master Data: General

Data type: BKK40
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK44_OLD - Table Type for BKK44

Data type: BKK_TAB_BKK44
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK45 - Table Type of BKK45

Data type: BKK_TAB_BKK45
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK45_OLD - Table Type of BKK45

Data type: BKK_TAB_BKK45
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK45_CORR - Correspondence Table Type for BKK45_CORR table

Data type: BKK_TAB_BKK45_CORR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK45_CORR_OLD - Correspondence Table Type for BKK45_CORR table

Data type: BKK_TAB_BKK45_CORR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK46 - Current Account Master Data: Customer Appends

Data type: BKK46
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK46_OLD - Current Account Master Data: Customer Appends

Data type: BKK46
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK47 - Table Type of BKK47

Data type: BKK_TAB_BKK47
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK47_OLD - Table Type of BKK47

Data type: BKK_TAB_BKK47
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK48 - Table: Control Indicators for Account Settlement

Data type: BKK_TAB_BKK48
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK40_OLD - Current Account Master Data: General

Data type: BKK40
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK48_OLD - Table: Control Indicators for Account Settlement

Data type: BKK_TAB_BKK48
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK56 - Table: Account Resubmission

Data type: BKK_TAB_BKK56
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK56_OLD - Table: Account Resubmission

Data type: BKK_TAB_BKK56
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKM2 - Table Type of BKKM2

Data type: BKK_TAB_BKKM2
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKM2_OLD - Table Type of BKKM2

Data type: BKK_TAB_BKKM2
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKE1 - Table Type for BKKE1

Data type: BKK_TAB_BKKE1
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKE1_OLD - Table Type for BKKE1

Data type: BKK_TAB_BKKE1
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKA4 - Table Type of BKKA4

Data type: BKK_TAB_BKKA4
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKA4_OLD - Table Type of BKKA4

Data type: BKK_TAB_BKKA4
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKNTC - Table: Notices (Partial and Full Amounts)

Data type: BKK_TAB_BKKNTC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK42 - Current Account Master Data: Operative Data

Data type: BKK42
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKNTC_OLD - Table: Notices (Partial and Full Amounts)

Data type: BKK_TAB_BKKNTC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK42_NTC - Master Data for Notice and Allowances

Data type: BKK42_NTC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK42_NTC_OLD - Master Data for Notice and Allowances

Data type: BKK42_NTC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BCA_US_HOLD - Table type for holds

Data type: TTYPE_BCA_US_HOLD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BCA_US_HOLD_OLD - Table type for holds

Data type: TTYPE_BCA_US_HOLD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK84 - Table Type of BKK84

Data type: BKK_TAB_BKK84
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK84_OLD - Table Type of BKK84

Data type: BKK_TAB_BKK84
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK85 - Table Type of BKK85

Data type: BKK_TAB_BKK85
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK85_OLD - Table Type of BKK85

Data type: BKK_TAB_BKK85
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK58 - Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs

Data type: BKK58
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK42_OLD - Current Account Master Data: Operative Data

Data type: BKK42
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK58_OLD - Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs

Data type: BKK58
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKTERM - Table Type

Data type: BKK10_TAB_BKKTERM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKKTERM_OLD - Table Type

Data type: BKK10_TAB_BKKTERM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UPDATE_FLAG - Call Function Module in Update Task

Data type: BKK_XUPDFLAG
Optional: Yes
Call by Reference: Yes

I_BKK42_CC - BCA Account Master Data: Currency Changeover

Data type: BKK42_CC
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BKK42_CC_OLD - BCA Account Master Data: Currency Changeover

Data type: BKK42_CC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK43 - Table Type for BKK43

Data type: BKK_TAB_BKK43
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK43_OLD - Table Type for BKK43

Data type: BKK_TAB_BKK43
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_BKK44 - Table Type for BKK44

Data type: BKK_TAB_BKK44
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SAMPLE_INTERFACE_PRNT_00011060

E_RETURN - Return Code: 0 = OK, 1 = Error

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SAMPLE_INTERFACE_PRNT_00011060

T_MESG - Structure for Transfer of Error Messages

Data type: IBKKMESG
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SAMPLE_INTERFACE_PRNT_00011060 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:
lt_t_mesg  TYPE STANDARD TABLE OF IBKKMESG, "   
lv_i_bkk40  TYPE BKK40, "   
lv_e_return  TYPE SY-SUBRC, "   
lv_it_bkk44_old  TYPE BKK_TAB_BKK44, "   
lv_it_bkk45  TYPE BKK_TAB_BKK45, "   
lv_it_bkk45_old  TYPE BKK_TAB_BKK45, "   
lv_it_bkk45_corr  TYPE BKK_TAB_BKK45_CORR, "   
lv_it_bkk45_corr_old  TYPE BKK_TAB_BKK45_CORR, "   
lv_i_bkk46  TYPE BKK46, "   
lv_i_bkk46_old  TYPE BKK46, "   
lv_it_bkk47  TYPE BKK_TAB_BKK47, "   
lv_it_bkk47_old  TYPE BKK_TAB_BKK47, "   
lv_it_bkk48  TYPE BKK_TAB_BKK48, "   
lv_i_bkk40_old  TYPE BKK40, "   
lv_it_bkk48_old  TYPE BKK_TAB_BKK48, "   
lv_it_bkk56  TYPE BKK_TAB_BKK56, "   
lv_it_bkk56_old  TYPE BKK_TAB_BKK56, "   
lv_it_bkkm2  TYPE BKK_TAB_BKKM2, "   
lv_it_bkkm2_old  TYPE BKK_TAB_BKKM2, "   
lv_it_bkke1  TYPE BKK_TAB_BKKE1, "   
lv_it_bkke1_old  TYPE BKK_TAB_BKKE1, "   
lv_it_bkka4  TYPE BKK_TAB_BKKA4, "   
lv_it_bkka4_old  TYPE BKK_TAB_BKKA4, "   
lv_it_bkkntc  TYPE BKK_TAB_BKKNTC, "   
lv_i_bkk42  TYPE BKK42, "   
lv_it_bkkntc_old  TYPE BKK_TAB_BKKNTC, "   
lv_i_bkk42_ntc  TYPE BKK42_NTC, "   
lv_i_bkk42_ntc_old  TYPE BKK42_NTC, "   
lv_it_bca_us_hold  TYPE TTYPE_BCA_US_HOLD, "   
lv_it_bca_us_hold_old  TYPE TTYPE_BCA_US_HOLD, "   
lv_it_bkk84  TYPE BKK_TAB_BKK84, "   
lv_it_bkk84_old  TYPE BKK_TAB_BKK84, "   
lv_it_bkk85  TYPE BKK_TAB_BKK85, "   
lv_it_bkk85_old  TYPE BKK_TAB_BKK85, "   
lv_i_bkk58  TYPE BKK58, "   
lv_i_bkk42_old  TYPE BKK42, "   
lv_i_bkk58_old  TYPE BKK58, "   
lv_it_bkkterm  TYPE BKK10_TAB_BKKTERM, "   
lv_it_bkkterm_old  TYPE BKK10_TAB_BKKTERM, "   
lv_i_update_flag  TYPE BKK_XUPDFLAG, "   
lv_i_bkk42_cc  TYPE BKK42_CC, "   
lv_i_bkk42_cc_old  TYPE BKK42_CC, "   
lv_it_bkk43  TYPE BKK_TAB_BKK43, "   
lv_it_bkk43_old  TYPE BKK_TAB_BKK43, "   
lv_it_bkk44  TYPE BKK_TAB_BKK44. "   

  CALL FUNCTION 'SAMPLE_INTERFACE_PRNT_00011060'  "Correspondence on Changing Account Master Data with Print Immediately
    EXPORTING
         I_BKK40 = lv_i_bkk40
         IT_BKK44_OLD = lv_it_bkk44_old
         IT_BKK45 = lv_it_bkk45
         IT_BKK45_OLD = lv_it_bkk45_old
         IT_BKK45_CORR = lv_it_bkk45_corr
         IT_BKK45_CORR_OLD = lv_it_bkk45_corr_old
         I_BKK46 = lv_i_bkk46
         I_BKK46_OLD = lv_i_bkk46_old
         IT_BKK47 = lv_it_bkk47
         IT_BKK47_OLD = lv_it_bkk47_old
         IT_BKK48 = lv_it_bkk48
         I_BKK40_OLD = lv_i_bkk40_old
         IT_BKK48_OLD = lv_it_bkk48_old
         IT_BKK56 = lv_it_bkk56
         IT_BKK56_OLD = lv_it_bkk56_old
         IT_BKKM2 = lv_it_bkkm2
         IT_BKKM2_OLD = lv_it_bkkm2_old
         IT_BKKE1 = lv_it_bkke1
         IT_BKKE1_OLD = lv_it_bkke1_old
         IT_BKKA4 = lv_it_bkka4
         IT_BKKA4_OLD = lv_it_bkka4_old
         IT_BKKNTC = lv_it_bkkntc
         I_BKK42 = lv_i_bkk42
         IT_BKKNTC_OLD = lv_it_bkkntc_old
         I_BKK42_NTC = lv_i_bkk42_ntc
         I_BKK42_NTC_OLD = lv_i_bkk42_ntc_old
         IT_BCA_US_HOLD = lv_it_bca_us_hold
         IT_BCA_US_HOLD_OLD = lv_it_bca_us_hold_old
         IT_BKK84 = lv_it_bkk84
         IT_BKK84_OLD = lv_it_bkk84_old
         IT_BKK85 = lv_it_bkk85
         IT_BKK85_OLD = lv_it_bkk85_old
         I_BKK58 = lv_i_bkk58
         I_BKK42_OLD = lv_i_bkk42_old
         I_BKK58_OLD = lv_i_bkk58_old
         IT_BKKTERM = lv_it_bkkterm
         IT_BKKTERM_OLD = lv_it_bkkterm_old
         I_UPDATE_FLAG = lv_i_update_flag
         I_BKK42_CC = lv_i_bkk42_cc
         I_BKK42_CC_OLD = lv_i_bkk42_cc_old
         IT_BKK43 = lv_it_bkk43
         IT_BKK43_OLD = lv_it_bkk43_old
         IT_BKK44 = lv_it_bkk44
    IMPORTING
         E_RETURN = lv_e_return
    TABLES
         T_MESG = lt_t_mesg
. " SAMPLE_INTERFACE_PRNT_00011060




ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_PRNT_00011060

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 SUBRC FROM SY INTO @DATA(ld_e_return).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!