SAP AIPH_EO_EPPOS_GET_ORG_UNIT Function Module for









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

IMPORTING
E_ACT_RELATION = "

TABLES
* ET_RELATIONS = "

EXCEPTIONS
NOT_ASSIGNED = 1 READ_ERROR = 2
.



IMPORTING Parameters details for AIPH_EO_EPPOS_GET_ORG_UNIT

I_EPPOS_NO -

Data type: IM_POSNR
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: BEGDATUM
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)

EXPORTING Parameters details for AIPH_EO_EPPOS_GET_ORG_UNIT

E_ACT_RELATION -

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

TABLES Parameters details for AIPH_EO_EPPOS_GET_ORG_UNIT

ET_RELATIONS -

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

EXCEPTIONS details

NOT_ASSIGNED -

Data type:
Optional: No
Call by Reference: Yes

READ_ERROR -

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_ORG_UNIT 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_eppos_no  TYPE IM_POSNR, "   
lt_et_relations  TYPE STANDARD TABLE OF P1001, "   
lv_not_assigned  TYPE P1001, "   
lv_e_act_relation  TYPE P1001, "   
lv_i_plvar  TYPE PLVAR, "   
lv_read_error  TYPE PLVAR, "   
lv_i_key_date  TYPE BEGDATUM, "   SY-DATUM
lv_i_from_date  TYPE BEGDATUM, "   C_DATE_LOW
lv_i_to_date  TYPE ENDDATUM. "   C_DATE_HIGH

  CALL FUNCTION 'AIPH_EO_EPPOS_GET_ORG_UNIT'  "
    EXPORTING
         I_EPPOS_NO = lv_i_eppos_no
         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
    IMPORTING
         E_ACT_RELATION = lv_e_act_relation
    TABLES
         ET_RELATIONS = lt_et_relations
    EXCEPTIONS
        NOT_ASSIGNED = 1
        READ_ERROR = 2
. " AIPH_EO_EPPOS_GET_ORG_UNIT




ABAP code using 7.40 inline data declarations to call FM AIPH_EO_EPPOS_GET_ORG_UNIT

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!