SAP SCMS_URL_FORWARD_BUILD Function Module for









SCMS_URL_FORWARD_BUILD is a standard scms url forward build 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 scms url forward build FM, simply by entering the name SCMS_URL_FORWARD_BUILD into the relevant SAP transaction such as SE37 or SE38.

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



Function SCMS_URL_FORWARD_BUILD 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 'SCMS_URL_FORWARD_BUILD'"
EXPORTING
PROTOCOL = "
* CACHE_TO_USE = "Cache Properties
CACHE_KEY = "
* NO_FORWARD_HTTPS = '-' "Screens, display user entry
* NO_HTTPS_PORT = "

IMPORTING
FORWARD = "
CACHE_USED = "Cache Properties

CHANGING
HTTP_SERVER = "
HTTP_SCRIPT = "
HTTP_PORT = "

TABLES
* LOCATIONS = "SDOK: Locations as Distribution Criterion
* CACHES = "Cache Properties

EXCEPTIONS
ERROR_PARAMETER = 1
.



IMPORTING Parameters details for SCMS_URL_FORWARD_BUILD

PROTOCOL -

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

CACHE_TO_USE - Cache Properties

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

CACHE_KEY -

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

NO_FORWARD_HTTPS - Screens, display user entry

Data type: SY-DATAR
Default: '-'
Optional: Yes
Call by Reference: Yes

NO_HTTPS_PORT -

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

EXPORTING Parameters details for SCMS_URL_FORWARD_BUILD

FORWARD -

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

CACHE_USED - Cache Properties

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

CHANGING Parameters details for SCMS_URL_FORWARD_BUILD

HTTP_SERVER -

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

HTTP_SCRIPT -

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

HTTP_PORT -

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

TABLES Parameters details for SCMS_URL_FORWARD_BUILD

LOCATIONS - SDOK: Locations as Distribution Criterion

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

CACHES - Cache Properties

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

EXCEPTIONS details

ERROR_PARAMETER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SCMS_URL_FORWARD_BUILD 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_forward  TYPE C, "   
lv_protocol  TYPE C, "   
lt_locations  TYPE STANDARD TABLE OF SDOKLOC, "   
lv_http_server  TYPE C, "   
lv_error_parameter  TYPE C, "   
lt_caches  TYPE STANDARD TABLE OF SCMSCACHE, "   
lv_cache_used  TYPE SCMSCACHE, "   
lv_http_script  TYPE C, "   
lv_cache_to_use  TYPE SCMSCACHE, "   
lv_cache_key  TYPE C, "   
lv_http_port  TYPE N, "   
lv_no_forward_https  TYPE SY-DATAR, "   '-'
lv_no_https_port  TYPE N. "   

  CALL FUNCTION 'SCMS_URL_FORWARD_BUILD'  "
    EXPORTING
         PROTOCOL = lv_protocol
         CACHE_TO_USE = lv_cache_to_use
         CACHE_KEY = lv_cache_key
         NO_FORWARD_HTTPS = lv_no_forward_https
         NO_HTTPS_PORT = lv_no_https_port
    IMPORTING
         FORWARD = lv_forward
         CACHE_USED = lv_cache_used
    CHANGING
         HTTP_SERVER = lv_http_server
         HTTP_SCRIPT = lv_http_script
         HTTP_PORT = lv_http_port
    TABLES
         LOCATIONS = lt_locations
         CACHES = lt_caches
    EXCEPTIONS
        ERROR_PARAMETER = 1
. " SCMS_URL_FORWARD_BUILD




ABAP code using 7.40 inline data declarations to call FM SCMS_URL_FORWARD_BUILD

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 DATAR FROM SY INTO @DATA(ld_no_forward_https).
DATA(ld_no_forward_https) = '-'.
 
 


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!