SAP HTTP_CLIENT_RECORD_UPDATE Function Module for









HTTP_CLIENT_RECORD_UPDATE is a standard http client record update 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 http client record update FM, simply by entering the name HTTP_CLIENT_RECORD_UPDATE into the relevant SAP transaction such as SE37 or SE38.

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



Function HTTP_CLIENT_RECORD_UPDATE 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 'HTTP_CLIENT_RECORD_UPDATE'"
EXPORTING
URL = "
* LIFE_DAY = "
* LIFE_TIME = "Date and Time, Current Application Server Time
* REC_LOGON = "
* CALL_URL = "
* GUI_IPADDRESS_FLAG = 'X' "
* ACTION = 'I' "
* RECORD_LEVEL = 1 "
* TIMEOUT = '001500' "
* NO_MESSAGE = ' ' "
* CLNT_DEPENT = "Flag - Execution Client-Specific?
* USER = "SAP System, User Logon Name
* URL_DETERM = "

CHANGING
* INT_ICFATTRIB = "ICF: Table Type for ICFATTRIB

EXCEPTIONS
INTERNAL_ERROR = 1 NOT_ALLOWED_PROCESS_RECORD = 2
.



IMPORTING Parameters details for HTTP_CLIENT_RECORD_UPDATE

URL -

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

LIFE_DAY -

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

LIFE_TIME - Date and Time, Current Application Server Time

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

REC_LOGON -

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

CALL_URL -

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

GUI_IPADDRESS_FLAG -

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

ACTION -

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

RECORD_LEVEL -

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

TIMEOUT -

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

NO_MESSAGE -

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

CLNT_DEPENT - Flag - Execution Client-Specific?

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

USER - SAP System, User Logon Name

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

URL_DETERM -

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

CHANGING Parameters details for HTTP_CLIENT_RECORD_UPDATE

INT_ICFATTRIB - ICF: Table Type for ICFATTRIB

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

EXCEPTIONS details

INTERNAL_ERROR -

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

NOT_ALLOWED_PROCESS_RECORD - System settings do not permit recording

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

Copy and paste ABAP code example for HTTP_CLIENT_RECORD_UPDATE 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_url  TYPE CHAR120, "   
lv_int_icfattrib  TYPE TTYP_ICFATTRIB, "   
lv_internal_error  TYPE TTYP_ICFATTRIB, "   
lv_life_day  TYPE I, "   
lv_life_time  TYPE SYUZEIT, "   
lv_rec_logon  TYPE CHAR1, "   
lv_call_url  TYPE STRING, "   
lv_gui_ipaddress_flag  TYPE CHAR1, "   'X'
lv_not_allowed_process_record  TYPE CHAR1, "   
lv_action  TYPE CHAR1, "   'I'
lv_record_level  TYPE CHAR1, "   1
lv_timeout  TYPE SYUZEIT, "   '001500'
lv_no_message  TYPE CHAR1, "   SPACE
lv_clnt_depent  TYPE ICFCLNTDEP, "   
lv_user  TYPE SY-UNAME, "   
lv_url_determ  TYPE CHAR1. "   

  CALL FUNCTION 'HTTP_CLIENT_RECORD_UPDATE'  "
    EXPORTING
         URL = lv_url
         LIFE_DAY = lv_life_day
         LIFE_TIME = lv_life_time
         REC_LOGON = lv_rec_logon
         CALL_URL = lv_call_url
         GUI_IPADDRESS_FLAG = lv_gui_ipaddress_flag
         ACTION = lv_action
         RECORD_LEVEL = lv_record_level
         TIMEOUT = lv_timeout
         NO_MESSAGE = lv_no_message
         CLNT_DEPENT = lv_clnt_depent
         USER = lv_user
         URL_DETERM = lv_url_determ
    CHANGING
         INT_ICFATTRIB = lv_int_icfattrib
    EXCEPTIONS
        INTERNAL_ERROR = 1
        NOT_ALLOWED_PROCESS_RECORD = 2
. " HTTP_CLIENT_RECORD_UPDATE




ABAP code using 7.40 inline data declarations to call FM HTTP_CLIENT_RECORD_UPDATE

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_gui_ipaddress_flag) = 'X'.
 
 
DATA(ld_action) = 'I'.
 
DATA(ld_record_level) = 1.
 
DATA(ld_timeout) = '001500'.
 
DATA(ld_no_message) = ' '.
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_user).
 
 


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!