Skip to Content

Attachments assignment block within IC Web Client Interaction Record

Hi,

I would like to add/insert the "Attachments" assignment block within the Interaction Record page. I mean the Attachments AB we have for example within the OVPs or in the Opportunity page.

Have anyone of you experienced/implemented yet something like that?

Thanks.

Regards,

Carlo.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Apr 17, 2008 at 06:52 AM

    Hi Carlo,

    Yes this is possible, but it will require some work !

    The Attachments assignment block is a re-use component. These re-use components can be integrated into all business transaction components, and as such also in the interaction record. You need to carefully check how the component GS_CM is integrated into component BT111H_OPPT.

    1. Define your own enhancement for the interaction record component ICCMP_BT_INR

    2. Definition of component usage for GS_CM in the runtime repository editor of the enhanced ICCMP_BT_INR component:

    Component Usage: CUGSCM (compare with the component usage in BT111H_OPPT)

    3. Enhance the component controller class CL_ICCMP_BT_BSPWDCOMPONE6_IMPL, method WD_USAGE_INITIALIZE

    This method binds the context node(s) of the re-use component to the corresponding context node(s) of the main component ICCMP_BT_INR

    Sometimes this is easy and binding can happen between 2 BTADMINH nodes for example. In case of the Attachment assignment block a custom controller is used, which makes it more complicated.

    Example for BT111H_OPPT

    • Attachments

    WHEN 'CUGSCM' OR 'CUGSCM_DET'.

    CALL METHOD iv_usage->bind_context_node

    EXPORTING

    iv_controller_type = cl_bsp_wd_controller=>co_type_custom

    iv_name = 'BT111H_OPPT/CUGSCMCuCo'

    iv_target_node_name = 'CMBO'

    iv_node_2_bind = 'CMBUSOBJ'.

    IF gv_ppm_flag = abap_true.

    CALL METHOD iv_usage->bind_context_node

    EXPORTING

    iv_controller_type = cl_bsp_wd_controller=>co_type_custom

    iv_name = 'BT111H_OPPT/CUGSCMCuCo'

    iv_target_node_name = 'ATTRIBUTES'

    iv_node_2_bind = 'ATTRIBUTES'.

    ENDIF.

    4. Create custom controller in the enhanced ICCMP_BT_INR component, similar to BT111H_OPPT/CUGSCMCuCo.

    You can re-use the opportunity custom controller, and just copy the code above into the WD_USAGE_INITIALIZE method of the interaction record component.

    However, to have more clean code it would be better to define your own custom controller in the interaction record component.

    5. Enhance the interaction record viewset to display the newly linked re-use component.

    ICCMP_BT_INR/InrViewSet. You will probabily need to create a new viewarea and tablinks, and navigational links in the runtime repository.

    Hope this helps.

    Regards,

    Gert

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2014 at 10:50 AM

    hello ...

    thread is maked as solved...but how u fixed the button issue?


    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.