‎2009 Feb 27 11:05 AM
Hi everyone,
I created a BDC program and attached it to a transaction code. If the program is executed in SE38, it works perfectly. However, when the program is executed using the transaction code, it only displays the selection screen and exits whenever I press F8 (execute). I placed a "break-point" on the first line after start-of-selection but it just exits the program whenever i press F8. I loaded the same program into our IDES and it worked for a transaction code and via SE38.
What could be wrong in this situation? This could be a system problem and not a problem in the code.
Thanks.
‎2009 Feb 27 11:09 AM
While creating ztransaction to the program you might have done some mistake, choos the proper option like program and selection screen....etc
‎2009 Feb 27 11:09 AM
hi,
Check the Tcode Creation process
While Create the TCODe you migth have selected the radio button
Prgram and screen ( dailog Transaction) instead you need to select the Prgram and selection-screen (Report transaction).
‎2009 Feb 27 11:10 AM
Hi Denz,
It is always better to capture your messages using bdcmsgcoll take a table of this table type and loop it and the fields msg1,2,3,4 in that table will give you the messages,you can then check where the error has occured or you can also run your prog in 'E' mode to find out the error.
Much Regards,
Amuktha.
Edited by: Amuktha Naraparaju on Feb 27, 2009 12:11 PM
‎2009 Feb 27 1:41 PM
Try using the assingment of tcode again and see to it that all the parameters mention by you are correct.
Program type, program name and selection screen number, variants if any.
Thanks & Regards,
Lalit Mohan Gupta.