‎2012 Feb 03 5:20 AM
Hi ,
I am getting the problem related to creating the t-code for methods . In that my method is having parameters
then how to pass the parameter values to that method when creating t-code.
Thanks & Regards,
Raghunadh K
‎2012 Feb 03 6:15 AM
The dump message explains everything "you may only call methods that do not have any parameters at this point". So not possible. What function is that method performing ?
‎2012 Feb 03 6:15 AM
The dump message explains everything "you may only call methods that do not have any parameters at this point". So not possible. What function is that method performing ?
‎2012 Feb 03 6:32 AM
Hi,
One way is -
Create a new tcode.
When it prompts for Tcode type (after you press the create button) -
Then select option - 'Transaction with Parameters(Parameter Transaction)'.
Now in next screen, it will ask you the tcode for which you want to enter the default values.
Here give your first tcode.
Select skip initial screen.And in the bottom, you can specify the values.
Regards,
Harsh Bansal
‎2012 Feb 03 6:56 AM
Hi Bansal
can you you tell me what screen no and from module pool we have to specify
Thanks & Regards,
Raghunadh K
‎2012 Feb 03 7:22 AM
Other alternative is create zprogram and a transaction for it.
and in that zprogram , call you class method and then pass the parameter you want.