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

Error while activating function module

Former Member
0 Likes
1,263

Hi,

I copied a standard SAP function module L_TO_CREATE_DN.

When i activated the function group it throws an error saying that " Field "I_COMMIT_WORK" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement".

All the global data has been copied properly in the TOP include but still while activating the function group we are getting the above said error.

If anyone has encountered same kind of issue.......Please guide.

Thanks and regards,

Ramesh

5 REPLIES 5
Read only

Former Member
0 Likes
792

I_COMMIT_WORK is an importing parameter ..

check if it's declared .. in the FM

Read only

Former Member
0 Likes
792

Hi,

Go to SE80, click on function group in the dropbox and copy the function group L03B into a 'Z' function group.

I guess it should work fine then.

Thanks & Regards

Nayan

Read only

former_member187255
Active Contributor
0 Likes
792

Ramesh,

How did you copied the FM L_TO_CREATE_DN?.

Try copiying from SE80, so that you wont miss any include files.

Chandra.

Read only

Former Member
0 Likes
792

Hi,

Try using the copying the entire function group to ZXXX.

Thanks,

Sriram Ponna.

Edited by: Sriram Ponna on Apr 17, 2008 8:35 PM

Read only

0 Likes
792

I was also facing the same issue, when I tried copying just 1 or 2 FM's from that FG L03B.

Finally, I copied the whole function group, including all FM's into Z FG, and FM's, and it got activated w/o any hitches. Looks like there is lot of dependency between the includes and FM's code.

Regards

Deepthi