‎2006 Aug 14 8:02 PM
HI,
I want to call 'TBDM' transaction code from custom proram can anybody tell me the all procedure including step (if possible code as a prototype)
thanks.
‎2006 Aug 14 8:03 PM
‎2006 Aug 14 8:04 PM
‎2006 Aug 14 8:05 PM
This is a report progam, so you can simply call it by using the SUBMIT statement.
submit RFTBFF00 via selection-screen
and return.
Now if you want to pass parameters to this program, you can do so simply by using the WITH extension.
submit RFTBFF00 via selection-screen
with file = 'C:test.txt'
and return.Regards,
Rich Heilman
‎2006 Aug 14 8:06 PM
If you want it to execute automatically you can pass the appropriate parameters using WITH and get rid of the VIA SELECTION-SCREEN extension. This will skip the selection screen and execute the program.
submit RFTBFF00
with file = 'C:test.txt'
and return.
CALL TRANSACTION may not be a good solution in this case, since it is a report program.
Regards,
Rich Heilman
‎2006 Aug 14 8:13 PM
I am callling that tcode but how can I pass the value ot that tcode's selection screen.
‎2006 Aug 14 8:16 PM
‎2006 Aug 14 8:29 PM
Here would be the complete call. You can change the parameters as you see fix. Remember when setting a radiobutton in a group, you need to make sure that the other radiobuttons in the group are = space.
submit RFTBFF00 via selection-screen
with file = 'C:\test.txt'
with pcupload = 'X' " Upload
with par_prs = 'X' " Exchange Rates
with par_men = space " Exchange Rates
with par_rfn = 'X' " Data Provider Direct
with par_rfd = space " Data Provider In Direct
with par_feed = space " Data Provider
with log = 'X' " Error File - Generate
with logfile = 'C:\SAPPCADM\errortest.log'
with logdwnld = 'X' " Error File -Download
with par_Tst = 'X' "Output - Test Mode
with par_dsal = space "All
with par_dsfl = 'X' "Errors
with par_dsok = space "Correct
with par_var = space "Variant
and return.
PLease make sure to award points for helpful answers and mark your posts as solved when solved completely. Thanks.
Regards,
Rich Heilman
‎2007 Feb 05 8:15 PM
Can you please help me to prepare the file format for this transaction TBDM.If you have some test data record can you just paste in this thread.
‎2006 Aug 14 8:51 PM
can you tell me why you want me to go with the submit rather than call transaction. If I have solid reason then I can represent that to the functional people. (I already did the program with all the way and it working fine all the way but I did in call transaction to call TBDM with the same way as we do for BDC thats why Iam asking this question that is there any other way we can call transaction and also pass the section options. my proogram has also has the ability to do from submit also)
‎2006 Aug 14 8:56 PM
Why do a BDC to fill the values of a report program, when the SUBMIT statement provides the functionality for you. The CAll TRANSACTION statement is usually used to call module pool programs not reports.
You should always try to stay away from BDCs whenever possible, in this case, the SUBMIT is the better way to go.
Regards,
Rich Heilman