Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hello, Just maintain some initial value for that material into your system. I think material value would be zero at present that's why this problem occurs. ________________________________ From: tiwari_praveen via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com] Sent: Wednesday, July 14, 2010 5:55 PM To: Prarthan Shah (WT01 - Manufacturing) Subject: RE:[sap-dev] bapi_goodsmvt_create 201 movement type Posted by tiwari_praveen on Jul 14 at 8:22 AM Mark this reply as helpfulMark as helpful <http://it.toolbox.com/api/ContentVote/3631719/1/1/ > I am also facing same issue. Have we got any solution to this problem? ---------------Original Message--------------- From: eXenic Sent: Wednesday, January 27, 2010 7:00 AM Subject: bapi_goodsmvt_create 201 movement type > i have get an error Material "72000550 not maintained in plant 1000" . > but i am sure i did it from mm01. what could be the reason. > code is like that and i tried at transaction mb1c. > and material exit must be like mb1c and bwart is 201. > DATA : goodsmvt_header TYPE bapi2017_gm_head_01, > goodsmvt_code TYPE bapi2017_gm_code, > goodsmvt_headret TYPE bapi2017_gm_head_ret, > materialdocument TYPE bapi2017_gm_head_ret-mat_doc, > matdocumentyear TYPE bapi2017_gm_head_ret-doc_year, > goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create WITH HEADER LINE , > return1 TYPE TABLE OF bapiret2 WITH HEADER LINE . > goodsmvt_header-pstng_date = sy-datum. > goodsmvt_header-doc_date = sy-datum. > goodsmvt_header-pr_uname = sy-uname. > > SELECT * from ZPM_FUEL_EXIT INTO II_TAB where STATE = ''. > goodsmvt_item-material = II_TAB-matnr. > goodsmvt_item-mvt_ind = ''. > goodsmvt_item-plant = II_TAB-werks. > goodsmvt_item-stge_loc = II_TAB-lgort. > goodsmvt_item-move_type = II_TAB-bwart = '201'. > goodsmvt_item-entry_qnt = II_TAB-quan. > goodsmvt_item-entry_uom = II_TAB-meins. > goodsmvt_item-COSTCENTER = ii_tab-kostl. > goodsmvt_item-GL_ACCOUNT = II_TAB-saknr. > goodsmvt_item-ORDERID = II_TAB-aufnr. > goodsmvt_item-PAR_COMPCO = II_TAB-bukrs. > APPEND goodsmvt_item. > ENDSELECT. > CALL FUNCTION 'BAPI_GOODSMVT_CREATE' > EXPORTING > goodsmvt_header = goodsmvt_header > goodsmvt_code = '03' > IMPORTING > goodsmvt_headret = goodsmvt_headret" testrun = 'X' > TABLES > goodsmvt_item = goodsmvt_item > return = return1. > > aufnr : from itob aufnr area. | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | _.____.__ |