SAP Hybris Commerce的JSP tag和SAP BSP tag的比较

简介: SAP Hybris Commerce的JSP tag和SAP BSP tag的比较

Recently I am studying Hybrid Commerce and try to learn how the home page of Hybris storefront is implemented.

image.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.png

REPORT ztool_display_page_name.
PARAMETERS: name TYPE trdir-unam OBLIGATORY DEFAULT 'WANGJER'.
DATA: lt_trdir TYPE STANDARD TABLE OF trdir,
      lt_page  TYPE STANDARD TABLE OF o2pagdir.
TYPES: BEGIN OF ty_impl,
         name TYPE o2pagdir-implclass,
       END OF ty_impl.
TYPES: tt_impl TYPE STANDARD TABLE OF ty_impl.
START-OF-SELECTION.
  SELECT * INTO TABLE lt_trdir FROM trdir WHERE unam = name.
  IF sy-subrc <> 0 .
    WRITE: / 'No browse history found for current user'.
    RETURN.
  ENDIF.
  DATA: lt_impl  TYPE tt_impl,
        ls_trdir TYPE trdir,
        ls_impl  TYPE ty_impl.
  LOOP AT lt_trdir INTO ls_trdir.
    ls_impl-name = ls_trdir-name.
    APPEND ls_impl TO lt_impl.
  ENDLOOP.
  SELECT * INTO TABLE lt_page FROM o2pagdir FOR ALL ENTRIES IN lt_impl
    WHERE changedby = name AND implclass = lt_impl-name.
  SORT lt_page BY changedon DESCENDING.
  LOOP AT lt_page ASSIGNING FIELD-SYMBOL(<page>).
    WRITE: / <page>-implclass COLOR COL_GROUP, ' Last accessed on:', <page>-changedon COLOR COL_KEY,
    ' Component name: ' , <page>-applname+0(20) COLOR COL_NEGATIVE, ' view name: ', <page>-pagename+0(30) COLOR COL_POSITIVE.
  ENDLOOP.
相关文章
|
6月前
|
安全 测试技术 数据安全/隐私保护
SAP Commerce Cloud Backoffice site 里 Require Authentication 字段的作用
SAP Commerce Cloud Backoffice site 里 Require Authentication 字段的作用
38 0
|
6月前
|
存储 UED
SAP Hybris Revenue Cloud 和 SAP Subscription Billing 这两个产品的关联
SAP Hybris Revenue Cloud 和 SAP Subscription Billing 这两个产品的关联
48 0
|
6月前
什么是 SAP Hybris 中的 CMSLinkComponent
什么是 SAP Hybris 中的 CMSLinkComponent
39 1
|
17天前
|
安全 UED 开发者
SAP Commerce Cloud 配置项 refreshWithLock=false 的作用介绍
SAP Commerce Cloud 配置项 refreshWithLock=false 的作用介绍
17 0
|
6月前
|
JavaScript 前端开发
什么是 SAP Commerce Cloud SmartEdit 使用的 CKEditor
什么是 SAP Commerce Cloud SmartEdit 使用的 CKEditor
52 0
|
5月前
|
数据安全/隐私保护
SAP Commerce Cloud 的 DataIsolation flag
SAP Commerce Cloud 的 DataIsolation flag
25 0
|
5月前
|
数据管理 API
什么是 SAP Commerce Cloud 集成扩展包
什么是 SAP Commerce Cloud 集成扩展包
22 1
|
6月前
|
SQL 存储 Java
关于 SAP Commerce Cloud 开发环境的 HSQLDB
关于 SAP Commerce Cloud 开发环境的 HSQLDB
19 0
|
6月前
|
存储 前端开发 API
SAP Commerce Cloud 里的 smartedit webservices OCC API
SAP Commerce Cloud 里的 smartedit webservices OCC API
24 0
|
6月前
|
SEO
SAP Commerce Cloud 中的 SimpleResponsiveBannerComponent
SAP Commerce Cloud 中的 SimpleResponsiveBannerComponent
38 0

相关课程

更多