SAP J_7L_MAINTAIN_PARTNER Function Module for NOTRANSL: REA Partnerverwaltung: Anlegen/Ändern von Partnerdaten









J_7L_MAINTAIN_PARTNER is a standard j 7l maintain partner 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 Partnerverwaltung: Anlegen/Ändern von Partnerdaten 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 maintain partner FM, simply by entering the name J_7L_MAINTAIN_PARTNER into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_MAINTAIN_PARTNER 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_MAINTAIN_PARTNER'"NOTRANSL: REA Partnerverwaltung: Anlegen/Ändern von Partnerdaten
EXPORTING
* I_FLG_CH_DOC_ON = 'X' "Generate Change Documents (X, )
I_E01 = "REA Partner Master Record: General Data (Country-Dependent)
* I_E02 = "REA Partner Master Record: Company Code
* I_E04 = "REA Partner Master Record: Volume/Area Classes
* I_E04T = "REA Partner Master Record: Volume/Area Classes Short Texts
* I_E05 = "REA Partner Master Record: Packaging Types
* I_E06 = "REA Partner Master Record: Additional Information Key
* I_E06T = "REA Partner Master Record: Additional Info., Short Text
* I_E07 = "REA Partner Master Record: Content Identification Key
* I_E07T = "REA Partner Master Record: Content Ident.Key, Short Text
* I_E08 = "REA Partner Master Record: Month-Quarter Assignment
* I_FLG_CONST_CHECK_ON = ' ' "Consistency Check After Saving (X. )
* I_E09 = "REA Partner Master: Document Types
* I_E09T = "REA Partner Master: Document Types Short Text
* I_E10 = "REA Partner Master: Document Types Periodicity
* I_E11 = "REA Partner Master: Selection Groups for Consecutive Docs
* I_E11T = "REA Partner Master: Selection Grps for Consec.Docs Short Txt
* I_E12 = "REA Partner Master: Consecutive Doc.-to-Selection Grp Asgmt
* I_E13 = "REA Partner Master: Trade Levels
* I_E13T = "REA Partner Master: Trade Levels - Short Text
* I_E15 = "REA Partner Master: Formulas for Fee Calculation
* I_E15T = "REA Partner Master Record: Formulas - Short Texts
* I_TEST_MODUS_ON = ' ' "
* I_E16 = "REA Partner Master Record: Packaging Category - Fraction
* I_E16T = "REA Partner Master Rec.: Packag. Ctgry Fraction, Short Text
* I_E17 = "REA Partner Master: Price Formulas
* I_E17T = "REA Partner Master: Formulas Short Text
* I_S02 = "
* I_S02T = "
* I_MODUS_ENQUEUE_PARTN = 'X' "
* I_MODUS_UPDATE = 'S' "Update Mode: (S)ynchronous, (A)synchronous
* I_MODUS_PLAUSIB_CHECK = 'N' "Plausibility Check Before Saving: (A)lways, (N)ever, (I)nfo
* I_MODUS_DEL = ' ' "
* I_COPY_MODUS = ' ' "No Checks - Parameter Enhancement Only
I_E00 = "REA Partner Master Record: Name of Recycling Partner

CHANGING
RETURN = "Return Parameters

EXCEPTIONS
MAINTAIN_ERROR = 1
.



IMPORTING Parameters details for J_7L_MAINTAIN_PARTNER

I_FLG_CH_DOC_ON - Generate Change Documents (X, )

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

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

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

I_E02 - REA Partner Master Record: Company Code

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

I_E04 - REA Partner Master Record: Volume/Area Classes

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

I_E04T - REA Partner Master Record: Volume/Area Classes Short Texts

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

I_E05 - REA Partner Master Record: Packaging Types

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

I_E06 - REA Partner Master Record: Additional Information Key

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

I_E06T - REA Partner Master Record: Additional Info., Short Text

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

I_E07 - REA Partner Master Record: Content Identification Key

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

I_E07T - REA Partner Master Record: Content Ident.Key, Short Text

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

I_E08 - REA Partner Master Record: Month-Quarter Assignment

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

I_FLG_CONST_CHECK_ON - Consistency Check After Saving (X. )

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

I_E09 - REA Partner Master: Document Types

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

I_E09T - REA Partner Master: Document Types Short Text

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

I_E10 - REA Partner Master: Document Types Periodicity

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

I_E11 - REA Partner Master: Selection Groups for Consecutive Docs

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

I_E11T - REA Partner Master: Selection Grps for Consec.Docs Short Txt

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

I_E12 - REA Partner Master: Consecutive Doc.-to-Selection Grp Asgmt

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

I_E13 - REA Partner Master: Trade Levels

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

I_E13T - REA Partner Master: Trade Levels - Short Text

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

I_E15 - REA Partner Master: Formulas for Fee Calculation

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

I_E15T - REA Partner Master Record: Formulas - Short Texts

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

I_TEST_MODUS_ON -

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

I_E16 - REA Partner Master Record: Packaging Category - Fraction

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

I_E16T - REA Partner Master Rec.: Packag. Ctgry Fraction, Short Text

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

I_E17 - REA Partner Master: Price Formulas

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

I_E17T - REA Partner Master: Formulas Short Text

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

I_S02 -

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

I_S02T -

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

I_MODUS_ENQUEUE_PARTN -

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

I_MODUS_UPDATE - Update Mode: (S)ynchronous, (A)synchronous

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

I_MODUS_PLAUSIB_CHECK - Plausibility Check Before Saving: (A)lways, (N)ever, (I)nfo

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

I_MODUS_DEL -

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

I_COPY_MODUS - No Checks - Parameter Enhancement Only

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

I_E00 - REA Partner Master Record: Name of Recycling Partner

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

CHANGING Parameters details for J_7L_MAINTAIN_PARTNER

RETURN - Return Parameters

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

EXCEPTIONS details

MAINTAIN_ERROR - Error During Processing

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_7L_MAINTAIN_PARTNER 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_return  TYPE J_7LTY_RETURN, "   
lv_maintain_error  TYPE J_7LTY_RETURN, "   
lv_i_flg_ch_doc_on  TYPE C, "   'X'
lv_i_e01  TYPE J_7LTY_E01, "   
lv_i_e02  TYPE J_7LTY_E02, "   
lv_i_e04  TYPE J_7LTY_E04, "   
lv_i_e04t  TYPE J_7LTY_E04T, "   
lv_i_e05  TYPE J_7LTY_E05, "   
lv_i_e06  TYPE J_7LTY_E06, "   
lv_i_e06t  TYPE J_7LTY_E06T, "   
lv_i_e07  TYPE J_7LTY_E07, "   
lv_i_e07t  TYPE J_7LTY_E07T, "   
lv_i_e08  TYPE J_7LTY_E08, "   
lv_i_flg_const_check_on  TYPE C, "   SPACE
lv_i_e09  TYPE J_7LTY_E09, "   
lv_i_e09t  TYPE J_7LTY_E09T, "   
lv_i_e10  TYPE J_7LTY_E10, "   
lv_i_e11  TYPE J_7LTY_E11, "   
lv_i_e11t  TYPE J_7LTY_E11T, "   
lv_i_e12  TYPE J_7LTY_E12, "   
lv_i_e13  TYPE J_7LTY_E13, "   
lv_i_e13t  TYPE J_7LTY_E13T, "   
lv_i_e15  TYPE J_7LTY_E15, "   
lv_i_e15t  TYPE J_7LTY_E15T, "   
lv_i_test_modus_on  TYPE C, "   SPACE
lv_i_e16  TYPE J_7LTY_E16, "   
lv_i_e16t  TYPE J_7LTY_E16T, "   
lv_i_e17  TYPE J_7LTY_E17, "   
lv_i_e17t  TYPE J_7LTY_E17T, "   
lv_i_s02  TYPE J_7LTY_S02, "   
lv_i_s02t  TYPE J_7LTY_S02T, "   
lv_i_modus_enqueue_partn  TYPE C, "   'X'
lv_i_modus_update  TYPE C, "   'S'
lv_i_modus_plausib_check  TYPE C, "   'N'
lv_i_modus_del  TYPE C, "   SPACE
lv_i_copy_modus  TYPE C, "   SPACE
lv_i_e00  TYPE J_7LTY_E00. "   

  CALL FUNCTION 'J_7L_MAINTAIN_PARTNER'  "NOTRANSL: REA Partnerverwaltung: Anlegen/Ändern von Partnerdaten
    EXPORTING
         I_FLG_CH_DOC_ON = lv_i_flg_ch_doc_on
         I_E01 = lv_i_e01
         I_E02 = lv_i_e02
         I_E04 = lv_i_e04
         I_E04T = lv_i_e04t
         I_E05 = lv_i_e05
         I_E06 = lv_i_e06
         I_E06T = lv_i_e06t
         I_E07 = lv_i_e07
         I_E07T = lv_i_e07t
         I_E08 = lv_i_e08
         I_FLG_CONST_CHECK_ON = lv_i_flg_const_check_on
         I_E09 = lv_i_e09
         I_E09T = lv_i_e09t
         I_E10 = lv_i_e10
         I_E11 = lv_i_e11
         I_E11T = lv_i_e11t
         I_E12 = lv_i_e12
         I_E13 = lv_i_e13
         I_E13T = lv_i_e13t
         I_E15 = lv_i_e15
         I_E15T = lv_i_e15t
         I_TEST_MODUS_ON = lv_i_test_modus_on
         I_E16 = lv_i_e16
         I_E16T = lv_i_e16t
         I_E17 = lv_i_e17
         I_E17T = lv_i_e17t
         I_S02 = lv_i_s02
         I_S02T = lv_i_s02t
         I_MODUS_ENQUEUE_PARTN = lv_i_modus_enqueue_partn
         I_MODUS_UPDATE = lv_i_modus_update
         I_MODUS_PLAUSIB_CHECK = lv_i_modus_plausib_check
         I_MODUS_DEL = lv_i_modus_del
         I_COPY_MODUS = lv_i_copy_modus
         I_E00 = lv_i_e00
    CHANGING
         RETURN = lv_return
    EXCEPTIONS
        MAINTAIN_ERROR = 1
. " J_7L_MAINTAIN_PARTNER




ABAP code using 7.40 inline data declarations to call FM J_7L_MAINTAIN_PARTNER

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.

 
 
DATA(ld_i_flg_ch_doc_on) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_flg_const_check_on) = ' '.
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_test_modus_on) = ' '.
 
 
 
 
 
 
 
DATA(ld_i_modus_enqueue_partn) = 'X'.
 
DATA(ld_i_modus_update) = 'S'.
 
DATA(ld_i_modus_plausib_check) = 'N'.
 
DATA(ld_i_modus_del) = ' '.
 
DATA(ld_i_copy_modus) = ' '.
 
 


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!