SAP PFO_FOA_SELWID_00IV_PDORG Function Module for NOTRANSL: FB zur Selektion mit IDs
PFO_FOA_SELWID_00IV_PDORG is a standard pfo foa selwid 00iv pdorg 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 00iv pdorg FM, simply by entering the name PFO_FOA_SELWID_00IV_PDORG into the relevant SAP transaction such as SE37 or SE38.
Function Group: PFO_FOAPLUG_PM_CON
Program Name: SAPLPFO_FOAPLUG_PM_CON
Main Program: SAPLPFO_FOAPLUG_PM_CON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PFO_FOA_SELWID_00IV_PDORG 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_00IV_PDORG'"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 = "Structure for Transferring Selection Results to FOA
EXCEPTIONS
CX_CACS_OAWL_EX = 1
IMPORTING Parameters details for PFO_FOA_SELWID_00IV_PDORG
ID_OATYID - FOA: Assignment Type ID
Data type: CACSOATYIDOptional: No
Call by Reference: Yes
ID_OAWLMETH - FOA: Executable Methods in Worklist Processing
Data type: CACSOAWLMETHOptional: No
Call by Reference: Yes
ID_SELSTRUCT - FOA: Structure for Selection or Parameter Interface
Data type: CACSOASTRUCTOptional: No
Call by Reference: Yes
ID_SELMETH - FOA: Usage Method for Selection / Parameter Interface
Data type: CACSOASTRUCTMETHOptional: No
Call by Reference: Yes
IT_OBJIDENT - FOA: Object Identification (Table Type)
Data type: CACS_TT_OAOBJIDENTOptional: No
Call by Reference: Yes
TABLES Parameters details for PFO_FOA_SELWID_00IV_PDORG
ET_SELRESULT - Structure for Transferring Selection Results to FOA
Data type: PFO_S_FOA_RESULT_GO_00IVOptional: No
Call by Reference: Yes
EXCEPTIONS details
CX_CACS_OAWL_EX - 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 PFO_FOA_SELWID_00IV_PDORG 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_GO_00IV, " | |||
| lv_cx_cacs_oawl_ex | TYPE PFO_S_FOA_RESULT_GO_00IV, " | |||
| 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_00IV_PDORG' "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_00IV_PDORG | ||
ABAP code using 7.40 inline data declarations to call FM PFO_FOA_SELWID_00IV_PDORG
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