SAP AIPH_EO_ORG_UNIT_GET_EPPOS Function Module for









AIPH_EO_ORG_UNIT_GET_EPPOS is a standard aiph eo org unit get eppos 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 org unit get eppos FM, simply by entering the name AIPH_EO_ORG_UNIT_GET_EPPOS 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_ORG_UNIT_GET_EPPOS 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_ORG_UNIT_GET_EPPOS'"
EXPORTING
I_OBJID = "
* I_PLVAR = "
* I_KEY_DATE = SY-DATUM "
* I_FROM_DATE = C_DATE_LOW "
* I_TO_DATE = C_DATE_HIGH "
* I_EPDEF_ID = "

IMPORTING
E_ACT_RELATION = "

TABLES
* ET_RELATION = "

EXCEPTIONS
NO_POSITIONS = 1 READ_ERROR = 2
.



IMPORTING Parameters details for AIPH_EO_ORG_UNIT_GET_EPPOS

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: Yes
Call by Reference: No ( called with pass by value option)

I_KEY_DATE -

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

I_FROM_DATE -

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

I_TO_DATE -

Data type: ENDDATUM
Default: C_DATE_HIGH
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_ORG_UNIT_GET_EPPOS

E_ACT_RELATION -

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

TABLES Parameters details for AIPH_EO_ORG_UNIT_GET_EPPOS

ET_RELATION -

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

EXCEPTIONS details

NO_POSITIONS -

Data type:
Optional: No
Call by Reference: Yes

READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for AIPH_EO_ORG_UNIT_GET_EPPOS 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_objid  TYPE PD_OBJID_R, "   
lt_et_relation  TYPE STANDARD TABLE OF P1001, "   
lv_no_positions  TYPE P1001, "   
lv_e_act_relation  TYPE P1001, "   
lv_i_plvar  TYPE PLVAR, "   
lv_read_error  TYPE PLVAR, "   
lv_i_key_date  TYPE DATS, "   SY-DATUM
lv_i_from_date  TYPE BEGDATUM, "   C_DATE_LOW
lv_i_to_date  TYPE ENDDATUM, "   C_DATE_HIGH
lv_i_epdef_id  TYPE EPDEF_ID. "   

  CALL FUNCTION 'AIPH_EO_ORG_UNIT_GET_EPPOS'  "
    EXPORTING
         I_OBJID = lv_i_objid
         I_PLVAR = lv_i_plvar
         I_KEY_DATE = lv_i_key_date
         I_FROM_DATE = lv_i_from_date
         I_TO_DATE = lv_i_to_date
         I_EPDEF_ID = lv_i_epdef_id
    IMPORTING
         E_ACT_RELATION = lv_e_act_relation
    TABLES
         ET_RELATION = lt_et_relation
    EXCEPTIONS
        NO_POSITIONS = 1
        READ_ERROR = 2
. " AIPH_EO_ORG_UNIT_GET_EPPOS




ABAP code using 7.40 inline data declarations to call FM AIPH_EO_ORG_UNIT_GET_EPPOS

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_key_date) = SY-DATUM.
 
DATA(ld_i_from_date) = C_DATE_LOW.
 
DATA(ld_i_to_date) = C_DATE_HIGH.
 
 


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!