cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

Hi All,

I am trying to update one Z field in MARA table using

BAPI_MATERIAL_SAVEDATA.

This Z field doesn't appear on the screen, just used for internal

purpose of reporting...

All the required parameters for this bapi like Header details and

Extension table details are passed, but it is not updating the

material. At the end it gives message like 'Material is created or

extended', but MARA-Z field is not updated.

I used BAPI_TRASACTION_COMMIT fm also...

Can anyone help me ?

Thanks in Advance,

Prasad

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Prasad,

How are you giving the values for this Z-Field to the BAPI ? Which interface parameter are you using ?

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi Anand,

I am passing Z-field values in bapi_te_mara structure and finally passing this structure to BAPIPAREX internal table....

Same way for bapi_te_marax and BAPIPAREXX.

I am checking value of one Z-field (e.g ZZSEG) and depending on it's value (say '001') I am setting value of another Z-field (ZZBUSOWN) (say 'WHSL).

Finally passing this structures to EXTENSION and EXTENSIONX in BAPI_MATERIAL_SAVEDATA.

I have already modified the structures BAPI_TE_MARA and BAPI_TE_MARAX with all the Z-fields in the same sequence as in MARA table.

Thanks for ur reply...

Former Member
0 Kudos

Hello Prasad,

Seems like you need to have an entry in the table T130F.

Please read the OSS Notes 545626 and 44410 and other related notes , if necessary. And don't forget to reward points. BTW, why is this thread not marked as a question ?

Regards,

Anand Mandalika.

Former Member
0 Kudos

Thanks for ur valuable help...

I tried this one in our local server and it is working fine,

Who will be reponsible for this,functional team or abaper can do it?

I m using omsr and oms9 tcodes for this one...

Thanks once again

Thanks & Regards,

Prasad

Former Member
0 Kudos

Hi Prasad,

I did not understand what you mean by "who will be responsible for this?". Consult the person who has extended the original structures. An ABAPer should be able to do it easily. But I can't say if he/she is the <i>responsible</i> person for this, though.

Regards,

Anand Mandalika.

Former Member
0 Kudos

hi all.

i need to update the z-fields using call bapi bapi_material_savedata.

but i dont know how to use it.

who can help me .thks.

befuddled@126.com