‎2011 Oct 15 2:45 PM
When a contract is saved in VA43, all materials of it's assortement module, are inserted in that contract. we are using bapi BAPI_CUSTOMERCONTRACT_CHANGE to update contract and add all relevant materials.
we are getting error as 'Posting date is initial'.
Kindly share what all reletant parameters we should pass to header and items to this bapi.
CALL FUNCTION 'BAPI_CUSTOMERCONTRACT_CHANGE'
EXPORTING
salesdocument = wa_vbap-vbeln
contract_header_in = wa_bapisdh1
contract_header_inx = wa_bapisdh1x
TABLES
return = t_return
contract_item_in = t_bapisditmitm_number
contract_item_inx = t_bapisditmitm_numberx.
How can we handle performance when materials associated with assortment module are very high (>10000).
‎2011 Oct 15 5:05 PM
Hi Archana,
Check the data what you are passing in posting date .Are you uploading through report or lsmw.
Regards,
Madhu.
‎2011 Oct 16 4:10 AM
I am uploading thruogh report.
I am passing DOC_DATE in header. in VA43, in Contract we are passing PO Date.
We are not sure, which field is posting date.
‎2011 Oct 17 2:03 PM
Hi Archana,
Pass some date value in that field and check where it is populating.
Regards,
Madhu.