SAP FIPOS_READ_WITH_POSIT Function Module for









FIPOS_READ_WITH_POSIT is a standard fipos read with posit 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 fipos read with posit FM, simply by entering the name FIPOS_READ_WITH_POSIT into the relevant SAP transaction such as SE37 or SE38.

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



Function FIPOS_READ_WITH_POSIT 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 'FIPOS_READ_WITH_POSIT'"
EXPORTING
* IP_APPLC = ' ' "
IP_FMA_OBJNR = "
* IP_GJAHR = '0000' "
* IP_HIERARCHY = ' ' "
* IP_LANGUAGE = ' ' "
* IP_POSHIVERS = 'SAP' "
IP_POSIT = "
* IP_TEXT = ' ' "
* IP_VALID_DATE = ' ' "

IMPORTING
F_FMFPO = "
F_FMFPOT = "
F_FMHIPOS = "

EXCEPTIONS
HIERARCHY_NOT_FOUND = 1 INPUT_ERROR = 2 MASTER_DATA_NOT_FOUND = 3
.



IMPORTING Parameters details for FIPOS_READ_WITH_POSIT

IP_APPLC -

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

IP_FMA_OBJNR -

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

IP_GJAHR -

Data type: BPJA-GJAHR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_HIERARCHY -

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

IP_LANGUAGE -

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

IP_POSHIVERS -

Data type: FMHIPOS-POSHIVERS
Default: 'SAP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IP_POSIT -

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

IP_TEXT -

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

IP_VALID_DATE -

Data type: FMFPO-DATBIS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FIPOS_READ_WITH_POSIT

F_FMFPO -

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

F_FMFPOT -

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

F_FMHIPOS -

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

EXCEPTIONS details

HIERARCHY_NOT_FOUND -

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

INPUT_ERROR -

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

MASTER_DATA_NOT_FOUND -

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

Copy and paste ABAP code example for FIPOS_READ_WITH_POSIT 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_f_fmfpo  TYPE FMFPO, "   
lv_ip_applc  TYPE FMFPO, "   SPACE
lv_hierarchy_not_found  TYPE FMFPO, "   
lv_f_fmfpot  TYPE FMFPOT, "   
lv_input_error  TYPE FMFPOT, "   
lv_ip_fma_objnr  TYPE FM01-OBJNR, "   
lv_ip_gjahr  TYPE BPJA-GJAHR, "   '0000'
lv_f_fmhipos  TYPE FMHIPOS, "   
lv_master_data_not_found  TYPE FMHIPOS, "   
lv_ip_hierarchy  TYPE FMHIPOS, "   SPACE
lv_ip_language  TYPE FMHIPOS, "   SPACE
lv_ip_poshivers  TYPE FMHIPOS-POSHIVERS, "   'SAP'
lv_ip_posit  TYPE FMFPO-POSIT, "   
lv_ip_text  TYPE FMFPO, "   SPACE
lv_ip_valid_date  TYPE FMFPO-DATBIS. "   SPACE

  CALL FUNCTION 'FIPOS_READ_WITH_POSIT'  "
    EXPORTING
         IP_APPLC = lv_ip_applc
         IP_FMA_OBJNR = lv_ip_fma_objnr
         IP_GJAHR = lv_ip_gjahr
         IP_HIERARCHY = lv_ip_hierarchy
         IP_LANGUAGE = lv_ip_language
         IP_POSHIVERS = lv_ip_poshivers
         IP_POSIT = lv_ip_posit
         IP_TEXT = lv_ip_text
         IP_VALID_DATE = lv_ip_valid_date
    IMPORTING
         F_FMFPO = lv_f_fmfpo
         F_FMFPOT = lv_f_fmfpot
         F_FMHIPOS = lv_f_fmhipos
    EXCEPTIONS
        HIERARCHY_NOT_FOUND = 1
        INPUT_ERROR = 2
        MASTER_DATA_NOT_FOUND = 3
. " FIPOS_READ_WITH_POSIT




ABAP code using 7.40 inline data declarations to call FM FIPOS_READ_WITH_POSIT

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_ip_applc) = ' '.
 
 
 
 
"SELECT single OBJNR FROM FM01 INTO @DATA(ld_ip_fma_objnr).
 
"SELECT single GJAHR FROM BPJA INTO @DATA(ld_ip_gjahr).
DATA(ld_ip_gjahr) = '0000'.
 
 
 
DATA(ld_ip_hierarchy) = ' '.
 
DATA(ld_ip_language) = ' '.
 
"SELECT single POSHIVERS FROM FMHIPOS INTO @DATA(ld_ip_poshivers).
DATA(ld_ip_poshivers) = 'SAP'.
 
"SELECT single POSIT FROM FMFPO INTO @DATA(ld_ip_posit).
 
DATA(ld_ip_text) = ' '.
 
"SELECT single DATBIS FROM FMFPO INTO @DATA(ld_ip_valid_date).
DATA(ld_ip_valid_date) = ' '.
 


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!