<?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: Problem in Logical Databse Call via Function Module - Urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176567#M124478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think adithya is right b'coz we have to pass the values for the selection screen after executing that with out that we may not get the data.so check it out whether it works or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Sri&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2006 10:48:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-10T10:48:24Z</dc:date>
    <item>
      <title>Problem in Logical Databse Call via Function Module - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176565#M124476</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; To use the Logical Database(LDB) in the function module(Custom) I am using the function module - LDB_PROCESS. But I didn't get any output. I am attaching the code. Please Help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : W_LDBNAME LIKE TRDIR-LDBNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IT_CALLBACK LIKE TABLE OF LDBCB WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       IT_SELECTIONS LIKE TABLE OF RSPARAMS WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       IT_PERNR TYPE TABLE OF PERNR WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'PNP' TO W_LDBNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_CALLBACK-LDBNODE = 'PERNR'.&lt;/P&gt;&lt;P&gt;IT_CALLBACK-GET     = 'X'.&lt;/P&gt;&lt;P&gt;IT_CALLBACK-CB_PROG = SY-CPROG.&lt;/P&gt;&lt;P&gt;IT_CALLBACK-CB_FORM = 'CALLBACK_PERNR'.&lt;/P&gt;&lt;P&gt;APPEND IT_CALLBACK.&lt;/P&gt;&lt;P&gt;CLEAR IT_CALLBACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_SELECTIONS-KIND    = 'S'.&lt;/P&gt;&lt;P&gt;IT_SELECTIONS-SELNAME = 'PNPPERNR'.&lt;/P&gt;&lt;P&gt;IT_SELECTIONS-SIGN    = 'I'.&lt;/P&gt;&lt;P&gt;IT_SELECTIONS-OPTION   = 'EQ'.&lt;/P&gt;&lt;P&gt;IT_SELECTIONS-LOW      = '100178'.&lt;/P&gt;&lt;P&gt;APPEND IT_SELECTIONS.&lt;/P&gt;&lt;P&gt;CLEAR IT_SELECTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LDB_PROCESS'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;    LDBNAME                    = W_LDBNAME&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPRESSIONS                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_SELECTION            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYN_NODE_TYPES             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;    CALLBACK                   = IT_CALLBACK&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SELECTIONS                 = IT_SELECTIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   LDB_NOT_REENTRANT           = 1&lt;/P&gt;&lt;P&gt;   LDB_INCORRECT               = 2&lt;/P&gt;&lt;P&gt;   LDB_ALREADY_RUNNING         = 3&lt;/P&gt;&lt;P&gt;   LDB_ERROR                   = 4&lt;/P&gt;&lt;P&gt;   LDB_SELECTIONS_ERROR        = 5&lt;/P&gt;&lt;P&gt;   LDB_SELECTIONS_NOT_ACCEPTED = 6&lt;/P&gt;&lt;P&gt;   VARIANT_NOT_EXISTENT        = 7&lt;/P&gt;&lt;P&gt;   VARIANT_OBSOLETE            = 8&lt;/P&gt;&lt;P&gt;   VARIANT_ERROR               = 9&lt;/P&gt;&lt;P&gt;   FREE_SELECTIONS_ERROR       = 10&lt;/P&gt;&lt;P&gt;   CALLBACK_NO_EVENT           = 11&lt;/P&gt;&lt;P&gt;   CALLBACK_NODE_DUPLICATE     = 12&lt;/P&gt;&lt;P&gt;   CALLBACK_NO_PROGRAM         = 13&lt;/P&gt;&lt;P&gt;   CALLBACK_NO_CBFORM          = 14&lt;/P&gt;&lt;P&gt;   DYN_NODE_NO_TYPE            = 15&lt;/P&gt;&lt;P&gt;   DYN_NODE_INVALID_TYPE       = 16&lt;/P&gt;&lt;P&gt;   OTHERS                      = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE I039(ZABA) WITH  SY-SUBRC.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_PERNR.&lt;/P&gt;&lt;P&gt;  message i039(zaba) with 'Inside loop'.&lt;/P&gt;&lt;P&gt;  WRITE : / IT_PERNR-PERNR, IT_PERNR-BUKRS.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  CALLBACK_PERNR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;L_LDBNAME     text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;L_IT_PAYROLL  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;TYPE          text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;PAY99_REULT   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;L_EVT         text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;L_CHK         text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CALLBACK_PERNR USING  L_LDBNAME LIKE TRDIR-LDBNAME&lt;/P&gt;&lt;P&gt;                           L_IT_PERNR LIKE PERNR&lt;/P&gt;&lt;P&gt;                           L_EVT type C&lt;/P&gt;&lt;P&gt;                           L_CHK type C.&lt;/P&gt;&lt;P&gt;  message i039(zaba) with 'Inside Callback'.&lt;/P&gt;&lt;P&gt;  WRITE : / L_IT_PERNR-PERNR,&lt;/P&gt;&lt;P&gt;            L_IT_PERNR-BUKRS.&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING L_IT_PERNR TO IT_PERNR.&lt;/P&gt;&lt;P&gt;  APPEND IT_PERNR.&lt;/P&gt;&lt;P&gt;  CLEAR IT_PERNR.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "CALLBACK_PERNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arul Jothi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2006 08:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176565#M124476</guid>
      <dc:creator>aaruljothi</dc:creator>
      <dc:date>2006-02-04T08:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Logical Databse Call via Function Module - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176566#M124477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; i guess the statement "* SELECTIONS = IT_SELECTIONS"&lt;/P&gt;&lt;P&gt;is commented in the code ....uncomment that statement and i think u may get the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 10:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176566#M124477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T10:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Logical Databse Call via Function Module - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176567#M124478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think adithya is right b'coz we have to pass the values for the selection screen after executing that with out that we may not get the data.so check it out whether it works or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Sri&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 10:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176567#M124478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T10:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Logical Databse Call via Function Module - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176568#M124479</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 think Arul commented the 'it_selections' while trying out.. I couldn't get the fm work for PNP.. it worked fine with the FI LDBs.. just didn't seem to like the PNP..&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;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 11:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-logical-databse-call-via-function-module-urgent/m-p/1176568#M124479</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-02-10T11:42:26Z</dc:date>
    </item>
  </channel>
</rss>

