<?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: value not dislaying in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676356#M885336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see the value 08899387 for O_VALUE, C_VALUE and N_VALUE when I am in debug mode. After finishing debugging and the output is created, the output is shown as 00000000 for the field (routing_number). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "now move the value of this new variable to ur numeric variable" - how do you do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 14:23:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T14:23:46Z</dc:date>
    <item>
      <title>value not dislaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676354#M885334</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 new to ABAP and I am facing a problem with one of the functional modules I created. This may be simple for you but please help. I have a program that calls this function module. I have a field(routing_number) in the main program that is NUMERIC and 8 digits long that needs to be filled with the output of this functional module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION Z_DMEE_EXIT_ROUTING_NUMBER.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(I_TREE_TYPE) TYPE  DMEE_TREETYPE&lt;/P&gt;&lt;P&gt;*"     VALUE(I_TREE_ID) TYPE  DMEE_TREEID&lt;/P&gt;&lt;P&gt;*"     VALUE(I_ITEM)&lt;/P&gt;&lt;P&gt;*"     VALUE(I_PARAM)&lt;/P&gt;&lt;P&gt;*"     VALUE(I_UPARAM)&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(O_VALUE)&lt;/P&gt;&lt;P&gt;*"     REFERENCE(C_VALUE)&lt;/P&gt;&lt;P&gt;*"     REFERENCE(N_VALUE)&lt;/P&gt;&lt;P&gt;*"     REFERENCE(P_VALUE)&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      I_TAB&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;DATA: L_ITEM TYPE dmee_paym_if_type,&lt;/P&gt;&lt;P&gt;      L_FPAYH TYPE fpayh,&lt;/P&gt;&lt;P&gt;      L_ZBNKL TYPE FPAYH-ZBNKL,&lt;/P&gt;&lt;P&gt;      L_ROUTE(9) TYPE N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build up internal table of payment documents&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;L_ITEM  = I_ITEM.&lt;/P&gt;&lt;P&gt;L_FPAYH = L_ITEM-FPAYH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: L_FPAYH-ZBNKL to L_ROUTE(9).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write L_ROUTE+0(8) to O_VALUE.&lt;/P&gt;&lt;P&gt;write L_ROUTE+0(8) to N_VALUE.&lt;/P&gt;&lt;P&gt;write L_ROUTE+0(8) to C_VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data types of O_VALUE, N_VALUE, C_VALUE AND P_VALUE are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Component  Component type                     Data type&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;  -&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;                     -&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;O_VALUE	    DMEE_MAX_C_ABA	CHAR&lt;/P&gt;&lt;P&gt;C_VALUE	    DMEE_MAX_C_ABA	CHAR&lt;/P&gt;&lt;P&gt;N_VALUE	    DMEE_MAX_N_ABA	NUMC&lt;/P&gt;&lt;P&gt;P_VALUE	    DMEE_P_VALUE_ABA	DEC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is when I run my main program, the value in the routing_number is showing up as 00000000 instead of the actual routing number that I need (08899387). When I debug the program, I am able to see the values of O_VALUE, N_VALUE and C_VALUE correctly. But this functional module is not able to send this data to the field in the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this because of the data type mismatch? If so, how do I need to correct this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676354#M885334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: value not dislaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676355#M885335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nile,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz lemme know the values that you are able to see in the variables O_VALUE, N_VALUE, C_VALUE AND P_VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all of them hold the same value and if you require them to be passed to any other variable it shouldn't be a big task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are required to concatenate them and populate the new numeric value, then declare a new character type variable of length 8 and use that in getting the result of concatenation. now move the value of this new variable to ur numeric variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back in need of more clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if you think this helped,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kiran&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676355#M885335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: value not dislaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676356#M885336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see the value 08899387 for O_VALUE, C_VALUE and N_VALUE when I am in debug mode. After finishing debugging and the output is created, the output is shown as 00000000 for the field (routing_number). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "now move the value of this new variable to ur numeric variable" - how do you do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 14:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-not-dislaying/m-p/3676356#M885336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T14:23:46Z</dc:date>
    </item>
  </channel>
</rss>

