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

/AFS/BAPI_MAT_BOM_MAINTAIN problem create other alternative

Former Member
0 Likes
500

I have a report that create new bom, if create a new bom that don't have without alternative the bapi is ok and create BOm with alternative that i set in variant.

EX.

MATERIAL 0CH5170

PLANT IT02

BOM_USAGE 6

ALTERNATIVE 3

After if i want create a new alternative with this value

MATERIAL 0CH5170

PLANT IT02

BOM_USAGE 6

ALTERNATIVE 4

The bapi return this message

BOM already exists for 0CH5170 IT02 4

But this alternative don't exist.

if i go in transaction CS01 i can create this alternative without error.

Helppppppppp.

I have a report that create new bom, if create a new bom that don't have without alternative the bapi is ok and create BOm with alternative that i set in variant.

EX.

MATERIAL 0CH5170

PLANT IT02

BOM_USAGE 6

ALTERNATIVE 3

After if i want create a new alternative with this value

MATERIAL 0CH5170

PLANT IT02

BOM_USAGE 6

ALTERNATIVE 4

The bapi return this message

BOM already exists for 0CH5170 IT02 4

But this alternative don't exist.

if i go in transaction CS01 i can create this alternative without error.

Helppppppppp.

1 REPLY 1
Read only

Former Member
0 Likes
390

help.