SAP BKK_IHC_PAYMORD_MAN_CEX Function Module for Currency Exchange for Manual Payment Orders









BKK_IHC_PAYMORD_MAN_CEX is a standard bkk ihc paymord man cex SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Currency Exchange for Manual Payment Orders 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 bkk ihc paymord man cex FM, simply by entering the name BKK_IHC_PAYMORD_MAN_CEX into the relevant SAP transaction such as SE37 or SE38.

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



Function BKK_IHC_PAYMORD_MAN_CEX 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 'BKK_IHC_PAYMORD_MAN_CEX'"Currency Exchange for Manual Payment Orders
EXPORTING
I_BKKPOHD = "Structure for Payment Order - Header Data
I_BKKPOIT_SND = "Structure for Payment Order - Item Data
* I_X_IN_UPDATE_TASK = 'X' "X: Verbuchung in Update-Task
* I_ACTIVITY = '01' "Activity

IMPORTING
E_RC = "Return Code
E_PAORN = "Payment order number
E_CBA_POST = "Select Period in Days
E_POSTATUS = "Status of a payment order

TABLES
T_BKKPOIT_RCV = "Structure for Payment Order - Item Data
* T_BKKPONT = "Structure for Payment Order - Payment Notes
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFBQ1_001 User Exit after Segment Processing IDoc
EXIT_SAPLFBQ1_002 User Exit Before IDoc Update

IMPORTING Parameters details for BKK_IHC_PAYMORD_MAN_CEX

I_BKKPOHD - Structure for Payment Order - Header Data

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

I_BKKPOIT_SND - Structure for Payment Order - Item Data

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

I_X_IN_UPDATE_TASK - X: Verbuchung in Update-Task

Data type: BKK_XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ACTIVITY - Activity

Data type: TBKKIDT-AKTYP
Default: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BKK_IHC_PAYMORD_MAN_CEX

E_RC - Return Code

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

E_PAORN - Payment order number

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

E_CBA_POST - Select Period in Days

Data type: SY-DBCNT
Optional: No
Call by Reference: Yes

E_POSTATUS - Status of a payment order

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

TABLES Parameters details for BKK_IHC_PAYMORD_MAN_CEX

T_BKKPOIT_RCV - Structure for Payment Order - Item Data

Data type: IBKKPOIT
Optional: No
Call by Reference: Yes

T_BKKPONT - Structure for Payment Order - Payment Notes

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

Copy and paste ABAP code example for BKK_IHC_PAYMORD_MAN_CEX 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_e_rc  TYPE SY-SUBRC, "   
lv_i_bkkpohd  TYPE IBKKPOHD, "   
lt_t_bkkpoit_rcv  TYPE STANDARD TABLE OF IBKKPOIT, "   
lv_e_paorn  TYPE BKKPOHD-PAORN, "   
lt_t_bkkpont  TYPE STANDARD TABLE OF IBKKPONT, "   
lv_i_bkkpoit_snd  TYPE IBKKPOIT, "   
lv_e_cba_post  TYPE SY-DBCNT, "   
lv_i_x_in_update_task  TYPE BKK_XFELD, "   'X'
lv_e_postatus  TYPE BKKPOHD-POSTATUS, "   
lv_i_activity  TYPE TBKKIDT-AKTYP. "   '01'

  CALL FUNCTION 'BKK_IHC_PAYMORD_MAN_CEX'  "Currency Exchange for Manual Payment Orders
    EXPORTING
         I_BKKPOHD = lv_i_bkkpohd
         I_BKKPOIT_SND = lv_i_bkkpoit_snd
         I_X_IN_UPDATE_TASK = lv_i_x_in_update_task
         I_ACTIVITY = lv_i_activity
    IMPORTING
         E_RC = lv_e_rc
         E_PAORN = lv_e_paorn
         E_CBA_POST = lv_e_cba_post
         E_POSTATUS = lv_e_postatus
    TABLES
         T_BKKPOIT_RCV = lt_t_bkkpoit_rcv
         T_BKKPONT = lt_t_bkkpont
. " BKK_IHC_PAYMORD_MAN_CEX




ABAP code using 7.40 inline data declarations to call FM BKK_IHC_PAYMORD_MAN_CEX

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_rc).
 
 
 
"SELECT single PAORN FROM BKKPOHD INTO @DATA(ld_e_paorn).
 
 
 
"SELECT single DBCNT FROM SY INTO @DATA(ld_e_cba_post).
 
DATA(ld_i_x_in_update_task) = 'X'.
 
"SELECT single POSTATUS FROM BKKPOHD INTO @DATA(ld_e_postatus).
 
"SELECT single AKTYP FROM TBKKIDT INTO @DATA(ld_i_activity).
DATA(ld_i_activity) = '01'.
 


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!