cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can create planning data without plant data using BAPI_MATERIAL_SAVEDATA?

felix0315
Explorer
0 Kudos
478

Hello Experts,

Greetings.

I want to create plant data and planning data separately using BAPI_MATERIAL_SAVEDATA.

After creating plant data using BAPI_MATERIAL_SAVEDATA firstly, the corresponding plant's availcheck has been maintained proper value. however, when I create planning data without providing plant data, I get error message "The field MARC-MTVFP/BAPI_MARC-AVAILCHECK is defined as a required field; it does not contain an entry".

But when I create planning data with plant data together, BAPI works fine.

Does it means I have to create planning data with plant data together? BAPI would not read MARC from DB when I create planning data separately.

Many thanks.

Best regards,

Felix ZHAO

Accepted Solutions (0)

Answers (1)

Answers (1)

andreas_k
Product and Topic Expert
Product and Topic Expert

Hello felix0315

I'm not quite sure if I'm on the same page as you. What exactly do you mean by planning data? Do you mean MRP views 1 to 4?

If the fields of - what you refer to as - the planning data is part of table MARC, you cannot create the planning data and plants data separately. Also MRP data is plants data (MARC), thus, you also need to create the plants data.

Best

Andreas

felix0315
Explorer
0 Kudos

Hello Andreas,

Many thanks for your answer, I'm doing it with both of plant data and planning data transferring together.