<?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: Save SE37 input data as variant programatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399881#M10168</link>
    <description>&lt;P&gt;Got Answer:&lt;/P&gt;&lt;P&gt;1. Find the RFC user which will call your FM/BAPI. Usually maintained by basis in SM59&lt;/P&gt;&lt;P&gt;2. Request your security team to add parameter id FBGENDAT  as X in user master (Transaction SU01)&lt;/P&gt;&lt;P&gt;3. Execute report FBGENDAT.&lt;/P&gt;&lt;P&gt;4. Enter the name of the FM/BAPI which you wish to create test data directory and execute the report. The options used are self explanatory and is available in report. Option C is meant to debug using process(Transaction SM50)&lt;/P&gt;&lt;P&gt;5. In your FM/BAPI, write below lines of code. Certain SAP Standard FM/BAPI already have below code in them. Example BAPI_PO_CHANGE.&lt;/P&gt;&lt;P&gt;INCLUDE FBGENMAC.&lt;/P&gt;&lt;P&gt;SET EXTENDED CHECK OFF.&lt;/P&gt;&lt;P&gt;  fbgenmac ‘&amp;lt;&amp;lt;YOUR_FM_NAME&amp;gt;&amp;gt;’.&lt;/P&gt;&lt;P&gt;SET EXTENDED CHECK ON.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 00:44:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-01-05T00:44:53Z</dc:date>
    <item>
      <title>Save SE37 input data as variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399879#M10166</link>
      <description>&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;I need to save input data of a FM in background. &lt;/P&gt;&lt;P&gt;We make a call to legacy system via FM and sometime the call fails, if it fails we can save FM input data as variant and re run it later on with same variant.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yogesh Gupta&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 21:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399879#M10166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-04T21:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Save SE37 input data as variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399880#M10167</link>
      <description>&lt;P&gt;I think that the easiest way is to serialize the data objects and save them to the database, and create a program to deserialize them and run the function module. cf statement CALL TRANSFORMATION ID. If some of the parameters contain class instances, then it may require much more work.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399880#M10167</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-01-04T22:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Save SE37 input data as variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399881#M10168</link>
      <description>&lt;P&gt;Got Answer:&lt;/P&gt;&lt;P&gt;1. Find the RFC user which will call your FM/BAPI. Usually maintained by basis in SM59&lt;/P&gt;&lt;P&gt;2. Request your security team to add parameter id FBGENDAT  as X in user master (Transaction SU01)&lt;/P&gt;&lt;P&gt;3. Execute report FBGENDAT.&lt;/P&gt;&lt;P&gt;4. Enter the name of the FM/BAPI which you wish to create test data directory and execute the report. The options used are self explanatory and is available in report. Option C is meant to debug using process(Transaction SM50)&lt;/P&gt;&lt;P&gt;5. In your FM/BAPI, write below lines of code. Certain SAP Standard FM/BAPI already have below code in them. Example BAPI_PO_CHANGE.&lt;/P&gt;&lt;P&gt;INCLUDE FBGENMAC.&lt;/P&gt;&lt;P&gt;SET EXTENDED CHECK OFF.&lt;/P&gt;&lt;P&gt;  fbgenmac ‘&amp;lt;&amp;lt;YOUR_FM_NAME&amp;gt;&amp;gt;’.&lt;/P&gt;&lt;P&gt;SET EXTENDED CHECK ON.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 00:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-se37-input-data-as-variant-programatically/m-p/399881#M10168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-05T00:44:53Z</dc:date>
    </item>
  </channel>
</rss>

