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

BDC for Custom Transaction Code

Former Member
0 Likes
1,418

Hi, Guru:

I already created a custom Transaction Code for a dialog program.

Can I use BDC for this custom transaction code. Thanks in advance.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
972

Absolutely. There is no difference between your custom program and the standard SAP transactions other than the naming convention, so yes, you can do BDC over any transactions. Be aware, that BDC doesn't work so good when dealing with transactions that use Enjoy controls, such as tree structures. If your custom program doesn't have any controls, then there is no problem.

Regards,

Rich Heilman

7 REPLIES 7
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
973

Absolutely. There is no difference between your custom program and the standard SAP transactions other than the naming convention, so yes, you can do BDC over any transactions. Be aware, that BDC doesn't work so good when dealing with transactions that use Enjoy controls, such as tree structures. If your custom program doesn't have any controls, then there is no problem.

Regards,

Rich Heilman

Read only

0 Likes
972

Hi, Rich Heilman:

Thanks for your quick reply. In my dialog program. It includes tree structure and Table control. If I use BDC. Can you tell me It's working or not. Thanks.

Regards,

Zhang

Read only

0 Likes
972

Is there anybody have good answer for my thread, Thanks.

Regards

Read only

0 Likes
972

It will not work very good with your tree structure, table controls are a little funny as well, but you can still get it working with a TC, tree structures are apart of the control framework and will cause a problem in BDC.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
972

Yes, you can use BDC on your custom dialog program. Beofre writing BDC, record your BDC with SHDB t-code.

Thanks,

Santosh

Read only

Former Member
0 Likes
972

generally we use BDC for almost all transactions whether it is standard or custom. Also, most of the transactions have Table Controls or Step Loops or Tree Structures and a BDC works for each of these transactions. The only thing u have to check is how to handle these ones in some situations. What code needs to be used so that data can be inserted into SAP.

Read only

0 Likes
972

Thanks a lot for your answer, Ramesh. Do you have BDC sample code for Table Control and Tree structure.