<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial monospaced for SAP";
        panose-1:2 11 6 9 2 2 2 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Dear
Experts,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>I
have created an Interactive Form. When I process this form I get an XML (Datatype
is XString) as Import.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>How
do I read this XML to save the Data in a SAP Database?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Is
there any Function Module or Class? I didn&#8217;t find anything.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Thanks
in advance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>With
kind regards<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'>Goekselin
Acar<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:blue'>*Call
From<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>CALL
FUNCTION fm_name<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'> </span><span
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>EXPORTING<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:black'>   
/1bcdwb/docparams        = fp_docparams<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:black'>   
auftrag                  = itab_zabeanstandung<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:black'> </span><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>IMPORTING<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>  
/1bcdwb/formoutput       = return_pdf </span><span lang=EN-US style='font-size:
9.0pt;font-family:Wingdings;color:black'>ß</span><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>the
XML saved as Xstring<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:blue'>*
EXCEPTIONS<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:blue'>*   USAGE_ERROR             
= 1<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:blue'>*   SYSTEM_ERROR            
= 2<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Arial monospaced for SAP";color:blue'>*   INTERNAL_ERROR          
= 3<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:blue'>*  
OTHERS                   = 4<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>         
<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>IF
sy-subrc &lt;&gt; 0.<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:blue'>*
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:blue'>*        
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial monospaced for SAP";
color:black'>ENDIF.</span><span lang=EN-US style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

</div>

</body>

</html>