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

Problem calling MB_CREATE_GOODS_MOVEMENT

Former Member
0 Likes
567

Hi,

We have a requirement where... we have to create goods movement.

We are using MB_CREATE_GOODS_MOVEMENT FM passing the

EBELN(purchase order)

EBELP(Purchase order item)

MATNR(Material)

EMATN(Manufacturer part number)

and other details...

The requirement is if we pass EMATN other than what is present in the Purchase order table(EKPO), the goods movement created should be created with the new EMATN(not the one used in the order).

The problem is that - even if we pass this field with updated value, the FM overwrites the value with in SAP.

Any clue on how to solve this.... would be highly appreciated.

All suggestion are welcome.

Thanks

Richa

4 REPLIES 4
Read only

Former Member
0 Likes
493

You can use the BAPI BAPI_GOODSMVT_CREATE

Read only

0 Likes
493

This BAPI internally calls the same FM MB_CREATE_GOODS_MOVEMENT.

So, calling this BAPI wont be of any help.

Read only

Former Member
0 Likes
493

Hi,

The new GOOD Movement wil not be created using the New Part NO EMATN because u have already Maintained at Purchase order level.Change the new Part Number in Me23 or Me33.

Regards,

Morris Bond.

Reward Points if Helpful.

Read only

0 Likes
493

Hi,

The requirement is -

we dont have to change the MPN at purchase order level...

just have to change while creating the goods movement with the new value..

Richa