cancel
Showing results for 
Search instead for 
Did you mean: 

How to maintain the default Stock type and SLOC

Former Member
0 Kudos

When i do the GR w/o PO in QI mvt type 503.

1.Now my requirement is wen i do the GR in 503 or 501 Stock type should be defaulted like user should not have to change it.how to do this in SAP.

2.And also storage location should be defaulted when we do the GR for a material "XXXX" plant 1000 and SLOC 0001.

user should not change theSLOC from 0001 to XXXX. so it should be lik this whenever i do GR SLOC 0001,should be defaulted.how to do this?

U r help would be appreciated.

thanks and regards

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear vijay

there two solution on your problem

1)Define Strategies for Stock Determination

In this step, you make all the settings you require for a stock determination strategy.

You determine a strategy at plant level using the stock determination group and the stock determination rule (The terms 'rule' and 'group' correspond to the checking group and the checking rule logic in the availability check.

The stock determination group is assigned to the material in the material master record. On the other hand, you maintain the stock determination rules in the individual applications. This means that you can use different strategies depending on the material or on a business event.

Example

Using the calling application Inventory Management, the following example shows how you can combine various stock determination groups and rules.

Material/ Stock | Application: stock determine. | Strategy:

determine. group | Movement type / SDet. rule |SDet.group/rule

-


4711 0001 | 201 0003 | 0001/0003

4712 0002 | 201 0003 | 0002/0003

4711 0001 | 221 0004 | 0001/0004

Depending on the material number, different stock determination groups are found - this means that with the same movement type, different stock determination strategies (combination of stock determination group + stock determination rule) are used. On the other hand, however, a new stock determination rule is found (0004) for the same material number (4711) with another movement type. This means that for the material 4711, various strategies are found depending on the application and its stock determination rule. In the example above, three different stock determination strategies exist each containing different parameters for the automatic stock determination.

Standard Settings

The standard delivery contains the following setting: For plant 0001 there is a stock determination group 0001 and a stock determination rule 0001. This results in a stock determination strategy which first withdraws stock from unrestricted-use stock and then from consignment stock.

To use the stock determination function, you must maintain the stock determination group in the material master record and assign the stock determination rule to the appropriate application.

Recommendation

We recommend that you work on the conceptual details of the required strategies first. Consider how many different material groups are required for stock determination depending on the material master record. Materials that behave in a similar way in stock determination are grouped together. The result corresponds to the number of Stock determination groups that have to be maintained in the first step. In the second step, you define and maintain the stock determination rules required depending on the calling applications. The combination of stock determination group and stock determination rule provides a separate strategy which is saved in the stock determination header table.

Activities

You can define strategies depending on material, plant and business operation. To do this, proceed as follows:

Identify groups of materials within a plant that are to be dealt with in the same way in stock determination.

For each of these groups, create a

stock determination group which can be assigned in the material master record at plant level.

Identify the business operations where stock determination is to be used. The way such an operation is defined depends on each application. For example: Within Inventory Management, every material movement is defined by a movement type. All movement types that are to behave in the same way from the stock determination point of view are assigned the same stock determination rule.

Once you have defined the strategies, you must then make the detailed settings to ensure that the stock determination is carried out correctly. You can do this by maintaining the detailed view of the header table and the item table. We recommend that you first maintain the item table. First select the strategy to be maintained and then go from the header table to the item table. Here, maintain the stock (unrestricted-use own stock or unrestricted-use consignment stock) and the storage location from which stock is to be withdrawn.

The priority indicator correctly sequences the entries of the item table. (Where do I first want to withdraw stock?) Using the priority indicator, the stocks found can be sorted as required which is then recorded in the header table.

The priority indicator must be greater than 1. However, several items may exist with the same priority indicator (same weighting for the sort). Save your settings and return to the details view of the header table. In the Sort section of the screen, you maintain whether the priority indicator is to be used for sorting in an ascending or descending order. You also define its weighting as opposed to the characteristics, price and quantity . You also define the sort and priority of the other characteristics accordingly.

In the quantity distribution, you also have the option of defining a form routine. This is saved in the quantity proposal field. Enter one condition that controls how the system is to propose the quantity for this strategy record. You define the maximum number of partial quantities allowed for a requirements quantity in the Number of splits field.

The integration between the Warehouse Management System and stock determination is maintained in the section for other settings via the WM processing indicator. You have the following options:

1. WM dominated: Storage type search -> Stock removal strategy in the storage type -> Stock determination.

2. WM Storage type search dominated: Storage type search -> Stock determination -> Stock removal strategy in the storage type.

3. Stock determination dominated: Stock determination -> Storage type search -> Stock removal strategy in the storage type.

The Stock determination dialog field determines whether the stock determination is carried out in the background or online. Set this indicator if you prefer to work online. The online control function is especially useful during the test phase so that you can check the stock determination interactively. It is not possible to work online in the Warehouse Management System component.

You can set the Pipeline withdrawal indicator if you have allowed the remaining quantity to be provided by a pipeline posting. The pipeline withdrawal is a partial quantity as far as the split criterion is concerned. The optional pipeline withdrawal, however, is not supported by all applications (for example, KANBAN, WM and pull list).

If you want to use a

customer exit for the item table for stock determination, you must have maintained the User exit indicator for the item table if the customer exit is to be accessed for this strategy. The customer exit is called EXIT_SAPLMDBF_002. A further customer exit exists, called EXIT_SAPLMDBF_001 which you can use to realize a separate logic to determine the stock determination rules used. For more information, refer to the documentation for the enhancement . Also refer to Develop Enhancements for Inventory Management .

Further Notes

Make sure that you check the settings for stock determination very carefully and pay particular attention to the integrated applications.

2) if your using MB01 for goods receipt then put cursor on sto location field then press F1 you will find parameter ID 'LAG' then go to SU01 maintain user, select PARAMETER tab mention paramer LAG & value ,that mean storage location number , save it

by doing this whenever you go to MB01 you will find the default storage location which you mention in parameter

or you can do the same by using screen varaint SHD0 , before doing any changes please ask to your ABAPER

Answers (1)

Answers (1)

former_member184627
Active Contributor
0 Kudos

Hi,

Pl. try if there are any user exits available & do the program accordingly with the help of ABAP consultants.

Regards,

Senthilkumar SD