SAP RHPS_INFTY_1048_READ_SINGLE Function Module for









RHPS_INFTY_1048_READ_SINGLE is a standard rhps infty 1048 read single 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 rhps infty 1048 read single FM, simply by entering the name RHPS_INFTY_1048_READ_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function RHPS_INFTY_1048_READ_SINGLE 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 'RHPS_INFTY_1048_READ_SINGLE'"
EXPORTING
* LANGU = SY-LANGU "Language
PLVAR = "Plan Version
OTYPE = "Object type
OBJID = "Object ID
* STTAG = SY-DATUM "Key Date
* WITH_OTHER = 'X' "
* READ_INHERITANCE = 'X' "
* ONLY_QUALI = ' ' "

IMPORTING
DESCR_LANGU = "
DESCR_BEGDA = "
DESCR_ENDDA = "
EX_INHERITED = "

TABLES
* DESCR_TAB = "
* LANGU_TAB = "

EXCEPTIONS
NOTHING_FOUND = 1 INFTY_EMPTY = 2 UNDEFINED = 3
.



IMPORTING Parameters details for RHPS_INFTY_1048_READ_SINGLE

LANGU - Language

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

PLVAR - Plan Version

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

OTYPE - Object type

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

OBJID - Object ID

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

STTAG - Key Date

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

WITH_OTHER -

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

READ_INHERITANCE -

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

ONLY_QUALI -

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

EXPORTING Parameters details for RHPS_INFTY_1048_READ_SINGLE

DESCR_LANGU -

Data type: P1048-LANGU
Optional: No
Call by Reference: Yes

DESCR_BEGDA -

Data type: P1048-BEGDA
Optional: No
Call by Reference: Yes

DESCR_ENDDA -

Data type: P1048-ENDDA
Optional: No
Call by Reference: Yes

EX_INHERITED -

Data type: C
Optional: No
Call by Reference: Yes

TABLES Parameters details for RHPS_INFTY_1048_READ_SINGLE

DESCR_TAB -

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

LANGU_TAB -

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

EXCEPTIONS details

NOTHING_FOUND -

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

INFTY_EMPTY -

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

UNDEFINED - Other Error

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

Copy and paste ABAP code example for RHPS_INFTY_1048_READ_SINGLE 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_langu  TYPE P1048-LANGU, "   SY-LANGU
lt_descr_tab  TYPE STANDARD TABLE OF PT1048, "   
lv_descr_langu  TYPE P1048-LANGU, "   
lv_nothing_found  TYPE P1048, "   
lv_plvar  TYPE P1048-PLVAR, "   
lt_langu_tab  TYPE STANDARD TABLE OF T002T, "   
lv_descr_begda  TYPE P1048-BEGDA, "   
lv_infty_empty  TYPE P1048, "   
lv_otype  TYPE P1048-OTYPE, "   
lv_undefined  TYPE P1048, "   
lv_descr_endda  TYPE P1048-ENDDA, "   
lv_objid  TYPE P1048-OBJID, "   
lv_ex_inherited  TYPE C, "   
lv_sttag  TYPE P1048-BEGDA, "   SY-DATUM
lv_with_other  TYPE CHAR1, "   'X'
lv_read_inheritance  TYPE CHAR1, "   'X'
lv_only_quali  TYPE CHAR1. "   ' '

  CALL FUNCTION 'RHPS_INFTY_1048_READ_SINGLE'  "
    EXPORTING
         LANGU = lv_langu
         PLVAR = lv_plvar
         OTYPE = lv_otype
         OBJID = lv_objid
         STTAG = lv_sttag
         WITH_OTHER = lv_with_other
         READ_INHERITANCE = lv_read_inheritance
         ONLY_QUALI = lv_only_quali
    IMPORTING
         DESCR_LANGU = lv_descr_langu
         DESCR_BEGDA = lv_descr_begda
         DESCR_ENDDA = lv_descr_endda
         EX_INHERITED = lv_ex_inherited
    TABLES
         DESCR_TAB = lt_descr_tab
         LANGU_TAB = lt_langu_tab
    EXCEPTIONS
        NOTHING_FOUND = 1
        INFTY_EMPTY = 2
        UNDEFINED = 3
. " RHPS_INFTY_1048_READ_SINGLE




ABAP code using 7.40 inline data declarations to call FM RHPS_INFTY_1048_READ_SINGLE

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 LANGU FROM P1048 INTO @DATA(ld_langu).
DATA(ld_langu) = SY-LANGU.
 
 
"SELECT single LANGU FROM P1048 INTO @DATA(ld_descr_langu).
 
 
"SELECT single PLVAR FROM P1048 INTO @DATA(ld_plvar).
 
 
"SELECT single BEGDA FROM P1048 INTO @DATA(ld_descr_begda).
 
 
"SELECT single OTYPE FROM P1048 INTO @DATA(ld_otype).
 
 
"SELECT single ENDDA FROM P1048 INTO @DATA(ld_descr_endda).
 
"SELECT single OBJID FROM P1048 INTO @DATA(ld_objid).
 
 
"SELECT single BEGDA FROM P1048 INTO @DATA(ld_sttag).
DATA(ld_sttag) = SY-DATUM.
 
DATA(ld_with_other) = 'X'.
 
DATA(ld_read_inheritance) = 'X'.
 
DATA(ld_only_quali) = ' '.
 


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!