Userexit to prevent negative stock in Sales order
Hi
Is there any userexit avilable to prevent negative stock in sales order.
When i an creating a sales order, the schedule lines are getting confirmed without posting any stock. In availablity check when click on ATP quantity it shows negative stock.
Despite having negative stock it is alllowing me to create sales order and create delivery but no PGI. It gets block at PGI. Now i want to know is there any Userexit through which i can prevent negative stock in sales order. Thats ig stock in negative , it should not allow to save the sales order.
Any help will be really useful.
Regards
Jalaj Nakra
Exit MV45AFZZ will be useful.
Similar Messages
-
Check Credit and Stock on Sale Order
Hi All
Could you please tell me how to check Credit and Stock on Sale Order.
Thank and Best Regard
ThangHow To Do Configuration For Credit Management
Credit and risk management takes place in the credit control area. According to your corporate requirements, you can implement credit management that is centralized, decentralized, or somewhere in between.
An organizational unit that represents the area where customer credit is awarded and monitored. This organizational unit can either be a single or several company codes, if credit control is performed across several company codes. One credit control area contains credit control information for each customer.
For example, if your credit management is centralized, you can define one credit control area for all of your company codes.
If, on the other hand, your credit policy requires decentralized credit management, you can define credit control areas for each company code or each group of company codes.
Credit limits and credit exposure are managed at both credit control area and customer level. You set up credit control areas and other data related to credit management in Customizing for Financial Accounting. The implementation guide is under Enterprise Structure -> Definition or Assignment -> Financial Accounting and then Maintain credit control area. You assign customers to specific credit control areas and specify the appropriate credit limits in the customer master record.
Settings for determining the credit control area of a document. The settings of items 1 - 4 are taken into account according to their priority. The credit control area found is stored in field VBAK-KKBER.
1. Transaction OB38
Check which credit control area is assigned to the company code.
Company code:
Credit control area:
2. Transaction OVFL
Check which credit control area is assigned to the sales area.
Sales area:
Credit control area:
3. Transaction XD02 or VD02
Check which credit control area is assigned to the payer.
Payer:
Credit control area:
4. Transaction SE37
Is user exit EXIT_SAPV45K_001 being used?
5. Transaction OBZK
For the settings under items 2 - 4, field "All company codes" must be marked in Transaction
OB45, or the credit control area must be entered under the relevant company code in table
T001CM of the credit control areas allowed.
Company code:
Credit control areas allowed:
6. Settings for the credit checks
7. Transaction OVAK
Which settings do exist for the sales document type used?
Sales document:
Check credit:
Credit group:
8. Transaction OVAD
Which settings do exist for the delivery type used?
Delivery type:
Credit group for delivery:
Credit group for goods issue:
9. Transaction OB01
Credit management/Change risk category
Definition of the risk category for each credit control area. This risk category can be
assigned to a credit account by using Transaction FD32.
10. Transaction OVA8
Here, the individual credit checks for key fields
o credit control area
o risk category
o credit group are set. Take these key fields from the above settings and go to the detail
screen. In particular, check whether fields "Reaction" and "Status/block" are set
correctly. To carry out follow-up actions in case of a credit block, the credit check
status must be set (field "Status/block").
11. Transaction FD32
Credit master data for the payer of the relevant document.
Credit account:
Credit limit:
Risk category:
Currency:
12. Settings for updating the credit values Update of the credit values is required for the limit
check (static or dynamic credit limit check).
13. Transaction OVA7
Update of the credit value is active for the corresponding item type if the check box is marked. This field corresponds to
field "Active receivable" in Transaction VOV7.
Item type:
Active receivable:
14. Transaction V/08, Pricing
In the pricing procedure used for pricing, subtotal "A" must be entered in a line for
determining the credit value (mark the pricing procedure and doubleclick on "Control").
Usually, the net value plus taxes is used. This way the system is determined to use this
subtotal for credit pricing. The credit price is stored in field VBAP-CMPRE and used for
update and credit check.
You can find the used pricing procedure of the order under "Item -> Condition -> Analysis".
Pricing procedure:
Line with subtotal = 'A':
15. Transaction OB45
Which update group (field "Update") do you use in the relevant credit control area? The
default setting is "12". If you use another update group, check whether this is fine with
you. If you open an OSS message, please tell us the alternative update group.
Credit control area:
Update:
16. Transaction OMO1
Which kind of update did you choose for structure S066?
In any case, "Synchronous update (1)" has to be chosen as the kind of update.
All other settings will lead to errors
Regards
Raja
Edited by: ramanathan raja on Jul 25, 2008 4:37 PM -
How to transfer the stock form Project stock to Sale order stock
Hi
How to transfer the stock form Project stock to Sale order stock
I tried to do this with movement type 413Q
System is giving me error
Valuated project stock not allowed with customer stock.
Message no. KI346
How to do this
Thanks
NKYou can use Mov Type 412-Q
412 Q Transfer posting project to own - reversal
Thanks
Rajesh -
Dear All,
What is difference b/w stock and sale order stock.and what is its impact if i use strategy 40.and what is the movement type to transfer stock to sale order stockWhat is B/W stock?
Strategy 40: Planning with Final assembly.
When you plan the sales order, MRP create receipts and when you do the GR, the stock will posted to to Unrestricted stock. PGI for the Sales order deliveruy is done from the Unrestricted stock. which can be used by any sales order.
The Movement type to transfer the Stock from Unrestricted to sales order stock is 411E.
if you use 20 or 50 startegy depedning on your requirement, the stock directly is posted to the Sales order stock, which cannot be consumed by any other sales order.
Regards
Ratan -
Stock transfer from Unrestricted Stock to Sales Order Stock
Hi,
We have one sceanrio where we are transferring Unrestricted Stock to Sales Order Stcok through TC: MB1B and movement type - 413.
In this the material consumption account of the material hit is assigned in GBB/VBR. Also I have made this GL as cost element.
But during this Stock transfer the system is asking for CO- Object. I dont wantt to have any CO-Object here.
How can we resolve this.
Or is there any other Transaction event key in OBYC that needs to be maintained.
Please help.
Regards
Kamihi
try with 413 E movement type -
Project Stock to Sales Order Stock
Hi,
I need to convert Project stock to sales order stock is any T code for direct conversion of Project stock to sales order stock,
and my client don't want convert project stock to unrestricted stock he want directly convert the project stock to sales order stock
Thanks in advanceHi,
Go to MB1B and use Movement Type 413 Q to transfer Project Stock to Sales Order Stock.
Else In MB1B - Transfer Project Stock to Own using Movement Type 411 Q and then transfer from Own to Sales Order using Movement Type 412 E.
Note: - E and Q are Special Stock Indicators. -
Issue related to confirmation of Stock in Sales Order.
Hi Gurus,
I have an issue related to confirmation of Stock in Rescheduling.
I have created a Sales Order for 10 Cases. I am using a Rescheduling Program for the confirmation of Stock
in Sales Order. I have a stock of 100 Cases but still when i am putting that Order in Rescheduling Program for
confirmation it is showing me Deficit of Stock.
Also I have checked the Stock in MMBE it is showing Stock of 100 in Unrestricted Use.
Also I have checked in MMBE the On Order Stock is 150.
Please could you give me relation of On Order Stock in this.
What role it plays in Availability Check.
Is it because of On Order Stock I am not able to confirm the Sales Order Quantity.
Awaiting for the resolution.
Thanks & Regards,
Sam.Hi Jameer,
Thanks for your reply,
I have replicated the same scenario in Quality it is working fine.
I forget to add up one more thing in my last issue. There is Product Allocation in Material Master.
When I go to Sales Order change screen and go to Schedule Line Level to Product Allocation screen
it is showing the Stock. While same scenario in Production user is not able to confirm the Stock Quantity
in Sales Order. I want to check the Alloted Stock against that Particular Customer in Product Allocation.
I need the table and T Code so that I could do the detail analysis with respect to Product Allocation Stock.
Please if you could help me out.
Thanks & Regards,
Sam Rock. -
Displaying stock and sales orders for aggregated product in Product View
Hello,
We have successfully created an SNP aggregated planning scenario which uses CTM to plan purchase requisitions and planned orders at the aggregated product level. The disaggregation to the sub-product level is working as well.
We have one issue.
We would like to be able to use the Product View (SAPAPO/RRP3) to view the sales order and stock information for both the aggregated products and the sub-products.
Currently, the sub-products (which are the materials in the stock and sales orders functions in ECC) show the disaggregated planned orders and purchase Reqs, and the sales order and stock information in the Product View.
The aggregated-products (which aren't included in the ECC sales order and stock functions), only show the aggregated planned orders and purchase Reqs.
Is there a Product View configuration which will show the aggregated stock and sales orders in the aggregated product view?
thanks in advance for any comments and/or assistance.
SarahHi Sarah,
The Product view configuration is available under customisation menu under the below path.
spro > sap guide > APO > supply planning > PPDS > settings for order view/product view
Under this, you can configure your customised product view structure.
Regards,
R. Senthil mareeswaran. -
Opening and closing stock with sales order and with out sales order
hello,
any body please help me my client want to check opening stock and and closing stock in areport.
material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
please guide me to get this report.
Thanks & Regads
BhaktaTransaction MB5B
For sales order related use specila stock as E and use radio button indicator in stock type
For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
See the o/p which will give the stock as required by you -
How to prevent modifying the same sales order in R/3 & CRM at the same time
Guys,
We are using CRM 5.0& R/3 4.6C. We have the middle set up. I have noticed that its possible to open the same sales order in R/3 and CRM in the change mode. I believe this could cause inconsistenices if the users modify the same order in different systems. Is there a standar way to prevent this from happening.
Is there something like a change lock like we have the distribution lock?
AnirudhHi,
As per OSS Note 705200 scenario X, Y and Z are supported with R/3 4.6C. Even if you use Scenario A, SAP wont support that. I would suggest sceario Z to be implemented. This would convert all the CRM order into R/3 order as soon as they are transferred to R/3. As a result the order can now only be modified in R/3 and all the changes would flow back into CRM maintaining the integrity between the systems.
Refer to OSS Note 541113 for details.
Regards,
Gaurav Gera -
Un restricted stock to sale order stock
Hi experts,
I have the qty of 10 nos in unrestricted stock. I need to move to sale order stock. kindly advice meHi,
Go to MB1B, here specify the movement type 412 and special stock as "E" and press enter
here enter the material, quantity and Sales Order no and line item and then post it.
Now check stock in MMBE -
Sales Order Stock, using Sales Orders
Morning!
We are receiving Sales Order Stock (stock segment E), thus creating special stock with a number that consists of the Sales Order Number + the Item number of the order. This is to support our Repairs process in CRM. (So we are NOT using NB Purchase orders)
Example:
Order: 3100501
Item: 0010
S.Order stock 10 pieces E-stock 31005010010
When trying to Post Goods Issue, we do this based on the same Order, but having added one item to the order, item 0020.
The system -understandably- does no let us find the stock, since it is looking for E-stock 31005010020, which we don't have....
Anyone?
Thanks,
NickHi;
When a Sales order is created a corresponding PO is created for building the stocks when we do a GR for this PO stocks are created for the Sales order.This is the sales order stock.
Now when a change is made to the SO we need to either create a corresponding PO for this new item of make a similar change to the existing PO.
To solve the issue...
Go to the PO add the line item and choose the new item and press the "Account Assignment" button and give the SO# and the line item #.
This should solve the issue.
Mani. -
Stock trsp of normal stock to sales order stock
Dear colleagues,
I have been working with stock transport of sales order stock before and it worked - I have no issues with it. But this time my client needs to transport normal stock in one plant to sales order stock in another plant. FYI, this is a cross-company STO, i.e. item category "standard" in the PO.
I thought it was the requirements class in the "Transfer of requirements" function that controled which stock my STO was going to consume, but I am unsure now. I checked the requirement class that SAP assigned to my STO delivery of sales order stock (the one that works - SO stock to SO stock) and it is 041, i.e. the very standard reqmt class that has nothing to do with sales order stock! So how does SAP determines it is the sales order stock that I want to transport?
The IMG notes for the setting "Determination Of Requirement Types Using Transaction" imply that there can be special rules implied for special stocks:
Example
There are business transactions, such as consignment stock processing, in which the material with its planning characteristics is not important, rather the transaction itself. An issue from the customer's consignment stock should not trigger an availability check against planning at the plant as layed down by the planning strategy but rather against special stock.
How does it work for special stock then?
TIA for any hints!
Raf
Edited by: Rafael Zaragatzky on Feb 23, 2011 8:31 AMThank you, Joshua.
Yes, it works with M - SO stock is moved from plant to plant. But we need to move normal stock in the source plant to SO stock in the destination plant. Therefore I wonder what is it that tells SAP to do GI from sales order stock. Is it just that the AA category defines the sp. stock indicator both for the issuing plant and the receiving plant? In such case, we are stuck.
But the comment in the IMG documentation that I cited first implies that there might be other thing that controls the special stock on the delivering plant side.
BR
Raf -
How to prevent 2 currencies in sales order
we have a problem i am using one condition type in two pricing procedure
one pricing procedure has price in INR and one has USD
i am facing a problem when a part number price is not updated in USD it is picking in the INR price , i need to prevent 2 currencies in one order
item wise it shold pick the sales org or customer currency .Hi
I think the problem lies with the access sequence that you have created in pricing.
eg.
if your access sequence is based on
10 S org/ D channel/ Div ---condition record found
20 S org/ D channel / Mat grp/ div --- Condition record found (But not executed)
If the system finds the condition record after executing the first access (10) then it is going to bring in those values. Hence if the first access is executed and you have INR value in that then it is going to bring in that value.
Hence you may try to reverse the sequence of access so that the first value found is for USD.
Go to the Analysis part in the Sales order Condition. You shall come to know which access sequence is executed first.
Rgds
Sunil -
Customer Reserved stock on sales order creation
Hello experts
We have a business requirement to be able to reserve an agreed quantity of a material in stock for a nominated customer, such that when that customer places an order for the material it will always be available. The material is also purchased by other customers on an as and when basis. The reserved element of stock is not available to other customers.
When the customer for whom it is reserved places an order the stock should be automatically confirmed for that sales order.
This will not be consignment stock.
Is there a way of doing this process in SAP without consignment processing?
In some systems this is called Hard Allocation. Allocation of the available stock to a entered sales order thus making this stock unavailable.
Any help would be greatly appreciated.
Cheers
Nick Griffiths
SAP Analyst / Data Migration Team LeaderHi George Chen
with sales order stock .. is ther a way of allocating the stock from unrestricted stock .. i understand that you have to have the stock in a "special" area to move it to the sales order?
excuse my ignorance but what is IS-AD solution?
thanks
Nick
Maybe you are looking for
-
Re: Forte and Dialup PPP connections
Subject: Forte and Dialup PPP connections Priority: normal Reply-to: "Dexel Durban" <[email protected]> We want to run Win 95 on our client forte machines. Currently we're using Forte v2.0E and MS TCP/IP. Everything works fine in the LAN enviroment,
-
I created custom application in Jdeveloper and uploaded all class folder and Pages and Region For Region i created One Function and this function used in workflow attribute and that attribute used in Message and this message used in Notification when
-
HT1725 i rented a movie and it is in downloads but status is "waiting" --?
i rented a movie but it is sitting in downloads, not downloading - status is "waiting" - what can i do?
-
Airport Express used to work fine with Extreme, now doesn't
There are so many threads dealing with this, and a lot of alphanumeric references, but they seem to be with newer hardware. Here's my situation: I'm using an older (4 years?) Airport Extreme Base Station, with an older Airport Express that shows up a
-
Hi All, My database is performing very slow. Is there any thing which can tell me what is the state of my database and what problems it has and what kind of changes I need to do to make it better with respect Memory, Physical etc. I had enough SGA_MA