SAP PAV_SELECT_OBJECT Function Module for NOTRANSL: Auswahl von Objekten entspr. Selektionskriterien









PAV_SELECT_OBJECT is a standard pav select object 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: Auswahl von Objekten entspr. Selektionskriterien 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 pav select object FM, simply by entering the name PAV_SELECT_OBJECT into the relevant SAP transaction such as SE37 or SE38.

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



Function PAV_SELECT_OBJECT 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 'PAV_SELECT_OBJECT'"NOTRANSL: Auswahl von Objekten entspr. Selektionskriterien
EXPORTING
* AUSW_KZ_ADR = ' ' "
* AUSW_KZ_OBJ = 'A' "
* NO_DISPL_IF_ONE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* SANO1_IN = ' ' "Address-object relationship
* SANS1_IN = ' ' "Address table

TABLES
SANO1_OUT = "Selected Objects
SANS1_OUT = "Address table
* TZV03_IN = "Object categ.for objects which addresses can be assigned to

EXCEPTIONS
ILLEGAL_AUSW = 1 ILLEGAL_OBTYP = 2 NO_RECORD_FOUND = 3 NO_RECORD_SELECTED = 4 SELECT_ERROR = 5
.



IMPORTING Parameters details for PAV_SELECT_OBJECT

AUSW_KZ_ADR -

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

AUSW_KZ_OBJ -

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

NO_DISPL_IF_ONE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

SANO1_IN - Address-object relationship

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

SANS1_IN - Address table

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

TABLES Parameters details for PAV_SELECT_OBJECT

SANO1_OUT - Selected Objects

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

SANS1_OUT - Address table

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

TZV03_IN - Object categ.for objects which addresses can be assigned to

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

EXCEPTIONS details

ILLEGAL_AUSW - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ILLEGAL_OBTYP - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NO_RECORD_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NO_RECORD_SELECTED - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

SELECT_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for PAV_SELECT_OBJECT 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:
lt_sano1_out  TYPE STANDARD TABLE OF SANO1, "   
lv_ausw_kz_adr  TYPE SANO1, "   SPACE
lv_illegal_ausw  TYPE SANO1, "   
lt_sans1_out  TYPE STANDARD TABLE OF SANS1, "   
lv_ausw_kz_obj  TYPE SANS1, "   'A'
lv_illegal_obtyp  TYPE SANS1, "   
lt_tzv03_in  TYPE STANDARD TABLE OF TZV03, "   
lv_no_displ_if_one  TYPE TZV03, "   SPACE
lv_no_record_found  TYPE TZV03, "   
lv_sano1_in  TYPE SANO1, "   SPACE
lv_no_record_selected  TYPE SANO1, "   
lv_sans1_in  TYPE SANS1, "   SPACE
lv_select_error  TYPE SANS1. "   

  CALL FUNCTION 'PAV_SELECT_OBJECT'  "NOTRANSL: Auswahl von Objekten entspr. Selektionskriterien
    EXPORTING
         AUSW_KZ_ADR = lv_ausw_kz_adr
         AUSW_KZ_OBJ = lv_ausw_kz_obj
         NO_DISPL_IF_ONE = lv_no_displ_if_one
         SANO1_IN = lv_sano1_in
         SANS1_IN = lv_sans1_in
    TABLES
         SANO1_OUT = lt_sano1_out
         SANS1_OUT = lt_sans1_out
         TZV03_IN = lt_tzv03_in
    EXCEPTIONS
        ILLEGAL_AUSW = 1
        ILLEGAL_OBTYP = 2
        NO_RECORD_FOUND = 3
        NO_RECORD_SELECTED = 4
        SELECT_ERROR = 5
. " PAV_SELECT_OBJECT




ABAP code using 7.40 inline data declarations to call FM PAV_SELECT_OBJECT

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_ausw_kz_adr) = ' '.
 
 
 
DATA(ld_ausw_kz_obj) = 'A'.
 
 
 
DATA(ld_no_displ_if_one) = ' '.
 
 
DATA(ld_sano1_in) = ' '.
 
 
DATA(ld_sans1_in) = ' '.
 
 


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!