<?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 BAPI Test data generation (FBGENDAT) not working? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-test-data-generation-fbgendat-not-working/m-p/3726521#M896932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wanting to generate test data from SRM to ECC 6.0 when the function module BAPI_PO_CREATE1 is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have looked at note 517767, 519292 and 539978 and have followed the instructions but no luck....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I made a simple hellp world function module that is RFC enabled.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then created and RFC connection in SM59 to that SAP server (System B) and set MY login details for the "RFC call"....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then went into both systems (just to be sure) and went to SU01 and gave my user id the following parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FBGENDAT = 'X'              Active Indicator BAPI Test Data Generation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then ran report FBGENDAT and activated my function module Z_HELLO_WORLD (with mode = A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I went into "System A" and called the hello world function in "System B" - I debug it and it is definetly my user ID in the target system....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'Z_HELLO_WORLD' DESTINATION 'DR3CLNT220'
  EXPORTING
    iv_name   = lv_name
  IMPORTING
    ev_result = lv_result.

IF sy-subrc = 0.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now forgive me if I am being stupid but I &lt;STRONG&gt;assumed&lt;/STRONG&gt; if I went into the target system (System B) and went to SE37 to look at function module 'Z_HELLO_WORLD ' that in the "Test data directory" I would see some data.....but NOTHING....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did also log off both SAP systems and log back on just incase the user parameters did not kick in......but still no luck....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help or advise....thanks &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;Lynton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2008 13:58:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-28T13:58:50Z</dc:date>
    <item>
      <title>BAPI Test data generation (FBGENDAT) not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-test-data-generation-fbgendat-not-working/m-p/3726521#M896932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wanting to generate test data from SRM to ECC 6.0 when the function module BAPI_PO_CREATE1 is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have looked at note 517767, 519292 and 539978 and have followed the instructions but no luck....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I made a simple hellp world function module that is RFC enabled.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then created and RFC connection in SM59 to that SAP server (System B) and set MY login details for the "RFC call"....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then went into both systems (just to be sure) and went to SU01 and gave my user id the following parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FBGENDAT = 'X'              Active Indicator BAPI Test Data Generation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then ran report FBGENDAT and activated my function module Z_HELLO_WORLD (with mode = A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I went into "System A" and called the hello world function in "System B" - I debug it and it is definetly my user ID in the target system....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'Z_HELLO_WORLD' DESTINATION 'DR3CLNT220'
  EXPORTING
    iv_name   = lv_name
  IMPORTING
    ev_result = lv_result.

IF sy-subrc = 0.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now forgive me if I am being stupid but I &lt;STRONG&gt;assumed&lt;/STRONG&gt; if I went into the target system (System B) and went to SE37 to look at function module 'Z_HELLO_WORLD ' that in the "Test data directory" I would see some data.....but NOTHING....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did also log off both SAP systems and log back on just incase the user parameters did not kick in......but still no luck....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help or advise....thanks &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;Lynton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 13:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-test-data-generation-fbgendat-not-working/m-p/3726521#M896932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T13:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Test data generation (FBGENDAT) not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-test-data-generation-fbgendat-not-working/m-p/3726522#M896933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK....I have sorted out the problem......I needed to read Note 519292 much more carefully.......I was missing code include FBGENMAC in my top include &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 14:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-test-data-generation-fbgendat-not-working/m-p/3726522#M896933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T14:26:55Z</dc:date>
    </item>
  </channel>
</rss>

