SAP S_EXT_EDIT_FROM_PHIO Function Module for









S_EXT_EDIT_FROM_PHIO is a standard s ext edit from phio SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 s ext edit from phio FM, simply by entering the name S_EXT_EDIT_FROM_PHIO into the relevant SAP transaction such as SE37 or SE38.

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



Function S_EXT_EDIT_FROM_PHIO 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 'S_EXT_EDIT_FROM_PHIO'"
EXPORTING
PRIMARY_PHIO = "SAP ArchiveLink: Data Element for Absolute URI
* ACTION = 'E' "Single-Character Flag
* SEND_POPUP = 'X' "Single-Character Flag
* FILE_EXTENSION = "File extension
* NEW_VERSIONS = "Single-Character Flag
* OBJ_CLASS = "
* EDIT_PROCESS = "Conversion

IMPORTING
PRIMARY_PATH = "Local file for upload/download
ERROR = "IWB: Message passing structure
CREATE_NEW_VERSION = "Single-Character Flag
PRIMARY_PATH_LNG = "

CHANGING
* WORK_DIR = "

TABLES
* SECONDARY_PATHS = "Program Fields/Screen Fields for SAPLGRAP
* CONTEXT = "Context
* SECONDARY_PATHS_LNG = "
.



IMPORTING Parameters details for S_EXT_EDIT_FROM_PHIO

PRIMARY_PHIO - SAP ArchiveLink: Data Element for Absolute URI

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

ACTION - Single-Character Flag

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

SEND_POPUP - Single-Character Flag

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

FILE_EXTENSION - File extension

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

NEW_VERSIONS - Single-Character Flag

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

OBJ_CLASS -

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

EDIT_PROCESS - Conversion

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

EXPORTING Parameters details for S_EXT_EDIT_FROM_PHIO

PRIMARY_PATH - Local file for upload/download

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

ERROR - IWB: Message passing structure

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

CREATE_NEW_VERSION - Single-Character Flag

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

PRIMARY_PATH_LNG -

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

CHANGING Parameters details for S_EXT_EDIT_FROM_PHIO

WORK_DIR -

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

TABLES Parameters details for S_EXT_EDIT_FROM_PHIO

SECONDARY_PATHS - Program Fields/Screen Fields for SAPLGRAP

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

CONTEXT - Context

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

SECONDARY_PATHS_LNG -

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

Copy and paste ABAP code example for S_EXT_EDIT_FROM_PHIO 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_work_dir  TYPE SDOK_CHTRD, "   
lv_primary_path  TYPE RLGRAP-FILENAME, "   
lv_primary_phio  TYPE SDOKOBJECT, "   
lt_secondary_paths  TYPE STANDARD TABLE OF RLGRAP, "   
lv_error  TYPE IWERRORMSG, "   
lv_action  TYPE CHAR1, "   'E'
lt_context  TYPE STANDARD TABLE OF SDOKPROPTY, "   
lv_send_popup  TYPE CHAR1, "   'X'
lv_create_new_version  TYPE CHAR1, "   
lt_secondary_paths_lng  TYPE STANDARD TABLE OF SADOCFILEPATH, "   
lv_file_extension  TYPE CHAR5, "   
lv_primary_path_lng  TYPE SDOK_FILNM, "   
lv_new_versions  TYPE CHAR1, "   
lv_obj_class  TYPE SDOK_CLASS, "   
lv_edit_process  TYPE IW_PROCESS. "   

  CALL FUNCTION 'S_EXT_EDIT_FROM_PHIO'  "
    EXPORTING
         PRIMARY_PHIO = lv_primary_phio
         ACTION = lv_action
         SEND_POPUP = lv_send_popup
         FILE_EXTENSION = lv_file_extension
         NEW_VERSIONS = lv_new_versions
         OBJ_CLASS = lv_obj_class
         EDIT_PROCESS = lv_edit_process
    IMPORTING
         PRIMARY_PATH = lv_primary_path
         ERROR = lv_error
         CREATE_NEW_VERSION = lv_create_new_version
         PRIMARY_PATH_LNG = lv_primary_path_lng
    CHANGING
         WORK_DIR = lv_work_dir
    TABLES
         SECONDARY_PATHS = lt_secondary_paths
         CONTEXT = lt_context
         SECONDARY_PATHS_LNG = lt_secondary_paths_lng
. " S_EXT_EDIT_FROM_PHIO




ABAP code using 7.40 inline data declarations to call FM S_EXT_EDIT_FROM_PHIO

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 FILENAME FROM RLGRAP INTO @DATA(ld_primary_path).
 
 
 
 
DATA(ld_action) = 'E'.
 
 
DATA(ld_send_popup) = 'X'.
 
 
 
 
 
 
 
 


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!