Skip to Content
avatar image
Former Member

Document flow - Multiple Documents linking using crm_order_maintain

Hi All,

I need to link multiple business activities i.e. there is 1 source business activity and 2 or more target business activities to be linked using guids for business partners.

I am using CRM_ORDER_MAINTAIN and doc_flow table for the same. Rightnow we are calling the FM inside loop to achieve the result.

But can we know what other parameters or tables do we need to populate in crm_order_maintain if we want to link all the targets and one source document in a single call.

Thanks & Regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 10, 2006 at 01:29 PM

    Populate all the target business activities in the deep structure (DOC_LINK-OBJKEY_B) of the doc_flow table (CT_DOC_FLOW). DOC_LINK-OBJKEY_B will be the source business activity.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shaik i have a similar requirement but in my case iam using BAPI_ACTIVITYCRM_CREATEMULTI to create activities and

      i want these activities to be link to campaign element,i had a look at structure BAPIBUS20001_DOC_FLOW_INS and i see there are few fields in this structure like OBJKEY_A- Identification of a Reference Object for Items,OBJKEY_B-Identification of a Reference, i feel this were we have to pass some values if you wanna to link the activity with campaign element, i donno when to use

      OBJKEY_A and when to use OBJKEY_B, can you please help me how can i do this is it possible to do it in same program while creating activity or has to be done seperately after the activity is created.

      any more ideas you have please