Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Attach interaction record to activity clipboard and as doc flow

$
0
0

Hi All,

 

I know this question has been asked before but i did everything still not working for me.

 

I am trying to attach an IR created by my Function module to the IR which is getting created during the interaction.

 

I used INTO but still it is not working for me .

Here is my code please let me know if i am doing anything wrong.

 

    ls_input_fields-ref_guid    = ls_activity_h-ref_guid.

    ls_input_fields-ref_kind    = 'A'.

    ls_input_fields-objectname  = 'DOC_FLOW'.

    ls_input_fields-ref_handle  = '0000000000'.

    ls_input_fields-field_names = lt_field_names[].

    insert ls_input_fields into table lt_input_fields.

 

 

    ls_maint_doc_flow-ref_handle = '0000000000'.

    ls_maint_doc_flow-ref_guid = lv_guid.

    ls_maint_doc_flow-ref_kind = 'A'.

    ls_doc_link-objkey_a = lv_guid.

    ls_doc_link-objtype_a = 'BUS2000126'.

    ls_doc_link-objkey_b = lv_guid1

    ls_doc_link-objtype_b = 'BUS2000126'.

    ls_doc_link-brel_kind = 'A'.

    ls_doc_link-brel_mode = 'A'.

      ls_doc_link-reltype = 'INTO'.

    ls_doc_link-relation_handle = '0000000001'.

    append ls_doc_link to lt_doc_link.

    ls_maint_doc_flow-doc_link = lt_doc_link.

    append ls_maint_doc_flow to lt_maint_doc_flow.

 

 

So i want to attach this IR as DOC flow as well as it should be iappended to the activity clipboard as well.

 

THanks
Pravin


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>