SAP J_7L_SPLITTING_FAKTOR_DATUM Function Module for NOTRANSL: REA Berechnung Splittingfaktor aus Konditionsartenzuordnung zu S









J_7L_SPLITTING_FAKTOR_DATUM is a standard j 7l splitting faktor datum 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 Berechnung Splittingfaktor aus Konditionsartenzuordnung zu S 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 splitting faktor datum FM, simply by entering the name J_7L_SPLITTING_FAKTOR_DATUM into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_SPLITTING_FAKTOR_DATUM 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_SPLITTING_FAKTOR_DATUM'"NOTRANSL: REA Berechnung Splittingfaktor aus Konditionsartenzuordnung zu S
EXPORTING
ENTNA = "Recycling Partner
LAND1 = "Country
KOKEY = "Condition Type Combination
* DATAM = SY-DATUM "Reference Date
* KOTYP = ' ' "Condition Type Category
* NO_PUFFER = ' ' "
* NO_TEXT_IN_LIST = ' ' "

IMPORTING
KPROZ = "Splitting Factor
KZPRAD = "

TABLES
* KOART_TAB = "
* J_7LC36_TAB = "
* J_7LC37_TAB = "
* J_7LC38_TAB = "
.



IMPORTING Parameters details for J_7L_SPLITTING_FAKTOR_DATUM

ENTNA - Recycling Partner

Data type: J_7LC37-ENTNA
Optional: No
Call by Reference: Yes

LAND1 - Country

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

KOKEY - Condition Type Combination

Data type: J_7LC37-KOKEY
Optional: No
Call by Reference: Yes

DATAM - Reference Date

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

KOTYP - Condition Type Category

Data type: J_7LC36-KOTYP
Default: SPACE
Optional: Yes
Call by Reference: Yes

NO_PUFFER -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

NO_TEXT_IN_LIST -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for J_7L_SPLITTING_FAKTOR_DATUM

KPROZ - Splitting Factor

Data type: J_7LC36-KPROZ
Optional: No
Call by Reference: Yes

KZPRAD -

Data type: J_7LC37-KZPRAD
Optional: No
Call by Reference: Yes

TABLES Parameters details for J_7L_SPLITTING_FAKTOR_DATUM

KOART_TAB -

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

J_7LC36_TAB -

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

J_7LC37_TAB -

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

J_7LC38_TAB -

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

Copy and paste ABAP code example for J_7L_SPLITTING_FAKTOR_DATUM 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_entna  TYPE J_7LC37-ENTNA, "   
lv_kproz  TYPE J_7LC36-KPROZ, "   
lt_koart_tab  TYPE STANDARD TABLE OF J_7LC36_F4, "   
lv_land1  TYPE J_7LC37-LAND1, "   
lv_kzprad  TYPE J_7LC37-KZPRAD, "   
lt_j_7lc36_tab  TYPE STANDARD TABLE OF J_7LC36, "   
lv_kokey  TYPE J_7LC37-KOKEY, "   
lt_j_7lc37_tab  TYPE STANDARD TABLE OF J_7LC37, "   
lv_datam  TYPE SY-DATUM, "   SY-DATUM
lt_j_7lc38_tab  TYPE STANDARD TABLE OF J_7LC38, "   
lv_kotyp  TYPE J_7LC36-KOTYP, "   SPACE
lv_no_puffer  TYPE BOOLE-BOOLE, "   SPACE
lv_no_text_in_list  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'J_7L_SPLITTING_FAKTOR_DATUM'  "NOTRANSL: REA Berechnung Splittingfaktor aus Konditionsartenzuordnung zu S
    EXPORTING
         ENTNA = lv_entna
         LAND1 = lv_land1
         KOKEY = lv_kokey
         DATAM = lv_datam
         KOTYP = lv_kotyp
         NO_PUFFER = lv_no_puffer
         NO_TEXT_IN_LIST = lv_no_text_in_list
    IMPORTING
         KPROZ = lv_kproz
         KZPRAD = lv_kzprad
    TABLES
         KOART_TAB = lt_koart_tab
         J_7LC36_TAB = lt_j_7lc36_tab
         J_7LC37_TAB = lt_j_7lc37_tab
         J_7LC38_TAB = lt_j_7lc38_tab
. " J_7L_SPLITTING_FAKTOR_DATUM




ABAP code using 7.40 inline data declarations to call FM J_7L_SPLITTING_FAKTOR_DATUM

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 ENTNA FROM J_7LC37 INTO @DATA(ld_entna).
 
"SELECT single KPROZ FROM J_7LC36 INTO @DATA(ld_kproz).
 
 
"SELECT single LAND1 FROM J_7LC37 INTO @DATA(ld_land1).
 
"SELECT single KZPRAD FROM J_7LC37 INTO @DATA(ld_kzprad).
 
 
"SELECT single KOKEY FROM J_7LC37 INTO @DATA(ld_kokey).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datam).
DATA(ld_datam) = SY-DATUM.
 
 
"SELECT single KOTYP FROM J_7LC36 INTO @DATA(ld_kotyp).
DATA(ld_kotyp) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_no_puffer).
DATA(ld_no_puffer) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_no_text_in_list).
DATA(ld_no_text_in_list) = ' '.
 


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!