SAP KOPIERTE_PARTNER_PRUEFEN Function Module for NOTRANSL: Überprüfen der Partnertabelle nach dem Kopieren









KOPIERTE_PARTNER_PRUEFEN is a standard kopierte partner pruefen 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: Überprüfen der Partnertabelle nach dem Kopieren 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 kopierte partner pruefen FM, simply by entering the name KOPIERTE_PARTNER_PRUEFEN into the relevant SAP transaction such as SE37 or SE38.

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



Function KOPIERTE_PARTNER_PRUEFEN 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 'KOPIERTE_PARTNER_PRUEFEN'"NOTRANSL: Überprüfen der Partnertabelle nach dem Kopieren
EXPORTING
PARTNERGRUPPE = "
* KNREF_NACHLESEN = "
* FIV_HITYP_PR = ' ' "
* FIV_HI_DATE = SY-DATLO "Date and Time, Current (Application Server) Date
* KOPIEREN = ' ' "
* FIF_OBJECTTYPE = "
* FIF_OBJECTKEY = "
* FIF_VBTYP = "
* NO_DIALOG = "
* PARTNERGRUPPE2 = ' ' "
POSITION = "
REFERENZ_BELEG = "
* ROLLE_FUER_NACHLESEN_KNVP = 'AG' "
SPARTE = "
VERKAUFSORGANISATION = "
VERTRIEBSWEG = "
* ALLE_PARTNER_VORSCHLAGEN = "

TABLES
TABELLE_XVBPA = "
VBUV_TAB = "
.



IMPORTING Parameters details for KOPIERTE_PARTNER_PRUEFEN

PARTNERGRUPPE -

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

KNREF_NACHLESEN -

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

FIV_HITYP_PR -

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

FIV_HI_DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATLO
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

KOPIEREN -

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

FIF_OBJECTTYPE -

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

FIF_OBJECTKEY -

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

FIF_VBTYP -

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

NO_DIALOG -

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

PARTNERGRUPPE2 -

Data type: TPAER-PARGR
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSITION -

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

REFERENZ_BELEG -

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

ROLLE_FUER_NACHLESEN_KNVP -

Data type: TPAR-PARVW
Default: 'AG'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPARTE -

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

VERKAUFSORGANISATION -

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

VERTRIEBSWEG -

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

ALLE_PARTNER_VORSCHLAGEN -

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

TABLES Parameters details for KOPIERTE_PARTNER_PRUEFEN

TABELLE_XVBPA -

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

VBUV_TAB -

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

Copy and paste ABAP code example for KOPIERTE_PARTNER_PRUEFEN 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_partnergruppe  TYPE TVAK-PARGR, "   
lt_tabelle_xvbpa  TYPE STANDARD TABLE OF VBPAV, "   
lv_knref_nachlesen  TYPE RVSEL-XFELD, "   
lv_fiv_hityp_pr  TYPE HITYP_PR, "   SPACE
lv_fiv_hi_date  TYPE SY-DATLO, "   SY-DATLO
lv_kopieren  TYPE CHAR1, "   SPACE
lv_fif_objecttype  TYPE SWO_OBJTYP, "   
lv_fif_objectkey  TYPE SWO_TYPEID, "   
lv_fif_vbtyp  TYPE VBTYP, "   
lv_no_dialog  TYPE C, "   
lt_vbuv_tab  TYPE STANDARD TABLE OF C, "   
lv_partnergruppe2  TYPE TPAER-PARGR, "   ' '
lv_position  TYPE VBAP-POSNR, "   
lv_referenz_beleg  TYPE VBAK-VBELN, "   
lv_rolle_fuer_nachlesen_knvp  TYPE TPAR-PARVW, "   'AG'
lv_sparte  TYPE VBAK-SPART, "   
lv_verkaufsorganisation  TYPE VBAK-VKORG, "   
lv_vertriebsweg  TYPE VBAK-VTWEG, "   
lv_alle_partner_vorschlagen  TYPE RVSEL-XFELD. "   

  CALL FUNCTION 'KOPIERTE_PARTNER_PRUEFEN'  "NOTRANSL: Überprüfen der Partnertabelle nach dem Kopieren
    EXPORTING
         PARTNERGRUPPE = lv_partnergruppe
         KNREF_NACHLESEN = lv_knref_nachlesen
         FIV_HITYP_PR = lv_fiv_hityp_pr
         FIV_HI_DATE = lv_fiv_hi_date
         KOPIEREN = lv_kopieren
         FIF_OBJECTTYPE = lv_fif_objecttype
         FIF_OBJECTKEY = lv_fif_objectkey
         FIF_VBTYP = lv_fif_vbtyp
         NO_DIALOG = lv_no_dialog
         PARTNERGRUPPE2 = lv_partnergruppe2
         POSITION = lv_position
         REFERENZ_BELEG = lv_referenz_beleg
         ROLLE_FUER_NACHLESEN_KNVP = lv_rolle_fuer_nachlesen_knvp
         SPARTE = lv_sparte
         VERKAUFSORGANISATION = lv_verkaufsorganisation
         VERTRIEBSWEG = lv_vertriebsweg
         ALLE_PARTNER_VORSCHLAGEN = lv_alle_partner_vorschlagen
    TABLES
         TABELLE_XVBPA = lt_tabelle_xvbpa
         VBUV_TAB = lt_vbuv_tab
. " KOPIERTE_PARTNER_PRUEFEN




ABAP code using 7.40 inline data declarations to call FM KOPIERTE_PARTNER_PRUEFEN

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 PARGR FROM TVAK INTO @DATA(ld_partnergruppe).
 
 
"SELECT single XFELD FROM RVSEL INTO @DATA(ld_knref_nachlesen).
 
DATA(ld_fiv_hityp_pr) = ' '.
 
"SELECT single DATLO FROM SY INTO @DATA(ld_fiv_hi_date).
DATA(ld_fiv_hi_date) = SY-DATLO.
 
DATA(ld_kopieren) = ' '.
 
 
 
 
 
 
"SELECT single PARGR FROM TPAER INTO @DATA(ld_partnergruppe2).
DATA(ld_partnergruppe2) = ' '.
 
"SELECT single POSNR FROM VBAP INTO @DATA(ld_position).
 
"SELECT single VBELN FROM VBAK INTO @DATA(ld_referenz_beleg).
 
"SELECT single PARVW FROM TPAR INTO @DATA(ld_rolle_fuer_nachlesen_knvp).
DATA(ld_rolle_fuer_nachlesen_knvp) = 'AG'.
 
"SELECT single SPART FROM VBAK INTO @DATA(ld_sparte).
 
"SELECT single VKORG FROM VBAK INTO @DATA(ld_verkaufsorganisation).
 
"SELECT single VTWEG FROM VBAK INTO @DATA(ld_vertriebsweg).
 
"SELECT single XFELD FROM RVSEL INTO @DATA(ld_alle_partner_vorschlagen).
 


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!