Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_MATERIAL_SAVEDATA - FOREIGN TRADE views

Former Member
0 Kudos

Hi there,

Currently our interface program uses BAPI_MATERIAL_SAVEDATA to create material masters. My problem is that I now want to activate the 'FOREIGN TRADE' views. I've populated some of the fields (plantdata & plantdatax) but the views are not being created. What am i doing wrong ?

Thanx,

Maré

Edited by: Maré Pretorius on Mar 5, 2009 5:22 PM

1 ACCEPTED SOLUTION

former_member156446
Active Contributor

Hi check this messages:

3 REPLIES 3

Former Member
0 Kudos

HI,

Check the FOREIGN TRADE View exists in the HEADDATA Parameter of the BAPI_MATERIAL_SAVEDATA Fm if yes pass 'X' to the field then this view is populated.

Former Member
0 Kudos

hi,

foreighn trade view is created when ever sales view is created, in headdata-sales_view = 'x'.

select sales view.

Rgds

siva

former_member156446
Active Contributor

Hi check this messages: