<?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 Re: Function module or BAPI to update URL in delivery document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-bapi-to-update-url-in-delivery-document/m-p/8004067#M1607015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stopped to get the BAPI to work for adding URL's. Finally it did work to add an attachment of file type EDI. After entering url (with &lt;A href="http://)" target="test_blank"&gt;http://)&lt;/A&gt; it downloads the html code from the selected site. Could not find to add only an URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found the solution in below blog for your reference. I was able to make the URL part to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rammanohar.tiwari/blog/2006/03/25/generic-object-services-gos--in-background--part-ii&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 13:29:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-21T13:29:04Z</dc:date>
    <item>
      <title>Function module or BAPI to update URL in delivery document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-bapi-to-update-url-in-delivery-document/m-p/8004066#M1607014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a FM or a BAPI to enter an URL into a delivery document (in background).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now I have found something, but I am not sure if this is the correct one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDS_BUSINESSDOCUMENT_CRE_O_URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is how to populate the input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOGICAL_SYSTEM        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CLASSNAME             = 'LIKP'&lt;/P&gt;&lt;P&gt;        CLASSTYPE             = 'OB'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLIENT                = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        OBJECT_KEY            = '0080000017'&lt;/P&gt;&lt;P&gt;        URL                   = lv_url&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BINARY_FLAG           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        MIMETYPE              = 'TEXT/PLAIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOC_ID                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOC_VER_NO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOC_VAR_ID            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;       PROPERTIES            = it_BAPIPROPER&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOTHING_FOUND         = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER_ERROR       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_ALLOWED           = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ERROR_KPRO            = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNAL_ERROR        = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_AUTHORIZED        = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ERROR_DP              = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And are the CLASS and CLASSNAME the correct ones to update the delivery document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to execute the program and I get MESSAGE_TYPE_X / FUNCTION AC_SYSTEM_FLUSH / &lt;/P&gt;&lt;P&gt;    WHEN 2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    method_call_error&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively if someone knows a better or the correct one to update the URL by an other FM or BAPI, that would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kasper on Jun 21, 2011 11:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 08:36:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-bapi-to-update-url-in-delivery-document/m-p/8004066#M1607014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-21T08:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function module or BAPI to update URL in delivery document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-bapi-to-update-url-in-delivery-document/m-p/8004067#M1607015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stopped to get the BAPI to work for adding URL's. Finally it did work to add an attachment of file type EDI. After entering url (with &lt;A href="http://)" target="test_blank"&gt;http://)&lt;/A&gt; it downloads the html code from the selected site. Could not find to add only an URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found the solution in below blog for your reference. I was able to make the URL part to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rammanohar.tiwari/blog/2006/03/25/generic-object-services-gos--in-background--part-ii&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 13:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-bapi-to-update-url-in-delivery-document/m-p/8004067#M1607015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-21T13:29:04Z</dc:date>
    </item>
  </channel>
</rss>

