SAP PPEFOCCUST_GET_PFTY Function Module for NOTRANSL: Zuordnungssätze zum Focusstammsatz lesen









PPEFOCCUST_GET_PFTY is a standard ppefoccust get pfty 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: Zuordnungssätze zum Focusstammsatz lesen 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 ppefoccust get pfty FM, simply by entering the name PPEFOCCUST_GET_PFTY into the relevant SAP transaction such as SE37 or SE38.

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



Function PPEFOCCUST_GET_PFTY 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 'PPEFOCCUST_GET_PFTY'"NOTRANSL: Zuordnungssätze zum Focusstammsatz lesen
EXPORTING
I_PFTYPE = "iPPE Focus Type
* I_WITH_TEXT = "Checkbox
* I_LANGU = "ABAP System Field: Language Key of Text Environment

IMPORTING
ES_CPFTYPE = "Customizing Table for iPPE Focus Type
ES_CPFTYPET = "Focus Master Record Types: Texts
ES_REFTYPE = "Customizing Table for iPPE Focus Type
E_REDEFINED = "Checkbox
E_FOC_ICON = "Icon for iPPE Objects

CHANGING
* CH_PFOCID = "iPPE Focus Master Record

EXCEPTIONS
ERR_NO_DATA = 1 ERR_NO_TXDATA = 2
.



IMPORTING Parameters details for PPEFOCCUST_GET_PFTY

I_PFTYPE - iPPE Focus Type

Data type: CPFTYPE-PFTYPE
Optional: No
Call by Reference: Yes

I_WITH_TEXT - Checkbox

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

I_LANGU - ABAP System Field: Language Key of Text Environment

Data type: SY-LANGU
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PPEFOCCUST_GET_PFTY

ES_CPFTYPE - Customizing Table for iPPE Focus Type

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

ES_CPFTYPET - Focus Master Record Types: Texts

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

ES_REFTYPE - Customizing Table for iPPE Focus Type

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

E_REDEFINED - Checkbox

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

E_FOC_ICON - Icon for iPPE Objects

Data type: CPFTYPE-ICON
Optional: No
Call by Reference: Yes

CHANGING Parameters details for PPEFOCCUST_GET_PFTY

CH_PFOCID - iPPE Focus Master Record

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

EXCEPTIONS details

ERR_NO_DATA -

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

ERR_NO_TXDATA -

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

Copy and paste ABAP code example for PPEFOCCUST_GET_PFTY 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_i_pftype  TYPE CPFTYPE-PFTYPE, "   
lv_ch_pfocid  TYPE PFOCID, "   
lv_es_cpftype  TYPE CPFTYPE, "   
lv_err_no_data  TYPE CPFTYPE, "   
lv_es_cpftypet  TYPE CPFTYPET, "   
lv_i_with_text  TYPE XFELD, "   
lv_err_no_txdata  TYPE XFELD, "   
lv_i_langu  TYPE SY-LANGU, "   
lv_es_reftype  TYPE CPFTYPE, "   
lv_e_redefined  TYPE XFELD, "   
lv_e_foc_icon  TYPE CPFTYPE-ICON. "   

  CALL FUNCTION 'PPEFOCCUST_GET_PFTY'  "NOTRANSL: Zuordnungssätze zum Focusstammsatz lesen
    EXPORTING
         I_PFTYPE = lv_i_pftype
         I_WITH_TEXT = lv_i_with_text
         I_LANGU = lv_i_langu
    IMPORTING
         ES_CPFTYPE = lv_es_cpftype
         ES_CPFTYPET = lv_es_cpftypet
         ES_REFTYPE = lv_es_reftype
         E_REDEFINED = lv_e_redefined
         E_FOC_ICON = lv_e_foc_icon
    CHANGING
         CH_PFOCID = lv_ch_pfocid
    EXCEPTIONS
        ERR_NO_DATA = 1
        ERR_NO_TXDATA = 2
. " PPEFOCCUST_GET_PFTY




ABAP code using 7.40 inline data declarations to call FM PPEFOCCUST_GET_PFTY

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 PFTYPE FROM CPFTYPE INTO @DATA(ld_i_pftype).
 
 
 
 
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
 
 
 
"SELECT single ICON FROM CPFTYPE INTO @DATA(ld_e_foc_icon).
 


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!