<?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 VENDOR_ADD_DATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640260#M1572136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented the badi's&lt;/P&gt;&lt;P&gt;VENDOR_ADD_DATA&lt;/P&gt;&lt;P&gt;VENDOR_ADD_DATA_CS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Table LFM1 I have 2 customer fields (i.e. ZZFIELD1, ZZFIELD2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created in a function group a subscreen with this 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In transaction XK02/XK03 I can see this 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't save the new value - or show the value from db on the subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't understand how my function group and the badi's can work together&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Feb 2011 12:36:12 GMT</pubDate>
    <dc:creator>dmi</dc:creator>
    <dc:date>2011-02-19T12:36:12Z</dc:date>
    <item>
      <title>VENDOR_ADD_DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640260#M1572136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented the badi's&lt;/P&gt;&lt;P&gt;VENDOR_ADD_DATA&lt;/P&gt;&lt;P&gt;VENDOR_ADD_DATA_CS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Table LFM1 I have 2 customer fields (i.e. ZZFIELD1, ZZFIELD2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created in a function group a subscreen with this 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In transaction XK02/XK03 I can see this 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't save the new value - or show the value from db on the subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't understand how my function group and the badi's can work together&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Feb 2011 12:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640260#M1572136</guid>
      <dc:creator>dmi</dc:creator>
      <dc:date>2011-02-19T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640261#M1572137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have implemented a screen exit. Find out the enhancement name for the screen exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This enhancement name should have couple of other enhancements for PAI and PBO event.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implement the Function exit in PAI to fetch the data and in PBO to populate the data for the new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase you have used Badi for enhancing your screen you might have two methods for populating these fields or retrieving data for these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use these methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Feb 2011 09:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640261#M1572137</guid>
      <dc:creator>former_member193284</dc:creator>
      <dc:date>2011-02-20T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640262#M1572138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I solved my request&lt;/P&gt;&lt;P&gt;I didn't understand how the badi interface and the function group comunicate together&lt;/P&gt;&lt;P&gt;Now I find out:&lt;/P&gt;&lt;P&gt;create 2 function modules in the function group&lt;/P&gt;&lt;P&gt;one for GET_DATA and one for SET_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call in the badi method GET_DATA my function module &lt;/P&gt;&lt;P&gt;and move the data to the fields in the function group, &lt;/P&gt;&lt;P&gt;witch are defined in the topinclude&lt;/P&gt;&lt;P&gt;The same processure in SET_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Feb 2011 09:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640262#M1572138</guid>
      <dc:creator>dmi</dc:creator>
      <dc:date>2011-02-20T09:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640263#M1572139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Daniel will you explain what you have done  actually   .&lt;/P&gt;&lt;P&gt;which function group you have used  . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Feb 2011 10:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640263#M1572139</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-02-20T10:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: VENDOR_ADD_DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640264#M1572140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new function group, called ZFG&lt;/P&gt;&lt;P&gt;In the function group ZFG I created a dynpro 0100, type subscreen&lt;/P&gt;&lt;P&gt;On this dynpro I placed the Z-FIELDS i.e. LFM1-ZZFIELD1&lt;/P&gt;&lt;P&gt;In the topinclude of the function group is the statment:&lt;/P&gt;&lt;P&gt;tables: lfm1&lt;/P&gt;&lt;P&gt;In the next step, I created 2 function modules in the function group ZFG:&lt;/P&gt;&lt;P&gt;Z_GET_DATA&lt;/P&gt;&lt;P&gt;import parameter I_LFM1&lt;/P&gt;&lt;P&gt;Z_SET_DATA&lt;/P&gt;&lt;P&gt;export parameter E_LFM1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the badi method GET_DATA I call the function module Z_GET_DATA&lt;/P&gt;&lt;P&gt;with the parameter I_LFM1 = I_LFM1 from badi (standard programm XK02)&lt;/P&gt;&lt;P&gt;Coding in the function module: LFM1 = I_LFM1&lt;/P&gt;&lt;P&gt;(move the value from standard programm (XK02) to the filed in the function group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the function group know the values and you can display them on the dynpro 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same precedure with SET_DATA, just opposite way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I explained in a clear way and it helps you&lt;/P&gt;&lt;P&gt;Greetings Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Feb 2011 10:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-add-data/m-p/7640264#M1572140</guid>
      <dc:creator>dmi</dc:creator>
      <dc:date>2011-02-20T10:26:52Z</dc:date>
    </item>
  </channel>
</rss>

