SAP PFO_FOA_SELWID_SEG Function Module for NOTRANSL: FB zur Selektion mit IDs









PFO_FOA_SELWID_SEG is a standard pfo foa selwid seg 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: FB zur Selektion mit IDs 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 pfo foa selwid seg FM, simply by entering the name PFO_FOA_SELWID_SEG into the relevant SAP transaction such as SE37 or SE38.

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



Function PFO_FOA_SELWID_SEG 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 'PFO_FOA_SELWID_SEG'"NOTRANSL: FB zur Selektion mit IDs
EXPORTING
ID_OATYID = "FOA: Assignment Type ID
ID_OAWLMETH = "FOA: Executable Methods in Worklist Processing
ID_SELSTRUCT = "FOA: Structure for Selection or Parameter Interface
ID_SELMETH = "FOA: Usage Method for Selection / Parameter Interface
IT_OBJIDENT = "FOA: Object Identification (Table Type)

TABLES
ET_SELRESULT = "Table Type for FOA Structure of GO_0000

EXCEPTIONS
CX_CACS_OAWL_EX = 1
.



IMPORTING Parameters details for PFO_FOA_SELWID_SEG

ID_OATYID - FOA: Assignment Type ID

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

ID_OAWLMETH - FOA: Executable Methods in Worklist Processing

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

ID_SELSTRUCT - FOA: Structure for Selection or Parameter Interface

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

ID_SELMETH - FOA: Usage Method for Selection / Parameter Interface

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

IT_OBJIDENT - FOA: Object Identification (Table Type)

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

TABLES Parameters details for PFO_FOA_SELWID_SEG

ET_SELRESULT - Table Type for FOA Structure of GO_0000

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

EXCEPTIONS details

CX_CACS_OAWL_EX -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PFO_FOA_SELWID_SEG 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_id_oatyid  TYPE CACSOATYID, "   
lt_et_selresult  TYPE STANDARD TABLE OF PFO_S_FOA_RESULT_SEG, "   
lv_cx_cacs_oawl_ex  TYPE PFO_S_FOA_RESULT_SEG, "   
lv_id_oawlmeth  TYPE CACSOAWLMETH, "   
lv_id_selstruct  TYPE CACSOASTRUCT, "   
lv_id_selmeth  TYPE CACSOASTRUCTMETH, "   
lv_it_objident  TYPE CACS_TT_OAOBJIDENT. "   

  CALL FUNCTION 'PFO_FOA_SELWID_SEG'  "NOTRANSL: FB zur Selektion mit IDs
    EXPORTING
         ID_OATYID = lv_id_oatyid
         ID_OAWLMETH = lv_id_oawlmeth
         ID_SELSTRUCT = lv_id_selstruct
         ID_SELMETH = lv_id_selmeth
         IT_OBJIDENT = lv_it_objident
    TABLES
         ET_SELRESULT = lt_et_selresult
    EXCEPTIONS
        CX_CACS_OAWL_EX = 1
. " PFO_FOA_SELWID_SEG




ABAP code using 7.40 inline data declarations to call FM PFO_FOA_SELWID_SEG

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.

 
 
 
 
 
 
 


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!