cancel
Showing results for 
Search instead for 
Did you mean: 

Material Master Update from .net

Former Member
0 Kudos

Hi all,

I have created the rfc function module in abap.

I used BAPI_MATERIAL_SAVEDATA for the material creation and updation.

I tested by creating the sample material from abap.

I tested the updation of that material from abap.

while testing the updation , i inputted the following.

1. BAPIMATHEAD -- material,IND_code,MAtl_type

2. ClientData -- Matl_group,Base_Uom

3. ClientDataX -- matl_group,Base_Uom

4. Material description -- Langu, Mat desc.

with this input i ran the function module from abap.

It worked well and the data are updated into the tables.

i will change everytime the material description to observe the updation.

In the Vb.net , i created new objects for all the structures to pass to the function module.

I assigned the same input as in abap to the structures and i ran the application.

But the data is not updated. return message is also like that "Data cannot be updated" Proxy is working fine.

I have a doubt. I i run from abap, some fields will have "000" , "00" , "0,00" as initial etc...

Shall i have to pass these values from the vb.net or it is default.

Thanks & Regards,

S.Shankar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

I tried by giving all the intial values.

I got the return message as "The Material XXXX has been updated"

But When I check in the R/3 table, the data are not updated.

I used BAPI_TRANSACTION_COMMIT in the function modlue.

Even the same problem.

Note. In the return message the material number displayed is only 4 digits. example. if i pass 45678901234 then the return message shows "The material 1234 has been updated"

I could not find the reason fo this .

Please help

Thanks & Regards,

S.Shankar