<?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: Wrong type passing between 2 programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-type-passing-between-2-programs/m-p/7025188#M1498547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a quick search in F1 help I found out that I should use the "in" phrase:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;with so_docnr in l_so_docnr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Jun 2010 15:10:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-06T15:10:07Z</dc:date>
    <item>
      <title>Wrong type passing between 2 programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-type-passing-between-2-programs/m-p/7025187#M1498546</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;&lt;/P&gt;&lt;P&gt;I am not an ABAP expert, so I need a little help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program with selection screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zload_sl.
SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-001.
SELECT-OPTIONS: so_docnr FOR /BI0/SAC_DOC_NO-AC_DOC_NO NO INTERVALS.
SELECTION-SCREEN END OF BLOCK b0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have a second program that calls the first program using &lt;EM&gt;submit&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZCALL_LOAD_SL.
data: l_so_docnr like range of  /BI0/SAC_DOC_NO-AC_DOC_NO.
submit ZLOAD_SL using selection-screen '1000'
                               with so_docnr = l_so_docnr 
                               and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the second program fails (no dump) with message type 'A' that says:&lt;/P&gt;&lt;P&gt;Wrong type passing parameters to "SO_DOCNR".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what I do wrong??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jun 2010 14:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-type-passing-between-2-programs/m-p/7025187#M1498546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-06T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong type passing between 2 programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-type-passing-between-2-programs/m-p/7025188#M1498547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a quick search in F1 help I found out that I should use the "in" phrase:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;with so_docnr in l_so_docnr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jun 2010 15:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-type-passing-between-2-programs/m-p/7025188#M1498547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-06T15:10:07Z</dc:date>
    </item>
  </channel>
</rss>

