Skip to Content
0
Former Member
May 05, 2009 at 07:26 AM

How to select plant view in BAPI_MATERIAL_SAVEDATA

331 Views

Hi Friends,

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.

say

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.

<<text removed>>

Thanks in advance.

Regards,

Prabhu

Edited by: Matt on May 5, 2009 11:15 AM - don't use ASAP