Application Development 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: 

Material master Inbound - Zfield is not updated

Former Member
0 Kudos

Hi Experts

I am calling an inbound functional module for material master update IDOC_INPUT_MATMAS01

I have added custom fields in MARA ( using append structure) and I also have custom segments in IDOC to update the custom fields in MARA .

I have done coding to move the segment data to MARA in exit - include name ZXMGVU04

case f_cust_segment-segnam.

when 'Z1MARA1'.

move f_cust_segment-sdata to z1mara1.

move-corresponding z1mara1 to f_mara_ueb.

Values are moved perfectly and able to get the segment values populated in IDOC . IDOC part is fine.

But it does not update custom fields in the MARA table.

Please advise.

1 ACCEPTED SOLUTION

former_member555112
Active Contributor

Hi,

The field should be added to a field group in OMSR transaction.

It is customising setting.

Regards,

Ankur Parab

4 REPLIES 4

former_member555112
Active Contributor

Hi,

The field should be added to a field group in OMSR transaction.

It is customising setting.

Regards,

Ankur Parab

0 Kudos

Hi Ankur

Thanks for your reply

I dont want any custom field in SAP screen - material master - MM03

I just want to update the custom fields from IDOC to MARA table ( Zfields ) .

Should I still need to do the settings in OMSR - Please advise

Thanks

Regards

Vivek

0 Kudos

Hi,

The settings are needed if teh field is not on screen. I have not tried otherwise.

But since the field is not getting updated so i believe this could be a reason.

Just try adding into it and check,

Regards,

Ankur Parab

0 Kudos

Any update on this one? We're having the exact same problem. The Material is getting created or updated except for the zfields. any help is very much appreciated!