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

extend material

Former Member
0 Likes
614

hello friends,

I have a small requirement, i have created a material in distribution channel 10 and i want to extend it to distribution channel 20, how to do this with bapi

pls suggest me the BAPI and how to use it

helppppppppppppppp

Edited by: Amit Sawant on Mar 24, 2008 12:45 PM

5 REPLIES 5
Read only

prabhu_s2
Active Contributor
0 Likes
590

use the same bapi BAPI_MATERIAL_SAVEDATA but change the dist.channel alone. the rest of the data remains valid and same.

Edited by: Prabhu S on Mar 24, 2008 12:54 PM

Read only

Former Member
0 Likes
590

I tried to use the above bapi and only change the distribution channel in the table SALESDATA

SALESDATAX but then im getting an error tat the primary keys in the two tables are different.

i guess u cannot change the distribution channel but only change other data related to sales.....

guys i need help... please help me

Edited by: Amit Sawant on Mar 24, 2008 2:35 PM

Read only

Former Member
0 Likes
590

Hi,

Try the BAPI

BAPI_STANDARDMATERIAL_CREATE

Read only

j_mathur
Explorer
0 Likes
590

you can do this by using MM01 just change the distribution channel there.

Read only

Former Member
0 Likes
590

he is asking for a BAPI / FM, not the manual way