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

Custom fields in Material master Basic Data

Former Member
0 Likes
2,604

Hi,

We have to add custom fields to Basic data view of Material master. After copying & changing the screen sequence in Config, I could able to see the custom fields in Basic Data view.

I have also appended structure to MARA table for these custom fields.

But the values I enter in the screen is not getting updated to the table MARA.

Can you please let me know the code, I should have have in PAI (Process After Input) module in the Sub Screen to update the values?

Thanks,

Dasa

7 REPLIES 7
Read only

Former Member
0 Likes
1,330

Yes!

I also have the same problem!

when I try to read Matnr value in PBO module, this matnr value is empty. so I cannot read this customized field value according to matnr value.

anybody can help us?

Henry

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,330

Did you activate [EXIT_SAPL1001_003|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=exit_sapl1001_003&adv=false&sortby=cm_rnd_rankvalue] or any BADI ?

There are OSS notes on this subject : [Note 568513 - ALE: User-defined fields are not updated|https://service.sap.com/sap/support/notes/568513] and [Note 129573 - Customer-specific fields for 4.0B via BAPI|https://service.sap.com/sap/support/notes/129573] for old versions.

Regards

Read only

Former Member
0 Likes
1,330

hi,

After copying the screen in which you want to add the fields.

Go to se80 there display your program name

there

o Make sure that a field statement exists for each field on the subscreen since data may not otherwise be transported correctly.

Example: FIELD MARA-zzfiledname(fieldname you have added.)

thanks and regards.

Read only

Former Member
0 Likes
1,330

hema

How to Make sure that a field statement exists for each field on the subscreen. please give me detail guide step by step.

thanks

Henry

Read only

Former Member
0 Likes
1,330

hi,

Above mentioned that when the values are entered in the customised fields they are not updating in the to the table mara.

so, the program name and screen number which you are configuring in the spro, in that program name and in that screen number code it as below:

(you could find the field statements in that screen for the standard fields like FIELD MARA-MEINS.)

for example:

PROCESS BEFORE OUTPUT.
         ...............................
       PROCESS AFTER INPUT.
        .................................

      
      FIELD MARA-zzfieldname.

Refer the oss note : 38229

Thanks and regards.

Read only

Former Member
0 Likes
1,330

Hi Raymond,

The OSS Notes sugessted by you are specific to Retail Industry Material master.Are they relevant for Mechanical Industry (conventional SAP R/3) material master as well?

Rgards,

Prasad

Read only

Former Member
0 Likes
1,330

Hi Dasa,

can you check this enhnacement : EXIT_SAPLMGMU_001 in MGA00001. can able to change custom MARA fields, which are defined in include : CI_MMH1.

thanks

srinu