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

BAPI

Former Member
0 Likes
389

Hi All,

I am creating the retail material and updating the same through the BAPI BAPI_MATERIAL_MAINTAINDATA_RT. Now my issue is i need to extend the created material for 300 plants (stores). So will you guys please let me know is they any BAPI which will extend the material for the remaining stores.

With warm regards,

Santosh

3 REPLIES 3
Read only

Former Member
0 Likes
351

For Extending the material which is already created can be done using BDC programming.

Create a BDC recording program with the material to be extended .

Have a flat file in the presentation or Application server.

After declaring the internal tables and the necessary work areas, loop the internal table, inside which pass the plant details through work area in the place of recording value.

EX: wa_itab-werks.

Read only

Former Member
0 Likes
351

Hi

You can use RMDATIND direct input program to extend the material. If you know LSMW it's very easy. Check for the documentation of RMDATIND report in the selection screen.

Regards,

Rudra

Read only

0 Likes
351

HI,

you can use BADI: ARTMAS_BAPI_EXTEND

use moethod: MODIFY_BAPI_DATA to add more plant/storagelocation intems.