<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link Workflow Document to BKPF object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004966#M77498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a workflow document object (WF_DOC) that I created in my workflow that I want to attach/relate/link to a accounting document object (BKPF).&lt;/P&gt;&lt;P&gt;Has anyone tried this?&lt;/P&gt;&lt;P&gt;Standard workflow (SAP ver 4.6b) works great and attaches the WF_DOC to the task but I cannot find a way to create a link to it from the BKPF object.&lt;/P&gt;&lt;P&gt;I have tried calling the method CREATE_RELATION from the BDN Navigator class CL_BDS_DOCUMENT_SET but all I get is a 'Nothing found' message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2005 19:56:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-17T19:56:35Z</dc:date>
    <item>
      <title>Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004966#M77498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a workflow document object (WF_DOC) that I created in my workflow that I want to attach/relate/link to a accounting document object (BKPF).&lt;/P&gt;&lt;P&gt;Has anyone tried this?&lt;/P&gt;&lt;P&gt;Standard workflow (SAP ver 4.6b) works great and attaches the WF_DOC to the task but I cannot find a way to create a link to it from the BKPF object.&lt;/P&gt;&lt;P&gt;I have tried calling the method CREATE_RELATION from the BDN Navigator class CL_BDS_DOCUMENT_SET but all I get is a 'Nothing found' message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 19:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004966#M77498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004967#M77499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt if it is possible. I have spent considerable time myself trying to get an attachment from WF to link to a BO, but could not. I am equally interested to see if someone will come up with an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 21:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004967#M77499</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-08-17T21:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004968#M77500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your input Ramki,&lt;/P&gt;&lt;P&gt;in your efforts did you ever try the route as suggested by&lt;/P&gt;&lt;P&gt;SAP Note 501840?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 12:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004968#M77500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004969#M77501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I have not. Interestingly this note is still in German though released in 2002! I tried to translate it on the Web but could not make any sense out of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 12:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004969#M77501</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-08-19T12:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004970#M77502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is for ver 610.&lt;/P&gt;&lt;P&gt;set your note language to 'EN'.&lt;/P&gt;&lt;P&gt;here follows SAP text:&lt;/P&gt;&lt;P&gt;Symptom&lt;/P&gt;&lt;P&gt;Conversion of WF_DOC object to SOFM documents generated in the step "Document from template" is managed by the workflow in the object type WF_DOC. Before you can send these documents as attachments, for example, they must be converted to the object type SOFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other terms&lt;/P&gt;&lt;P&gt;Document from template, WF_DOC, SOFM, attachments in the workflow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;1. To the class CL_SWF_DOC_TEMPLATE, add the method GET_CONTENT with the parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- CONTENT_SO Exporting type SOLIX_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- SIZE       Exporting type I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and exception NOT_FOUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the function group SWUO_OI, create the function module SWUO_GET_DOCUMENT_CONTENT with the parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IMPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOIO_ID TYPE SDOKOBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PROPERTIES TYPE SWUOPROP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONTENT_TAB_SO TYPE SOLIX_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONTENT_SIZE TYPE I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     OBJ_NOT_SPECIFIED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     NOT_FOUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. To the object type WF_DOC, add the method CREATE_SOFM   ( no dialog, synchronous, no result parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export parameter SOFM_OBJECT type SOFM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception 1001 application area swuo message 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import the source code from the correction instructions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 14:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004970#M77502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T14:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004971#M77503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Niall,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure I did not see the 'EN' option when I looked at the note (but today is Friday, and my mind is already on the flight home!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note is not applicable for me because I am on 6.20 and what I was trying to do is to get a front end file attached to a WI to be linked to the BO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 16:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004971#M77503</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-08-19T16:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004972#M77504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I not sure how you would do this with a file that is on the frontend but I have now got this working by creating a binary relation between the WF_DOC and BKPF.&lt;/P&gt;&lt;P&gt;I noticed that when you use the WF_DOC SAP stores the file in SAP as RAW format and then uploads and downloads a copy with a key attached to the original filename to the users SAPWORKDIR on the frontend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 13:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004972#M77504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004973#M77505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once the file is attached to a work item, it is stored in SAP as a folder document. What I was trying to do was automatically link the folder document to the Business Object so that it becomes visible through GOS. Can you explain how you made the binary relation between WF_DOC and BKPF?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 13:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004973#M77505</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-01T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004974#M77506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the gos documentation (look for references to table VRBINRELATION and function BINARY_RELATION_CREATE)&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVGBT/BCSRVGBT_STRUCTURE.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVGBT/BCSRVGBT_STRUCTURE.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are two tasks set this up:&lt;/P&gt;&lt;P&gt;Task 1: Create config for relation in table VRBINRELATION using SM34&lt;/P&gt;&lt;P&gt;Task 2: submit the the two objects with the OBJECT ROLES as required by function module BINARY_RELATION_CREATE and the RELATION TYPE you defined in task 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to us the 'commit work' statement at the end.&lt;/P&gt;&lt;P&gt;eg my function module&lt;/P&gt;&lt;P&gt;                                                                                Import parameters :&lt;/P&gt;&lt;P&gt;Value &lt;/P&gt;&lt;P&gt;OBJKEYA '15000510251202005'                               OBJCLSSA 'BKPF'                                           BJCLSTYPA 'BO'                                            &lt;/P&gt;&lt;P&gt;OBJKEYB '42EA7DD70630158CE1000000C0A8FB6EWF_FILE'         &lt;/P&gt;&lt;P&gt;OBJCLSSB 'WF_DOC'                                         OBJCLSTYPB 'BO'&lt;/P&gt;&lt;P&gt;RELTYP 'ZSUP'&lt;/P&gt;&lt;P&gt;(ZSUP is the relation type from VRBINRELATION)                                                                                &lt;/P&gt;&lt;P&gt;function z_create_binary_relation.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJKEYA) LIKE  SWEINSTCOU-OBJKEY&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJCLSSA) LIKE  SWEINSTCOU-OBJTYPE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJCLSTYPA) LIKE  BAPIBDS01-CLASSTYPE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJKEYB) LIKE  SWEINSTCOU-OBJKEY&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJCLSSB) LIKE  SWEINSTCOU-OBJTYPE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OBJCLSTYPB) LIKE  BAPIBDS01-CLASSTYPE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(RELTYP) LIKE  VRBRELTYP-RELTYPE&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: objrole_a         type borident,&lt;/P&gt;&lt;P&gt;        objrole_b         type borident,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      reltype           type binreltyp,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        binarel           type gbinrel,&lt;/P&gt;&lt;P&gt;  binrel_attrib  type brelattr occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if objclstypa = 'BO'.&lt;/P&gt;&lt;P&gt;    call function 'SWO_OBJTYPE_EXIST'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              objtype           = objclssa&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              objtype_not_found = 1&lt;/P&gt;&lt;P&gt;              others            = 2.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     message id sy-msgid type 'E' number sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if objclstypb = 'BO'.&lt;/P&gt;&lt;P&gt;    call function 'SWO_OBJTYPE_EXIST'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              objtype           = objclssb&lt;/P&gt;&lt;P&gt;         exceptions&lt;/P&gt;&lt;P&gt;              objtype_not_found = 1&lt;/P&gt;&lt;P&gt;              others            = 2.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     message id sy-msgid type 'E' number sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  objrole_a-objkey = objkeya.&lt;/P&gt;&lt;P&gt;  objrole_a-objtype = objclssa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  objrole_b-objkey = objkeyb.&lt;/P&gt;&lt;P&gt;  objrole_b-objtype = objclssb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'BINARY_RELATION_CREATE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            obj_rolea      = objrole_a&lt;/P&gt;&lt;P&gt;            obj_roleb      = objrole_b&lt;/P&gt;&lt;P&gt;            relationtype   = reltyp&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            binrel         = binarel&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            binrel_attrib  = binrel_attrib&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            no_model       = 1&lt;/P&gt;&lt;P&gt;            internal_error = 2&lt;/P&gt;&lt;P&gt;            unknown        = 3&lt;/P&gt;&lt;P&gt;            others         = 4.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  commit work.&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 20:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004974#M77506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T20:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Link Workflow Document to BKPF object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004975#M77507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Niall,&lt;/P&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to follow your description, from Sep 1, 2005 10:48 PM, how to link the SOFM and BKPF BOs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Task 1:&lt;/STRONG&gt; Create config for relation in table VRBINRELATION using SM34:&lt;/P&gt;&lt;P&gt;   Roll categories: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rolle type 	Description  	Obj.type 	Name&lt;/P&gt;&lt;P&gt;ZFIPP		FIPP		FIPP		Parked Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rolle type 	Description  	Obj.type 	Name&lt;/P&gt;&lt;P&gt;ZSOFM	SOFM		SOFM		Office Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary relationship type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rel. type             ZFUS&lt;/P&gt;&lt;P&gt;Type role A           ZFIPP&lt;/P&gt;&lt;P&gt;Type role B           ZSOFM&lt;/P&gt;&lt;P&gt;Cardinality role A    N&lt;/P&gt;&lt;P&gt;Cardinality role B    N&lt;/P&gt;&lt;P&gt;Semantics A to B      RTAB: FIPP --&amp;gt; SOFM&lt;/P&gt;&lt;P&gt;Semantics B to A      RTAB: SOFM --&amp;gt; FIPP&lt;/P&gt;&lt;P&gt;Table                 SRGBINREL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rel. type             ZSUF&lt;/P&gt;&lt;P&gt;Type role A           ZSOFM&lt;/P&gt;&lt;P&gt;Type role B           ZFIPP&lt;/P&gt;&lt;P&gt;Cardinality role A    N&lt;/P&gt;&lt;P&gt;Cardinality role B    N&lt;/P&gt;&lt;P&gt;Semantics A to B      RTAB: SOFM --&amp;gt; FIPP&lt;/P&gt;&lt;P&gt;Semantics B to A      RTAB: FIPP --&amp;gt; SOFM&lt;/P&gt;&lt;P&gt;Table                 SRGBINREL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Task 2:&lt;/STRONG&gt; submit the two objects with the OBJECT ROLES as required by function module BINARY_RELATION_CREATE and the RELATION TYPE you defined in task 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I call the FM u201CBINARY_RELATION_CREATEu201D with the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_ROLEA                          FOL29000000000024EXT33000000000006                                    SOFM&lt;/P&gt;&lt;P&gt; OBJ_ROLEB                          FIPP:Z00232300000012008                                               FIPP&lt;/P&gt;&lt;P&gt; RELATIONTYPE                    ZSUF&lt;/P&gt;&lt;P&gt; FIRE_EVENTS                     X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_ROLEA                          FIPP:Z00232300000012008                                               FIPP&lt;/P&gt;&lt;P&gt;OBJ_ROLEB                          FOL29000000000024EXT33000000000006                                    SOFM&lt;/P&gt;&lt;P&gt;RELATIONTYPE                    ZFUS&lt;/P&gt;&lt;P&gt;FIRE_EVENTS                     X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, although the FM ends without exception I do not get the desired linkage in GOS for the FIPP object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea is very appritiated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Valentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 08:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-workflow-document-to-bkpf-object/m-p/1004975#M77507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T08:09:52Z</dc:date>
    </item>
  </channel>
</rss>

