SAP HRIQ_CHANGEDOCUMENT_READ_WO_ED Function Module for









HRIQ_CHANGEDOCUMENT_READ_WO_ED is a standard hriq changedocument read wo ed 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 hriq changedocument read wo ed FM, simply by entering the name HRIQ_CHANGEDOCUMENT_READ_WO_ED into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00BASECHANGEDOCUMENTS
Program Name: SAPLHRPIQ00BASECHANGEDOCUMENTS
Main Program: SAPLHRPIQ00BASECHANGEDOCUMENTS
Appliation area: *
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRIQ_CHANGEDOCUMENT_READ_WO_ED 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 'HRIQ_CHANGEDOCUMENT_READ_WO_ED'"
EXPORTING
* CLIENT = SY-MANDT "
* TABLEKEY254 = ' ' "
* DATE_UNTIL = '99991231' "
* TIME_UNTIL = '235959' "
OBJECTCLASS = "
* OBJECTID = ' ' "
* CHANGENUMBER = ' ' "
* DATE_OF_CHANGE = '00000000' "
* TIME_OF_CHANGE = '000000' "
* TABLENAME = ' ' "
* TABLEKEY = ' ' "
* USERNAME = ' ' "

IMPORTING
ET_CDPOS_UID = "

TABLES
ICDHDR = "
ICDPOS = "

EXCEPTIONS
NO_POSITION_FOUND = 1
.



IMPORTING Parameters details for HRIQ_CHANGEDOCUMENT_READ_WO_ED

CLIENT -

Data type: CDHDR-MANDANT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLEKEY254 -

Data type: CDPOS_UID-TABKEY
Default: SPACE
Optional: Yes
Call by Reference: Yes

DATE_UNTIL -

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

TIME_UNTIL -

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

OBJECTCLASS -

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

OBJECTID -

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

CHANGENUMBER -

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

DATE_OF_CHANGE -

Data type: CDHDR-UDATE
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TIME_OF_CHANGE -

Data type: CDHDR-UTIME
Default: '000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLENAME -

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

TABLEKEY -

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

USERNAME -

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

EXPORTING Parameters details for HRIQ_CHANGEDOCUMENT_READ_WO_ED

ET_CDPOS_UID -

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

TABLES Parameters details for HRIQ_CHANGEDOCUMENT_READ_WO_ED

ICDHDR -

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

ICDPOS -

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

EXCEPTIONS details

NO_POSITION_FOUND -

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

Copy and paste ABAP code example for HRIQ_CHANGEDOCUMENT_READ_WO_ED 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_client  TYPE CDHDR-MANDANT, "   SY-MANDT
lt_icdhdr  TYPE STANDARD TABLE OF CDHDR, "   
lv_et_cdpos_uid  TYPE CDPOS_UID_TAB, "   
lv_no_position_found  TYPE CDPOS_UID_TAB, "   
lv_tablekey254  TYPE CDPOS_UID-TABKEY, "   SPACE
lv_date_until  TYPE CDDATUM, "   '99991231'
lv_time_until  TYPE CDTIME, "   '235959'
lt_icdpos  TYPE STANDARD TABLE OF CDPOS, "   
lv_objectclass  TYPE CDHDR-OBJECTCLAS, "   
lv_objectid  TYPE CDHDR-OBJECTID, "   SPACE
lv_changenumber  TYPE CDPOS-CHANGENR, "   SPACE
lv_date_of_change  TYPE CDHDR-UDATE, "   '00000000'
lv_time_of_change  TYPE CDHDR-UTIME, "   '000000'
lv_tablename  TYPE CDPOS-TABNAME, "   SPACE
lv_tablekey  TYPE CDPOS-TABKEY, "   SPACE
lv_username  TYPE CDHDR-USERNAME. "   SPACE

  CALL FUNCTION 'HRIQ_CHANGEDOCUMENT_READ_WO_ED'  "
    EXPORTING
         CLIENT = lv_client
         TABLEKEY254 = lv_tablekey254
         DATE_UNTIL = lv_date_until
         TIME_UNTIL = lv_time_until
         OBJECTCLASS = lv_objectclass
         OBJECTID = lv_objectid
         CHANGENUMBER = lv_changenumber
         DATE_OF_CHANGE = lv_date_of_change
         TIME_OF_CHANGE = lv_time_of_change
         TABLENAME = lv_tablename
         TABLEKEY = lv_tablekey
         USERNAME = lv_username
    IMPORTING
         ET_CDPOS_UID = lv_et_cdpos_uid
    TABLES
         ICDHDR = lt_icdhdr
         ICDPOS = lt_icdpos
    EXCEPTIONS
        NO_POSITION_FOUND = 1
. " HRIQ_CHANGEDOCUMENT_READ_WO_ED




ABAP code using 7.40 inline data declarations to call FM HRIQ_CHANGEDOCUMENT_READ_WO_ED

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 MANDANT FROM CDHDR INTO @DATA(ld_client).
DATA(ld_client) = SY-MANDT.
 
 
 
 
"SELECT single TABKEY FROM CDPOS_UID INTO @DATA(ld_tablekey254).
DATA(ld_tablekey254) = ' '.
 
DATA(ld_date_until) = '99991231'.
 
DATA(ld_time_until) = '235959'.
 
 
"SELECT single OBJECTCLAS FROM CDHDR INTO @DATA(ld_objectclass).
 
"SELECT single OBJECTID FROM CDHDR INTO @DATA(ld_objectid).
DATA(ld_objectid) = ' '.
 
"SELECT single CHANGENR FROM CDPOS INTO @DATA(ld_changenumber).
DATA(ld_changenumber) = ' '.
 
"SELECT single UDATE FROM CDHDR INTO @DATA(ld_date_of_change).
DATA(ld_date_of_change) = '00000000'.
 
"SELECT single UTIME FROM CDHDR INTO @DATA(ld_time_of_change).
DATA(ld_time_of_change) = '000000'.
 
"SELECT single TABNAME FROM CDPOS INTO @DATA(ld_tablename).
DATA(ld_tablename) = ' '.
 
"SELECT single TABKEY FROM CDPOS INTO @DATA(ld_tablekey).
DATA(ld_tablekey) = ' '.
 
"SELECT single USERNAME FROM CDHDR INTO @DATA(ld_username).
DATA(ld_username) = ' '.
 


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!