SAP J_7L_VALIPAC_FRAKTIONC_FORMEL Function Module for NOTRANSL: REA Formel für die Fraktionsauflösung Val-I-Pac mit Customizing









J_7L_VALIPAC_FRAKTIONC_FORMEL is a standard j 7l valipac fraktionc formel 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: REA Formel für die Fraktionsauflösung Val-I-Pac mit Customizing 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 j 7l valipac fraktionc formel FM, simply by entering the name J_7L_VALIPAC_FRAKTIONC_FORMEL into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_VALIPAC_FRAKTIONC_FORMEL 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 'J_7L_VALIPAC_FRAKTIONC_FORMEL'"NOTRANSL: REA Formel für die Fraktionsauflösung Val-I-Pac mit Customizing
EXPORTING
ENTNR = "Recycling Partner
* J_7LP01_IN = "REA Price List: Versions
LAND1 = "Country Key
* BUKRS = "Company Code
* MATNR = "Material Number
* VARIANTE = "Variant in REA Master Data
* DATUM = SY-DATUM "ABAP System Field: Current Date of Application Server
* J_7LE01_IN = "REA Partner Master Record: General Data (Country-Dependent)
* J_7LE02_IN = "REA Partner Master Record: Company Code
* J_7LE09_IN = "REA Partner Master: Document Types

IMPORTING
DELETE = "Generic Type

CHANGING
FRAKTION = "REA Price Calculation: Communication Structure Fractions

EXCEPTIONS
FORMEL_ERROR = 1
.



IMPORTING Parameters details for J_7L_VALIPAC_FRAKTIONC_FORMEL

ENTNR - Recycling Partner

Data type: J_7LE01-ENTNR
Optional: No
Call by Reference: Yes

J_7LP01_IN - REA Price List: Versions

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

LAND1 - Country Key

Data type: J_7LE01-LAND1
Optional: No
Call by Reference: Yes

BUKRS - Company Code

Data type: J_7LE02-BUKRS
Optional: Yes
Call by Reference: Yes

MATNR - Material Number

Data type: J_7LM01-MATNR
Optional: Yes
Call by Reference: Yes

VARIANTE - Variant in REA Master Data

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

DATUM - ABAP System Field: Current Date of Application Server

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

J_7LE01_IN - REA Partner Master Record: General Data (Country-Dependent)

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

J_7LE02_IN - REA Partner Master Record: Company Code

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

J_7LE09_IN - REA Partner Master: Document Types

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

EXPORTING Parameters details for J_7L_VALIPAC_FRAKTIONC_FORMEL

DELETE - Generic Type

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

CHANGING Parameters details for J_7L_VALIPAC_FRAKTIONC_FORMEL

FRAKTION - REA Price Calculation: Communication Structure Fractions

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

EXCEPTIONS details

FORMEL_ERROR -

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

Copy and paste ABAP code example for J_7L_VALIPAC_FRAKTIONC_FORMEL 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_entnr  TYPE J_7LE01-ENTNR, "   
lv_delete  TYPE C, "   
lv_fraktion  TYPE J_7LKB3, "   
lv_formel_error  TYPE J_7LKB3, "   
lv_j_7lp01_in  TYPE J_7LP01, "   
lv_land1  TYPE J_7LE01-LAND1, "   
lv_bukrs  TYPE J_7LE02-BUKRS, "   
lv_matnr  TYPE J_7LM01-MATNR, "   
lv_variante  TYPE J_7LVARIANTE, "   
lv_datum  TYPE SY-DATUM, "   SY-DATUM
lv_j_7le01_in  TYPE J_7LE01, "   
lv_j_7le02_in  TYPE J_7LE02, "   
lv_j_7le09_in  TYPE J_7LE09. "   

  CALL FUNCTION 'J_7L_VALIPAC_FRAKTIONC_FORMEL'  "NOTRANSL: REA Formel für die Fraktionsauflösung Val-I-Pac mit Customizing
    EXPORTING
         ENTNR = lv_entnr
         J_7LP01_IN = lv_j_7lp01_in
         LAND1 = lv_land1
         BUKRS = lv_bukrs
         MATNR = lv_matnr
         VARIANTE = lv_variante
         DATUM = lv_datum
         J_7LE01_IN = lv_j_7le01_in
         J_7LE02_IN = lv_j_7le02_in
         J_7LE09_IN = lv_j_7le09_in
    IMPORTING
         DELETE = lv_delete
    CHANGING
         FRAKTION = lv_fraktion
    EXCEPTIONS
        FORMEL_ERROR = 1
. " J_7L_VALIPAC_FRAKTIONC_FORMEL




ABAP code using 7.40 inline data declarations to call FM J_7L_VALIPAC_FRAKTIONC_FORMEL

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 ENTNR FROM J_7LE01 INTO @DATA(ld_entnr).
 
 
 
 
 
"SELECT single LAND1 FROM J_7LE01 INTO @DATA(ld_land1).
 
"SELECT single BUKRS FROM J_7LE02 INTO @DATA(ld_bukrs).
 
"SELECT single MATNR FROM J_7LM01 INTO @DATA(ld_matnr).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datum).
DATA(ld_datum) = SY-DATUM.
 
 
 
 


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!