06-10-2008 6:23 AM
Hi Friends,
Inside BADI and FM Exit, we can not use Form and Perform statement... Is tr any other alternate solution other than using Form and Perform?
Points will be rewarded....
06-10-2008 6:25 AM
06-10-2008 6:33 AM
Hoew to use include? i need to make use of SAP generated internal tables like XLIPS... Is this Internal tables accessable inside the include as well?
06-10-2008 6:40 AM
Hi, create Public methods in the implementing class and call using Call method me->method instead of perform.
Reward points if useful.
Raj.
06-10-2008 6:41 AM
Hi,
Write your code inside the include.The include must be at the proper place in the code.You can access standard internal tables and structures of SAP.
06-10-2008 6:44 AM
06-10-2008 7:03 AM
Hi Raj,
Can u plz give the detailed explaination on creating Public method and calling the same with an example...
06-10-2008 7:11 AM
Hi,
I think you can use Macros Concept...
It does work same as PERFORMS.
Thanks,
Anon
06-10-2008 7:42 AM
Hi,
In case of Badi implementation. when u implement in a badi, a implementation class is created in which we do the coding. In order to create a method. just type Call method ME->Method_name and double click on it, it will create a method in that implementation class. Add the parameters and write the logic in that method and u can start using it in ur BADI.
Rewards points if useful
Raj
06-10-2008 6:32 AM
Hi,
Is it possible we can write a perform statement in BADI?
Sure it is possible, you just have to reference the program in which the FORM exists. Since the call is in a method, where do you put the actual FORM, well you need to put it in a separate program or subroutine pool, then you can call it from within the method.
perform some_form in program zsubroutine_pool
Please reward points if it hle[s
Thanks
VIkranth