SAP FSCD_PAYMENT_METHOD_F4 Function Module for









FSCD_PAYMENT_METHOD_F4 is a standard fscd payment method f4 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 fscd payment method f4 FM, simply by entering the name FSCD_PAYMENT_METHOD_F4 into the relevant SAP transaction such as SE37 or SE38.

Function Group: FSCD_RI
Program Name: SAPLFSCD_RI
Main Program: SAPLFSCD_RI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FSCD_PAYMENT_METHOD_F4 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 'FSCD_PAYMENT_METHOD_F4'"
EXPORTING
IV_BUKRS = "
IV_OPBUK = "
IV_GPART = "
IV_VKONT = "
IV_PYBUK = "
IV_LAND1 = "
IV_ZWELS = "
IV_SIGN = "

TABLES
* T_PAYMENT_METHODS = "
* T_PAYMENT_METHODS_WITH_TEXT = "
* T_BAPIRET2 = "
.



IMPORTING Parameters details for FSCD_PAYMENT_METHOD_F4

IV_BUKRS -

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

IV_OPBUK -

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

IV_GPART -

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

IV_VKONT -

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

IV_PYBUK -

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

IV_LAND1 -

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

IV_ZWELS -

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

IV_SIGN -

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

TABLES Parameters details for FSCD_PAYMENT_METHOD_F4

T_PAYMENT_METHODS -

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

T_PAYMENT_METHODS_WITH_TEXT -

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

T_BAPIRET2 -

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

Copy and paste ABAP code example for FSCD_PAYMENT_METHOD_F4 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_iv_bukrs  TYPE BUKRS, "   
lt_t_payment_methods  TYPE STANDARD TABLE OF TFK042Z, "   
lv_iv_opbuk  TYPE OPBUK_KK, "   
lt_t_payment_methods_with_text  TYPE STANDARD TABLE OF FKK042Z, "   
lv_iv_gpart  TYPE GPART_KK, "   
lt_t_bapiret2  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_iv_vkont  TYPE VKONT_KK, "   
lv_iv_pybuk  TYPE PYBUK_KK, "   
lv_iv_land1  TYPE LAND1, "   
lv_iv_zwels  TYPE CHAR1, "   
lv_iv_sign  TYPE CHAR1. "   

  CALL FUNCTION 'FSCD_PAYMENT_METHOD_F4'  "
    EXPORTING
         IV_BUKRS = lv_iv_bukrs
         IV_OPBUK = lv_iv_opbuk
         IV_GPART = lv_iv_gpart
         IV_VKONT = lv_iv_vkont
         IV_PYBUK = lv_iv_pybuk
         IV_LAND1 = lv_iv_land1
         IV_ZWELS = lv_iv_zwels
         IV_SIGN = lv_iv_sign
    TABLES
         T_PAYMENT_METHODS = lt_t_payment_methods
         T_PAYMENT_METHODS_WITH_TEXT = lt_t_payment_methods_with_text
         T_BAPIRET2 = lt_t_bapiret2
. " FSCD_PAYMENT_METHOD_F4




ABAP code using 7.40 inline data declarations to call FM FSCD_PAYMENT_METHOD_F4

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.

 
 
 
 
 
 
 
 
 
 
 


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!