Application Development 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: 

Problem with BAPI BAPI_GOODSMVT_CREATE

Former Member
0 Kudos

Hi I am veerendra,

Please help me out to come out of this problem ,

I am trying to create goods movement using above BAPI.

Under header I am passing posting date and document date ,

05 to wa_mvmt-GM_CODE.

under Item passing material ,plant , storage location, batch, movement type -561 and

'Q' to t_mbitem-SPEC_STOCK, "Special Stock Indc

VIQMEL-ZZQNTY to t_mbitem-ENTRY_QNT, "Quantity

'EA' TO T_MBITEM-ENTRY_UOM, "Unit of Measure

'0030000079' TO T_MBITEM-WBS_ELEM. " WBS ELEMENT

BApi is returning message :

E |BS <007 |"Goods Movement" is not allowed (WBS 0030000079)

I checked in CJ02 transaction . this wbs element is available.

How do we know which Which is the correct WBS for perticular movement type.

PLease help me on this.

Thanks ,

veerendra.

3 REPLIES 3

Former Member
0 Kudos

Hi Veerendra !

Could you check out 2 things:

- Try the MB11 using exactly the same input-data

- just für "fun" - try the FM_CODE 06

Tell me what happens...

Regards

Rainer

0 Kudos

hi Rainer,

I am using transaction MB1C. My requirement is with this tcode only. when i did on-line also same problem is repeating. How do i know which WBS element I should eneter.

Thanks ,

veerendra

0 Kudos

Hi !

Since I don't know the WBS elements very well I can

give you only a little more help.

The WBS elemets must have a attribute that controls if there are goods movements allowed or not.

I've just not found it but maybe you'll find it or someone else here may know where it is...

Regards

Rainer