<?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 while Fetchign data from in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541498#M1265585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get data from CDHDR for Vendors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT MANDANT        "Client&lt;/P&gt;&lt;P&gt;         objectclas     "Object class&lt;/P&gt;&lt;P&gt;         objectid       "Object value&lt;/P&gt;&lt;P&gt;         changenr       "Document change number&lt;/P&gt;&lt;P&gt;         username       "User name of the person responsible in change document&lt;/P&gt;&lt;P&gt;         udate          "Creation date of the change document&lt;/P&gt;&lt;P&gt;         tcode          "Transaction in which a change was made&lt;/P&gt;&lt;P&gt;         langu          "Language Key&lt;/P&gt;&lt;P&gt;           INTO TABLE it_cdhdr_v&lt;/P&gt;&lt;P&gt;           FROM cdhdr&lt;/P&gt;&lt;P&gt;           WHERE objectclas EQ 'KRED'&lt;/P&gt;&lt;P&gt;             AND objectid   IN s_lifnr&lt;/P&gt;&lt;P&gt;             AND udate      IN s_udate&lt;/P&gt;&lt;P&gt;             AND tcode      IN ('XK01','XK02')&lt;/P&gt;&lt;P&gt;             AND langu      EQ sy-langu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2009 07:03:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-15T07:03:52Z</dc:date>
    <item>
      <title>Problem while Fetchign data from</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541497#M1265584</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 am fetching the  data from table CDHDR but though there exists data in the database table, the select query is giving 0 Entries..Please look into my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr,                "Account Number of Vendor or Creditor&lt;/P&gt;&lt;P&gt;                s_kunnr FOR kna1-kunnr,                "Customer Number&lt;/P&gt;&lt;P&gt;                s_bp    FOR but000-partner,            "Business Partner&lt;/P&gt;&lt;P&gt;                s_udate FOR cdhdr-udate OBLIGATORY.    "Create/Change Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_cdhdr_v,&lt;/P&gt;&lt;P&gt;       MANDANT    type MANDT,         "Client&lt;/P&gt;&lt;P&gt;       objectclas TYPE cdobjectcl,    "Object class&lt;/P&gt;&lt;P&gt;       objectid   TYPE cdobjectv,     "Object value&lt;/P&gt;&lt;P&gt;       changenr   TYPE cdchangenr,    "Document change number&lt;/P&gt;&lt;P&gt;       username   TYPE cdusername,    "User name of the person responsible in change document&lt;/P&gt;&lt;P&gt;       udate      TYPE cddatum,       "Creation date of the change document&lt;/P&gt;&lt;P&gt;       tcode      TYPE cdtcode,       "Transaction in which a change was made&lt;/P&gt;&lt;P&gt;       langu      TYPE langu,         "Language Key&lt;/P&gt;&lt;P&gt;       END OF ty_cdhdr_v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_cdhdr_v TYPE STANDARD TABLE OF ty_cdhdr_v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get data from CDHDR for Vendors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT MANDANT        "Client&lt;/P&gt;&lt;P&gt;         objectclas     "Object class&lt;/P&gt;&lt;P&gt;         objectid       "Object value&lt;/P&gt;&lt;P&gt;         changenr       "Document change number&lt;/P&gt;&lt;P&gt;         username       "User name of the person responsible in change document&lt;/P&gt;&lt;P&gt;         udate          "Creation date of the change document&lt;/P&gt;&lt;P&gt;         tcode          "Transaction in which a change was made&lt;/P&gt;&lt;P&gt;         langu          "Language Key&lt;/P&gt;&lt;P&gt;           INTO TABLE it_cdhdr_v&lt;/P&gt;&lt;P&gt;           FROM cdhdr&lt;/P&gt;&lt;P&gt;           WHERE objectclas EQ 'KRED'&lt;/P&gt;&lt;P&gt;             AND objectid   EQ s_lifnr&lt;/P&gt;&lt;P&gt;             AND udate      EQ s_udate&lt;/P&gt;&lt;P&gt;             AND tcode      IN ('XK01','XK02')&lt;/P&gt;&lt;P&gt;             AND langu      EQ sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 07:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541497#M1265584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T07:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Fetchign data from</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541498#M1265585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get data from CDHDR for Vendors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT MANDANT        "Client&lt;/P&gt;&lt;P&gt;         objectclas     "Object class&lt;/P&gt;&lt;P&gt;         objectid       "Object value&lt;/P&gt;&lt;P&gt;         changenr       "Document change number&lt;/P&gt;&lt;P&gt;         username       "User name of the person responsible in change document&lt;/P&gt;&lt;P&gt;         udate          "Creation date of the change document&lt;/P&gt;&lt;P&gt;         tcode          "Transaction in which a change was made&lt;/P&gt;&lt;P&gt;         langu          "Language Key&lt;/P&gt;&lt;P&gt;           INTO TABLE it_cdhdr_v&lt;/P&gt;&lt;P&gt;           FROM cdhdr&lt;/P&gt;&lt;P&gt;           WHERE objectclas EQ 'KRED'&lt;/P&gt;&lt;P&gt;             AND objectid   IN s_lifnr&lt;/P&gt;&lt;P&gt;             AND udate      IN s_udate&lt;/P&gt;&lt;P&gt;             AND tcode      IN ('XK01','XK02')&lt;/P&gt;&lt;P&gt;             AND langu      EQ sy-langu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 07:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541498#M1265585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T07:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while Fetchign data from</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541499#M1265586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem must be surely in your select conditions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to comment the below three conditions which is most likely to cause the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncomment one by one and round off where exactly is your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;AND objectid IN s_lifnr&lt;/P&gt;&lt;P&gt;&amp;gt;AND udate IN s_udate&lt;/P&gt;&lt;P&gt;&amp;gt;AND tcode IN ('XK01','XK02').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gowri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 07:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-fetchign-data-from/m-p/5541499#M1265586</guid>
      <dc:creator>former_member873340</dc:creator>
      <dc:date>2009-04-15T07:07:53Z</dc:date>
    </item>
  </channel>
</rss>

