Skip to Content
Author's profile photo Kivanc Bilgin

Non-Ferrous (NF) Metals Processing

1. Introduction

This document will try to make a brief summary about Non-Ferrous Metals (NF) processing in SAP SD. I will try not to go into full detail, as in this case this document will rather look like a short book, but explain mandatory activities in order to start using NF processing from scratch. A dedicated consultant will be able to handle the situation afterwards.

NF Processing mainly addresses non-ferrous metals industry sector (copper, aluminum) in which prices can change drastically within minutes or seconds. The prices are determined by London Metal Exchange (LME) globally.

NF Processing in SAP is not limited to NF Metals only. One can use NF processing for any type of goods if the prices do change within short periods of time, or pricing agreements with customer depend on future pricing dates. A typical example will explain this situation: When a salesperson is trying to sell a NF-related product to a customer, he can:

  • Come to an agreement price of that very specific time. i.e. LME price at that exact moment can be, say, 1802,64$/TON. They come to an agreement with the customer and fix the price. “Fixing the price” means that this would be the selling price of NF metal’s LME for that sales order, and any price change will not affect its price. (Prices vary within very short periods of time)
  • Come to an agreement price of a future day’s price. That future day can be days or even months away. i.e: The price is fixed on the LME closing price on the day of Goods Issue. So in the sales order today’s price will be seen, but in the billing document, LME price should be recalculated according to Goods Issue. The price should only be recalculated for LME; other condition types need not be recalculated. This price can be higher or fewer than current price, so it’s almost a gambling on both sides (Pricing agreements with customer depend on future pricing dates)

If any of the above is common in your business scenario, you should take a look at NF Processing to see if it helps you meet your complex requirements.

2. NF Metals Activation

First of all, business function set DIMP for Mill Products need to be activated via Switch Framework Customizing (SFW5).

In order to use NF Processing, a content activation is required. This is done in SPRO via path Logistics – General -> NF Metal Processing -> NF Cross-Application Components -> Maintain Basic Settings For NF Metal Processing. You just need to tick the field here.


3. Exchange Keys

In order to distinguish customers who you work via LME and who you don’t, you need to maintain exchange keys. This is done via customizing Maintain Exchange Keys.


Here you can create different Exchange Keys. For example, if your client is selling both NF metals and gold, you should probably create two different keys: One for LME, and one for Gold Exchange.


This exchange key must be assigned to customer in customer master data. In customer master, a new button should appear with title as NF Metal Data.


Assignment of Exchange key to customer master is done here at sales area level. Technically the entry here is stored in KNVV-J_1NBOESL.


4. NF Keys and Base Values

In order to distinguish NF metals from others, you need to maintain NF keys. For materials, this is done via customizing Maintain NF Keys and Base Values.


Here you can define NF Keys and base quantity and unit of measure for pricing. For example, in Aluminum sector, LME prices are maintained per TON, so the value you see below represents this (1TON = 1000KG).


In this cluster view, when you select Base Key, you can define a base price per unit which is to be added to LME price. If this is not required for your industry sector, this will be obsolete. In the screen below, you can see that for base key A0, price is 0.


Assignment of NF key to Base Key to material master is done at distribution chain level, Sales: Sales Org. Data 1 view. As you can see below, there is a separate button for maintaning this information, named as NF Sales Weights.


More than one base key can be assigned to a NFkey, and more than one NF key can be assigned to a material in a distribution chain. This means you can use Base keys to differentiate selling prices for materials which use the same NF key.

Use case example: You create two base keys for the same NF key. For base key A0 you leave the price blank. For base key A1 you set the price as 250$/TON. For raw materials, you assign base key A0; and for finished products, you assign base key A1. This way in sales documents, while your raw materials will be charged with LME price, your finished goods will be charged with LME price + 250$/TON).

In material master, when you click NF Sales Weights button, a popup screen will appear like below:


Here NF key is appended as a row. You can assign the Base key which has been assigned to NF keys beforehand from the Base key button (i.e. A0 or A1).

5. LME Condition Type

In NF processing, LME prices are mapped to condition types. First you should create your own condition type via V/06, and this condition type should not have an access sequence in it. If your customer is a manufacturer in NF Processing, this condition type would probably be a surcharge, not a price, as additional prices might be added to LME price as well (i.e. Labour Price).

For your reference, the condition type  I’ve created has the following attributes:


Telling SAP that this is NF Price, not a usual condition type, is done via customizing Assign Condition Category/NF Key to Condition Types in SD.


Here you assign your condition type to a NF key and a condition category.


In your pricing procedure your LME condition type should be mandatory. You need to assign a requirement formula and a condition base formula for your LME condition type. In standard SAP, requirement formula 461 (LV61A461) and condition base formula 461 (FV63A461) are created for this purpose. Requirement formula 461 checks if your material is a NF metal (Assignment of NF key in the relevant distribution chain). Condition base formula 461 reads LME pricing information from relevant tables.

6. LME Master Data

LME prices should be created as master data. This can be handled either manually by users or automatically via a web service from London Metal Exchange. SAP Menu path for manual maintenance (/NFM/RATS1) and price analysis (/NFM/ANARS) are as below:


In manual maintenance, you enter Rate Date, Rate Currency, Exchange Key and Rate Type.

Sales organization and/or Company Code entrance is optional, as LME prices are not dependant on organizational data, but you have the option to differentiate prices on them if required.


You enter the NF key and the rate and save your entries. Rate 1, Rate 2 and Rate 3 can be used to differentiate prices for the same date (i.e. you usually use Day Closing price for Rate 1, but Day Opening price for Rate 2, vs…)


7. NF Routines

In NF metals pricing there is a VOFM-like functionality where you maintain routines by coding and assign them in your processes. SPRO path for this is as follows:


This is a three step process. First, you create rate determination modules (which look like VOFM routines). A typical example is include /NFM/I004  “Determine most recent rate”:


In the second step, you assign your modules to rate determination modules. This is where it differs from VOFM routines, as more than one rate determination module can be assigned to a rate determination routine. All modules are listed on the upper side, and selected modules for your routine are listed on the down side. All the modules in the routine will be read in sequence by pricing if your routine is assigned to Sales organization / Rate determination key (see 8. Rate Determination Key).


Third step will be a customizing assignment, which is:

8. Rate Determination Key

In customizing activity Maintain Rate Determination Keys for SD, you decide on which Sales organization which rate determination keys can be used.


Rate determination keys (RDK) are used to differentiate pricing logic for the application.


In this customizing;

Org.: Sales organization

RDK: Rate determination key (created here on the fly for each sales organization separately)

RDR: Rate determination module

In sales document, as sales organization is already entered, user will select the rate determination key. Thus, relevant rate determination routine is known and according to the customizing above, a rate (either Rate 1, Rate 2 or Rate 3, whichever has been selected) will be found. A more detailed and understandable view of this customizing is as below in item level:


In this customizing, Field Control lets you control visibility/obligation of certain fields:


9. Sales order entry

In sales order entry, if customer is relevant for LME (KNVV-J_1NBOESL) and there is at least one NF material in the order (NF key is filled for the distribution chain), unless you enter rate determination key, system won’t let you save the document. This is done via path Header -> Additional Functions -> NF Default values


For the relevant NF key you enter the rate determination key, and then system calculates the price for your LME condition type according to the modules in your rate determination routine.


You can see from item level that price is calculated:


If salesperson fixes the LME price, you’ll need a separate condition type for this. This condition type should be a manual entry, and proper condition exclusion customizing needs to be done in order to make calculated LME price passive if manual LME price is entered in sales document.

Thanks for reading,

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Amitesh Anand
      Amitesh Anand


      It is really a very good document. Love to use this concept as soon as got an opportunity.

      Keep it up.

      Best regards,


      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Thanks Amitesh,

      Author's profile photo Pradeep Mani
      Pradeep Mani

      It seems this is Industry specific....

      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Hi Pradeep. NF Metals is not an IS component, did you check this part here in this document:

      2. NF Metals Activation

      First of all, business function set DIMP for Mill Products need to be activated via Switch Framework Customizing (SFW5).

      Author's profile photo Pradeep Mani
      Pradeep Mani

      Thanks for the information

      Author's profile photo Mehmet Ozgur Unal
      Mehmet Ozgur Unal

      Hi Kıvanç Bilgin ,

      Good documentation for NF Metals with details. In this document, we can find answers in MM&SD that well-done. Is it possible to benefit from NF in Purchasing ?

      However, if i do not want to fill out LME prices manually , what is your suggestion ? Maybe connection to LME via internet !

      Waiting similiar documents

      M.Ozgur Unal

      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Hi Mehmet,
      Thanks for your comments.
      Official LME site provides an XML type web service; you can subscribe to this service, and by help of a Z-program update the prices automatically on a regular basis. I guess this will have to be a batch input, as I don't think there is a BAPI which does what t-code /NFM/RATS1 is built for.


      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Btw NF Metals can be used for Purchasing as well. Most of the functions are almost the same.

      Author's profile photo Mehmet Ozgur Unal
      Mehmet Ozgur Unal

      Hi Kıvanç Bilgin ,

      Thanks for your valuable informations .

      M.Ozgur Unal

      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Hi Mehmet,

      Your welcome, I'm glad it helped.

      Author's profile photo Former Member
      Former Member

      Hi Kıvanç Bilgin

      Thanks a lot for detailed description. It is very helpful.

      Just one quick questions - is it possible to define/setup NFM condition type in a way that it will calculate a final price as an average of quotations for a defined period of time (e.g. month)?

      Thank you in advance for your help.

      Best regards,


      Author's profile photo Kivanc Bilgin
      Kivanc Bilgin
      Blog Post Author

      Hi Andrei,

      What you've asked is not possible in standard, but via NFM routines and a bit of coding you can calculate what you want.

      Author's profile photo Stefan Haag
      Stefan Haag


      NFM requires a modifcation free ABAP coding enhancement.

      The requested functionality "average of quotations for a defined period of time (e.g. month)" is possible with SAP Commodity Sales/ Procurement" by customizing, instead of ABAP coding.

      Author's profile photo Ram Kiran S
      Ram Kiran S

      Thanks a ton for sharing this invaluable post !!! Please do keep them coming 🙂



      Author's profile photo Dolly Mishra
      Dolly Mishra


      I assigned condition category = 0 for condition key using customizing -Assign Condition Category/NF Key to condition Types in SD.


      What does that mean? I am changing different rate determination key but still net value is coming same always.

      Author's profile photo Nataraju Chiluvuri
      Nataraju Chiluvuri

      Hi Dolly,

      Im not able to find NF Sales Weights tab in Material master in Sales Org1 view, please suggest required configuration.


      Thanks and Regards




      Author's profile photo nataraju chiluvuri
      nataraju chiluvuri

      Scree sequence controls views : OMT3Z which has  screen sequence no N1: NF Sales Weights.

      Author's profile photo Nataraju Chiluvuri
      Nataraju Chiluvuri

      Dear Kivanc,

      I have configured as per your document. Im not able to find NF Sales Weights tab in Material master in Sales Org1 view, please suggest required configuration.

      Thanks in advance.






      Author's profile photo Jeff Stewart
      Jeff Stewart

      Hello Kivanc, thank you for posting this article.  I have a question if I may.  Our company has been successfully using NF Metals for about eight years for our North American operations.  We are starting to implement it for our operation in Brazil, but they use KG as their base unit of measure while we use LB and have our NF Keys set up with LB.  Is there a better way to set up NF Metals for Brazil than just creating a second set of Origin Groups and NF Keys using KG as the base unit of measure?

      Looking forward to your reply.