SAP BAPI_VALUE_POSDATEN Function Module for NO LONGER IN USE !!! This module has been closed down!









BAPI_VALUE_POSDATEN is a standard bapi value posdaten SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NO LONGER IN USE !!! This module has been closed down! processing and below is the pattern details for this FM, 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 bapi value posdaten FM, simply by entering the name BAPI_VALUE_POSDATEN into the relevant SAP transaction such as SE37 or SE38.

Function Group: GLEX
Program Name: SAPLGLEX
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_VALUE_POSDATEN 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 'BAPI_VALUE_POSDATEN'"NO LONGER IN USE !!!  This module has been closed down!
EXPORTING
I_FSCAT = "Period indicator
I_LEVEL = "Posting level
I_PERID = "Period
I_RSUBD = "Subgroup
I_RVERS = "Version
I_RYEAR = "Year
* I_SIGNH = '0' "
* I_ROUND = "
* I_DECPL = "

IMPORTING
E_DECPL = "Decimal Places for Currency
E_FORMDATE = "Formatted Selection Date
E_RTCUR = "Currency

TABLES
IT_RACCT = "Vector from FS Items
IT_VALUE = "Vector from FS Items with Values

EXCEPTIONS
NOT_FOUND = 1 NO_AUTHORITY = 2
.



IMPORTING Parameters details for BAPI_VALUE_POSDATEN

I_FSCAT - Period indicator

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

I_LEVEL - Posting level

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

I_PERID - Period

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

I_RSUBD - Subgroup

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

I_RVERS - Version

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

I_RYEAR - Year

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

I_SIGNH -

Data type: FILC_BAPI-SIGNH
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ROUND -

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

I_DECPL -

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

EXPORTING Parameters details for BAPI_VALUE_POSDATEN

E_DECPL - Decimal Places for Currency

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

E_FORMDATE - Formatted Selection Date

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

E_RTCUR - Currency

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

TABLES Parameters details for BAPI_VALUE_POSDATEN

IT_RACCT - Vector from FS Items

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

IT_VALUE - Vector from FS Items with Values

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

EXCEPTIONS details

NOT_FOUND - if 1, do not select any values

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

NO_AUTHORITY -

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

Copy and paste ABAP code example for BAPI_VALUE_POSDATEN 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_decpl  TYPE FILC_BAPI-NUM08, "   
lv_i_fscat  TYPE T852-FSCAT, "   
lt_it_racct  TYPE STANDARD TABLE OF GLEX_RACCT, "   
lv_not_found  TYPE GLEX_RACCT, "   
lv_i_level  TYPE FILCT-RLEVL, "   
lt_it_value  TYPE STANDARD TABLE OF GLEX_VALUE, "   
lv_e_formdate  TYPE FILC_BAPI-CHAR10, "   
lv_no_authority  TYPE FILC_BAPI, "   
lv_e_rtcur  TYPE TCURC-WAERS, "   
lv_i_perid  TYPE T852P-PERID, "   
lv_i_rsubd  TYPE T852-RSUBD, "   
lv_i_rvers  TYPE T858-RVERS, "   
lv_i_ryear  TYPE T863Y-RYEAR, "   
lv_i_signh  TYPE FILC_BAPI-SIGNH, "   '0'
lv_i_round  TYPE T862S-ROUND, "   
lv_i_decpl  TYPE T862S-DECPL. "   

  CALL FUNCTION 'BAPI_VALUE_POSDATEN'  "NO LONGER IN USE !!! This module has been closed down!
    EXPORTING
         I_FSCAT = lv_i_fscat
         I_LEVEL = lv_i_level
         I_PERID = lv_i_perid
         I_RSUBD = lv_i_rsubd
         I_RVERS = lv_i_rvers
         I_RYEAR = lv_i_ryear
         I_SIGNH = lv_i_signh
         I_ROUND = lv_i_round
         I_DECPL = lv_i_decpl
    IMPORTING
         E_DECPL = lv_e_decpl
         E_FORMDATE = lv_e_formdate
         E_RTCUR = lv_e_rtcur
    TABLES
         IT_RACCT = lt_it_racct
         IT_VALUE = lt_it_value
    EXCEPTIONS
        NOT_FOUND = 1
        NO_AUTHORITY = 2
. " BAPI_VALUE_POSDATEN




ABAP code using 7.40 inline data declarations to call FM BAPI_VALUE_POSDATEN

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 NUM08 FROM FILC_BAPI INTO @DATA(ld_e_decpl).
 
"SELECT single FSCAT FROM T852 INTO @DATA(ld_i_fscat).
 
 
 
"SELECT single RLEVL FROM FILCT INTO @DATA(ld_i_level).
 
 
"SELECT single CHAR10 FROM FILC_BAPI INTO @DATA(ld_e_formdate).
 
 
"SELECT single WAERS FROM TCURC INTO @DATA(ld_e_rtcur).
 
"SELECT single PERID FROM T852P INTO @DATA(ld_i_perid).
 
"SELECT single RSUBD FROM T852 INTO @DATA(ld_i_rsubd).
 
"SELECT single RVERS FROM T858 INTO @DATA(ld_i_rvers).
 
"SELECT single RYEAR FROM T863Y INTO @DATA(ld_i_ryear).
 
"SELECT single SIGNH FROM FILC_BAPI INTO @DATA(ld_i_signh).
DATA(ld_i_signh) = '0'.
 
"SELECT single ROUND FROM T862S INTO @DATA(ld_i_round).
 
"SELECT single DECPL FROM T862S INTO @DATA(ld_i_decpl).
 


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!