‎2010 May 21 11:40 AM
*I am creating material document using BAPI_GOODSMVT_CREATE .
When I create the Material document using this BAPI I am able to create is successfully when there is no Account assignment category used means it blank at scheduling agreement level.
But if the Account assignment category is given at the scheduling agreement level then BAPI fails and shows the error message u201CNo goods receipt possible for purchase order.
I am using SAP version 4.6C
SPLIT w_file-dln AT '.' INTO w_dd w_mm w_yyyy.
CONCATENATE w_yyyy w_mm w_dd INTO w_dt.
w_gm_hdr-pstng_date = w_dt. " Posting Date
w_gm_hdr-doc_date = sy-datum." Doc Date
w_gm_hdr-pr_uname = sy-uname." User Name
w_gm_cd-gm_code = '01'. "01 Goods Receipts for Purchase Order
w_gm_itm-move_type = '101'.
w_gm_itm-mvt_ind = 'B'.
BAPI Call.
Edited by: Nandkumar Ghodke on May 21, 2010 4:15 PM
Edited by: Nandkumar Ghodke on May 21, 2010 4:16 PM
‎2010 May 21 11:50 AM
As per i know..
that the account assignment information applies to the item level and not to the schedule line level. This means that the quantities, values, and percentage rates indicate how the account assignment information of an item is assigned. This also applies to service items and purchase orders with invoicing plan
Thanks
Naresh