In this post, we will learn how to make configurations in SPRO inorder to update customer-defined fields.
Note: These configurations are mandatory else data won’t get updated into customer-defined fields in the Extension BAPI scenario
Method 1: Go to T-code SPRO -> SAP Reference IMG -> Logistics – General -> Material Master -> Field Selection -> Assign Fields to Field Selection Groups -> Click on Execute
Method 2: Execute the T-code OMSR
Both methods will take us to same screen, so use only one method.
Once navigated to the screen, check for your customer defined fields are listed in the table or not. If the fields are not listed, then you need to add those by following the below steps.
Click on ‘New Entries’ button
Fill the values for Field name and Maintenance Status as below
Note: Field name is your customer defined field name (Here, I filled MARA-ZZFIELD1. MARA is table name in which the field exist and ZZFIELD1 is the customer defined field) and Maintenance status defines in which view these fields can be updated like in Basic data, Sales etc. Click F1 to see more details in documentation. Here I filled Maintenance status as ‘EDVKALBQPSZXCFG’ so that it can be maintained for all views. (Here, each alphabet of maintenance status refers for certain views)
Click on save and it will prompt you to provide customizing TR. Provide the TR and Click on Continue. So, the data will be saved.
Follow the same process for all the customer defined fields that need to be supplied with data. The screen looks like below once added.
Now we need to assign values to the column ‘Sel. group’
Note: You might have wondered why I gave ‘111’ as Sel. group value. If you followed method 1, then you need to read the documentation by click on below icon
In the standard documentation, it is mentioned that the Selection group 111-120 & 211-240 are reserved for Customers. So, from here it is clear that I can use any number between these ranges.
Click on save.