<?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: interface sulution test program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986896#M1802698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your helpful directions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard FM ... material_maintain_dark... doesn't work as needed, so I've designed an own one. Import section is OK so far. Now export area doesn't work, because I've not capability to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) give FM some kind of RETURN with a Parameter with a testnumber like 99999999 which should be sent from SAP to the Interface program (nonSAP) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) some kind of RETURN with errormessage in case of error, warning, information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;Gudrun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 12:55:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-09T12:55:39Z</dc:date>
    <item>
      <title>interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986894#M1802696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leider bin ich kein ABAP Programmierer und benötige jetzt Anfängerhilfe: In FUBA (Se80/SE37) soll ein Schnittstellenfunktionsbaustein testhalber eingerichtet werden. 1. Import allgemeiner Materialdaten aus Ursprungsprogramm (nonSAP) 2. Rückgabe einer Materialnummer (Defaultparameter 10stellig als Bsp) 3. Bei fehlerhaften Importdaten soll Fehlermeldung ausgegeben werden (Infotext/Status) --&amp;gt; Importkonfiguration der Felder funktioniert. --&amp;gt; Rückgabe der Materialnummer mit Defaultnummer für den Funktionstest WIE GEHT DAS??? DEFAULT'123456789'??? --&amp;gt; Fehlermeldung / Infotestausgabe WIE GEHT DAS??? ****************************************************************************************************************** Unfortunately, I'm not a ABAP programmer and now need help beginners: In function builder (Se80/SE37) an interface function module just for pre testing phase should be programmed. 1. Import general material data from the original program (non-SAP) 2. Return a material number (10 digits default parameters as ex) 3. In case of faulty import data error message to be output (info text / status) -&amp;gt; Import configuration of the fields working. -&amp;gt; Return to the material number with default number for the function test HOW DOES IT WORK? DEFAULT'123456789' -&amp;gt; Error / info output test HOW DOES IT WORK? ??? ****************************************************************************************************************** Kann mir jemand eine Richtung geben? Is there anybody coul kindly help me with a direction, any idea? Rgds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 08:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986894#M1802696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-07T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986895#M1802697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gudrun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will only aswer in english...&lt;/P&gt;&lt;P&gt;There are different ways to solve your issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Call Transaction BAPI and browse the Logistics-&amp;gt;Standard Material branch. Maybe BAPI_STANDARDMATERIAL_CREATE will help you. These BAPIs are RFC-Function-Modules and can be called from outside SAP.&lt;/P&gt;&lt;P&gt;2. Create your own RFC-Compatible-Function Module. You can either call one of the BAPIs oder or the FM MATERIAL_MAINTAIN_DARK. The last mentioned FM allows to create more complex materials with different Plant-Data and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both ways should return a number or classic MM01/MM02 Errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 13:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986895#M1802697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-07T13:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986896#M1802698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your helpful directions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard FM ... material_maintain_dark... doesn't work as needed, so I've designed an own one. Import section is OK so far. Now export area doesn't work, because I've not capability to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) give FM some kind of RETURN with a Parameter with a testnumber like 99999999 which should be sent from SAP to the Interface program (nonSAP) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) some kind of RETURN with errormessage in case of error, warning, information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;Gudrun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986896#M1802698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-09T12:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986897#M1802699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gudrun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please define 2 EXPORTING parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;E_MATNR type MATNR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;E_ERROR type TEXT256&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear both exporting parameters at begin of source code. If the input is okay, fill E_MATNR with default value, otherwise fill E_ERROR with an error text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fm needs "RFC enabled" in its attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test your fm in SE37 start screen pressing F8 to enter the test utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 13:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986897#M1802699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-09T13:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986898#M1802700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add RETURN table or simple E_ERROR as mentioned in your wrapper FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 17:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986898#M1802700</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-09T17:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986899#M1802701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;super! Ich habe das jetzt so konfiguriert. Leider finde ich beim besten Willen nicht heraus, &lt;SPAN style="text-decoration: underline;"&gt;WO ich den Default Wert &lt;/SPAN&gt;füllen kann. (Errortext und Testmaterialnummer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruß&lt;/P&gt;&lt;P&gt;Gudrun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 11:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986899#M1802701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-10T11:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: interface sulution test program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986900#M1802702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gudrun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SE37 in the source code ("Quelltext") before endfunction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CLEAR e_matnr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CLEAR e_error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IF i_input EQ '0815'. "&amp;lt;= Replace i_input and '0815' with a valid IMPORT parameter and a valid value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; e_matnr = '9999999999'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ELSE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; CONCATENATE i_input 'ist ungueltig' INTO e_error SEPARATED BY SPACE. "&amp;lt;= Replace i_input &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 06:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-sulution-test-program/m-p/9986900#M1802702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T06:59:24Z</dc:date>
    </item>
  </channel>
</rss>

