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

Additional EAN not working...

Former Member
0 Likes
584

Hi all,

I'm working on EAN for the moment. I need to make a program which will allow user to add EAN for a material, from a file upload in an internal table.

There is no problem to have our data in the internal table, but, as i tried to use this table with a BAPI to update material with new EAN, i realise that this part is not working.

I use this call function :

'BAPI_MATERIAL_UPLOAD_SAVE'

and i got this error (seen by transaction SLG1 with logs) :

'The article cannot be maintained since no maintainable data transferred'

I really don't know how to have my changes done on a material. Can you help me ?

Thanks a lot.

R.P.

2 REPLIES 2
Read only

Former Member
0 Likes
477

Try with the FM: BAPI_MATERIAL_SAVEDATA.

fOR SAMPLE CODING REFER THIS LINK:

Regards.

Ravi

Read only

0 Likes
477

Thanks Ravi for your so quick answer.

The problem in the FM you give is that the ean concerning thing inside is the following structure :

BAPI_MEAN

But the problem i have is that in this structure, there is nothing about the "MAIN_EAN" (as you will find in this structure : BAPIMATMEN) which concern the field "HPEAN". I unfortunatly need this field.

Maybe you have another idea ?

Thanks.