<?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: Insert Values to CDHDR and CDPOS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577521#M260722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, generate and save afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2006 11:52:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-21T11:52:41Z</dc:date>
    <item>
      <title>Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577515#M260716</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 am using a BAPI to create WBS which inserts a record in PRPS. I have a few custom fields in PRPS for which I need to maintain change log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have ticked the change document check box for data element.&lt;/P&gt;&lt;P&gt;2. Ticked change document for TAble PRPS as well.&lt;/P&gt;&lt;P&gt;3. Created an Object from Tx SCDO, to update through work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHen i call the FM in my COde its not inserting record in CDHDR, CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF i run the generated FM without update task .. i see a change number being created and values getting inserted into table cdhdr , but when i actually check the table .. no entries are inserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing setting of some important parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entered values:&lt;/P&gt;&lt;P&gt;objectid  - WBS ELEMENT&lt;/P&gt;&lt;P&gt;tcode= 'CJ20n'&lt;/P&gt;&lt;P&gt;utime - sy-uzeit&lt;/P&gt;&lt;P&gt;udate-sy-datum&lt;/P&gt;&lt;P&gt;uname = sy-uname&lt;/P&gt;&lt;P&gt;PLANNED_CHANGE_NUMBER = ''&lt;/P&gt;&lt;P&gt;CDOC_UPD_OBJECT = 'I'.&lt;/P&gt;&lt;P&gt;CDOC_PLANNED_OR_REAL = ''.&lt;/P&gt;&lt;P&gt;CDOC_NO_CHANGE_POINTERS = ''&lt;/P&gt;&lt;P&gt;YPRPS = blank work area&lt;/P&gt;&lt;P&gt;PRPS = new values of prps for the wbs &lt;/P&gt;&lt;P&gt;UPD_PRPS = 'I'&lt;/P&gt;&lt;P&gt;UPD_ICDTXT_Z_PRPS_TXT = 'I'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES :&lt;/P&gt;&lt;P&gt;ICDTXT_Z_PRPS_TXT - blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SWE_REQUESTER_TO_UPDATE'.&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'Z_PRPS_TXT_WRITE_DOCUMENT     ' IN UPDATE TASK&lt;/P&gt;&lt;P&gt;        EXPORTING OBJECTID              = OBJECTID&lt;/P&gt;&lt;P&gt;                  TCODE                 = TCODE&lt;/P&gt;&lt;P&gt;                  UTIME                 = UTIME&lt;/P&gt;&lt;P&gt;                  UDATE                 = UDATE&lt;/P&gt;&lt;P&gt;                  USERNAME              = USERNAME&lt;/P&gt;&lt;P&gt;                  PLANNED_CHANGE_NUMBER = PLANNED_CHANGE_NUMBER&lt;/P&gt;&lt;P&gt;                  OBJECT_CHANGE_INDICATOR = CDOC_UPD_OBJECT&lt;/P&gt;&lt;P&gt;                  PLANNED_OR_REAL_CHANGES = CDOC_PLANNED_OR_REAL&lt;/P&gt;&lt;P&gt;                  NO_CHANGE_POINTERS = CDOC_NO_CHANGE_POINTERS&lt;/P&gt;&lt;P&gt;                  O_YPRPS&lt;/P&gt;&lt;P&gt;                      = YPRPS&lt;/P&gt;&lt;P&gt;                  N_PRPS&lt;/P&gt;&lt;P&gt;                      = PRPS&lt;/P&gt;&lt;P&gt;                  UPD_PRPS&lt;/P&gt;&lt;P&gt;                      = UPD_PRPS&lt;/P&gt;&lt;P&gt;                  UPD_ICDTXT_Z_PRPS_TXT&lt;/P&gt;&lt;P&gt;                      = UPD_ICDTXT_Z_PRPS_TXT&lt;/P&gt;&lt;P&gt;          TABLES  ICDTXT_Z_PRPS_TXT&lt;/P&gt;&lt;P&gt;                      = ICDTXT_Z_PRPS_TXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577515#M260716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577516#M260717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The code below worked for me, try to see the difference  &lt;/P&gt;&lt;P&gt;g_f_objectid = z06pde01_am_fehl-zzfn.&lt;/P&gt;&lt;P&gt;          g_f_tcode = sy-tcode.&lt;/P&gt;&lt;P&gt;          g_f_utime = sy-uzeit.&lt;/P&gt;&lt;P&gt;          g_f_udate = sy-datum.&lt;/P&gt;&lt;P&gt;          g_f_username = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'Z_AM_ERR_WRITE_DOCUMENT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              objectid             = g_f_objectid&lt;/P&gt;&lt;P&gt;              tcode                = g_f_tcode&lt;/P&gt;&lt;P&gt;              utime                = g_f_utime&lt;/P&gt;&lt;P&gt;              udate                = g_f_udate&lt;/P&gt;&lt;P&gt;              username             = g_f_username&lt;/P&gt;&lt;P&gt;              n__sehl  =   g_r_nsehl&lt;/P&gt;&lt;P&gt;              o_sehl   = g_r_osehl&lt;/P&gt;&lt;P&gt;              upd_sehl = 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used 'U' to update, check if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thirumal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577516#M260717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577517#M260718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with U as well .. but still the data is not inserted into table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any special setting which creating the object class which i am missing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to get the error in my code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577517#M260718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577518#M260719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SREEDHAR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u r creating an object in SCDO,u have to generate the update program.When u do this it will create includes and function modules ,when u press on save button.I think u have done this.Now what u have to do u have to call these includes in ur program.now it should generate entries inCDHDR and CDPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577518#M260719</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-21T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577519#M260720</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 done all of that . I have pasted the FM in SDN as well , indicating what are the values I am passing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still records are not being inserted in to cdhdr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577519#M260720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577520#M260721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps are simple,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the change document in the data element and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the SCDO create the object for the table and then you should save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saving is very important, then only all the generations are saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thirumal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577520#M260721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577521#M260722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, generate and save afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 11:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577521#M260722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T11:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577522#M260723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to solve the issue myself .. there was a commit issue ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now its working fine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 12:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577522#M260723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Values to CDHDR and CDPOS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577523#M260724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumal R&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me in coding for creating doucment change report please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had gone through the tables there are CDHDR and CDPOS , from this tables&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;These standards reports are taken from RVSD100 and RVSD200 reports which allow viewing changes on a single sales document in online mode howver the selection paratmeters for these two standard reports does not allow the selection parameters by plant code, document number, date ranges and also does not allow multiple sales document to be listed at the same time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I need a report that will allow them to list the changes made in the contract documents with more ranges options on the report selection parameters&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;basically this customised report will retrive all the changes made in sales contract documents within a plat , date ragne and other selection paramters&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The report must allow ALV display also&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;sales office code and sales office description&lt;/P&gt;&lt;P&gt;+ contract document number&lt;/P&gt;&lt;P&gt;sort by date, header data filed name &amp;lt;01&amp;gt; with old and new values changes and username&lt;/P&gt;&lt;P&gt;sort by date, header data field name &amp;lt;02&amp;gt; with old and new values changes and username&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;etc....&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;can you please help me how to start do we required funtional module etc.,I know it is easy but i need some push to start.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Piroz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 05:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-values-to-cdhdr-and-cdpos/m-p/1577523#M260724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T05:49:02Z</dc:date>
    </item>
  </channel>
</rss>

