<?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: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363155#M1922366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, Tamas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 20:50:42 GMT</pubDate>
    <dc:creator>former_member385319</dc:creator>
    <dc:date>2015-11-03T20:50:42Z</dc:date>
    <item>
      <title>Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363153#M1922364</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 want to change master material data (plan price (field mbew-zplp1) in transaction MD04&lt;/P&gt;&lt;P&gt;with help of function module BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem for me is the mapping of the import parameters with &lt;/P&gt;&lt;P&gt;when not only a single field is set but a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Img/How+to+call+Remote+Enabled+ABAP+Function+Modules+in+Personas+3.0"&gt;http://wiki.scn.sap.com/wiki/display/Img/How+to+call+Remote+Enabled+ABAP+Function+Modules+in+Personas+3.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please see attached Graphic1.png &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found an example which has also a structure as import parameter&lt;/P&gt;&lt;P&gt;Above Method JSON-stringify is used. I tried to reproduce it in our system.&lt;/P&gt;&lt;P&gt;But unfortunately it is not working because of 2 reasons.&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;The function module is not working without a “COMMIT WORK” at the end.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-left: 36.0pt;"&gt;I could simulate this writing a small ABAP-Programm which is calling the function module.&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;Without “COMMIT WORK”-Statement at the end of the program the FM is not updating.&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;How can I handle this in the script.&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Something seems to be wrong (syntax?) in the Method JSON-stringify.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;What not logical is that the content of field FIRSTNAME is between ‘’ and the content of field LASTNAME is between “”.&lt;/P&gt;&lt;P&gt;Further I debugged (screenshot below) and found out that the script is also transferring the fieldnames not only&lt;/P&gt;&lt;P&gt;the data to the structure. So the function module is going to fail. Could you please help me with &lt;/P&gt;&lt;P&gt;the syntax in the javascript, that the fields of the structure are populated correctly ?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;please see attached Graphic2.png &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards Jürgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363153#M1922364</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-03T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363154#M1922365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could call the FM BAPI_TRANSACTION_COMMIT right after BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 14:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363154#M1922365</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2015-11-03T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363155#M1922366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, Tamas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 20:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363155#M1922366</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-03T20:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363156#M1922367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That will solve the first part of my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 20:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363156#M1922367</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-03T20:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363157#M1922368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamas,&lt;/P&gt;&lt;P&gt;I implemented it and it did work.&lt;/P&gt;&lt;P&gt;Thanks a lot. Have you got a proposal how to assign&lt;/P&gt;&lt;P&gt;values from Javascript to an ABAP Structure ?.&lt;BR /&gt;If I do in example mentioned before it won't work,&lt;/P&gt;&lt;P&gt;cause fieldname would also be assigned to the import&lt;/P&gt;&lt;P&gt;structure. How is the correct syntax in JS that ABAP&lt;/P&gt;&lt;P&gt;can assign the received values to the required fields&lt;/P&gt;&lt;P&gt;of the structure ?&lt;/P&gt;&lt;P&gt;I could only do it with a workaround where I build a&lt;/P&gt;&lt;P&gt;big string and assign the values to the particular offset.&lt;/P&gt;&lt;P&gt;But this is very uncomfortable and error-prone.&lt;/P&gt;&lt;P&gt;Thanks for your help. Regards Juergen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363157#M1922368</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-04T12:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363158#M1922369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jurgen,&lt;/P&gt;&lt;P&gt;There is currently some work going on for passing structure from personas script.&lt;/P&gt;&lt;P&gt;I would suggest you to create a css message so that you can be informed when the note is out.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;wait for our support mail when the note is out&lt;/P&gt;&lt;P&gt;(&lt;A href="http://support.personas.help/"&gt;http://support.personas.help&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sushant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 20:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363158#M1922369</guid>
      <dc:creator>sushant_priyadarshi</dc:creator>
      <dc:date>2015-11-04T20:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363159#M1922370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Sushant, thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards Juergen.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 21:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363159#M1922370</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-04T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363160#M1922371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please tell me where I can create a css message, Sushant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 21:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363160#M1922371</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-04T21:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363161#M1922372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means creating an incident. Go to the SAP Support Portal (&lt;A href="https://support.sap.com/"&gt;https://support.sap.com&lt;/A&gt;) and click on 'Report an incident'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2015 22:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363161#M1922372</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2015-11-07T22:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Personas:Scripting with RFC-Functionmodules: Problems with Import-Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363162#M1922373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Tamas, I am going to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 06:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-personas-scripting-with-rfc-functionmodules-problems-with-import/m-p/11363162#M1922373</guid>
      <dc:creator>former_member385319</dc:creator>
      <dc:date>2015-11-09T06:53:49Z</dc:date>
    </item>
  </channel>
</rss>

