Application Development and Automation 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: 
Read only

Material Data - Using BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
379

I have used <b>BAPI_MATERIAL_SAVEDATA</b> to load materials and It worked fine for me!

Now, I need to <b>extend the materials to a different plant</b> (using the same BAPI)!

Can you please tell me what BAPI-parameters I have to pass in order to accomplish this?

Also, I want to point out that we are using <b>split-valuation</b>!

Thanks in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

Hi,

For extending to other plants,

1. In the structure HEADDATA Pass fields

MATERIAL

IND_SECTOR

MATL_TYPE

PURCHASE_VIEW X

2. In the CLIENTDATA

PROD_HIER : Get from the material master

3. In the CLIENTDATAX : Mark this field as X.

4.In the PLANTDATA : Pass

PLANT : Mention req plant

PUR_GROUP : Get the Purcahsin group.

5.In the PLANTADATAX : Pass

PLANT : Mention req plant

PUR_GROUP = X

Hope this helps You.

Regards,

Sudheer

1 REPLY 1
Read only

Former Member
0 Likes
346

Hi,

For extending to other plants,

1. In the structure HEADDATA Pass fields

MATERIAL

IND_SECTOR

MATL_TYPE

PURCHASE_VIEW X

2. In the CLIENTDATA

PROD_HIER : Get from the material master

3. In the CLIENTDATAX : Mark this field as X.

4.In the PLANTDATA : Pass

PLANT : Mention req plant

PUR_GROUP : Get the Purcahsin group.

5.In the PLANTADATAX : Pass

PLANT : Mention req plant

PUR_GROUP = X

Hope this helps You.

Regards,

Sudheer