cancel
Showing results for 
Search instead for 
Did you mean: 

Updation of MARA-RAUBE using BAPI

Former Member
0 Kudos

Dear All,

I am trying to update some fields in Material Master data in the view Plant data/Storage1 & Plant data/Storage2

Fields are MARA-RAUBE , MARA-TEMPB by using bapi (BAPI_MATERIAL_SAVEDATA) but these fields are not getting updated.

The HEADDATA parameter has been maintained for all views like

BASIC_VIEW

SALES_VIEW

PURCHASE_VIEW

MRP_VIEW

FORECAST_VIEW

WORK_SCHED_VIEW

PRT_VIEW

STORAGE_VIEW

WAREHOUSE_VIEW

But PLANT_VIEW is missing in this structure.So due this none of the fields are not updated in the table when using BAPI. kindly provide

solution or any other procedures on how to update these fields using BAPI function.

Thanks,

Benny.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

This message was moderated.

former_member186100
Active Contributor
0 Kudos

Hi Benny,

i sense something is wrong here , MARA is client level Material master table and does not store plant specific data

JL23
Active Contributor
0 Kudos

What do you mean with plant view? have you ever seen one?

MRP view is a plant view

purchasing view is plant view.

there is no extra plant view-

and it is not even needed for fields like RAUBE, because this field is not maintain at plant level. it is maintáined at client level and just located in the plant/storage location view.

if you use MM02 and select the storage location view, and do NOT enter a plant nor a storage location, then you can see all fields that are at client level.

RAUBE is  structure CLIENTDATA (BAPI_MARA) and has there the name STOR_CONDS

And it probably does not update because you missed the the X in CLIENTDATAX sturcuture

former_member221541
Contributor
0 Kudos

try using standard batch/direct input method in LSMW (Object -0020)..also I found there is IDOC method avaialble too