‎2009 Feb 03 8:39 AM
Moved to correct forum by moderator. Please take care to post in the right forum
Hi Gurus,
I have a situation. I have created a zprogram and want to use it in a std txn LI04, and want to run it as individually as well.
But when it is calling from the std txn it should skip the selection screen and get the values of teh parameters
as teh same in LI04.
Please Advice.
Thanks
Guarav Kapse.
Edited by: Matt on Feb 3, 2009 9:54 AM
‎2009 Feb 03 8:43 AM
Hi,
Use the submit statement to run the zreport and in zreport using the EXPORT statement export the varaibles which are required and IMPORT them in the transaction.
‎2009 Feb 03 8:43 AM
Create a transaction for your report and check the ABAP online help for CALL TRANSACTION.
Thomas
‎2009 Feb 03 8:55 AM
‎2009 Feb 03 9:00 AM
Hi,
You can use parameter id and write
call transaction 'XXX' and skip first screen.
Regards
sandipan
‎2009 Feb 03 9:31 AM
Hi,
To call your custom code in the standard tcode, refer this link, they hv done similar to your requirements,
http://knguyentu.com/wordpress/2008/01/modifying-tarif-feature/
‎2009 Feb 03 9:54 AM
Hi,
Do you have any exit from which u'll call your Z prorgram. If yes, you can use the following statements
set parameter id ' id ' field <field name>.
submit <your Z program> and return.
In your zprogram write:
get parameter id ' id ' field <field name>.
It will work.
cheers
gaurav