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 to update MARC Table

Former Member
0 Likes
5,723

Hi Gurus,

Please let me know a BAPI to update MARC table.

Regards

Avinash.

2 REPLIES 2
Read only

Former Member
0 Likes
2,037

Hi,

Use this FM BAPI_MATERIAL_SAVEDATA.

Reward if helpful.

Regards,

Ramya

Read only

Former Member
0 Likes
2,037

Hi,

You can use the BAPI_MATERIAL_SAVEDATA

Please find the corresponding field names in the BAPI

PLANTDATA-REORDER_PT - MINBE

PLANTDATA-SAFETY_STK - EISBE

PLANTDATA-MINLOTSIZE - bstmi

PLANTDATA-MAXLOTSIZE - bstma

PLANTDATA-FIXED_LOT - bstfe

PLANTDATA-ROUND_VAL - bstrf

PLANTDATA-MAX_STOCK - mabst

PLANTDATA-MIN_SAFETY_STK - eislo

Populate the following parameters..

HEADDATA-MATERIAL = 'Material number'.

HEADDATA-MRP_VIEW = 'X'.

Populate the PLANTDATA as mentioned above..

Populate the corresponding X in the PLANTDATAX structure.

PLANTDATAX-REORDER_PT = 'X'

PLANTDATAX-SAFETY_STK = 'X'

PLANTDATAX-MINLOTSIZE = 'X'

PLANTDATAX-MAXLOTSIZE = 'X'

PLANTDATAX-FIXED_LOT = 'X'

PLANTDATAX-ROUND_VAL = 'X'

PLANTDATAX-MAX_STOCK = 'X'

PLANTDATAX-MIN_SAFETY_STK = 'X'

Call the BAPI.

Give COMMIT WORK.

Hope this works..

Regards.