Limit selection of warehouse in a sales order

hi,is it possible to write a transaction notification that can prevent a user from selecting more than one warehouse in a single sales order?
In this case, the warehouse should be the same for all items selected but the user should have the option of selecting any warehouse.

Sharan G S
While I appreciate your keen interest in helping the OP, at the same time, before giving suggestion, please read the requirement carefully once again.  The requirement is about warehouse and your suggestion is about plant
G. Lakshmipathi

Similar Messages

  • "Procurement Wizard"  window opens for a particular warehouse while saving Sales Order

    Hello All,
    We have upgraded SAP B1 8.8 to SAP B1 9.0
    My client is facing one of problem while saving Sales order using particular warehouse.
    Actually client is having 4 warehouses (A,B,C,D) in which if they use one particular warehouse "A" for saving Sales order they are facing a issue. The scenario is here below:
    1. Client selects all required details of sales order with along with particular warehouse "A".
    2. On saving SO "Procurement Wizard" is automatically triggered even if procurement document field is unchecked in logistic tab of SO.
    3. This is happening only for a particular warehouse "A". Whereas if I select other 3 warehouses (B,C,D) the system saves SO without trigerring "Procurement Wizard".
    Client is using SAP B1 9.0 PL 08 
    We don't want this  "Procurement Wizard" window to open for this. As we haven't selected any check box for  "Procurement Wizard" so it should not open for a particular warehouse "A".
    Do you think any issue with my warehouse or system settings? Please let me know.
    Please refer screen shots.
    Thanks in advance.

    Hi Saurabh,
    As per your Screen Shot, I think you have Add-on.
    Please stop that Add-on and then check above Scenario.
    Thanks
    Regards::::
    Atul Chakraborty

  • Selecting multiple lines in a sales order

    Hello documentation says we should be able to select multiple lines in a sales order (for example to cancel them or remove them). Yet we cannot select more than one. Shift and Ctrl do not seem to work.
    Any idea why this does not work ? We are running B1 2007A, patch 37.
    Thanks a lot
    Fabrice

    Hi Fabrice,
    if you have a sales order with hundreds of rows, use the 'Draw Document Wizard -> Customise' option to draw the required rows into the target document. Once all row data has been copied to the target, the row is greyed out in the sales order & can no longer be drawn. As long as the BP accepts partial deliveries, you may copy as much partial data to multiple target documents as necessary. Once you are finished with the sales order & there are rows still open, you may go to Data -> Close & hence close the entire document. There will be no need to delete the remaining rows.
    All the best,
    Kerstin

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

  • Default Warehouse on a Sales Order

    Hi,
    Is it possible to default a warehouse depending on the BP selected on a Sales Order? I know you can default warehoue depending on the User.
    Thank you....Naomi

    Hi,
    There is no built-in function by system like user default. You may use FMS for the goal. A UDT is needed to define BP default warehouse.
    Try:
    SELECT T0.U_WHS FROM dbo.@BPWHS T0 WHERE T0.CardCode=$[$4.0.0\]
    In this example, @BPWHS is the UDT to define default warehouse for each BP by U_WHS field.
    Thanks,
    Gordon

  • Copy selection criteria from quotation to Sales order

    Hi Experts,
    I am creating a quotation. For the quotation line item, i am going to batch determination. Then i am clicking the SELECTION CRITERIA button. It gives me the batch characteristics screen. There i am entering the values to the characteristics. While coming back to sales order screen, i am copying only the SELECTION CRITERIA ( i am not copying the batches ).
    I am creating a sales order w.r.t the quotation. I want the selection criteria of the quotation line item to be copied into sales order line item. How to proceed for this?
    I checked the copy control in VTAA. But i am not able to find any configuration to copy a Quotation line item "SELECTION CRITERIA" to a sales order line item.
    Is this possible via a configuraton or thorugh any user exit?
    Thanks,
    Niranjan.

    Hi,
        Check the exit in programs MV45AFZZ (FORM USEREXIT_MOVE_FIELD_TO_VBKD) as u are using purchase order text.
    Regards

  • Is Lot Status available to select as a field in Sales Order Reservation form field?

    Material Status is available only

    hi
    Follow the below steps.
    T-Code SE51(Screen Painter)
    Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Select Attributes radio button.
    Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
    For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
    Hope this will help you

  • Notification or Alert when selecting Item with charge on Sales Order???

    Hello,
    Is it possible to make an notification / alert on a salesorder when entering a item with batch/charge???
    Now everytime the customer must enter CTRL-TAB on amount field to select a batch but don't get a reminder for the batch.
    They don't want to select the batch/charge on Delivery.
    THX
    Mark

    Below is code that will prevent deletion of a line from Sales Order.
    DECLARE @NoOfRows int
    DECLARE @MaxLineNum int
    DECLARE @UserId int
    IF (@transaction_type = 'A' or @transaction_type = 'U') AND @object_type = '17'
    BEGIN
    select @NoOfRows = COUNT(*) from RDR1 where DocEntry = @list_of_cols_val_tab_del
    select @MaxLineNum = MAX(LineNum) from RDR1 where DocEntry = @list_of_cols_val_tab_del
    select @UserId = UserSign2 from ORDR where DocEntry = @list_of_cols_val_tab_del
    IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
    BEGIN
    select @error = 1234
    select @error_message = 'One or more lines have been deleted from the Sales Order'
    END
    END
    You can say which users cannot modify Sales Orders like by modifying the @UserId IN (10,11) below. You need to get the User ID from the OUSR table.
    IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
    Hope this helps
    Krishnan

  • SELECT QUERY: LINKING  DELIVERY TO SALES-ORDER

    Hello All,
      I'm working on an output on delivery .Tr. Cd. vl03n.
    I'm required fetch ship-to-party and sold-to-party address from
    the sales order corresponding to which delivery is generated.
    In project system i cannot directly relate sale-order to delivery
    number. But there is a way to find link between sales-order and delivery number.
    The link is as follows.
    LIPS-PSPNR(PROJECT. DEFINATION)  MATCHES  FIRST FEW CHARACTERS OF VBAP-PS_PSP_PNR (WBSELEMENT).
    The query i have written is as follows:
      select single vbap~vbeln into s_vbeln from vbap where
             vbap~ps_psp_pnr = ( select distinct pspnr from lips where vbeln = wa_hd_gen-deliv_numb ).
    s_vbeln : to fetch sales order number.
    wa_hd_gen-deliv_numb : holds delivery number value.
    The above query is not working because the number of characters of the two fields are not matching.
    I cannot use 'LIKE' CLAUSE.
    Please help in creating SQL query.
    Thanks.
    Edited by: Ushma Jain on Aug 8, 2008 9:12 AM
    Edited by: Ushma Jain on Aug 8, 2008 12:08 PM

    Hi Ushma,
    In LIPS table there is a field VGBEL which contains sales document number of corresponding delivery document number.
    You can directly get sales document number from LIPS table i.e field VGBEL.
    Thanks,
    Naveen Kumar.

  • Automatically Select Bill to Party in Sales Order

    HI,
    I'm trying to find if there is a way to have the bill-to-party selected automatically in a sales order based on the shipping address.
    I have some customers with multiply Shipping addresses and the invoice is sent to different locations based on which facility is receiving the goods. Can someone please let me know how I can do this or point me in the the right direction of some documentation that could help me figure this out. I've been searching for hours and haven't really found anything useful.
    Thank You.

    Hi,
    Your requirement is to identify the bill to based on ship to. if so do the following.
    maintain the partner tab in ship to master record, here you assign the bill to party to whom you have to send the bill.
    Now in partner determination procedure maintain the bill to source as ship to. In partner determination procedure you have all the options from where system has to look for the other partner functions.
    In this processes system first checks with Sold to, finds out a ship to, now from ship to partner tab it automatically finds out the bill to in to the sales order.
    Hope you understood, if not let me know.
    Reward if it helps you.
    Venkat Cheedalla

  • Config to select Checking Rule "A" during Sales order availability check

    Hi All,
    Please can you tell me the config that tells system to select the checking rule "A" during sales order availability check. The problem at my client side is that the system was using the checking rule "A" initially but suddenly it has started using checking rule "B" (delivery) for sales order. The item category being used in YAN and Scheduline Line category is YC (ATP and Allocation allowed).
    The checking group is getting picked up correctly from the Material Master value.
    I have tried to find all the possible config that might be causing this issue, but I am unable to find one. Based on my understanding of the SAP SD process, there is no place where we can define in system to use the "checking rule" for SD availability check. This is the default (hard-coded) in the system.
    Please can you help me to find how the checking rule "B" might be getting called instead of "A".
    Regards,
    Swapnil

    Hi
    Checking rule is transaction based like A for SD sales order and B for SD delivery like that it is defined
    So in a sales order the system checks with the combination of AChecking rule and the Checking group defined in MMR and for that combination we give controls in OVZ9 and based on that system makes availability check
    Every one  and all SAP materials including myself say Checking Rule is transaction based and picked up by the system thro hard coded controls
    But In t code OPJL it is possible to define new checking rules that means customization is possible
    But where is the link or assignment
    For this nobody has given correct answers including the PP friends
    For you the system is shifting the Checking Rule from A to B in the sales order itself means we can find out get where the said assignment is done
    In OVZ9 remove the combination Checking rule B and your Checking group and save
    You said the system has shifted its  Checking rule to B from A
    Now test it after removing this control in OVZ9 and see the system is shifting once again to A or throwing error as the control is removed in OVZ9
    make sure that you do this in a sales order and post back
    Regards
    Raja

  • Select the work center in sales order

    Hello gurus,
    When I create a saler order, the system create automatically a service order with the corresponding data which are reported in transaction OISD for the service material. The key of this table only permits a work center for one material service and plant. And it is impossible to add more work centers for the same service material and plant.
    So I need to be able to choose the work center when I generate the sales order. How can I get it?
    Thanks in advance

    Dear Venkat,
    Try These tabels:
    MARC Plant Data for Material
    /BEV1/RBVBAP                     Sales Document: Item Data        
    COER                             Sales Order Value Revenue        
    VBAP                             Sales Document: Item Data        
    VSVBAP_CN                        Version: Sales document: Item data
    VVBAP                            Sales Document: Item Data        
    GLPPC                            Profit Center Accounting: Plan line items
    GLSPC                            Profit Center Accounting: Line Items    
    Regards,
    Naveen.

  • SAP std pgm to re-trigger selected output types associated with sales order

    Hi,
    Can anyone help me providing the standard SAP Program which will do repeat output action for different output types associated to the sales order.
    Output Type
    ZA00
    ZA01
    ZA10
    ZA11
    ZML0
    ZRN0
    ZSA0
    ZSA1.
    Thanks,
    Ramya Sanjana

    Hello Ramya Sanjana,
    it's MAXDB/liveCache forum.
    -> Do you have the MAXDB/liveCache issues?
    -> What is the version of your system? SCM?
    Regards, Natalia Khlopina

  • BOM selection in sales order

    hello, friends.
    when selecting the BOM in the sales order, the selection screen displays alternative BOMs for 1 usage type only, and will show the other usages one at a time only if the first type does not exist.  the sequence depends on the priorities (access sequence) set in IMG, and settings in item category. 
    my questions are:
    1.  does the 'next page' button in the selection screen refer to additional BOMs of the only same usage type?
    2.  is it possible to show other usage types in the same selection screen? if yes, where do we configure this
    many thanks for your inputs.

    hello, Rags.
    actually, BOM selection is working fine for us.  my question was more of a theoretical one.  to clarify the issue, let me cite an example:
    1.  for material A001, i create 5 alternative BOMs. 
    2.  of these 5 BOMs, 3 have usage type SD, and 2 have usage type Production.
    3.  when you enter your BOM header material in the sales order, a selection screen will appear.  because of the priorities set in IMG, it will show you only the 3 alternate BOMs of the SD usage type.
    3.  the system will display the 2 other production BOMs only if there are no SD usage BOMs or if these have been deactivated, or if you change the order of priority in IMG. 
    4.  you cannot change the usage type in the BOM selection screen because this field is not available for input.  there are "next page" buttons, and i'm wondering if this is or is not just for long lists of alternate BOMs with a single usage type.
    my question:  is it possible to show all 5 BOMs regardless of usage in the same list, or in different pages?
    many thanks.
    Edited by: jonathan y on Apr 3, 2009 7:55 PM

  • SALES ORDER: Total of a Field from the Grid in a User-Defined Field in ORDR

    Hello!
    I created a User-Defined Field called "U_Soma" in table ORDR (Marketing Documents / Title).
    I need this U_Soma field Totalize the content of another User-Difined Field called "U_TotalPorUM" created in table RDR1 (Marketing Documents / Rows). It must get the Sum the value of all rows in the current record being edited.
    Using the Query below, it works fine with already saved records:
    SELECT SUM(T1.[U_TotalPorUM]) FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.DocEntry = $[ORDR.DocEntry]
    However, I need that it work with non saved (yet) records.
    Thank you!
    VALERIO OLIVEIRA
    Edited by: ValerioOliveira on Apr 22, 2010 10:14 PM

    Gordon, thank you for your fast answers!
    In other circumstances I would agree with you.
    But the U_Soma field must be used to control the maximum weight of a charge.
    It becames very usefull if user can see that the charge limit is reached, still when the Sales Order is being edited.
    (The U_TotalPorUM field shows the weight of each item).
    I would appreciate any help!
    Thanks a lot!
    VALERIO OLIVEIRA
    Edited by: ValerioOliveira on Apr 23, 2010 7:28 PM

Maybe you are looking for

  • Where are Print Presets in Photoshop (CC 2014)?

    Where are print presets in Photoshop?  (I'm using CC 2014 but the question applies to earlier versions as well.) I don't see them anywhere. Illustrator has had them for an eternity -- where you can set paper size, printer type, color settings, magnif

  • Can't get album art on ipod classic since iTunes 9

    Hi there, I have an 80GB iPod and since iTunes 9 i've had artwork issues. On the first sync i did since iTunes 9 the artwork got mixed up on many songs (i.e. while playing one song it would show the album art for a different song on the ipod). So I r

  • Which version is good for me to buy? Logic 8 express or Logic studio?

    As I said in another post, I did till now all my work in Garageband. I compose mainly classical music for all kind of instruments, I don't do anything with electronic music, nor do I write pop kind of music. What I did in Garageband was setting up my

  • Trouble with adding dissolves

    I'm sure there's an obvious answer to this but I'm stumped. The "EFFECTS" tab has disappeared from the browser and I don't know how I lost it or how to get it back. Can't find anything in manuals about why the tab would go away. I was in the thick of

  • Firefox will not open any pdf files

    FF will not open any pdf files with built in viewer or adobe. I have set applications in all different ways with no luck. PDF works with IE. I have ff 33.1.1 and Win 7 and i have tried all suggestions concerning pdf. I even downloaded ff again, unins