Академический Документы
Профессиональный Документы
Культура Документы
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.
I am not quite sure to what you are trying to say but the cross company Stock Transport
Orders can be done by:
Otherwise, You need to configure your Stock Transport Order settings for your Cross-
Company:
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).
3. Make its supplying plant as a vendor in vendor master record in receiving plant(1100).
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)
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.
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.
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:
Create Delivery VL02N - Post goods issue & Batch / qty. picking
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.
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.
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.
1) Create the STO using T-Code:ME21N and maintain pricing conditions of freight and
Save.
3. Picking, PGI:VL02N
4. Billing:VF01
Save the document and its done
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.
OMJJ - Definition of New Movement Types. Allows you to control the movement
type functions.
The followings are some of the movement type control :-
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.
4.6x
Transaction OMJJ
For the rest of the options, you can leave it alone or change it depending on your
requirement
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.
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 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
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.
• additional value add to Balance on hand value then divided by Balance on hand
quantity
• 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.
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.
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.
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.
tables: s031,
mkpf,
mseg.
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.
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.
form prn_grd.
uline.
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.
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.
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
Hi,
Does anybody know how to handle the production with components provided by
customer ? We're on 4.0B.
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 ?
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.
Good Luck,
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
Thanks in advance,
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.
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.
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.
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
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.
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!!
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).
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.
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.
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 ).
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.
- 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
Please find details for the GR/IR Clearance account in SAP system:
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 cancel the invoice and post a corrected invoice or a credit memo for the surplus
posted quantity.
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.
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.
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.
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
By: Dhaka
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
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
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.
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.
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.
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
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:-
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?
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.