In Stock number in Sales Order Screen includes non-nettable warehouses
The "In Stock" column displayed on the Sales Order row seems to show the total stock for that item across all warehouses.
Is there any way to restrict this to one or more specific warehouses (e.g. to exclude a 'Scrap' warehouse). I assumed that "In Stock" only counted stock in Nettable warehouses, but this does not seem to be the case.
Any help appreciated.
Chris Burr
Hi,
Regardless of the warehouse selected for the sales order in the
'In Stock' field the system will show the 'In Stock' quantity for
all warehouses.
In case your customer's business needs require a different method (for example they use a warehouse only for defected items) you may need to create a customized query in order to be able to see the 'In Stock' quantity per each warehouse.
For this customization please see the note 570827.
Kind Regards,
Jitin Chawla
SAP Business One Forum Team
Similar Messages
-
How to find Idoc Number on sales order screen .Also any table that holds both Idoc number and sales order number?
Appreciate your Help Thanks!Hi
go to header-> output in the sales order and u will find the idoc no there
Ranga -
Stock confiramtion at sales order level for future date- Availability Check
Hi all
Here is the scenario
This setting is available in the system:
Stock is available
Sales order created with Requested delivery date in future-> not confirmed
Sales order created with Requested del date today -> confirmed
The requirement :
how and where to change this setting in IMG so that also orders with Requested Delivery Date in future are confirmed if stock is available.
As this is urgent request to respond quickly.
Regards
DevenderHello Devender,
You can achieve the mentioned scenario by configuring ATP. You can do ATP with RLT or ATP without RLT.
In ATP with RLT, system will check and confirm the quantities from existing stock only and if quantities are insufficient then the system will consider inline POs or manufacturing time to confirm remaining quantitites.
Else you will be getting schedule lines for only items in stock and remaining will be unconfirmed as ATP without RLT will be activated i.e., system will check and confirm the quantities from existing stock only.
Types of Availability Check in Sales and Distribution
Processing
There are three types of availability check:
_ Check on the basis of the ATP quantities
_ Check against product allocation
_ Check against planning
The following SD-specific control features need to be maintained in Customizing:
_ Checking group
The checking group controls whether the system is to create individual or collective
requirements in sales and shipping processing. In addition, a material block for the
availability check with transfer of requirements can be set here. The checking group can
also be used to deactivate the availability check. This option was created especially for
the assembly order so that when the bill of material is exploded in the assembly order,
the individual components, if necessary, can be classified as non-critical parts as far as
procurement is concerned.
The checking group specifies in combination with the checking rule the scope of the
availability check. It is proposed in the material master record on the basis of the material
type and the plant, and copied into the sales and distribution documents.
_ Checking Rule
You use the checking rule to control the scope of the availability check for each
transaction in sales and distribution. You also specify whether the check should be
carried out including or excluding replenishment lead time. The individual checking rules
define by transaction, which stock and inward and outward movement of goods should
be taken into account for the availability check.
_ Schedule line category
You can control with the schedule line category whether an availability check and
transfer of requirements should be carried out in the sales documents. The possible
settings for this at schedule line level are dependent on the settings in the requirements
class which is determined from the requirements type of the material.
_ Delivery item category
The delivery item category can be used to control whether an availability check takes
place in deliveries.
Requirements type
The various requirements are identified by their requirements type. The requirements
type refers to the requirements class and its control features.
_ Requirements Class
The requirements class contains all control features for planning such as relevance for
planning, requirements planning strategy and requirements consumption strategy. In
addition, it is specified at a global level whether an availability check is to take place for
the material in the sales and distribution documents on the basis of the ATP quantity
(ATP = available to promise) and whether requirements are to be passed on. A finer
degree of control can be obtained for sales documents using the schedule line category.
Replenishment lead time is only included in the check performed on the basis of the
ATP quantity.
Prerequisites
An availability check can only be carried out if the following prerequisites have been fulfilled:
_ The control elements described above for the availability check must be maintained in
Customizing for Sales and the relevant assignments made to the sales transactions
_ The availability check must be switched on at requirements class level and - for the
availability check in the sales documents - at schedule line category level
A requirements type must exist by which the requirements class can be found
_ A plant must be defined. It can either be proposed from the customer or material master
record or can be entered manually in the document.
_ A checking group must be defined in the material master record on the Sales/plant data
screen in the Availability check field
Configuring entries of the Availability Check
IMGSDBasic fncsAvailability check and TORAvailability checkAvailability check with ATP logic or against planningDefine checking groups
You can use SAP std checking groups of 01 for summarized reqts or 02 for daily reqts or u can create ur own.
The columns total sales and total deliveries are selection options whereby u can configure a checking rule to sum up reqts to post to MRP either individually or by day or week.
Column 5, Block qty; set this block if u want several users to be able to process the material simultaneously in different transactions without blocking each other. The No Check indicator is used when u want a material to not be relevant for an ATP check.
Defining a material block for other users. The Block checkbox is an indicator that enables u to block the particular material from being checked for availability if it is already being checked at the same time by another user.
Defining the default value for checking groups. However should no entry exist for the checking group in the material master record, one can set a default value per material type and plant.
Controlling the availability check. In this section, u tell the system what stock on hand and what inward and outward movements of stock it must take into account when performing the availability check. These settings are based on the checking group that is assigned to the material master record and the checking rule that is predefined and assigned to the sd transaction. The carry out control for the availability check must be maintained for both the sales order and delivery.
Reward points if helpful.
Regards,
Priyanka -
Stock reservation for Sales Order
Dear Friends,
My requirement is to reserve the stock for a particular sales order.
Material is Make to Stock.
I tried with transaction code MB1B/MB1C/MB1A with movement type 412E/561E/232E for a particular sales order.
If I view stock overview with transaction code MMBE,I can see the stock is reserved for a particular sales order.
Now when I am creating delivery for this reserved stock with reference to another sales order,delivery is created.Logically it should not happen.Delivery should create only with reference to particular sales order for which stock is reserved.
Here I checked OVZ9 and ensured tick is for include sales reqmts.
Special stock is blank for sales order item category.Transaction code is VOV7.
If I make the sales order item category as E and if I am trying to create a delivery for sales order for which stock is not reserved system does not allow to create delivery.
Please suggest me how to meet my requirement.I want to reserve the stock (Make to stock) only for particular sales order.
Thanks in advance.
Regards,
ShrikantDear santosh/Kapil,
Thank you very much for your immediate reply.
Santosh stock is getting reserved but still I can despatch this reserved stock against a sales order for which this stock is not reserved.
Details are as below,
Material---- ABC,Batch is xyz,batch quantity is 2 TO
Sales orders are 111,112,113,114 and so on.
Now as per your advise I have done the reservation for SO 111 for material ABC for batch xyz.
When I checked MMBE it shows that material ABC of batch is reserved but I could not see SO number here but yes in reservation I could see the sales order number.
Now I tried to create the delivery for SO 113 for which the batch xyz is not reserved it is reserved for SO 111.But still I could create delivery for SO 113 for batch xyz.
I mean batch xyz is reserved for SO 111.
Am I missing anything here.
Dear Kapil,
I do not want to reserve the entire order quantity of sales order.I mean only on few ocasions I want to reserve the stock.
I mean today I want to reserve partial quantity of sales order.
Regards,
Shrikant -
How to restrict the Number of sales orders in theTCode:VL10A whil creation
I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
Please advise me how to do it and what changes I need to do itHi,
Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
***INCLUDE LV50R_VIEWG03 .
*& Form POSTAB_VEPVG_FILL_USER
FORM POSTAB_VEPVG_FILL_USER
USING IX_LIST_PROFIL TYPE SHP_VL10_LIST_PROFIL
IX_PARAMETERS TYPE SHP_VL10_PARAMETERS
IX_SELECT_OPTIONS TYPE SHP_VL10_SELECT_OPTIONS
IT_ENQUEUE TYPE SHP_VL10_PACKAGE_T
IX_SD_ORDER TYPE SHP_VL10_SD_ORDER
IS_VEPVG TYPE VEPVG
CHANGING CS_POSTAB TYPE SHP_VL10_ITEM
CF_SUBRC TYPE SYSUBRC.
CF_SUBRC = 0.
* cs_postab-zzfield = ...... "add new field to List
* if xxxxxxx = yyyyyyy.
* cf_subrc = 1. "Exclude this index from List
* endif.
ENDFORM. " POSTAB_VEPVG_FILL_USER
I hope this helps you
Regards
Eduardo -
How to add a button in Sales Order screen?
Hi,
Basically I want to add a new button "Show My lookup" in sales order screen and when clicking the button I want to show a form.
Please anyone tell me how to do this?.
thanks in advance
MinaHere is a sample ItemEvent that adds a custom button to Sales Order Entry, and loads a form from XML when it is clicked. Make sure you give the forms unique identifiers when you create them - the sample just uses a hardcoded value.
Hope it helps,
John
Private Sub sboApp_ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
On Error GoTo ErrorHandler
Dim sboForm As SAPbouiCOM.Form
Dim sboItem As SAPbouiCOM.Item
Dim sboBtn As SAPbouiCOM.Button
Dim objXMLDoc As MSXML2.DOMDocument
Dim objXMLErr As IXMLDOMParseError
Dim objXMLElem As MSXML2.IXMLDOMElement
Dim strIdentifier As String
If pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 139 Then
'Add Custom Button
Set sboForm = sboApp.Forms(FormUID)
Set sboItem = sboForm.Items.Add("AZU_BTN", it_BUTTON)
sboItem.Top = sboForm.Items("1").Top
sboItem.Width = "80"
sboItem.Left = sboForm.Width - 105
Set sboBtn = sboItem.Specific
sboBtn.Caption = "Custom Button"
End If
If pVal.EventType = et_ITEM_PRESSED And pVal.Before_Action = False And pVal.ItemUID = "AZU_BTN" And pVal.FormType = 139 Then
strIdentifier = "AZU_XXX" 'You should set this to a unique value each time
Set objXMLDoc = New MSXML2.DOMDocument
objXMLDoc.async = False
objXMLDoc.validateOnParse = True
objXMLDoc.Load (App.Path & "\Config\AZU_CUSTOM.srf")
Set objXMLErr = objXMLDoc.parseError
If (objXMLErr <> 0) Then
MsgBox "Failed to load XML screen definition."
Exit Sub
Else
For Each objXMLElem In objXMLDoc.getElementsByTagName("form")
objXMLElem.setAttribute "uid", strIdentifier
Next
sboApp.LoadBatchActions objXMLDoc.xml
End If
End If
Exit Sub
ErrorHandler:
MsgBox Err.Number & " " & Err.Description
End Sub -
Additional field in the sales order screen
I need some additional field in the sales order screen. There is
also no screen exit available for VA01. Can I use this
additional data B tab in header details by creating additional
field in it. Please tell me how to use this tab or how to get
different field in the sales order (header or item level).Hi,
Yes. You can use this screen. For this either can modify the table VBAP with additional fields and put them on this screen.
You have to code your logic to save these values in the include MV45AFZZ. The subscreens you have to use for this are 4462 or 8459.
refer Screen exits - Urgent.
with regards,
Vamsi -
Restrict the customers in the sales order screen
Hi All,
I have requirement,in the sales order screen based on the order types we have to restrict the customer in the customer LOV of sales order scree.
Could you please in the form personalization,how we will achieve it.
Regards
B.kishanHi,
checkout following metalink note:
How to Use Forms Personalization to Restrict Values in Customer Number LOV in Sales Order Form OEXOEORD [ID 862066.1]
Hope that helps. Kind regards,
David. -
New field in sales order screen at item level
Hi Friends,
I need to insert a new field at the item level in the sales order screen (additional data tab). Please let me know how to do the same.
Regards,
VivekHi,
you can add fields of self-defined tables on the "Additional Data B" tab
. Those fields should be added onto the respective screen and the flow
Logic should be adjusted. Additional item data is on screen SAPMV45A 0459. This screen contains
Include SAPMV45A 8459 as user exits.
This should involve not only appending a structure containing customer-
Specific fields within the table VBAP but also using the
userexit coding:
a)MV45AOZZ for PBO (i.e. module zzmodify_uas_pbo output);
b)MV45AIZZ for PAI (i.e. module zzmodify_uas_pai input);
c)MV45AFZZ (sub-routine USEREXIT_MOVE_FIELD_TO_VBAP) for defaulting the
values from the customer master and further processing.
Best regards,
Joerg -
Assign batch number from sale order to production order automatic
Dear all, I have a question for all. Please help me in this case
My scenario is make to order
I have a sale order, when i create sale order, i have assigned batch number at each line item.
When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
Thanks allHi,
To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
In fact , you are following wrong practice for generating batch no.
Follow procedure like this :
Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
While creation / releasing of Production order, you have option to generate batch automatically by following way :
Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
> Automatic Batch creation in the order maintain this field as
1 Automatic batch creation at order creation
or
2 Autom. batch creation at order release
This will generate batch number automatically at the time of creation or release of order.
Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
So you will get sales order stock in the form of batch managed.
Check & revert if any issue in above flow.
Regards,
Tejas -
UI: Opening Sales Order screen and loading with data
Hi,
I'm currently using the SDK to develop a new screenin SBO. From my new screen I need to display the sales order screen with an order loaded into it.
I currently open the screen using the ActivateMenuItem methid, then use the sendKeys method to try and change to find mode, pass in the sales order number and press enter to start the search.
The code is this:
moSBOApp.ActivateMenuItem("2050");
moSBOApp.SendKeys("(^f)");
moSBOApp.SendKeys("123");
moSBOApp.SendKeys("{ENTER}");
But the form doesn't seem to change modes, it just stays in "Add" mode. Is there a better way of doing it?
I've also tried putting code in the FORM_LOAD event for the sales order screen and try and change mode then, but I just get an "Invalid Form Mode" error
Help!Ho Jon!
The following snippet works fine for PO searching by number and date:
SAPbouiCOM.Form frmPurchOrd = null;
int frmPOCount = 0;
SAPbouiCOM.EditText oOrdNum;
SAPbouiCOM.EditText oOrdDate;
SAPbouiCOM.Item oOrdOkButton;
SBOApp.ActivateMenuItem("2305");
// PO even opened
for (int k=0; k<SBOApp.Forms.Count; k++)
if (SBOApp.Forms.Item(k).Type == 142)
frmPOCount++;
frmPurchOrd = SBOApp.Forms.GetFormByTypeAndCount(142, frmPOCount++);
frmPurchOrd.Freeze(true);
frmPurchOrd.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
oOrdNum = (SAPbouiCOM.EditText)frmPurchOrd.Items.Item("8").Specific;
oOrdNum.String = OrdNum;
oOrdDate = (SAPbouiCOM.EditText)frmPurchOrd.Items.Item("10").Specific;
oOrdDate.String = OrdDate.ToShortDateString();
oOrdOkButton = (SAPbouiCOM.Item)frmPurchOrd.Items.Item("1");
oOrdOkButton.Click(SAPbouiCOM.BoCellClickType.ct_Regular);
frmPurchOrd.Freeze(false);
it's too easy to implement it for Sales Order -
Maximum number of sales order per condition
Hi experts.
How can i increase the number of sales order in..vk11--+*Additional data tab-*-+-limits for pricingmax number of orders-(the option which enables for cummulative function)
the discount has to be restricted to say 100 number of sales order,but the system restricts it to 3 only.Is there any possibility to increase the same ,so that i can include the same in the field -ANZAUF.
Thanks in advance,
regards,
AnshumanHi,
In standard you can set maximum 3 orders as limit.
If you want to increase the limit to more than 3 orders then it is possible through User Exit.
Talk to your ABAPer for an user exit in program SAPMV13A if I am not wrong. Table to be used is KONP and field is ANZAUF.
Regards
Pradyumna -
STOCK RESERVATION AGAINST SALES ORDER IN MAKE TO STOCK SCEANRIO
Presently in our system stock is get blocked or reserved against Sales order in MAKE TO STOCK sceanrio.
Now we required to remove the stock resrvation against sales order,where we have to make the changes in SPRO?
Please specify.
regards,
NITINHi Nitin
Try with MB1B movement type 411 E
This will pull back from the sales order reserved stocks back to unrestricted
I dont understand your comments of how the MAKE to STOCK process is getting reserved for sales orders automatically
somebody has to make atleast a sales order to reserve ?is it so?
Or somebody is saving a sales order and saving delivery too without PGI?
In OVZ9 for your combination (checking rule A and checking group pf your material as maintained in MMR) you can remove the tick from the check box of include sales requirements
Regards
Raja -
ATP Check against customer stock for return Sale order
Hi Friends,
Pl.help in this.
1. Is it possible to configure ATP check against Customer stock in a Sale order/Return order/any other way? ( Actuallly, client wants to take back empty cylinders through return sale order by ATP check against the customer stock)
Regards,
ManiHi Mani ,
Are you taking cylinder as returable packing item or not?
ex- For soft drinks or beverages industry it pretty common , they use thel returnable package material type and more over why you want use return sales order for this?
Note- Just plz explain scenario to MM and PP People also as availability check with all combination
Hope it is helpful to you,
Regards
Venkat -
Reg.Stock keeping against sale order
Dear Gurus
how to purchase and keep stock against one sale order.pls explain,more over in our concern the material goes to consumption account with account assignment category E, but should not keep blank the AAC field in PO,I tried in my level best but no gain.Dear
If you wnat to block a stock for the particular sales order then you can convert the unrestricted stock to the sales order stock.
but you need to also customize for the requirement type that is determied so that it can take the sales order stock
i think the movement type 412 E can be used for moving from normal stock to sales order stock
thanks
Virandr
Maybe you are looking for
-
Hello oold computer no longer available. I have 1200+ songs on iPhone that need transferring to my iTunes library. Can anyone show me how to do this please? Thank you!
-
Syncing my iPhone 3gs to my new HP laptop
I recently got a new laptop which is an HP, and I didn't ever try to sync my iPhone 3GS to it because I thought the empty library on the computer would overide my library and erase my phone's data. I was able to jump the music from my old laptop onto
-
How often do you use these two features, and do you find them accurate? I have LR5, and I've found that sometimes they work better than others. The auto white balance setting seems to work fairly well most of the time. On the other hand, auto tone
-
My computer was completely destroyed, so I bought the new MacBook Air. But I used my old PC to sync everything with my iphone, info, calendar, notes, SMS, etc. How do I get everything out from the iPhone, so I can sync with iTunes without losing ever
-
Is Business Manager the best tool for our company?
I have a number of quesitons to answer to figure out if Busienss Manager is the best tool for our company. The ONLY reason we are pursuing changing from individual accounts is that Share Screen has been removed from some of our accounts with the late