Skip to Content

关于EEWB 和 AET

大家好,

我们在给订单的抬头做增强字段的时候,遇到一些问题:

当我们在EEWB里对订单抬头做了一个增强字段后,我们在 GUI 的屏幕里并没有发现这个增强字段。

另一方面,我们也用AET 做了一个增强,AET 的方法比较容易操作,增强字段可以在Web Client 上显示,而且也很容易加入搜索帮助;但是这些增强在对应 GUI 屏幕里该如何显示呢?

因为我们想同时在 Web Client 和 GUI 里维护这个增强字段。

多谢!

Oilver.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2009 at 08:27 AM

    给你个联接,我照着做过没有问题的

    If you need to add 5 fields on ticket screen then use EEWB enhancement.

    The ticket screen transaction is crmd_order which even opens up after you double click the ticket no from crm_dno_monitor report list.

    for crm_dno_monitor you can have the BADI CRM_DNO_MONITOR which will add later the column for the fields which you can add using EEWB

    Check the following blog which guide you for custom field creation using EEWB

    Service Desk Implementation Guide Part II

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 31, 2009 at 11:43 AM

    Hi,

    这个问题很有意思。

    AET的部分,我可以肯定的是,在AET做得增强应该不能在sap gui里面的搜索里面自动用到。如何在gui界面里面包含这些增强我得下周问问度假回来的同事才能确定。

    彭阳宁

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2009 at 09:21 AM

    Hi, 您好

    我用 BADI 增强的方法,实现了在 GUI 里面显示出AET的增强字段,

    不过,GUI 里的搜索帮助有点儿问题,无论我选哪一个,选定的结果都是帮助里的最后一个。

    不过,在WEB UI 里用都是正常的。

    此外,还有个问题,AET新增的字段不能生成 GET- 或 SET- 方法,有人提供方法,如下:

    the field enhancement that created by AET does not have any GETTER and SETTTER implementation.

    That's why you cannot redefine any GETTER and SETTER for the field enhancement.

    However, you can define a new GETTER and SETTER for the field enhancement.

    Please make sure that you install the note 1316083. This is needed to enable GETTER and SETTER generation for field enhancement from component workbench.

    When you've installed the note, you can go to component workbench and open the relevant component/view, open the context node, and click right mouse on the field enhancement you created.

    等我们的 Basis 打上补丁后,我再测试一下。

    看能否利用 GET- 方法从页面上取值 传给搜索帮助,来过滤搜索结果。

    Thanks.

    Oliver.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 05, 2009 at 12:16 AM

    抱歉,没有说清楚。

    我们是打算根据页面上的某个值作为条件,传给这个AET增强字段的搜索帮助,来过滤搜索结果。

    但是找不到事件来做这个动作,所以才想能不能利用GET-方法来触发这个传值动作。

    我们根据Note做了修改后,现在已经可以给AET增强的字段生成GET-和SET-方法。

    Thanks.

    Oliver.

    Add a comment
    10|10000 characters needed characters exceeded

    • 首先,如果是这种事情的话,getter不是合适做更改的方法。

      如果你说的是在搜索结果列表的那个页面做这件事情,那么,最好在搜索的同时就考虑你说的逻辑来得到需要的搜索结果。

      如果你说的是其它情况,首先考虑增强搜索发生的方法;其次考虑do_prepare_output方法。

      总的来说,_cn 的这些类只是一个数据容器,一般来说它只负责简单的数据读写;_ctxt 定义容器间的关联关系;_impl 才是放各种界面逻辑的地方。

      Edited by: Yangning Peng on Aug 5, 2009 9:19 AM

  • Posted on Aug 12, 2009 at 06:02 AM

    Hi,

    您好

    我现在通过get_related_entities()取得了所需要的值。

    Thanks.

    Oliver.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.