I am using standard BAPI (BAPI_MATERIAL_SAVEDATA) to create Material Master. There is no option to select plant view in headdata itself but i need to populate plant data. So i've used PLANTDATA and PLANTDATAX parameter to pass plant name,storage location and period indicator.
PLANTDATA-plantname = '0011'.
PLANTDATA-storagelocation = '0011'.
PLANTDATA-periodind = 'D'.
PLANTDATAX-plantname = '0011'.
PLANTDATAX-storagelocation = 'X'.
PLANTDATAX-periodind = 'X'.
The material gets created but plant view is not created.
Thanks in advance.
Edited by: Matt on May 5, 2009 11:15 AM - don't use ASAP