<?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 not getting solved in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100630#M980545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any solution even after debuging it many times,&lt;/P&gt;&lt;P&gt;This is second time I am posting same problem , Please help me out if possible &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;&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;Code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 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;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;I have no problem in creating Class using Bapi ,&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;Regards&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 04:44:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T04:44:41Z</dc:date>
    <item>
      <title>Problem in Function while creating dependency not getting solved</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100630#M980545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any solution even after debuging it many times,&lt;/P&gt;&lt;P&gt;This is second time I am posting same problem , Please help me out if possible &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;&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;Code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 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;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;I have no problem in creating Class using Bapi ,&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;Regards&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 04:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100630#M980545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T04:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Function while creating dependency not getting solved</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100631#M980546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to call the BAPI_TRANSACTION_COMMIT after each step&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in debug mode the commit is implicit...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 08:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100631#M980546</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2008-07-01T08:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Function while creating dependency not getting solved</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100632#M980547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;duplicate post locked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5697190"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 08:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-function-while-creating-dependency-not-getting-solved/m-p/4100632#M980547</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-07-01T08:10:23Z</dc:date>
    </item>
  </channel>
</rss>

