SAP CIF_BIT_OR_30 Function Module for NOTRANSL: verODERt 2 Bitwerte









CIF_BIT_OR_30 is a standard cif bit or 30 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: verODERt 2 Bitwerte 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 cif bit or 30 FM, simply by entering the name CIF_BIT_OR_30 into the relevant SAP transaction such as SE37 or SE38.

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



Function CIF_BIT_OR_30 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 'CIF_BIT_OR_30'"NOTRANSL: verODERt 2 Bitwerte
EXPORTING
U_VEC1LEN = "INT2 Field for CIFIMDATA
U_VEC1 = "Data Vector for Integration Model APO Interface
U_VEC2LEN = "INT2 Field for CIFIMDATA
U_VEC2 = "Data Vector for Integration Model APO Interface

CHANGING
C_RESULTVECLEN = "INT2 Field for CIFIMDATA
C_RESULTVEC = "Data Vector for Integration Model APO Interface
.



IMPORTING Parameters details for CIF_BIT_OR_30

U_VEC1LEN - INT2 Field for CIFIMDATA

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

U_VEC1 - Data Vector for Integration Model APO Interface

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

U_VEC2LEN - INT2 Field for CIFIMDATA

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

U_VEC2 - Data Vector for Integration Model APO Interface

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

CHANGING Parameters details for CIF_BIT_OR_30

C_RESULTVECLEN - INT2 Field for CIFIMDATA

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

C_RESULTVEC - Data Vector for Integration Model APO Interface

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

Copy and paste ABAP code example for CIF_BIT_OR_30 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_u_vec1len  TYPE CIF_IMOD-LDATA, "   
lv_c_resultveclen  TYPE CIF_IMOD-LDATA, "   
lv_u_vec1  TYPE CIF_IMOD-DATA, "   
lv_c_resultvec  TYPE CIF_IMOD-DATA, "   
lv_u_vec2len  TYPE CIF_IMOD-LDATA, "   
lv_u_vec2  TYPE CIF_IMOD-DATA. "   

  CALL FUNCTION 'CIF_BIT_OR_30'  "NOTRANSL: verODERt 2 Bitwerte
    EXPORTING
         U_VEC1LEN = lv_u_vec1len
         U_VEC1 = lv_u_vec1
         U_VEC2LEN = lv_u_vec2len
         U_VEC2 = lv_u_vec2
    CHANGING
         C_RESULTVECLEN = lv_c_resultveclen
         C_RESULTVEC = lv_c_resultvec
. " CIF_BIT_OR_30




ABAP code using 7.40 inline data declarations to call FM CIF_BIT_OR_30

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 LDATA FROM CIF_IMOD INTO @DATA(ld_u_vec1len).
 
"SELECT single LDATA FROM CIF_IMOD INTO @DATA(ld_c_resultveclen).
 
"SELECT single DATA FROM CIF_IMOD INTO @DATA(ld_u_vec1).
 
"SELECT single DATA FROM CIF_IMOD INTO @DATA(ld_c_resultvec).
 
"SELECT single LDATA FROM CIF_IMOD INTO @DATA(ld_u_vec2len).
 
"SELECT single DATA FROM CIF_IMOD INTO @DATA(ld_u_vec2).
 


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!