SAP AIPH_EO_EPPOS_GET_PRESET_DATA Function Module for









AIPH_EO_EPPOS_GET_PRESET_DATA is a standard aiph eo eppos get preset data 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 aiph eo eppos get preset data FM, simply by entering the name AIPH_EO_EPPOS_GET_PRESET_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function AIPH_EO_EPPOS_GET_PRESET_DATA 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 'AIPH_EO_EPPOS_GET_PRESET_DATA'"
EXPORTING
I_OTYPE = "
I_OBJID = "
I_PLVAR = "
* I_FROM_DATE = SY-DATUM "
* I_TO_DATE = SY-DATUM "
* I_EPDEF_ID = "

IMPORTING
E_IMPR = "

TABLES
* PT_OBJECT_ID = "

EXCEPTIONS
NO_OBJECTS_FOUND = 1 PLVAR_NOT_FOUND = 2
.



IMPORTING Parameters details for AIPH_EO_EPPOS_GET_PRESET_DATA

I_OTYPE -

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

I_OBJID -

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

I_PLVAR -

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

I_FROM_DATE -

Data type: BEGDATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TO_DATE -

Data type: ENDDATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_EPDEF_ID -

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

EXPORTING Parameters details for AIPH_EO_EPPOS_GET_PRESET_DATA

E_IMPR -

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

TABLES Parameters details for AIPH_EO_EPPOS_GET_PRESET_DATA

PT_OBJECT_ID -

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

EXCEPTIONS details

NO_OBJECTS_FOUND -

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

PLVAR_NOT_FOUND -

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

Copy and paste ABAP code example for AIPH_EO_EPPOS_GET_PRESET_DATA 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_e_impr  TYPE IMPR, "   
lv_i_otype  TYPE OTYPE, "   
lt_pt_object_id  TYPE STANDARD TABLE OF HREALO, "   
lv_no_objects_found  TYPE HREALO, "   
lv_i_objid  TYPE PD_OBJID_R, "   
lv_plvar_not_found  TYPE PD_OBJID_R, "   
lv_i_plvar  TYPE PLVAR, "   
lv_i_from_date  TYPE BEGDATUM, "   SY-DATUM
lv_i_to_date  TYPE ENDDATUM, "   SY-DATUM
lv_i_epdef_id  TYPE EPDEF_ID. "   

  CALL FUNCTION 'AIPH_EO_EPPOS_GET_PRESET_DATA'  "
    EXPORTING
         I_OTYPE = lv_i_otype
         I_OBJID = lv_i_objid
         I_PLVAR = lv_i_plvar
         I_FROM_DATE = lv_i_from_date
         I_TO_DATE = lv_i_to_date
         I_EPDEF_ID = lv_i_epdef_id
    IMPORTING
         E_IMPR = lv_e_impr
    TABLES
         PT_OBJECT_ID = lt_pt_object_id
    EXCEPTIONS
        NO_OBJECTS_FOUND = 1
        PLVAR_NOT_FOUND = 2
. " AIPH_EO_EPPOS_GET_PRESET_DATA




ABAP code using 7.40 inline data declarations to call FM AIPH_EO_EPPOS_GET_PRESET_DATA

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_i_from_date) = SY-DATUM.
 
DATA(ld_i_to_date) = SY-DATUM.
 
 


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!