Skip to Content

Attachments in Interaction Record

Hello,

I'm trying to add the Attachments block to Interaction Record component.

I've followed the blog How to integrate attachments to Interaction Records from Former Member and I can successfully see the new block in my screen. However the buttons are not enabled to create any document.

I've also check that component GS_CM is already enhanced. There is an implementation in view GS_CM/AddDoc for event handler EH_ONATTACH_BTN (validation of file type, tax number, dates...).

Could you guys help me solve this issue? What can be the reason for this behavior?

Thank you!

Diego

cugscm.png (33.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 20, 2017 at 04:46 AM

    Hello Diego,

    If you use the mainwindow, then the view should be GS_CM/DocList by default I guess, right?

    I debugged in standard 'sales order' creation view for the 'attachments' assignment block.

    Method CL_GS_CM_DOCLIST_IMPL->IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS (maybe in your case, the class will be a different one?) should be something : In CL_GS_CM_DOCLIST_IMPL->fill_buttons, ls_button-enabled is set according to different conditions. Thus please debug and see how the logics affects.

    Best Regards, Corrine

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      • ON_NEW_FOCUS is will triggered when Focus event is raised in the CONNECT_CONTEXT methods of particular CTX classes

      I have checked ICCMP_BT_INR WD_USAGE_INITILAIZATION method and found that before binding itself, there is no entity bound for both the context nodes BTadminH and BTOrder.

      • What is the way to entities are filled in the ICCMP_BT_INR in the WD_USAGE_INITILAIZATION metho

      Regards

      Vikranth