<?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: BADI Implementation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023692#M1168845</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;Call the Program using the SUBMIT statement in the BADI implimentation. Using the EXPORT and IMPORT statement export/Import the internal table data to memory. This way you can access the data from badi and report program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jan 2009 08:10:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-03T08:10:55Z</dc:date>
    <item>
      <title>BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023688#M1168841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;      I am customizing a standard program.There i will do some manipulations on the data and i will get data into an internal table.When i press save button it triggers a method in a 'BADI'   which is already implemented.Now i need to change the implementation with the data from my program or int.table.How can i access my program data in the BADI implementation??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone pls help me???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 06:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023688#M1168841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T06:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023689#M1168842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;First of all you need to find the scope of th internal table. Check whether the Internal table can access from the BADI.&lt;/P&gt;&lt;P&gt;If no then you need to access the Stack to get the intenal table  data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 07:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023689#M1168842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023690#M1168843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Can you explain me clearly if the internal table cannot be accessed in BADI, how can i access the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 07:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023690#M1168843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T07:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023691#M1168844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please let us know what is the name of  the BADI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 08:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023691#M1168844</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2009-01-03T08:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023692#M1168845</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;Call the Program using the SUBMIT statement in the BADI implimentation. Using the EXPORT and IMPORT statement export/Import the internal table data to memory. This way you can access the data from badi and report program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 08:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023692#M1168845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023693#M1168846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;If the internal table is not accessible in BAdI Then you need to use the Stack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say suppose: Your internal table is in program 'ZZZZZZ'. Then you need to access the Stack and insert it into the field symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;FS&amp;gt; TYPE ANY.
ASSIGN ('(ZZZZZZZZ)ITAB') TO &amp;lt;FS&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You need to do some research in the Stack to find the program name where your internal table reside. for this I will tell you how to do.&lt;/P&gt;&lt;P&gt;First put a break point in the BADI&lt;/P&gt;&lt;P&gt;and execute the transaction and when the control stops into your break point then&lt;/P&gt;&lt;P&gt;Now switch the Debugger into Classic Debugger.&lt;/P&gt;&lt;P&gt;There is one button in the debugger names 'CALLS'. this stores the Stack information.&lt;/P&gt;&lt;P&gt;Now copy program one by one and try to do some hit and trial to find the actual program name which holds your internal table information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this way you can solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 09:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023693#M1168846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023694#M1168847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  What Chidanad has told is just fine to address the issue you are facing...but technically, i feel there is a small thing missing in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chidanand Code :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: &amp;lt;FS&amp;gt; TYPE ANY.
ASSIGN ('(ZZZZZZZZ)ITAB') TO &amp;lt;FS&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My Suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: &amp;lt;FS&amp;gt; TYPE ANY TABLE.
ASSIGN ('(ZZZZZZZZ)ITAB[]') TO &amp;lt;FS&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing the otherway round you may end up getting only header line of the program ZZZZZ as ONLY BADI is OO and not the program ZZZZZ necessarily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Chidanand: Please look into my suggestion and let me know if it is fine.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 09:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023694#M1168847</guid>
      <dc:creator>KN-Nampoothiry</dc:creator>
      <dc:date>2009-01-03T09:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: BADI Implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023695#M1168848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narayanan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for correcting the code. I just missed [ ] in the code.&lt;/P&gt;&lt;P&gt;if you dont mention the squere bracket then you will get only header  information and if you put braket then you will get the whole internal table information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 09:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-implementation/m-p/5023695#M1168848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T09:47:59Z</dc:date>
    </item>
  </channel>
</rss>

