02-20-2008 10:29 AM
Hi all,
Can you please let me know the BAPI to change the details of an article in the article master.
regards,
Sharadha
02-20-2008 3:16 PM
Hello,
The BAPI to change Article Master is BAPI_MATERIAL_MAINTAINDATA_RT.
Thanks,
Venu
02-20-2008 3:16 PM
Hello,
The BAPI to change Article Master is BAPI_MATERIAL_MAINTAINDATA_RT.
Thanks,
Venu
02-21-2008 4:57 AM
Hi Venu,
Thanks..
I had found this BAPI by myself.
can you please let me know if there is any BAPI which i can use for MASS update of articles instead of calling the above BAPI in a Loop.
Regards,
Sharadha
02-21-2008 2:59 PM
Hello Sharadha,
This BAPI works with one article across multiple sites. I believe transaction MASS also uses this BAPI.
Thanks,
Venu
07-25-2008 12:05 AM
Hi Venu,
I would like to create an article thru this BAPI, BAPI_MATERIAL_MAINTAINDATA_RT. As part of Import parameter, in Header data there is a field called Material, here what should I give to create a new article. I have only article type, Marchandise category and article category. Please suggest me how can I create a new carticle thru this input.
07-25-2008 10:37 AM
external article numbers: no problem
internal number: use BAPI_MATERIAL_GETINTNUMBERRET to get a free next article number
07-25-2008 10:38 AM
and the most important step,
Loop over your articles to be created.
call the BAPI_MATERIAL_MAINTAINDATA_RT
and do a BAPI_TRANSACTION COMMIT
ENDLOOP
Important!!!!! Do a commit work after every article Bapi Call !!!
If you will not follow this rule, you will have a data inconsistency in classification data
05-06-2020 8:04 AM
Hi Venu,
While trying to create article using bapi: BAPI_MATERIAL_MAINTAINDATA_RT. i',m always getting error msg:Messages for material 283: log number 0000000000000150 .MG-537.
Correct me in below code suppose am passing wrong parameter.
DATA: bapi_head LIKE bapie1mathead,
bapi_mbew1 LIKE bapie1mbewrt OCCURS 0 WITH HEADER LINE,
bapi_mbewx LIKE bapie1mbewrtx OCCURS 0 WITH HEADER LINE,
bapi_return LIKE bapireturn1 OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
* Header
bapi_head-material = '000000000000000283'.
bapi_head-logst_view = 'X'.
bapi_head-matl_type = 'HAWA'.
bapi_head-matl_group = 'MEN'.