<?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: Dump on write to message table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975109#M1339880</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;It's hard tho understand the problem. But try to pass FM parameters with the exact type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : 
lv_TYPE LIKE  BAPIRETURN-TYPE ,
lv_CL LIKE  SY-MSGID ,
lv_NUMBER LIKE  SY-MSGNO ,
lv_PAR1 LIKE  SY-MSGV1 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2009 14:01:38 GMT</pubDate>
    <dc:creator>huseyindereli</dc:creator>
    <dc:date>2009-07-30T14:01:38Z</dc:date>
    <item>
      <title>Dump on write to message table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975107#M1339878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am doing compare with 2 tables and if in table it_userid there is a user that is &lt;/P&gt;&lt;P&gt;not in table et_emp i want to return this user that doesn't exist to table et_return &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get dump ,what i miss here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i build message class for it and i want add the user to the specific message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i do is like that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_userid ASSIGNING &amp;lt;ls_userid&amp;gt;.
        READ TABLE et_emp ASSIGNING &amp;lt;ls_d&amp;gt; WITH KEY userid = &amp;lt;ls_userid&amp;gt;-userid.
        IF sy-subrc NE 0.
          CALL FUNCTION 'BALW_BAPIRETURN_GET2'
            EXPORTING
              type   = 'E'
              cl     = 'CM_DT'  "message class that i build in se91
              number = '25'
              par1   = &amp;lt;ls_userid&amp;gt;-userid
            IMPORTING
              return = et_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 13:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975107#M1339878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-30T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on write to message table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975108#M1339879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should have told what the Runtime error is.  anyways, assuming it sud be the following..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are generally lil picky about the import variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_type      type BAPIRETURN-TYPE,&lt;/P&gt;&lt;P&gt;          v_cl          type SY-MSGID,&lt;/P&gt;&lt;P&gt;          v_number type SY-MSGNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pass your values to this variables and then pass those variables to the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 14:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975108#M1339879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-30T14:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on write to message table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975109#M1339880</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;It's hard tho understand the problem. But try to pass FM parameters with the exact type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : 
lv_TYPE LIKE  BAPIRETURN-TYPE ,
lv_CL LIKE  SY-MSGID ,
lv_NUMBER LIKE  SY-MSGNO ,
lv_PAR1 LIKE  SY-MSGV1 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 14:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-write-to-message-table/m-p/5975109#M1339880</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2009-07-30T14:01:38Z</dc:date>
    </item>
  </channel>
</rss>

