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

BAPI_GOODSMVT_CREATE

Former Member
0 Likes
1,121

When Iu2019m testing the BAPI_GOODSMVT_CREATE, it is throwing an error message .

DELIVERY NUMBER

DELIVERY ITEM

VENDOR

MATERIAL NUMBER

PLANT

STORAGE LOCATION

MOVEMENT TYPE 101

MOVEMENT INDICATOR 'L'

QUANTITY

BASE UNIT MESSARE

The following is the error message

Update control of movement type is incorrect (entry 101 X X _ L)

Can you people suggest me to overcome this error message?

Thanks & Regards

RAMU.

9 REPLIES 9
Read only

Former Member
0 Likes
1,047

Hello

For movement type '101' movement indicator must be B

Try this.

Read only

0 Likes
1,047

dear Dzed Maroz

Movement type 101

movement indicator 'B' is for purchase order known....

iam tring purchase order unknown

so i given 'L'

it is giving error

please solve this.

thanks & regards,

ramu

Read only

0 Likes
1,047

Try with a blank.

movement indicator = ' '

Read only

0 Likes
1,047

it is not working..

Read only

0 Likes
1,047

Hi Rams,

What is the goods movement u are trying to achieve?

If u are trying to take GR for the delivery number u have, try giving

GM_CODE = '01'

MOVE_TYPE = '605'.

MVT_IND = 'L'.

Regards,

Jaison

Read only

0 Likes
1,047

Dear jaison

but requirement is 101 movement type

MB01 GM CODE

INDICATOR 'L' I GIVEN..

It is showing error..

Read only

Former Member
0 Likes
1,047

hi try the following.

 S_BAPI2017_GM_HEAD_01-PSTNG_DATE = sy-datlo.
  S_BAPI2017_GM_HEAD_01-DOC_DATE   = sy-datlo.
  S_BAPI2017_GM_HEAD_01-REF_DOC_NO = '12345'.
  S_BAPI2017_GM_HEAD_01-PR_UNAME   = SY-UNAME.

  T_GOODSMVT_ITEM-MATERIAL         = 'hardware'.
  T_GOODSMVT_ITEM-PLANT            = '1000'.
  T_GOODSMVT_ITEM-MOVE_TYPE        = '101'.
  T_GOODSMVT_ITEM-PO_NUMBER        = '12345677'.
  T_GOODSMVT_ITEM-PO_ITEM          = '00100'.
  T_GOODSMVT_ITEM-MVT_IND          = 'B'.
  T_GOODSMVT_ITEM-ENTRY_QNT        = '100'.
  T_GOODSMVT_ITEM-SPEC_MVMT        = '2'.
  APPEND T_GOODSMVT_ITEM. 

Read only

Former Member
0 Likes
1,047

Hi,

You need to give B in movement indicator since purchase order is unknown and delivery details is know.

You can see in help, it is clearly mentioned for purchase order unknown, del details is mandatory and all the other details should be as per purchase order known.

Regards,

Sunny

Read only

Former Member
0 Likes
1,047

answered