<?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 Need ugent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137004#M113402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I didn't notice that CDPOS is a cluster table and cannot be joined... oops!   O:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there're a couple of ways to do so:&lt;/P&gt;&lt;P&gt;1. use FM's CHANGEDOCUMENT_READ&lt;/P&gt;&lt;P&gt;2. use this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from cdhdr where ...
  select * from cdpos
    where OBJECTCLAS = cdhdr-objectclas
      and OBJECTID = cdhdr-objectid
      and CHANGENR = cdhdr-changenr
   endselect.
endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. BR,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2006 09:09:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-20T09:09:29Z</dc:date>
    <item>
      <title>Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1136998#M113396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a cutomize BAPI.That has to show all content of CDCHR &amp;amp; CDPOS table. Input parameters are Transaction Code (CDHDR.TCODE) &amp;amp; date (CDHDR.UDATE).&lt;/P&gt;&lt;P&gt;Can anyone help me to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  what is the use of this Function module RFC_ABAP_INSTALL_AND_RUN? while executing this function module it is asking Input parameter PROGRAMNAME. i gave program name .but it is showing error " Report/Program statement missing.can any one test FM RFC_ABAP_INSTALL_AND_RUN &amp;amp; inform me whatis the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regadrs,&lt;/P&gt;&lt;P&gt;Silviya T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 08:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1136998#M113396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T08:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1136999#M113397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input parameter PROGRAMNAME in the FM RFC_ABAP_INSTALL_AND_RUN is the program name(which should be unique) with which you will execute the program in the destination server.And in the PROGRAM parameter you will specify the source code which you want to execute and WRITES parameter gets the results from the destination server after executing the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 08:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1136999#M113397</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2006-02-20T08:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137000#M113398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you may just want to select from tables CDHDR and CDPOS, joining fields MANDANT, OBJECTCLAS, OBJECTID and CHANGENR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. pls have a look at program RSDB2FIX, Form  CHK_SYSTEM.&lt;/P&gt;&lt;P&gt;The goal of FM RFC_ABAP_INSTALL_AND_RUN is to load and run some piece of ABAP program (via table parameter PROGRAM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. BR,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 08:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137000#M113398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T08:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137001#M113399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laksman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i gave the program name as a input parameter eg : Z_AR_DZ_SALES_RECEIPTS_CLR1 in FM RFC_INSTALL_AND_RUN.&lt;/P&gt;&lt;P&gt;but it is showing error.what we have to give inthat program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;     we cant join Cluster table (CDPOS). then how can we get the all content of CDHDR &amp;amp; CDPOS?please give some idea.give a sample code if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Silviya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137001#M113399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137002#M113400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 2 Fuction Modules are Required.&lt;/P&gt;&lt;P&gt;(They will fetch necessary data from CDHDR,CDPOS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGEDOCUMENT_READ_HEADERS&lt;/P&gt;&lt;P&gt;CHANGEDOCUMENT_READ_POSITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The First FM gives list of all &lt;/P&gt;&lt;P&gt;records ( with change no) which have changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Loop at the above and the second FM will&lt;/P&gt;&lt;P&gt;provide the details (old-val, new-val) for&lt;/P&gt;&lt;P&gt;each record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. While using 1st Fm, i used docclass as 'MATERIAL'.&lt;/P&gt;&lt;P&gt;BCOS&lt;/P&gt;&lt;P&gt;the concept of change documents is applicable&lt;/P&gt;&lt;P&gt;to other type of documents also (depends upon&lt;/P&gt;&lt;P&gt;customization)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137002#M113400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137003#M113401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try without giving the program name in the input paramater and pass the source code in PROGRAM parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137003#M113401</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2006-02-20T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137004#M113402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silviya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I didn't notice that CDPOS is a cluster table and cannot be joined... oops!   O:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there're a couple of ways to do so:&lt;/P&gt;&lt;P&gt;1. use FM's CHANGEDOCUMENT_READ&lt;/P&gt;&lt;P&gt;2. use this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from cdhdr where ...
  select * from cdpos
    where OBJECTCLAS = cdhdr-objectclas
      and OBJECTID = cdhdr-objectid
      and CHANGENR = cdhdr-changenr
   endselect.
endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. BR,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137004#M113402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help Need ugent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137005#M113403</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;- RFC_ABAP_INSTALL_AND_RUN: it allows to create and run a program in remote. You have to transfer the name, but also the code (table PROGRAM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should use that function only if you want to create and run a program doesn't exist in a remote system (for example prod).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very hard to test it by SM37, because you have to insert the code of program, it's easier to write a little code inserts an abap code in a internal table and than call that fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- BAPI: I think you can create a BAPI or RFC fm that calls fm std as CHANGEDOCUMENT_READ, or CHANGEDOCUMENT_READ_HEADERS and&lt;/P&gt;&lt;P&gt;CHANGEDOCUMENT_READ_POSITIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-need-ugent/m-p/1137005#M113403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:16:09Z</dc:date>
    </item>
  </channel>
</rss>

