<?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: Help in Bapi_document_change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815889#M658529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur answer.&lt;/P&gt;&lt;P&gt;The error message it shows is "the knowledge provider is using this document type".Dnt know if there is mistake in my code or some other problem.Could you tell me what is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2007 06:46:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-02T06:46:02Z</dc:date>
    <item>
      <title>Help in Bapi_document_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815887#M658527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Bapi_document_change.Its not changing the document fields.How to proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 15:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815887#M658527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-30T15:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Bapi_document_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815888#M658528</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;Please check the FM documentation. There is a Limitations section also. There is an example coding part also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also not sure of your exact requirement since there is no details explaining the problem or piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Murugesh AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 04:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815888#M658528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T04:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Bapi_document_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815889#M658529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur answer.&lt;/P&gt;&lt;P&gt;The error message it shows is "the knowledge provider is using this document type".Dnt know if there is mistake in my code or some other problem.Could you tell me what is the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 06:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815889#M658529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Bapi_document_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815890#M658530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this &lt;/P&gt;&lt;P&gt;**..... Document data&lt;/P&gt;&lt;P&gt;DATA: ls_doc    LIKE bapi_doc_draw2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**..... Indicator for change relevance&lt;/P&gt;&lt;P&gt;      ls_docx   LIKE bapi_doc_drawx2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**..... Bapi return structure&lt;/P&gt;&lt;P&gt;      ls_return LIKE bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**.... Originals that are checked in simultaneously&lt;/P&gt;&lt;P&gt;      lt_files LIKE bapi_doc_files OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**.... Short texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lt_drat  LIKE bapi_doc_drat OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**.... Object links&lt;/P&gt;&lt;P&gt;      lt_drad  LIKE bapi_doc_drad OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;**----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ls_doc-documenttype    = 'DRW'.&lt;/P&gt;&lt;P&gt; ls_doc-documentnumber  = '4711'.&lt;/P&gt;&lt;P&gt; ls_doc-documentversion = '00'.&lt;/P&gt;&lt;P&gt; ls_doc-documentpart    = '000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ls_doc-description    = 'Transmission'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ls_doc-laboratory     = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; Set indicator for change relevance&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt; ls_docx-description    = 'X'.&lt;/P&gt;&lt;P&gt; ls_docX-laboratory     = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Insert object links&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt; CLEAR lt_drad.&lt;/P&gt;&lt;P&gt; REFRESH lt_drad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lt_drad-objecttype = 'MARA'.&lt;/P&gt;&lt;P&gt; lt_drad-objectkey  = 'M0815'.&lt;/P&gt;&lt;P&gt; APPEND lt_drad.&lt;/P&gt;&lt;P&gt;**----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Change document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;**----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'&lt;/P&gt;&lt;P&gt;       EXPORTING: documenttype    = ls_doc-documenttype&lt;/P&gt;&lt;P&gt;                  documentnumber  = ls_doc-documentnumber&lt;/P&gt;&lt;P&gt;                  documentpart    = ls_doc-documentpart&lt;/P&gt;&lt;P&gt;                  documentversion = ls_doc-documentversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  documentdata    = ls_doc&lt;/P&gt;&lt;P&gt;                  documentdatax   = ls_docx&lt;/P&gt;&lt;P&gt;       IMPORTING: return          = ls_return&lt;/P&gt;&lt;P&gt;       TABLES:    objectlinks     = lt_drad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Did an error occur ??&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF ls_return-type CA 'EA'.&lt;/P&gt;&lt;P&gt;   ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;   MESSAGE ID '26' TYPE 'I' NUMBER '000'&lt;/P&gt;&lt;P&gt;           WITH ls_return-message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;   COMMIT WORK.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;In addition to the document data you can also change the following data:&lt;/P&gt;&lt;P&gt;Object links&lt;/P&gt;&lt;P&gt;Classification and characteristic valuations&lt;/P&gt;&lt;P&gt;Language dependent document descriptions&lt;/P&gt;&lt;P&gt;Document long texts&lt;/P&gt;&lt;P&gt;Document structures&lt;/P&gt;&lt;P&gt;Original application files &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 06:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815890#M658530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T06:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Bapi_document_change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815891#M658531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Its given in the documentation part itself.The error I get reads like the knowledge provider is using the document type.I dnt understand this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 07:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi-document-change/m-p/2815891#M658531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T07:16:16Z</dc:date>
    </item>
  </channel>
</rss>

