Application Development 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: 

Error: Function Module FORM "BDC_DYNPRO" does not exist”

Former Member
0 Kudos
1,544

Dear all

I created my First BDC from TCODE: SHDB on my testing environment server.

From this BDC I created my function Module, everything is working very well.

Now I moved my BDC to our DEV server to be moved to QAS server later.

On the DEV server from this BDC I created my function Module.

When I try to activate it I face this error: “FORM "BDC_DYNPRO" does not exist”

perform bdc_dynpro      using 'SAPLSPO4' '0300'.

I need help.

Thanks,

17 REPLIES 17

PeterJonker
Active Contributor
0 Kudos
631

If you double click the bdc_dynpro do you get anywhere ?

In that case you probably have this form in an include which needs to be activated first.

try to activate the include where the form is residing first.

0 Kudos
631

if i double click it tells me "subroutine does not exists, Create an object?"

FYI: meanwhile in my Testing environment it popup a screen and it leads me to some code.

0 Kudos
631

Then something went wrong.  However I Always create a program from my BDC not a function module. Maybe it is worth a try.

Sorry I can't be of anymore help to you.

Former Member
0 Kudos
631

Hi Ramzy,

check wether all the Includes and related objects are also transported correctly.

0 Kudos
631

how can i check this ?

0 Kudos
631

Hi Ramzy ,

Correct me if I am wrong .

You created a recording in SHDB , created an FM , tested it and this worked well.You moved this recording to your dev system and again created FM there.

You yourself said that when you click on bdc_dynpro , it led you to some code.

"FYI: meanwhile in my Testing environment it popup a screen and it leads me to some code."

The code where your form bdc_dynpro should exist is include BDCRECX1.

Check if this include exists in your dev system. If not , then get it transported to you dev system with help of basis.

Regards,

Saddam.

0 Kudos
631

Hi.

Try this instruction

PERFORM BDC_DYNPRO IN PROGRAM BDCRECX1


If it does not work there's something wrong with your system configuration.


Hope to help

Bye

0 Kudos
631

yes yes everything in my working environment is working very good.

and if i double click on "bdc_dynpro" it takes me to some code in my working environment.

In DEV environment i follow the same steps, but if i try to double click on "bdc_dynpro" it asks me "subroutine does not exists, Create an object?"

thanks,

0 Kudos
631

concerning this Part:

The code where your form bdc_dynpro should exist is include BDCRECX1.

Check if this include exists in your dev system. If not , then get it transported to you dev system with help of basis.

How can i know that this "BDCRECX1" is already exists or not?

if not how can i get it transported?

thanks,

0 Kudos
631

i tried your code, i still getting the same error.

but this file exists "BDCRECX1", because if i doubled click on it, it takes me to some code.

tell me what do you think?

0 Kudos
631


It means that your code is not inside a correct environment. Try to go to SE80, enter your report name in ProgramFieldName -> Double click on your program name  and go through Utilities->Update Navigation Index..

If it doesn't work, try to create a copy of your program with a correct development packet.

Hope to help.

Bye

0 Kudos
631

Hi Ramzy,

Is your FM having this code or not ?

Include BDCRECX1.  "If not then add this.

here is an example of BDC recording for MM02.

If even this doesn't solve your problem (though I think this will solve)  let me know , there is an alternative way too.

Regards,

Saddam

0 Kudos
631

i created a new FM from SHDB

i opened the FM in SE80 and GO to Utilities->Update Navigation Index

still have the same error.

thanks,

0 Kudos
631

i created a new FM from SHDB

i opened the FM in SE80 and GO to Utilities->Update Navigation Index

still have the same error.

thanks,

raymond_giuseppi
Active Contributor
0 Kudos
631

Did you transport the whole function group, generating a FM will also add an include the first time to the function group.

NB: For FM, include name is BDCRECXY, BDCRECX1 if for report/program and contain some  selection-screen elements.

Regards,

Raymond

0 Kudos
631

i already have a Function group created a long time ago.

i starting to get this error, when i started to create FM from SHDB.

thanks,

0 Kudos
631

Hi.

But what happens if you force the activation at the first time? I think your problem is within your top declaration in your function group. You have to go in SE80, putting your function group name in the function group list and show what you found inside as objects. Probably there's a conflict.

Hope to help.

Bye