Ansicht
Dokumentation

CRM_WEBREQ_CALL_HTML_VIEW_VERS - Web Request: Form Call HTML Control with View Selection

CRM_WEBREQ_CALL_HTML_VIEW_VERS - Web Request: Form Call HTML Control with View Selection

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module executes a dialog in the SAP GUI.

Based on the transaction type, the IObject GUID and the entry date of a Web request, all data on the determination of the request URL and all versions of the request with the user name of the enterer and the entry time are read. A dialog box with the versions, the name of the enterer, and the entry time are displayed. A version can be selected from the version list displayed.

When selecting a version, the request is displayed in the selected version and in the processor view in an HTML Control.

Analog to the request screen in the process transaction, a different view is selected for users without processor view authorization for which they have authorization. If no authorization exists for any request category view, an exception is made. The user can then switch to a different view using a list box. The list box contains only those views for which the user has authorization.

Example

data:   ls_orderadm_h     type   crmt_orderadm_h_wrk ,

             lv_orderguid           type crmt_object_guid,

              lv_credat                 type sydatum.

call function 'CRM_WEBREQ_CALL_HTML_VIEW_VERS'

    exporting

      iv_proctype                       = l s_orderadm_h-process_type

      iv_orderid                         =  lv_guid_ref

      iv_orderdate                    =  lv_credat

    exceptions

      error_when_calling_url = 1

      no_authority                     = 2.

Notes

This function module that executes a dialog in the SAP GUI can only be used in the SAP GUI. It is used in the delivered sample action method FORMULAR_VERS_WSSO and can also be used for other action methods to display versions of Web requests in the process transaction.

Further information





Parameters

IV_ORDERDATE
IV_ORDERID
IV_PROCTYPE

Exceptions

ERROR_NO_AUTHORITY
ERROR_NO_VALID_VERSION
ERROR_URL

Function Group

CRM_WEBREQ_CALL_VERSION

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3308 Date: 20240523 Time: 101347     sap01-206 ( 52 ms )