‎2006 Mar 07 1:40 AM
Can anyone suggest me how to use BAPI_GOODSMVT_CREATE to receive goods for Mvmt Type 521? I use the following parameters for calling BAPI
Header_Txt ='test01'
Doc_Date = '20060101'
Pstng_Date = '20060101'
Ref_Doc_No = 'test02'
Gr_Gi_Slip_No ='test03'
Gm_Code ='05'
Move_Type ='521'
Plant = '2010'
Move_Reas = ''
Mvt_Ind = ''
Material = 'mymaterial'
Stge_Loc = '5000'
Entry_Qnt =1
Entry_Uom =''
Move_Plant =''
Move_Stloc =''
Orderid = 'MyProd_doc'
Spec_Stock =''
Vendor =''
I logon SAPGUI and posted the GR successfully with Tcode "MB1C".
However, When I run the BAPI, the return code show error:
Message Class: KI
Message NO.: 235
Message:
Account 41016105 requires an assignment to a CO object
Log Number:
Msg Serial NO.:
000000
Message Variable1:
41016105
Message Variable2:
000
Message Variable3:
Message Variable4:
Parameter Name:
GOODSMVT_ITEM
Line:1
Thank a lot!
‎2006 Mar 07 2:15 AM
Nereus,
When you run the t-code on-line, what account number are you using (not 41016105, I would assume)?
The error should be passed onto your FI/CO team. They need to set-up the appropriate CO object/"bucket" for this to function for you.
‎2006 Mar 07 3:20 AM
John Jakabcsin,
Thanks for your reply.
When I run T-code "MB1C" on SAPGUI,I do not need to enter the account number. But when I submit the same data with BAPI calling ,SAP return errors.