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

'fbgenmac' in SD_SALESDOCUMENT_CREATE

Former Member
0 Likes
2,655

Hi All,

I have copied this bapi 'SD_SALESDOCUMENT_CREATE' into a new one. added the new bapi to a new function group.

am not able to activate the new bapi because it says 'fbgenmac' is undefined . How do i eleminate this error ?

Thanks and Regards,

Amit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,649

Hi,

<b>FBGENMAC</b> is a Macro Definition.

Its a include file, copy that Include file .

<b>Copy the whole function group and then activate it.</b>

Best way to do this is.

1. Goto se80

2. Open the function group

3. CLICK on the function group.

4. Right-click and select COPY !

5. In this way, it will copy

all includes, top files, all functional modules .

6. A new window will come

there u have to specify the NEW name

of the related function module,

for all fms.

Regards,

Arun S

Message was edited by: Arun Sambargi

Hi All,

I have copied this bapi 'SD_SALESDOCUMENT_CREATE' into a new one. added the new bapi to a new function group.

am not able to activate the new bapi because it says 'fbgenmac' is undefined . How do i eleminate this error ?

Thanks and Regards,

Amit

3 REPLIES 3
Read only

Former Member
0 Likes
1,649

When you say COPY, did you copy the whole function group?

fbgenmac is a macro defined in include FBGENMAC.

You should copy the function group also.

regards,

ravi

Read only

Former Member
0 Likes
1,650

Hi,

<b>FBGENMAC</b> is a Macro Definition.

Its a include file, copy that Include file .

<b>Copy the whole function group and then activate it.</b>

Best way to do this is.

1. Goto se80

2. Open the function group

3. CLICK on the function group.

4. Right-click and select COPY !

5. In this way, it will copy

all includes, top files, all functional modules .

6. A new window will come

there u have to specify the NEW name

of the related function module,

for all fms.

Regards,

Arun S

Message was edited by: Arun Sambargi

Read only

Former Member
0 Likes
1,649

Hello AMit,

U have to copy the whole Func.Group and activate the Func.Group first.

Then Activate the newly copied FM.

If helps reward

Vasanth