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

Copying programs from legacy system

Former Member
0 Likes
379

Hi,

I need to copy a function module existing in legacy system to current system. I have copied the function module but I'm not sure how to copy the includes. Some of the includes are standard SAP includes like MBDCONWF. Can anyone tell me how to go about this?

Thanks,

A.P.

Hi,

I need to copy a function module existing in legacy system to current system. I have copied the function module but I'm not sure how to copy the includes. Some of the includes are standard SAP includes like MBDCONWF. Can anyone tell me how to go about this?

Thanks,

A.P.

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
337

Hello A.P.

Obviously, you <b>must not</b> copy any SAP standard includes from your old system to your current system. Since you have already copied the function modules (and function group?) run the syntax check to see if there are any errors.

If includes are missing on the current system that your function modules require then there are two way to solve this:

(1) Analyse which of the data definitions of the include are indeed required and copy them into the TOP include or a new data definition include.

(2) Copy the entire missing include into a new data definition include of your function group.

I would prefer the first variant because we do not have obsolete data definitions within our function groups.

Regards

Uwe