<?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: Change Document - CDHDR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501287#M842175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for the response. I am not using CALL TRANSACTION method and i am using BDC session method in my BDC program. In BDC session method how to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The function module which is generated wehn i create the change document object is called in UPDATE TASK . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 09:30:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T09:30:18Z</dc:date>
    <item>
      <title>Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501284#M842172</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 have created a transaction. I have also created a change document object for logging changes to the transaction. I have also made necessary calls in the transaction for logging the changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i change the transaction or enter data manually , a change document is created in CDHDR . The problem is when i upload data into transaction using BDC sessions a change document is not created in CDHDR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any limition for change documents to be logged when we upload data using BDC, Pl help its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suitable answers will be rewarded &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 07:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501284#M842172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T07:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501285#M842173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No limititations, i don t have your code extract, but could it be that you have a check on SY-BATCH or SY-BINPT ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 08:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501285#M842173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T08:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501286#M842174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is probably because processing terminates in the BDC as soon as it comes across a COMMIT WORK. SAP writes changes to CDHDR only after a COMMIT, hence you need the BDC to continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using CALL TRANSACTION for the BDC then do the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: w_options type CTU_PARAMS.

w_options-dismode = 'E'.
w_options-RACOMMIT = 'X'.

CALL TRANSACTION '&amp;lt;tcode&amp;gt;'
USING itab_bdc_data
OPTIONS FROM w_options.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; w_options-RACOMMIT = 'X'. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; is very important becasue it means COMMIT WORK does not end CATT procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this and I believe it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 08:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501286#M842174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T08:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501287#M842175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for the response. I am not using CALL TRANSACTION method and i am using BDC session method in my BDC program. In BDC session method how to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The function module which is generated wehn i create the change document object is called in UPDATE TASK . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501287#M842175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T09:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501288#M842176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you see any error message in SM13 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501288#M842176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T09:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501289#M842177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Kris, No error is found in SM13 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501289#M842177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T09:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501290#M842178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks for your responses. As Aditya said chnage document are getting wrriten only after a COMMIT WORK . But BDC terminates after a COMMIT WORK. As i said before the function module genertaed by change document object for logging the changes in CDHDR is an update task function module. If i call it normally instead of update task the changes are logged even in BDC session processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing i want to know is, if i call the FM in normal method instead of Update task will the performance be affected. The upload is going to be for 60000 people  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kasi S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501290#M842178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T09:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document - CDHDR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501291#M842179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are calling the FM in normal mode, ensure you call it only if the BDC has run without any errors. The reason for UPDATE TASK mode is to ensure no CDHDR entries get written if any error occurred. Because errors would prevent COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as you are ensuring the FM is not called when not needed (as above) then there shouldnt be a performance issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 10:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-document-cdhdr/m-p/3501291#M842179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T10:01:05Z</dc:date>
    </item>
  </channel>
</rss>

