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

Creating BDC using Function Module

Former Member
0 Likes
648

Hello ,

My requriment is that i want to Development BDC using function moule .

I have created one function module and wriiten logic in Source Code .

In SE37 goto -> Main program there are some includes like Global data in there i have declared BDC DATA and BDC MESSAGE CAL .

now problem is that i want to declare BDC_DYNPRO and BDC_FIELD that we have to declare in subprogram include .

But system is not allowing me to create subprogram . pleas guide me where and how can we declare BDC_DYNPRO and BDC_FIELD .

let me clear if i am wrong .

Regards,

Sandeep

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
537

Create an INCLUDE program in your function group and make sure to use the INCLUDE statement. Then put the FORM routines in this include program.

REgards,

RIch Heilman

Read only

Former Member
0 Likes
537

Declare BDC_DYNPRO and BDC_FIELD in function module and delete them in main program.

Everytime you use this function module , you need not declare them again.

Read only

Former Member
0 Likes
537

resolved