SAP FIMA_CONDITIONS_CONVERT Function Module for Convert Data from Structure VVZZKOPO to Structure VTBKOND









FIMA_CONDITIONS_CONVERT is a standard fima conditions convert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Convert Data from Structure VVZZKOPO to Structure VTBKOND 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 fima conditions convert FM, simply by entering the name FIMA_CONDITIONS_CONVERT into the relevant SAP transaction such as SE37 or SE38.

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



Function FIMA_CONDITIONS_CONVERT 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 'FIMA_CONDITIONS_CONVERT'"Convert Data from Structure VVZZKOPO to Structure VTBKOND
EXPORTING
* I_BUKRS = ' ' "
* I_DBEWE1ST = ' ' "
* I_DBLFZ = ' ' "
* I_GSART = ' ' "
* I_RANTYP = ' ' "
* I_STILGART = '2' "
* I_SZBMETH = '1' "
* I_SKALID = ' ' "

TABLES
EKOND = "
IKOPO = "
.



IMPORTING Parameters details for FIMA_CONDITIONS_CONVERT

I_BUKRS -

Data type: RCFLEISTE-BUKRS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DBEWE1ST -

Data type: SY-DATUM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DBLFZ -

Data type: RCFLEISTE-DBLFZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GSART -

Data type: RCFLEISTE-GSART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RANTYP -

Data type: RCFLEISTE-RANTYP
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STILGART -

Data type: RCFLEISTE-STILGART
Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SZBMETH -

Data type: RCFLEISTE-SZBMETH
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SKALID -

Data type: VZZBEPP-SKALIDWT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FIMA_CONDITIONS_CONVERT

EKOND -

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

IKOPO -

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

Copy and paste ABAP code example for FIMA_CONDITIONS_CONVERT 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_ekond  TYPE STANDARD TABLE OF VTBKOND, "   
lv_i_bukrs  TYPE RCFLEISTE-BUKRS, "   SPACE
lt_ikopo  TYPE STANDARD TABLE OF VVZZKOPO, "   
lv_i_dbewe1st  TYPE SY-DATUM, "   SPACE
lv_i_dblfz  TYPE RCFLEISTE-DBLFZ, "   SPACE
lv_i_gsart  TYPE RCFLEISTE-GSART, "   SPACE
lv_i_rantyp  TYPE RCFLEISTE-RANTYP, "   SPACE
lv_i_stilgart  TYPE RCFLEISTE-STILGART, "   '2'
lv_i_szbmeth  TYPE RCFLEISTE-SZBMETH, "   '1'
lv_i_skalid  TYPE VZZBEPP-SKALIDWT. "   SPACE

  CALL FUNCTION 'FIMA_CONDITIONS_CONVERT'  "Convert Data from Structure VVZZKOPO to Structure VTBKOND
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_DBEWE1ST = lv_i_dbewe1st
         I_DBLFZ = lv_i_dblfz
         I_GSART = lv_i_gsart
         I_RANTYP = lv_i_rantyp
         I_STILGART = lv_i_stilgart
         I_SZBMETH = lv_i_szbmeth
         I_SKALID = lv_i_skalid
    TABLES
         EKOND = lt_ekond
         IKOPO = lt_ikopo
. " FIMA_CONDITIONS_CONVERT




ABAP code using 7.40 inline data declarations to call FM FIMA_CONDITIONS_CONVERT

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 BUKRS FROM RCFLEISTE INTO @DATA(ld_i_bukrs).
DATA(ld_i_bukrs) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dbewe1st).
DATA(ld_i_dbewe1st) = ' '.
 
"SELECT single DBLFZ FROM RCFLEISTE INTO @DATA(ld_i_dblfz).
DATA(ld_i_dblfz) = ' '.
 
"SELECT single GSART FROM RCFLEISTE INTO @DATA(ld_i_gsart).
DATA(ld_i_gsart) = ' '.
 
"SELECT single RANTYP FROM RCFLEISTE INTO @DATA(ld_i_rantyp).
DATA(ld_i_rantyp) = ' '.
 
"SELECT single STILGART FROM RCFLEISTE INTO @DATA(ld_i_stilgart).
DATA(ld_i_stilgart) = '2'.
 
"SELECT single SZBMETH FROM RCFLEISTE INTO @DATA(ld_i_szbmeth).
DATA(ld_i_szbmeth) = '1'.
 
"SELECT single SKALIDWT FROM VZZBEPP INTO @DATA(ld_i_skalid).
DATA(ld_i_skalid) = ' '.
 


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!