<?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: Query problem : help me in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192118#M760491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes yar PARVW value in se11 is 'WE', but in database when i put N transaction its SH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       whats the reason actually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2007 04:58:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-20T04:58:17Z</dc:date>
    <item>
      <title>Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192112#M760485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : s_werks TYPE vbrp-werks,&lt;/P&gt;&lt;P&gt;BELN like vbpa-VBELN,&lt;/P&gt;&lt;P&gt;BITM like vbpa-POSNR,&lt;/P&gt;&lt;P&gt;v_adrnr like vbpa-adrnr.&lt;/P&gt;&lt;P&gt;tables : vbpa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IT_FINAL.&lt;/P&gt;&lt;P&gt;beln = it_final-vbeln.&lt;/P&gt;&lt;P&gt;bitm = it_final-posnr.&lt;/P&gt;&lt;P&gt;s_werks = it_final-werks.&lt;/P&gt;&lt;P&gt;s_bukrs = it_final-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        INPUT  = beln1&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        OUTPUT = beln1.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        INPUT  = bitm1&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        OUTPUT = bitm1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single *&lt;/P&gt;&lt;P&gt;from vbpa&lt;/P&gt;&lt;P&gt;where vbeln = beln&lt;/P&gt;&lt;P&gt;and posnr = bitm&lt;/P&gt;&lt;P&gt;AND PARVW EQ 'SH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have changed the query yar, but its also not woking,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns sy-subrc = 4, even the condition satisfied with values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192112#M760485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T04:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192113#M760486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE16 and use table VBPA after giving input values check whether you are getting values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192113#M760486</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-12-20T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192114#M760487</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 have just made small change...more than that i could not find any error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : s_werks TYPE vbrp-werks,&lt;/P&gt;&lt;P&gt;BELN like vbpa-VBELN,&lt;/P&gt;&lt;P&gt;BITM like vbpa-POSNR,&lt;/P&gt;&lt;P&gt;v_adrnr like vbpa-adrnr.&lt;/P&gt;&lt;P&gt;tables : vbpa.&lt;/P&gt;&lt;P&gt;*What u are trying to read every time i think u should use index/key field&lt;/P&gt;&lt;P&gt;READ TABLE IT_FINAL. &lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;beln = it_final-vbeln.&lt;/P&gt;&lt;P&gt;bitm = it_final-posnr.&lt;/P&gt;&lt;P&gt;s_werks = it_final-werks.&lt;/P&gt;&lt;P&gt;s_bukrs = it_final-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INPUT = beln  "not beln1&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUTPUT = beln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INPUT = bitm "not bitm1&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUTPUT = bitm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single *&lt;/P&gt;&lt;P&gt;from vbpa&lt;/P&gt;&lt;P&gt;where vbeln = beln&lt;/P&gt;&lt;P&gt;and posnr = bitm&lt;/P&gt;&lt;P&gt;AND PARVW EQ 'SH'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192114#M760487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T04:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192115#M760488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting values in se16 yar, but in debugging returns &lt;/P&gt;&lt;P&gt;sy-subrc = 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192115#M760488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T04:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192116#M760489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code seems to be ok.&lt;/P&gt;&lt;P&gt;Will you can tell me the structure of IT_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manoj Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192116#M760489</guid>
      <dc:creator>former_member402443</dc:creator>
      <dc:date>2007-12-20T04:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192117#M760490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

select single *
from vbpa
where vbeln = beln
and posnr = bitm
AND PARVW EQ 'WE'.  "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will a conv routine behind data element PARVW please check thru SE11 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192117#M760490</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-12-20T04:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192118#M760491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes yar PARVW value in se11 is 'WE', but in database when i put N transaction its SH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       whats the reason actually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192118#M760491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T04:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192119#M760492</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;there is a conversion routine for PARVW field pls check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 04:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192119#M760492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T04:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192120#M760493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the domain PARVW , in the definition tab you can find conversion routine PARVW double click on that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PARVW_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PARVW_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192120#M760493</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-12-20T05:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192121#M760494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont understand conversion routine PARVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls explain me, and even if i remove PARVW condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the quey is not working yar, what could be the reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192121#M760494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T05:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192122#M760495</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;there are two function modules involved in this pls check &lt;/P&gt;&lt;P&gt;in se 37.&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PARVW_INPUT--which converts SH to WE&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PARVW_OUTPUT-which converts WE to SH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some reason SAP has made conversion like this for many fields so we have to check when we hard code some values in query...but in se16 it will atomatically do the process...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls check the link too...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/e9a20d3347b340946c32331c96a64e/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/2b/e9a20d3347b340946c32331c96a64e/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;karthik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: karthikeyan sukumar on Dec 20, 2007 10:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192122#M760495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T05:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192123#M760496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single *&lt;/P&gt;&lt;P&gt;              from vbpa&lt;/P&gt;&lt;P&gt;                  where vbeln = '0081600002'&lt;/P&gt;&lt;P&gt;                  and posnr = '000010'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query is working perfectly yar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thing the forwaded zeroes is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we solve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192123#M760496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T05:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192124#M760497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For checking &amp;amp; testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select single *
from vbpa
where vbeln = beln
and posnr = bitm.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check whether you are getting values if not &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select single *
from vbpa
where vbeln = beln.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can easily filter it out where the problem is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for find the conversion routines pl check function module i have give able&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192124#M760497</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-12-20T05:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query problem : help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192125#M760498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Even i have faced the similar problem, the problem is coming bcoz in the select query in the condition ,we will not get the leading zeros, when we go in se16 and check for that particular condition we will see there will be leading zeros, so just add the fm, convrersion_alpha_exit_input and your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the Best&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 05:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-problem-help-me/m-p/3192125#M760498</guid>
      <dc:creator>former_member282823</dc:creator>
      <dc:date>2007-12-20T05:28:01Z</dc:date>
    </item>
  </channel>
</rss>

