Vous êtes sur la page 1sur 26

Reset Set Zero Count for Physical Inventory

This ABAP report is to reset the zero count status after executing MI35 - Set Zero Count

4.6x

REPORT ZPI_CHANGE_ZERO_CNT.

tables: ikpf,
iseg.

select-options: xiblnr for ikpf-iblnr.

select * from ikpf where iblnr in xiblnr.


clear ikpf-ZSTAT.
modify ikpf.
select * from iseg where iblnr = ikpf-iblnr.
clear iseg-USNAZ.
clear iseg-XZAEL.
clear iseg-XNULL.
modify iseg.
endselect.
write:/ 'Modify Successful Table :- ikpf, iseg'.
endselect.

Configuring the Stock Transport Order


While I am doing Stock transport order I am getting the following error:

"Not possible to determine shipping data for material 4500012"

I have maintained the material 4500012 in both the plants.

I am not quite sure to what you are trying to say but the cross company Stock Transport
Orders can be done by:

- Configure using transaction OMGN


- Depending upon the sending and receiving plants, maintain sales organization and
customer data in customizing.
- Maintain the supplying plant as a vendor and attach the plant to the vendor in the
Vendor Master.
- Material type has to be HALB or HAWA.
- Ensure that the company with sales Organization has a plant to take care of stocking.
- The PO used is NB and not Stock Transfer PO.
Configure SD for inter-company billing to enable picking up the pricing procedure for
billing.
- Carry Out delivery through process delivery due list and billing through process billing
due list.

Otherwise, You need to configure your Stock Transport Order settings for your Cross-
Company:

Business Transaction to work.


1. Customer No. for the Goods Receiving Plant - OMGN
2. Availability Check- Checking Rule (if necessary) - OMGN
3. Assign a Delivery Type for the Delivering Plant - OMGN (for Stock Transport Orders,
NLCC)
4. PO type (which i belive you have done) - OMGN
5. Assign Vendor No. to the Supplying Plant (done) - VK02
6. Assign Customer No. to the Purchasing Plant for the Inter-Compnay Invoice (but you
need to assign this to the Sales Organization pre-assigned to the Purchasing Plant),
IMG-SD-Billing-InterCompany Billing-Define Internal Customer No. by Sales Org
***and by the way for the Invoice to work between Cross-Compnay Plants, you need
also to have a Sales Org for the Supplying Plant and a Pricing Determination Procedure.

Stock Transport Order Within One Company Code


I am trying to create a Stock Transport Order (STO) with document
type UB and item category U. My objective is to transfer material from Plant
(supplying plant) 100 to Plant (receiving plant) 1100 within one company code
(1000) with STO.

For this purpose I created a raw material 1434 in plant 1000 with sales org 1 view
and in that view entered in delivering plant field 1000 as delivery plant. After that I
extended material 1434 to plant 1100 without changing anything what I did while
creating the material first in Plant 1000 except in organizational level I entered 1100
in the plant field. I entered Sales org 1000 and distribution channel 10 in
organization level for both plant while creating and extending the material. In
me21n I chose Stock Transport Order with document type UB and item category as
U also receiving Plant as 1100. With this when I tried to save the STO the message, I
am getting an error, Cannot determine shipping data for the material 1434?

I am doing solely mm function why I need to create Customer master? In this case
plant 1100 is the customer right?

Solution:
1. Mat.(1434) should be maintained in both the plants. (1000&1100).

2. Should have enough stock in supplying plant(1000).

3. Make its supplying plant as a vendor in vendor master record in receiving plant(1100).

4. Make it receiving plant as a customer in customization.


Create customer (xd01) & and define the shipping data for plants in both the plants.
Path: spro – img – m.mgmt – purchasing – po – set up STO – define shipping data (1
by1 )
In Receiving plant (1100) In Supplying plant (1000)
Customer num. 123345 (for ex.) Customer num. --------- (don't fill)
Sales org.yyy
Dist. Channel
Sales div. y

5. Assign doc. Type is "NL" for intra company STO. If STO is inter company, Assign
doc. Type is "NLCC".
Position doc type is "UB"
Enter supplying plant(1000) & doc type (NL) & checking rule (ex:01)

6. Assign doc. Type is "UB" to u'r plants.(PO)


Go for new entries
Enter supplying plant(1000) & Receiving plant (1100) & doc type (UB).

7. Create a PO, choose the doc type is `UB' & item cat.'U', Enter supplying plant as a
vendor in PO of the receiving plant(1100).

8. Provide this num (PO) to SD people, they will do the delivery by using transactional
code is VL10B.

9. Sales people they will provide "out bound delivery num".

10. Do the GR. In GR the second tab 05 out bound delivery instead of PO mov.type 101.

11. See the stock over view in the receiving & supplying plants.

Procedure For Stock Transfer


What is the process flow and tcodes to do stock transferring?

We have one company code (1500) in SAP and four (4) plants ( 1511,1521,1512, 1541
) under 1500. Now, I have to transfer one material from 1511 to 1521 & from 1521
to I have to sell the same. 1521 is trading plant.
You can use the process - stock transfer from one plant to another plant it depends on
only mvt types. Single step or 2 step movements.

Pls. note the following procesure for stock transfer & Sale : 1511 to 1521 kindly make
the STN from plant 1511 to 1521 with following steps:

Step for STN Creation :

ME21N - Create Stock Transfer order (STO)


ME22N - Change STO
ME23N - Display STO VL10B

Create Delivery VL02N - Post goods issue & Batch / qty. picking

VF01 - Create Billing Documents ( STN )


VF02 - Display STN
VF03 - Printout for STN

After making the STN, pls. take the GRN in plant 1521 with T. code MIGO and then
make the sales invoice from plant 1521 with following T. Code.

VA01 - Create Sales Order


VA02 - Change Sales Order

VL10A - Create Delivery


VL02N - PGI ( Post goods issue )

VF01 - Document update


VF03 - Invoice printout.

Transfer Posting Plant to Plant


Transfer Posting Plant (Unrestricted) to Plant (Blocked)

Step 1. Now Transfer stock from plant 1 to plant 2 with in the same Company code.
Either with single step procedure or with two step procedure.

Before you do transfer stock from plant 1 to plant 2 first need to extend your material to
plant 2.

Step 2. Procedure to extend material:

T.code MM01 enter your material XXXX enter "organizational levels " window will
open there u select your plant 2 (receiving plant) click on tick continue the msg will
appear "The material already exists and will be extended" enter require fields and save
( now your material is extended to plant 2)

Step 3: Single step procedure stock transfer from plant 1 to plant 2 T.code MB1B Mvt
type is 301 enter receiving plant is "plant 2" and material XXXXX and required sfields
and save.

Step 4. Do stock type transfer from unrestricted to blocked stock T.code MB1B movt
type is 344. for plant 2

You can only do blocked stock to blocked stock transfer within a plant mvt type is 325.

Transferring Stocks Via Purchase Order

Please follow the following process as below:

1) Create the STO using T-Code:ME21N and maintain pricing conditions of freight and
Save.

2. Create Delivery :VL10G


Click on the Background Button after selecting line item
A message is flashed : See log for information> next Click on Log for delivery creation
Button >click on line item>click on document button to get Delivery document No

3. Picking, PGI:VL02N

4. Billing:VF01
Save the document and its done

5. J1IIN - Outgoing Excise Invoice

6. MIGO - Goods Receipt against outbound Delivery

7. J1IEX - Capture & Post Excise Invoice

Inventory Posting Configuration


3.0x

• Goods receipts for Purchase Order/Production Order


o (You can define the screen layout by Movement Type using
transaction OMCJ)
o 101 - Receipt for Purchase Order/Production Order
o 122 - Return delivery to vendor
o 511 - Receipt of delivery without charge (Free of Charge)
• Goods Issue
o (You can define the screen layout by Movement Type using
transaction OMBW)
o 201 - Consumption for cost center
o 261 - Consumption for production order - (confirmation automatic posting
- known as backflushing in SAP)
 Material backflushed = ( Production Order Quantity + Scrap ) /
BOM Base quantity * Component quantity
 Usually, material backflushed is done at the first operations.
Subsequent operations does not have any material backflushed,
only activities cost.
 Which operations to backflushed is set in your routing.
(CA02) In the routing click the button CompAlloc. Look
at the column B and Oper. A tick under B indicate
material backflushing.
• Transfer posting
o 301 - Transfer from one Plant to another Plant (Single Step)
o 309 - Transfer posting Material to Material (or known as Material
Conversion)
o 311 - Transfer from one Storage Location to another (Single Step)
• MBST - Cancel/Reverse the Material Document

The cancel movement type usually is a plue one. e.g.

o 101 cancels movement type will be 102,


o 261 cancels movement type will be 262.

When you post a goods movement, the Valuation Class in the Material Master
(accounting view) determines which G/L accounts are updated when a transaction
relevent to valuation take place.

OMWB - Create Automatic Postings

• Click Account assignment


• Double click on the Transaction Desciptions and you can see which valuation
class is tie to which G/L accounts.

OMJJ - Definition of New Movement Types. Allows you to control the movement
type functions.
The followings are some of the movement type control :-

o Double click on the Transaction type to maintain the movement type


control. e.g. print a material document after the user click save.
o Click on Short Text to maintain the movement type descriptions.
o Click on the Allowed Transaction to maintain which movement type can
be used in which transaction code.
Steps To Create New Movement Types in SAP MM
How to create movement types? What are the steps involved? When will you
recommend a new movement type?

Companies may request a new movement type to differentiate between the inventory
posting transaction. For example, 551 scrap movement type. Some company may
request to have it as 551 for Internal Scrap and Z51 for External Scrap.

Copy, Change Movement Types

4.6x

Assuming I want to create another movement type Z01.

Transaction OMJJ

• Select the standard movement type 201


• Click copy, then overwrite the 201 with Z01
• Click the Enter button, then click Copy all
• Select the new movement type Z01
• On the left hand column screen, click Reversal/follow-on movement
• Fill in the reversal movement type

For the rest of the options, you can leave it alone or change it depending on your
requirement

Inter Plant Purchasing (Plant A buys from Plant B)

Procedure Flow:-

• Buying Plant Create the Purchase Order type UB - Stock transport Order -
transaction ME27
• Supplying Plant receive the Purchase Order and issue it to the transport
warehouse once they have the required quantity - transaction MB1B - movement
type 351 - Transfer posting to stock in transit from unrestricted use.
• Buying Plant receive the purchase quantity with transaction MB01 - Goods
Receipt from Purchase Order.

Accounting document was created during the transfer posting - movement type 351.

Debit Buying Plant Inventory


Credit Supplying Plant Inventory

If there was a price difference (the same material have different price in the different
plant), the lower price plant will be posted with the amount differences.
Example :-
Material Master - Costing View Material Price for Buying Plant 100
Material Price for Supplying Plant 150

The Accouting posting would be:-


Debit 12345 Buying Plant Inventory 100
Debit 67890 Price Difference for Stock Transfer 50
Credit 12345 Supplying Plant Inventory 150

The General Ledger Account Number was determine through the Material Valuation
Class which was tied throught the Automatic Posting of Account Assignment.
(Transaction OMWB then click Account Assignment)

Double click on the Description to check the General Ledger Account Number
Inventory posting BSX
Expense/revenue from stock transfer AUM

Standard vs Moving Average Price

Generally all raw materials (ROH), spare parts (ERSA), traded goods (HAWA) etc. are
assigned as moving average price (MAP) because of the accounting practice of
accurately valuating the inventory of such materials. These materials are subject to the
purchase price fluctuations on a regular basis.

Company generally use moving average on purchased materials with small cost
fluctuations. It is most appropriate when the item is easily obtainable. The impact on
margins are minimized which reduces the need for variance analysis. Furthermore, the
administrative effort is low as there are no cost estimates to maintain. The cost reflects
variances, which are closer to actual costs.

The semi-finished goods (HALB) and finished products (FERT) are valuated with
standard price because of the product costing angle. If these were to be MAP controlled,
then finished/semi-finished product valuation would fluctuate due to data entry errors
during backflushing of material and labour, production inefficiencies (higher cost) or
efficiencies (lower cost). This is not a standard accounting and costing practice.

Refer to OSS note 81682 - Pr.Contr.V for semi-finished and finished products.
SAP recommends that standard price to be used for FERT and HALB. If actual price is
required for valuation, make used of the functions of material ledger where a periodic
actual price is created which is more realistic.

e.g. how SAP calcualte the moving average price


Goods Receipt for Purchase Order
Balance on hand quantity + Goods Receipts quantity
Balance on hand value + Goods Receipts value
New Moving Average Price = Total Value / Total Quantity
Invoice Receipt for Purchase Order
Invoice price more than Purchase Order price

• additional value add to Balance on hand value then divided by Balance on hand
quantity

Invoice price less than Purchase Order price

• difference is deducted from the Balance on hand value (up to 0). The rest of the
amount will becomes price variance. This will result in Balance on hand value is
zero while there are Balance on hand quantity. If the Balance on hand value is
enough to deduct, then the remaining value will be divided by Balance on hand
quantity.

When your Goods Issue price is constantly greater than your Goods Receipt price, it
will result into zero value moving average price.

OSS note
185961 - Moving Average Price Calculation.
88320 - Strong variances when creating moving average price.

Never allow negative stocks for materials carried at the moving average.

Prevent Inventory Back Posting to Previous period

This will prevent changes to the previous month Stock Values - MB5L - List of Stock
Values:Balances

• transaction MMRV
• tick Backposting not allowed generally
• click Save

During year end, the Stock Account have to be bought forward using transaction F.16 -
GL Account Carried Forward.

If not, the Material and Stock Account shown in MB5L will not be equal for the new
financial year.

You can check the General Ledger Stock Account with transaction FS10 - Display
Balances.

In MM only two periods can be kept open at any point of time.

Re-open Period closing

Suppose by mistake you closed the period and want to reopen it.
Use transaction code MMPI.

Enter the period you want to open sequentially. For e.g. the current period is 10, and you
want to be open for the 7th one, then you have to open period like 9th, 8th and 7th. After
making the correction you have to closed the period again sequentially.

There are no major-minor impact on the system, but it is better to do this once only.
Regular practice for this transaction may be harmful.

MMBE - Check the stock at the various storage location


To change the Stock Overview:Basic List

• Goto transactions OMBG - Rules for Stock Balance Display

The default Display version for MMBE is 1, you can define additional version if
required.

You can run this program (ZMMBE) if the user want to check whether the Total Stock on
hand quantity is correct. The program will retrieve the previous month closing balance
and add or subtract every material movement from start to end of the month.

Check Quantity on hand shown by MMBE

* MMBE - Material Movements


* Retrieve the previous month closing balance
* Calculate the daily movements from start to end of month.
* Verify that the Stock on hand figures shown in transaction MMBE is
* correct.

report zmmbe line-size 170 no standard page heading


line-count 058(001).

tables: s031,
mkpf,
mseg.

data: begin of int_mseg occurs 100,


budat like mkpf-budat, "posting date in the document
usnam like mkpf-usnam, "user name
mblnr like mseg-mblnr, "material document
bwart like mseg-bwart, "movement type
grund like mseg-grund, "reason for movement
lgort like mseg-lgort, "storage location
matnr like mseg-matnr, "material no.
aufnr like mseg-aufnr, "production order number
ebeln like mseg-ebeln, "purchase order number
ebelp like mseg-ebelp, "purchase order item
menge(7) type p decimals 4, "quantity
meins like mseg-meins, "unit of measure
werks like mseg-werks. "plant
data: end of int_mseg.

data: x_werks like mseg-werks,


x_matnr like mseg-matnr,
x_budat like mkpf-budat,
t_bal like s031-mzubb,
ttmenge(7) type p decimals 4 value 0.

data: fdate like sy-datum,


ldate like sy-datum,
sdate like sy-datum.
data: nohead(1).

select-options date for mkpf-budat.


select-options t_matnr for mseg-matnr matchcode object mat1.
select-options plant for mseg-werks.
parameters p_nohead as checkbox.

select * from mkpf where budat in date.

select * from mseg where mblnr = mkpf-mblnr


and mjahr = mkpf-mjahr.
check plant.
check t_matnr.

perform get_mseg.
endselect.

endselect.

* werks - plant
* bwart - movement type
* lgort - storage location
* budat - posting date
sort int_mseg ascending by werks matnr budat lgort bwart.
loop at int_mseg.
if x_werks is initial.
x_werks = int_mseg-werks.
x_matnr = int_mseg-matnr.
x_budat = int_mseg-budat.
perform open_rtn.
endif.

if x_werks <> int_mseg-werks or


x_matnr <> int_mseg-matnr or
x_budat+(6) <> int_mseg-budat+(6).
perform prn_grd.
x_werks = int_mseg-werks.
x_matnr = int_mseg-matnr.
x_budat = int_mseg-budat.
perform open_rtn.
endif.

format color col_group.


write: / int_mseg-bwart under 'Mvt',
int_mseg-budat under 'Post Date',
int_mseg-matnr under 'Material',
int_mseg-menge using edit mask 'RRV________.____'
right-justified under 'Qty Delv',
int_mseg-meins under 'Unit',
int_mseg-mblnr under 'Doc no',
int_mseg-werks(3) under 'Plt',
int_mseg-lgort under 'Sloc',
int_mseg-aufnr under 'Order',
int_mseg-ebeln under 'Pur Order',
int_mseg-ebelp under 'Item',
int_mseg-usnam under 'Create by'.

add int_mseg-menge to ttmenge.


endloop.
perform prn_grd.

form get_mseg.
if mseg-shkzg = 'H'.
multiply mseg-menge by -1.
multiply mseg-dmbtr by -1.
endif.

int_mseg-budat = mkpf-budat.
int_mseg-mblnr = mkpf-mblnr.
int_mseg-usnam = mkpf-usnam.
int_mseg-bwart = mseg-bwart.
int_mseg-grund = mseg-grund.
int_mseg-lgort = mseg-lgort.
int_mseg-matnr = mseg-matnr.
int_mseg-aufnr = mseg-aufnr.
int_mseg-ebeln = mseg-ebeln.
int_mseg-ebelp = mseg-ebelp.
int_mseg-menge = mseg-menge.
int_mseg-meins = mseg-meins.
int_mseg-werks = mseg-werks.
append int_mseg.
clear int_mseg.
endform.

form open_rtn.
new-page.
sdate = x_budat.
sdate+6(2) = '01'.
sdate = sdate - 1.
clear s031.
clear t_bal.
select * from s031 where werks = x_werks
and matnr = x_matnr.
t_bal = t_bal + s031-mzubb - s031-magbb.
if s031-spmon = sdate+(6).
s031-beszug = t_bal.
exit.
endif.
endselect.

write: / 'Opening Balance for ',


s031-spmon,
s031-werks,
s031-matnr,
s031-beszug.
skip.
add s031-beszug to ttmenge.
endform.

form prn_grd.
uline.

format color col_total.


write: / 'Stock on hand ',
ttmenge using edit mask 'RRV________.____'
right-justified under 'Qty Delv'.
skip.
clear ttmenge.
endform.
top-of-page.
format color col_total.
if p_nohead <> 'X'.
write: / sy-datum, sy-uzeit, sy-repid, sy-uname,
'Transaction MMBE - Material Movement',
sy-pagno.

skip.
write: / 'Selection : '.
loop at date.
write: 'Date from ', date-low, ' to ', date-high.
endloop.

loop at plant.
write: ' Plant from ', plant-low, ' to ', plant-high.
endloop.
skip.
endif.

if nohead <> 'X'.


write: /1 'Mvt',
5 'Post Date',
16 'Material',
32 'Qty Delv',
48 'Unit',
53 'Doc no',
63 'Plt',
67 'Sloc',
72 'Order',
83 'Pur Order',
94 'Item',
100 'Create by'.

uline.

if p_nohead = 'X'.
nohead = 'X'.
endif.
endif.

initialization.
ldate = sy-datum.
ldate+6(2) = '01'.
ldate = ldate - 1.
fdate = ldate.
fdate+6(2) = '01'.
move: fdate to date-low,
ldate to date-high.
append date.

Fields selection for MB51 - RM07DOCS

You can enhance MB51 by reconfiguring the fields contained in the field catalog.

IMG -> Material Management -> Inventory Management and Physical Inventory ->
Reporting -> Define field Selection for Material Document List

Question : Subject : Materials provided by customers

Hi,

Does anybody know how to handle the production with components provided by
customer ? We're on 4.0B.

The case is like that ;

Our customer will provide the necessary components and we will keep them in our stock
area. So there
will be GR but without any valuation. Later on we will produce the product with these
components and
labour will be the only added value at our side. At the end there will be GI for the
components and
GR for the produced material with reference to production order. Finally delivery, GI and
invoicing
will be carried for the product. This is a case similar to subcontracting.

Questions;
1. Which type of material should we use for the materials provided by customer?
2. Is there any standart movement type for GR of the materials provided by customer ? If
so, what's it ?
3. What's the function of the indicator for material provision (type K) in BOM ?

Any help or suggestion will be greatly appreciated.

Regards,
Answer : Subject : Materials provided by customers

We have an identical case to the one that you describe. Since I am not a PP Specialist, I
cannot answer your question #3.

We use a slightly modified version of UNBW (non-valued) Material Type.


We perform a movement type 501 to bring these materials in.
We use the standard 261 Movement Type to post the goods issues in the production
order.

Good Luck,

Answer : Subject : Materials provided by customers

How would you handle this situation if the same material can either be provided by the
customer
or can be your own. Then you have the same material which needs to be valuated if it is
your
own and not valuated if it is the customer.

thanks

Answer : Subject : Materials provided by customers

Thanks for your instant response.


But, I have forgotten to mention that we need to see the inventory of these materials
customer
based, just like customer consignment stocks, in stock overview (MMBE). Is this
possible ?

Thanks in advance,

Answer : Subject : Materials provided by customers

Since one material is valuated and will use a valuated Material Type and the other one is
non-valuated and will use UNBW or another non-valuated Material Type, you must
create 2 material masters, even though it is the same substance.

Answer : Subject : Materials provided by customers

Hi :
You could experiment with different stock categories. I do not have access to an SAP
System at the moment, and so I don't know which Stock Categories are associated with
the 501 Movement Type. This is tricky, and would likely cause more effort than it is
worth.

Otherwise, the simple (yet effective) solution, would be to manage all of these materials
in a separate Storage Location. This way you always have a complete overview, of
which materials are on stock for that customer.

I hope that this helps.

Answer : Subject : Materials provided by customers

Hi,

The Material Provided by Customer can be handled by using the Material Provision
Indicator 'K' in BOM. BUT THIS IS NOT CURRENTLY ACTIVE. The standard
practice is to get this material in stock and then perform goods movement as any other
material.

Answer : Subject : Materials provided by customers

Hi there,

It is not necessary to have two different materials, you can use one material with split
valuation.

With a new valuation category with two valuation types (own stock and customer stock),
you can maintain one valuated material. In the 'own stock' valuation type you could have
a standard or moving average price as normal, and for the 'customer stock' valuation type
you could have a standard price of zero. The valuation area (normally the plant) will then
show the average of the two valuations ...

The drawback to split valuation is that you have to enter the valuation type into the batch
field when you perform any inventory management transaction.

If you are already using batch management then you only need use valuation category X,
which would drive the valuation down to the batch level (all customer batches = zero
price again)

Kind regards

Answer : Subject : Materials provided by customers


Thanks for the lesson about split valuation. Please tell us why you would use a Material
Type like HAWA or FERT which is valuated for a non-valuated material, which is what
they want.

Split valuation has other drawbacks like the fact that it creates inconsistencies in COPA.

If they want a REAL non-valuated material and a standard valuated material, then this is
defined at Material Type level, and split valuation only works for a 2 materials within the
same Material Type.

I doubt that they would want to create FI documents for a non-valuated material (even
with zero value G/L Postings), which is what would happen with your proposed solution.

Of course, within SAP there is almost always more than one solution to any business
requirement, and finally it depends on their preference.

I do not believe that split valuation is a viable solution for this case, if I correctly
understood what Murthy was asking for.

Answer : Subject : Materials provided by customers

I will gladly explain why I was recommending a valuated material type for a master that
could be stocked in different states/values.

I was responding to Murthy Sivan's question about how to cope with a material that could
be provided by themselves and by the customer. In this case, there is only one material
but in two different conditions - one condition has a value and the other condition does
not. If you only want one material master, then you have to have a material type that
allows you to
stock valuated material and use split valuation to force the other condition to zero.

As for FI documents with a posting for a zero value - I think this is a small price to pay
(pun intended) for a logistics process that simulates reality.

In addition, in my experience there is normally a big push back from the client about
multiple material numbers for the same material.

I'm not certain what your understanding of the question is because in your first answer
you stated that there was only one substance but a need for two material masters. I
disagree with this statement. One material and two values (even if one of these values is
zero) can be achieved with split valuation. From my point of view, in the case where
there are multiple values for the same material, split valuation is a viable option.

Kind regards
Answer : Subject : Materials provided by customers

Fair enough!! I still agree to disagree, but as I said before, in SAP there are normally at
least 2 viable solutions for any business requirement.

When I referred to one substance, I meant, one physical substance, which I realize is not
a standard SAP term, in order to differentiate the fact that I was talking about 2 material
masters for the same physical material (substance).

Its true that double materials are generally to be avoided, but in my experience with
exactly the same situation, my customer opted to have a 2nd non-valuated material.
Maybe in Murthy's case, they will opt for another way.

At least we are offering 2 viable solutions, either of which would work within this
process.

Have Fun!!

Answer : Subject : Materials provided by customers

We dealt with this issue a few months back and I wish I had you guys to bounce this with
at that time.

To better explain the issue, our Customer may sometimes ask us to "store/manage" a
material for a period of time. In most cases, we charge a small fee for the service. We
could be using the same material to satisfy Demand from other customers. The stock is
all comingled and the main reason why Customers ask us to store, we ensure that there is
good rotation of stock all the time and stock stays fresh at the same time ensuring the
customer that there stock is always there ready when they need it.

We looked at several options, multiple storage locations, split valuation and some more
interesting solutions. (We did not look at 2 material masters with different material
types).

This is what we have gone with ...

We have created these customers who want their stock consigned at our warehouse as
dummy vendors. We store the stock as vendor consigned in our plants. When the
customer requests their stock, through EDI a special kind of Sales Order is created. This
initiates a 411K movement to transfer stock from vendor consigned to our inventory. To
ensure that there is no payable to the dummy vendor, we have modified config so that it
hits offsetting AP adjustment transactions - meaning a credit and debit to AP adjustments.

We then generate the billing document to close the Sales order. A lot of times we "buy"
the stock from the customer to manage surges in inventory and vice versa. In these
instances, the sales order is blocked for delivery and we actually issue a credit memo to
pay the Customer using a Return type Sales Order.

We have not gone live and it should be interesting to see how all this will work. I am not
exactly part of the team but have been involved in some of the discussions.

What is Safety Stock?


Safety stock as the name suggest is the stock level till which the dead stock or stock out
situation will not arise (probable figure based on past data maintained in master).

As such this figure is not stock, it is cut-off figure maintained in master which is used for
Planning and once the stock level dips below this value, you can configure system to
generate PR, orders automatically. It has its relevance in MRP and CBP.

Safety Stock is the quantity of stock held to satisfy unexpectedly high requirements in the
stocking-up period.

The purpose of the safety stock is to prevent a material shortage from occurring. In order
to determine the safety stock level, you must first specify the risk of a material shortage
and also the desired service level.

Usually the safety stock will not be used in production.

The purpose of the safety stock is to prevent a material shortage from occurring.

In order to determine the safety stock level, you must first specify the risk of a material
shortage and also the desired service level.

The safety stock depends on the service level that you specified in the MRP 2 view of
the material master record and on the accuracy of the forecast. The more accurate the
forecast, the smaller your safety stock can be.

You can specify a minimum safety stock. If the result of the safety stock calculation is
lower than this limit, the safety stock is then automatically set to this minimum value.
You enter the minimum safety stock in the material master record ( MRP 2 screen ).

What is Stochastic Block?


Stochastic Block
You can block invoices at random to check them again. If the stochastic block is active
and you post an invoice that is not subject to any other blocking reason, it can be
randomly selected for blocking.

A stochastic block is not set at item level, but for the whole invoice. If a stochastic block
is set when you post the invoice, the system automatically sets an R in the field Payment
block in the document header data; there is no blocking indicator in the individual items.

In Customizing for Invoice Verification, you can define:

==If stochastic blocking is active==


The degree of probability of a block. You set a threshold value and a percentage for this.

- If the value of the invoice is larger than or the same as the threshold value, the degree of
probability that the invoice will be blocked is that of the percentage.

- If the value of the invoice is smaller than the threshold value, the degree of probability
that the invoice will be blocked is calculated proportionally to the percentage.

If, for example, the threshold value is $100 and the percentage 50%, every invoice over
$100 would have a 50% chance of being blocked; an invoice for $500 would have a 25%
change of being blocked. If you want the degree of probability to be the same for all
invoices, you set the threshold value to zero.

If you enter a threshold value of zero and a percentage of 99.9%, all invoices would then
be blocked.

Ida

GR/IR Clearance Account in SAP system


GI/IR clearing account is value based or quantity based?

Please find details for the GR/IR Clearance account in SAP system:

GR/IR Clearing Account Maintenance

Quantity differences between goods receipt and invoice receipt for a purchase order result
in a balance on the GR/IR clearing account.

- If the quantity invoiced is larger than the quantity received, the system then expects
further goods receipts for this purchase order to clear the balance.
- If the quantity received is larger than the quantity invoiced, the system then expects
further invoices for this purchase order to clear the balance.

You can also clear differences for delivery costs. If no more goods or invoices are to be
received, you must clear the balance manually. This can be done in different ways:

- You can return the extra goods to the vendor.

- You can cancel the invoice and post a corrected invoice or a credit memo for the surplus
posted quantity.

- You can clear the GR/IR clearing account manually.

Maintaining the GR/IR Clearing Account

The GR/IR clearing account is usually cleared at the end of a period or fiscal year for that
order items that no further goods receipts or invoices are expected for.

1. Choose Logistics -> Materials Management -> Logistics Invoice Verification ->
GR/IR Account Maintenance -> Maintain GR/IR Clearing Account.

The GR/IR Account Maintenance screen appears.

2. Enter data as required on this screen in the Document header data frame.

3. In the Selection frame, you choose various selection criteria for the transactions for
which you want to post the differences are available for the following selection fields.
You maintain them in the user master.

4. Choose the processing type:


- Automatic clearance
- The Automatic clearance function is intended for processing in the background.
Choose Program -> Execute in background.
- Prepare list
- Choose Execute.
- The selection screen appears.

5. On the selection screen, the individual purchase order items that have quantity
variances and match your selection are now listed. Select the order items that you want
to clear.

6. Clear the GR/IR clearing account for the selected purchase orders by choosing List ->
Post clearing.

Account Maintenance Document


Document that displays the quantities of the debit or credit of a material in GR/IR
clearing account maintenance.

If you clear quantity differences between the goods receipt and invoice receipt for a
purchase order using account maintenance, the system produces an account maintenance
document.

You can branch from the account maintenance document to the following accounting
documents, assuming that they exist:
- Accounting document
- Profit center document
- Special ledger document
- Material ledger document

Output and Printer Determination For PO and GR


How to configure the output determination and printer determination for both PO
and GR?

By: Dhaka

The steps are as follows:

Output of Purchase Order

1. Condition Table
SPRO --> Material Management--> Purchasing -> Message -> Output Control-
>Condition Tables->Define Condition Table for Purchase Order

Select:
Purchasing Doc. Type,
Purch. Organization,
Vendor

2. Access Sequences
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access
Sequences->Define Condition Table for Purchase Order

3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message
Types->Define Message Type for Purchase Order

**4. Message Determination Schemas**

4.1. Message Determination Schemas


SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message
Schema->Define Message Schema for Purchase Order-> Maintain Message
Determination Schema

4.2. Assign Schema to Purchase Order


SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message
Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase
Order

5. Partner Roles per Message Type


SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner
Roles per Message Type ->Define Partner Role for Purchase Order

6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing->
Master data->Messages-> Purchase Order-> MN04-> Create
Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving
output type.

Output of GR
After setting table, access sequence and output type for GR,run MB02 transaction, enter
material document number. Double click one line item and select messages. Separate
screen will be opened to configure outputs. Give the required fields and save the
document.

Now Run MB90, you can take printout. Output Type: WE03 or WE01 or WE02

SAP MM Reference Books:

Reversal Of Material Posting Using MBST


What is the use of MBST transaction code?

It is used to Cancel the Material Document.

What is the different between returning by MIGO 102 and MBST 102 cancellation?

There is no difference between cancelling the Material document in MIGO and MBST.

MIGO is an Enjoy transaction, it is a replacement for the transactions MB1A, MB1B,


MB1C, MBST, MB01 and MB0A etc.

As far as the 102 movement is concerned, there is no difference between MIGO and
MBST. But if you are using CIN, excise records are not updated if material document is
cancelled with MBST. It will be updated only if you cancel with MIGO.

What is the difference between MB01 and MBST for GR Cancellation?

MB01 is used for doing the GR for collective PO at a single instance.

This transaction will be utilize when an individual needs to create a material document. A
material document can only be displayed or changed after it has been generated in the
SAP system. In a computer based inventory management system, the principal of "no
posting without a document" applies. A material document is generated and stored in the
SAP system for every transaction that causes a change in stock.

As mentioned, when a goods movement is posted a material document is created. It serves


as proof of the movement If the movement updates a G/L account; an accounting
document is also created. The material and accounting document s are identified by
unique document numbers

Once you have posted a goods movement, you cannot change material numbers,
quantities or account numbers in the material document. You can however use the

Change command to enter additional or change text information such as comments or


references. To reverse the movement or change a quantity, a new transaction must be
performed.

MBST:-

Perform this transaction when a previously performed goods issue must be cancelled due
to an error in data entry or other circumstances deem the previous transaction
unnecessary.

Prerequisites:-

A previously played transaction that requires cancellation.

An existing Material Document in SAP.

This Transaction will be utilized when an individual needs to cancel a material document
due to a data entry error or other circumstances deem a previous transaction unnecessary.
A material document can only be cancelled after it has been generated in the SAP system.
A material document is generated and stored in the SAP system for every transaction that
causes a change in stock.

Performing this transaction will "undo" a previous transaction by reversing individual line
items in a material document or by reversing an entire material document. This
transaction will reinstate the affected cost center, purchase order or stock location to the
state they were in prior to playing the original transaction.

I've a intercompany STO for which we created a Delivery, PGI & GR. After this, we
realised that we have an issue and want to cancel the STO - I'm trying to do a GR
reversal (102 mvt ) but the error message is "Deficit of PU IR quantity XXXX.000
EA" - but the stock does exist and there is no issue with that stock. In the PO history
tab, I see the 'Tr./Ev. Goods Receipt' mat doc., 'Tr./Ev. Invoice Receipt' mat doc.,
'Tr./Ev. Goods Issue' mat doc. and 'Tr./Ev. Delivery Note' doc. in that order. All
these documents are dated 11 Mar 08.What I'm I doing wrong?

PU IR stands for invoice receipt quantity.

Cancel first the invoice, then do the 102.

After reversing the Invoice, also make sure to reverse/cancel the Outbound Delivery doc
in VL09. Also, cancel any Bills created by the Supplying CoCd in VF11.

Vous aimerez peut-être aussi