<?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 SUBROUTINE IN SAPSCRIPT! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567018#M585771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend i dint understand this step..&lt;/P&gt;&lt;P&gt; could u please ellaborate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;**OUT_TAB-VALUE = V_RSNUM.write v_rsnum to out_tab-value left-justified.&lt;/P&gt;&lt;P&gt;MODIFY OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;CLEAR OUT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wht should i write in place of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**OUT_TAB-VALUE = V_RSNUM.write v_rsnum to out_tab-value left-justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2007 13:37:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-07T13:37:28Z</dc:date>
    <item>
      <title>PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567015#M585768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAUFVD IS A STRUCTURE. WHICH HAS ORDER NO 10000427.&lt;/P&gt;&lt;P&gt;  IAM USING CAUFVD COZ RESB-AUFNR IN PERFORM DOESNOT GIVE A VALUE IN SAP SCRIPT.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  CAUFVD-AUFNR = 10000427&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  RESB-AUFNR IN SE11 GIVES THE FOLLOWING.&lt;/P&gt;&lt;P&gt;  RESB-AUFNR = 000010000427&lt;/P&gt;&lt;P&gt;  RESB-RSNUM = 0000005126&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PROBLEM IS THAT IN SELECTION ITS PICKING 10000427 WHEREAS I NEED 000010000427.&lt;/P&gt;&lt;P&gt;  HOW DO I DO THIS?&lt;/P&gt;&lt;P&gt;  PLEASE MENTION COMPLETE STEPS OR MODIFY THE EXISTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM YE_PM_COMMON_RESERV_PR IN PROGRAM ZPMLINCLUDE&lt;/P&gt;&lt;P&gt;USING &amp;amp;CAUFVD-AUFNR&amp;amp;   "RESB-AUFNR WONT WORK. SO IAM USING CAUFVGD-AUFNR.&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;CONV_RESERV&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;CONV_PR&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;CONV_PR&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ZPM_COMMON IN PROGRAM ZPMLINCLUDE&lt;/P&gt;&lt;P&gt;USING &amp;amp;CAUVFD-AUFNR&amp;amp; "ORDER NO&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;CONV_RESERV&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ZPM_COMMON &lt;/P&gt;&lt;P&gt;   TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;          OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_AUFNR TYPE RESB-AUFNR, "ORDER NO  &lt;/P&gt;&lt;P&gt;       V_RSNUM TYPE RESB-RSNUM. "RESERVATION NUMBER&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;MOVE IN_TAB-VALUE TO V_AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE RSNUM FROM RESB INTO V_RSNUM&lt;/P&gt;&lt;P&gt; WHERE AUFNR = V_AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;OUT_TAB-VALUE = V_RSNUM.&lt;/P&gt;&lt;P&gt;MODIFY OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;CLEAR OUT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;ESSAM (essamsaud@yahoo.co.in)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567015#M585768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567016#M585769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the FORM whcih you arewriting in the program just use the CONVERSION_EXIT_ALPHA_INPUT to change the input format, then it will have the leading zero's then move that to output table inorder to come to that value in to SCRIPT&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567016#M585769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T13:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567017#M585770</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;Check out the changes in BOLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ZPM_COMMON &lt;/P&gt;&lt;P&gt;TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_AUFNR TYPE RESB-AUFNR, "ORDER NO &lt;/P&gt;&lt;P&gt;V_RSNUM TYPE RESB-RSNUM. "RESERVATION NUMBER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;MOVE IN_TAB-VALUE TO V_AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**CALL THIS FUNCTION TO CONVERT FOR OUTPUT FORMAT TO&lt;/P&gt;&lt;P&gt;***INTERNAL FORMAT I.E WITH LEADING 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;  Exporting &lt;/P&gt;&lt;P&gt;      INPUT = V_AUFNR&lt;/P&gt;&lt;P&gt;  Importing &lt;/P&gt;&lt;P&gt;      OUTPUT = V_AUFNR.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE RSNUM FROM RESB INTO V_RSNUM&lt;/P&gt;&lt;P&gt;WHERE AUFNR = V_AUFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;**OUT_TAB-VALUE = V_RSNUM.&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;write v_rsnum to out_tab-value left-justified.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;MODIFY OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;CLEAR OUT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567017#M585770</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-07T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567018#M585771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend i dint understand this step..&lt;/P&gt;&lt;P&gt; could u please ellaborate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;**OUT_TAB-VALUE = V_RSNUM.write v_rsnum to out_tab-value left-justified.&lt;/P&gt;&lt;P&gt;MODIFY OUT_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;CLEAR OUT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wht should i write in place of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**OUT_TAB-VALUE = V_RSNUM.write v_rsnum to out_tab-value left-justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567018#M585771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567019#M585772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Essam,&lt;/P&gt;&lt;P&gt;CAUFVD-AUFNR is a data type  CHAR, length 12&lt;/P&gt;&lt;P&gt;Try to move the value CAUFVD-AUFNR into another variable, of type N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_aufnr(12) type n.&lt;/P&gt;&lt;P&gt;move caufvd-aufnr to v_aufnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this the value of &amp;lt;b&amp;gt;v_aufnr&amp;lt;/b&amp;gt; will be &amp;lt;b&amp;gt;000010000427&amp;lt;/b&amp;gt; (according to your example)&lt;/P&gt;&lt;P&gt;Forward use this &amp;lt;b&amp;gt;v_aufnr&amp;lt;/b&amp;gt; instead of &amp;lt;b&amp;gt;caufvd-aufnr&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Corina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567019#M585772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN SUBROUTINE IN SAPSCRIPT!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567020#M585773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;buddy,&lt;/P&gt;&lt;P&gt; move caufvd-aufnr to v_aufnr.&lt;/P&gt;&lt;P&gt; its saying that caufvd-aufnr is unknown...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me a avlid solution....anyone???????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;essam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 13:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-subroutine-in-sapscript/m-p/2567020#M585773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T13:59:54Z</dc:date>
    </item>
  </channel>
</rss>

