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 Error

Former Member
0 Likes
6,791

Dear All,

I am using BAPI 'BAPI_GOODSMVT_CREATE' for Goods issue against Purchse order(Stock Transfer Order).I am getting error "E M7 096 Goods movement not possible with mvmt type 351".Please suggest me solution on this.

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,082

There is a customizing for movement codes and transactions allowed :

The system checks the combination movement type - allowed transactions. Make sure that you assign a GM_CODE to the BAPI for the required transaction

In the Implementation Guide (IMG), call the activity Materials Management -> Inventory Management and Physical Inventory -> Movement Types -> Copy, Change Movement Types. In field selection, select the movement type field and enter XXX as the work area. Open the folder Allowed transactions and create a new entry with movement type XXX and transaction XXXXX. Save and transport this new entry.

SAP provides a FAQ for this BAPI at [Note 520813 - FAQ: BAPIs for goods movements|https://service.sap.com/sap/support/notes/520813]

Regards,

Raymond

Read only

0 Likes
3,082

Can You little bit elaborate?

Read only

0 Likes
3,082

To find relation between the GM_CODE and the Transaction code, look at table T158G.

01 MB01

02 MB31

03 MB1A

04 MB1B

05 MB1C

06 MB11

Regards,

Raymond

Read only

Former Member
0 Likes
3,082

Hi,

Try like this ,

*BAPI_GOODSMVT_CREATE *

EXPORTING COLUMNS VALUES

GoodsMvt_Header PSTNG_DATE 2004.08.24

GoodsMvt_Header DOC_DATE 2004.08.24

GoodsMvt_Header REF_DOC_NO ''

Goods_Mvt_code GM_code '01' -


> for PO (STO)

TABLES

GoodsMvt_Item Material S1L50282F25P000

GoodsMvt_Item Plant TW01

GoodsMvt_Item Stge_loc TWPC

GoodsMvt_Item Move_type 309

GoodsMvt_Item Entry_qnt 1

GoodsMvt_Item Entry_UOM mara-meins

GoodsMvt_Item Po_number 4500001149

GoodsMvt_Item PO_Item 00010

GoodsMvt_Item Item_Text 4500001149/00010

GoodsMvt_Item Move_Mat LC028FGP6

GoodsMvt_Item Move_Plant TW01

GoodsMvt_Item Move_Stloc TWM1

GoodsMvt_Item Mvt_ind " "

Thank u.

Regards,

Padmasri.