SAP J_7L_KOND_UPDATE_REFMAT_SYNC Function Module for NOTRANSL: REA Update Konditionen für Referenzartikel synchron









J_7L_KOND_UPDATE_REFMAT_SYNC is a standard j 7l kond update refmat sync 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 Update Konditionen für Referenzartikel synchron 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 kond update refmat sync FM, simply by entering the name J_7L_KOND_UPDATE_REFMAT_SYNC into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_KOND_UPDATE_REFMAT_SYNC 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_KOND_UPDATE_REFMAT_SYNC'"NOTRANSL: REA Update Konditionen für Referenzartikel synchron
EXPORTING
MATNR = "Material Number
* VARIANTE = "Variant in REA Master Data
* LOEKZ = ' ' "Generic Type
* NO_COMMIT = ' ' "Do not update

TABLES
* MESSAGE_TAB = "REA Conditions: Error messages BDC condition update

EXCEPTIONS
REF_NOT_FOUND = 1
.



IMPORTING Parameters details for J_7L_KOND_UPDATE_REFMAT_SYNC

MATNR - Material Number

Data type: J_7LM07-MATNR
Optional: No
Call by Reference: Yes

VARIANTE - Variant in REA Master Data

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

LOEKZ - Generic Type

Data type: C
Default: ' '
Optional: Yes
Call by Reference: Yes

NO_COMMIT - Do not update

Data type: C
Default: ' '
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for J_7L_KOND_UPDATE_REFMAT_SYNC

MESSAGE_TAB - REA Conditions: Error messages BDC condition update

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

EXCEPTIONS details

REF_NOT_FOUND -

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

Copy and paste ABAP code example for J_7L_KOND_UPDATE_REFMAT_SYNC 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_matnr  TYPE J_7LM07-MATNR, "   
lt_message_tab  TYPE STANDARD TABLE OF J_7LKBDCMSG, "   
lv_ref_not_found  TYPE J_7LKBDCMSG, "   
lv_variante  TYPE J_7LVARIANTE, "   
lv_loekz  TYPE C, "   ' '
lv_no_commit  TYPE C. "   ' '

  CALL FUNCTION 'J_7L_KOND_UPDATE_REFMAT_SYNC'  "NOTRANSL: REA Update Konditionen für Referenzartikel synchron
    EXPORTING
         MATNR = lv_matnr
         VARIANTE = lv_variante
         LOEKZ = lv_loekz
         NO_COMMIT = lv_no_commit
    TABLES
         MESSAGE_TAB = lt_message_tab
    EXCEPTIONS
        REF_NOT_FOUND = 1
. " J_7L_KOND_UPDATE_REFMAT_SYNC




ABAP code using 7.40 inline data declarations to call FM J_7L_KOND_UPDATE_REFMAT_SYNC

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 MATNR FROM J_7LM07 INTO @DATA(ld_matnr).
 
 
 
 
DATA(ld_loekz) = ' '.
 
DATA(ld_no_commit) = ' '.
 


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!