Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in BDC Program

Former Member
0 Likes
583

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.

4 REPLIES 4
Read only

Former Member
0 Likes
555

While creating ztransaction to the program you might have done some mistake, choos the proper option like program and selection screen....etc

Read only

Former Member
0 Likes
555

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).

Read only

Former Member
0 Likes
555

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

Read only

Former Member
0 Likes
555
  • 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.