<?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 Problem in Function while creating dependency in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058893#M970220</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 working on a Program in which I have to create Class , local and global dependency -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For class createion i am using &lt;/P&gt;&lt;P&gt;-   BAPI_CLASS_CREATE&lt;/P&gt;&lt;P&gt;For local dependency i m using&lt;/P&gt;&lt;P&gt;CAMA_CLASS_MAINTAIN_DEP&lt;/P&gt;&lt;P&gt;For Global dependency i am using &lt;/P&gt;&lt;P&gt;CAMA_CLASS_ALLOCAT_GLOB_DEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is that I am able to create Class and only 1 of the dependency either local or global whihever function I am calling first &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while debugging program I am able to create Class as well as both dependencies successfully &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can any one tell while this is runing successfully only at the time of debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Preeti  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2008 10:01:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-30T10:01:51Z</dc:date>
    <item>
      <title>Problem in Function while creating dependency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058893#M970220</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 working on a Program in which I have to create Class , local and global dependency -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For class createion i am using &lt;/P&gt;&lt;P&gt;-   BAPI_CLASS_CREATE&lt;/P&gt;&lt;P&gt;For local dependency i m using&lt;/P&gt;&lt;P&gt;CAMA_CLASS_MAINTAIN_DEP&lt;/P&gt;&lt;P&gt;For Global dependency i am using &lt;/P&gt;&lt;P&gt;CAMA_CLASS_ALLOCAT_GLOB_DEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is that I am able to create Class and only 1 of the dependency either local or global whihever function I am calling first &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while debugging program I am able to create Class as well as both dependencies successfully &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can any one tell while this is runing successfully only at the time of debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Preeti  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058893#M970220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Function while creating dependency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058894#M970221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the bapi BAPI_TRANSACTION_COMMIT if the call to the original bapi is succesful.&lt;/P&gt;&lt;P&gt;Your class is getting created in debug mode, because the system does a commit when you press F5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058894#M970221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T10:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Function while creating dependency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058895#M970222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur response&lt;/P&gt;&lt;P&gt;I have no problem in creating Class using Bapi &lt;/P&gt;&lt;P&gt;i have used -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'BAPI_CLASS_CREATE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;            CLASSNUMNEW = TCLASS-CLASS&lt;/P&gt;&lt;P&gt;            CLASSTYPENEW = TEXP1-KLART&lt;/P&gt;&lt;P&gt;            CLASSBASICDATA = CLASSBASICDATA&lt;/P&gt;&lt;P&gt;            CHANGENUMBER   = SAENNR&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;         CLASSDESCRIPTIONS = CLASSDESCRIPTIONS&lt;/P&gt;&lt;P&gt;         CLASSLONGTEXTS    = CLASSLONGTEXTS&lt;/P&gt;&lt;P&gt;         CLASSCHARACTERISTICS = CLASSCHARACTERISTICS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              WAIT   = 'X'&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              RETURN = TRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CAMA_CLASS_ALLOCAT_GLOB_DEP'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              CHANGE_NO        = SAENNR&lt;/P&gt;&lt;P&gt;              KEY_DATE         = SY-DATUM&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              CLASS_DEP_ASSIGN = T_GLBDEP&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              ERROR            = 1&lt;/P&gt;&lt;P&gt;              WARNING          = 2&lt;/P&gt;&lt;P&gt;              OTHERS           = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CAMA_CLASS_MAINTAIN_DEP'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                CLASS           = TCLASS-CLASS&lt;/P&gt;&lt;P&gt;                CLASS_TYPE      = SKLART&lt;/P&gt;&lt;P&gt;                DEPENDENCY_DATA = T_DEPDATA&lt;/P&gt;&lt;P&gt;                CHANGE_NO       = SAENNR&lt;/P&gt;&lt;P&gt;                KEY_DATE        = SY-DATUM&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                SOURCE          = TSOURCE&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                ERROR           = 1&lt;/P&gt;&lt;P&gt;                WARNING         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem I am facing here in creating Local and global dependency together which i am able to create in debugging mode only otherwise either Local or global whichever function i am using first&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058895#M970222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T10:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Function while creating dependency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058896#M970223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: preeti sharma on Jun 30, 2008 12:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 10:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency/m-p/4058896#M970223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T10:11:59Z</dc:date>
    </item>
  </channel>
</rss>

