SAP Function Modules

SIW_R3LINK_VIEW SAP Function module







SIW_R3LINK_VIEW is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name SIW_R3LINK_VIEW into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SI17_V
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM SIW_R3LINK_VIEW - SIW R3LINK VIEW





CALL FUNCTION 'SIW_R3LINK_VIEW' "
* EXPORTING
*   devclass =                  " iwreferenc-devclass  Package
*   tcode =                     " iwreferenc-tcode  Transaction Code
*   program =                   " iwreferenc-programm  Program Name
*   dynpronr =                  " iwreferenc-dynpronr
*   extension =                 " iwreferenc-spec_text
*   frontend_platform = 'NONE'  " sy-opsys
*   call_browser = 'X'          " iwparams-flag
*   single_object = SPACE       " iwparams-flag  Single-Character Flag
  IMPORTING
    error_msg =                 " iwerrormsg
    action =                    " sy-xcode
    frontend_url =              " sdok_iface-url
    frontend_program =          " sdok_iface-url
    .  "  SIW_R3LINK_VIEW

ABAP code example for Function Module SIW_R3LINK_VIEW





The ABAP code below is a full code listing to execute function module SIW_R3LINK_VIEW including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_error_msg  TYPE IWERRORMSG ,
ld_action  TYPE SY-XCODE ,
ld_frontend_url  TYPE SDOK_IFACE-URL ,
ld_frontend_program  TYPE SDOK_IFACE-URL .


SELECT single DEVCLASS
FROM IWREFERENC
INTO @DATA(ld_devclass).


SELECT single TCODE
FROM IWREFERENC
INTO @DATA(ld_tcode).


SELECT single PROGRAMM
FROM IWREFERENC
INTO @DATA(ld_program).


SELECT single DYNPRONR
FROM IWREFERENC
INTO @DATA(ld_dynpronr).


SELECT single SPEC_TEXT
FROM IWREFERENC
INTO @DATA(ld_extension).

DATA(ld_frontend_platform) = 'some text here'.

DATA(ld_call_browser) = some text here

DATA(ld_single_object) = some text here . CALL FUNCTION 'SIW_R3LINK_VIEW' * EXPORTING * devclass = ld_devclass * tcode = ld_tcode * program = ld_program * dynpronr = ld_dynpronr * extension = ld_extension * frontend_platform = ld_frontend_platform * call_browser = ld_call_browser * single_object = ld_single_object IMPORTING error_msg = ld_error_msg action = ld_action frontend_url = ld_frontend_url frontend_program = ld_frontend_program . " SIW_R3LINK_VIEW
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_error_msg  TYPE IWERRORMSG ,
ld_devclass  TYPE IWREFERENC-DEVCLASS ,
ld_action  TYPE SY-XCODE ,
ld_tcode  TYPE IWREFERENC-TCODE ,
ld_frontend_url  TYPE SDOK_IFACE-URL ,
ld_program  TYPE IWREFERENC-PROGRAMM ,
ld_frontend_program  TYPE SDOK_IFACE-URL ,
ld_dynpronr  TYPE IWREFERENC-DYNPRONR ,
ld_extension  TYPE IWREFERENC-SPEC_TEXT ,
ld_frontend_platform  TYPE SY-OPSYS ,
ld_call_browser  TYPE IWPARAMS-FLAG ,
ld_single_object  TYPE IWPARAMS-FLAG .


SELECT single DEVCLASS
FROM IWREFERENC
INTO ld_devclass.


SELECT single TCODE
FROM IWREFERENC
INTO ld_tcode.


SELECT single PROGRAMM
FROM IWREFERENC
INTO ld_program.


SELECT single DYNPRONR
FROM IWREFERENC
INTO ld_dynpronr.


SELECT single SPEC_TEXT
FROM IWREFERENC
INTO ld_extension.

ld_frontend_platform = 'some text here'.

ld_call_browser = some text here

ld_single_object = some text here

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SIW_R3LINK_VIEW or its description.