Category Archives: MM

Inbound delivery packing

1. First of all, create the packaging material master – MM01 (NB: ‘Sales:General/Plant Data’ view is required):

LEIH

2. Under the “Additional data – Units of measure” you can set dimensions (Length/Width/Height):

on the “Basic Data 1” tab set General item category group as LEIK – Returnable packaging (acc. admin) for the packaging material.

In order to use packing, you need the packing materials you have created above, packing instructions and packing instruction determination records.
Quite often you’ll have materials are all packed a same way. In this case you may use a reference material for both packing instruction and determination record (both packing material and quantity must be identical).
There are two possibilities for the reference material. The easiest way is to simply choose one existing material and the second option is to create a new material (finished good) for this purpose.

The first option is easier to use, but keep in mind, that you will never be able to delete this material as long as it is in use as a reference material for packing (Basic data – Ref. mat. for pckg):


(repeat for identically packed materials).

The second option means more initial work, but you will avoid some problems as the one mentioned above. This option is recommended by SAP.

3. Sales:General/Plant Data’ view:

don’t forget to enable Item generation in delivery for packaging material type using transaction VHAR:

4. Transaction code POP1

It is possible to create new instruction from an existing packing instruction number. Otherwise, just press enter to create a new packing instruction.
In the second line you have to choose the item category M:


(if you choose R the packing instruction is valid for reference material).
Target quantity is the maximum quantity SAP will pack in one box.

Don’t forget to set ’01’ the Check profile on Admin. data tab.

You have to create one packing instruction for each combination of packing material and quantity.

5. Determination record (e.g. the same packing/material for different vendors) – transaction code POF1

6. Point the material, vendor and instruction as shown below (instruction number from the step 3):

and save
(here are alternative packing instructions, to be used in case the main packing instruction is not found).

7. Before we can use packing in SAP, we must have the packing materials on stock.

Please, don’t forget to set the checkbox “Generation of Delivery Items for HU Packaging Materials” in transaction 0VLK:

and set “updates qty/val” of VERP & LEIH for your plant in OMS2:

Next two ways will demonstrate how to post packing goods receipt with and w/o purchased materials:

7.A.1. Posting goods receipt using handling units – transactions VL31N – VL33N, press the button “Pack”:

Inside the processing of Handling Units window you can automatically pack the delivery:

replace to another, delete HU or assignment, unpack, empty and select your own instruction (on Pack.proposal tab). Save this.

7.A.2. Now, post GR (VL32N):

Movement types for this delivery – are 101 and 501 (normal stock):

Note, that Returnable Transport Packaging (RTP) cannot be planned in a Purchase Order (not to special stock “M”). The second way to receipt empties – is to post GR for RTP in MIGO(MB11) transaction:

7.B.1. MIGO, receiving standard inbound delivery,
press the button “Non-ordered Item” as depicted:

7.B.2. Put the RTP number as shown below:

In case of using “Transport equipment” button you have to put vendor’s number to mark the stock of RTP as special (“M”).

MB51:

Movement type 501 does not create any FI-document.

Now let’s go to the counting empties.

How to create a new material movement type in SAP

How to create movement types? What are the steps involved?
Let’s see how we can create a new material movement type in SAP.

Companies may request a new movement type to differentiate between the inventory posting transaction.

Assuming I want to create another movement type 9Z2.
Transaction – OMJJ

Menu path – IMG > Material Management > Inventory Management > Movement types > Copy, Change Movement types

To copy a movement type, select the field “Movement type” from the popup and choose Continue.

The dialog box Define work area appears.

In the dialog box “Define work area”, enter the movement type you want to copy in the “From:” field.
In the “To:” field, enter the name of the new movement type you want to create (the new MvT should either beginning with 9 or Z).

On “Change view movement type: overview” screen, select movement type to copy and click on “Copy as…” icon (F6):

Give the name and press “Enter” key:

Click on “Copy All” when a pop up window appears which says “the entry to be copied has dependant entries” and you should be able to see an information message after successful copy.

Check all views for the new movement type and, if necessary, change the control indicators. Please note that some views have a detail screen:

  • Short texts – here you can maintain transaction short text for different languages.
  • Allowed transactions – a list of transactions can be maintained which are allowed to post this movement type.
  • Help texts – this text will be visible to the user when he presses F1 for help. It can be maintained in different languages.
  • Field Selection – Over here required and optional entry fields can be maintained. The fields are grouped into logical groups like Account Assignment, Material Management etc. Based on the group, a desired field can be selected. This field can then be suppressed, made a required entry or an optional entry based on the radio button selection.
  • Update Control – This is applicable is Warehouse Management is active. The settings in this tab provide the reference movement type for Warehouse Management.
  • Account Grouping – In this screen you can maintain the account modification keys. The account modification key is to differentiate account determination for the goods movement. The values of this key are SAP predefined and cannot be changed (T030).
  • Reversal / follow on movement – Over here you can maintain the movement type for reversal movement. By Indicator type of posting in this screen, the system decides whether the quantity adopted from the reference document (which is getting reversed based on this movement type) may be changed or not.
  • Reason for movement – Over here you can define which reasons are allowed while posting the mentioned movement type. This field is usually used to differentiate the different scenarios (for reporting purpose) in which the said movement type can be used. The movement type configuration for Field Selection can be used to determine if this is a mandatory or an optional field while posting the document.
  • Deactivate QM inspection – By this setting you can configure the instances when this movement type is used and Quality Management is not active. As a result no inspection lots will be created for an inspection process.
  • LIS statistics group – Over here different statistic groups can be maintained for different possibilities of this movement type.

Now we can save it.

The ways to editing tables

Here are listed powerful hacks which can be used to change even the standard tables and even in a production environment (if you have CHANGE access in Debugger). You should think twice before using them.
You can track changes made in SE16N by &SAP_EDIT (GD-SAPEDIT) option in SE16N_CD_KEY table.
With a right authorization concept in place you would not be allowed to debug in production. So end users should be restricted with debugging authorizations.

1. Go to SE16N, type the table name, turn on the debugger (type /H in the command field), press F8. In the debugger set the values of GD-EDIT and GD-SAPEDIT to ‘X’ and press F8.
2. Execute the function module SE16N_INTERFACE. Set parameters i_tab to table name and i_edit to ‘X’ and press F8.
3. Carry out the transaction UASE16N (obsolete, but sometimes still in use). Type &SAP_EDIT in the command field.

SE16N: Abschalten von &SAP_EDIT – SAP Note 1420281

LSMW upload classification

On the next screen, if you press the button “Object overview” you see next fields:

So in this case
KLART – 001 (Material Master)
OBJEK – material master number
CLASS – Class name
ATNAM – Characteristic name
ATWRT – Characteristic value

Save it.

Specify files:

Window of “Start direct input program”:

Notified quantity exceeds quantity ordered XXXX.000 ST

При обнаружении ошибки ASN в мониторе EMASN “Notified quantity exceeds quantity ordered 795.000 ST”, во-первых, не забываем, что количество здесь равно 795, а не 795000 (не 795 тысяч), во-вторых, пробуем перепровести айдок.
Эта ошибка показывает, что в какой-то позиции отправленной поставки количество превышает соотв. материал в закупочном документе (SA / PO) (такое поведение – можно или нельзя принимать превышающие количества – настраивается в IMG).
Выделяем IDoc и нажимаем кнопку IDoc на панели инструментов:

Здесь дважды щелкаем в статусной части айдока на саму (не “самую”, а “саму”) первую ошибочную секцию:

В ней видим номер проблемного закупочного документа:

Идём в этот закупочный документ, в данном случае в транзакции ME38, и убираем лишние 12795 штук (из open qty, за вычетом cum.qty!):

Сообщаем планнерам, чтобы сделали прогон MRP (MD01).

В случае, если ошибка “…weight is smaller than…”, то установите правильные веса в мастер данных материала:

и пробуйте перепровести ASN.

P.S. “No shedules exist for sheduling agreement” – эта ошибка в EMASN говорит сама за себя – отсутствует расписание в указанном закупочном соглашении.