Screen variant for sales order screen

Hi,
I have a problem in using screen variant in sales order screen.
I want to make gray the columns of material , material quantity in sales order screen but when I use screen variant and check the output only for these columns , it does not work ( I provided these in delivery document and it work)
I want to know that is it possible to make gray for material and material quantity column with screen variant or I can use another way?
Thanks.
Lida

Hi Lida
If I am getting it correctly,
When an end user enters any particular  sales order ,u dont want user be able to add additional line item into the already created document,Right?
Now there are 2 possibilities here ,
1.If order or line item has status completed then u want to block?
2.Order is in incomplete state inspite that  u want to block.
System does not stop addition of line item in already created even completely processed sales order.
You can do this by enhancing code in PBO module.You need to take help of ABAP developer for this.
We have used order and lne item status in vbuk table for this .
Create a custom error message for validation.
U can use exit MV45AFZZ for the same.
Hope this helps
Regards
Mandar

Similar Messages

  • Screen variants for particular orders

    Hi,
    I have a querry.
    My client wants to make the material and quantity fields uneditable in CO01 and CO02 T-codes.  For this we have created a screen variant. But the practical problem is we are having Rewqoek Order types also. For this Rework Orders the material and quantity fields should be editable.
    So is it possible to tackle this problem by screen variants?
    Is it possible to call screen variant only for a set of order types?
    Regards
    Amit Parkhi

    Hi Parkhi,
    You can create a different screen variant for Rework Order type & then use to solve this issue.
    Please confirm.
    Regards
    R. Senthil Mareeswaran.

  • Define screen variantes by sales order type

    Dear Gurus,
    Im working with SHD0 trx,i have following stage:
    2 sales order types (Sales order A & Sales order B), both with diffrents fields to be shown. when i create a sales order A the system should call screen z "A".
    when i create a sales order B the system should call screen z "B".
    So the screen variant should be determinated by sales order type.
    Another possibility is to create z transactions, this transacctions calls to VA01. Then relate z transactions to screen variant.
    It's is possible to do?
    Can someone advise me?
    Best regards,
    Juan

    Dear Friend,
    Transaction Variants are assigned at Sales Document Levelin VOV8.
    This means you can have different Screen Variants for each Sales Order Type (A & B).
    Thus in your case, you can create two different Transaction (Screen) Variants for each Document Type.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • BADI for Sales order Screen

    Hi all,
    I want to trigger my program after pressing the save button in Sales order screen.Is there any User exist or BADI for that?
    Regards,
    Krishnamoorthy.

    I am not sure which version SAP has these released, but at least in 4.7 and above there is a BADI definition called BADI_SD_SALES with methods for the old SAVE_DOCUMENT_PREPARE and SAVE_DOCUMENT form routines in MV45AFZZ.  There are some other general methods as well.
    Chris H.

  • SCREEN EXIT for sales order

    I want to add an field in additional data B screen of VA03 .
    Pls help with some screen exit.

    Hi Shivram,
    you can add your field in Sales Order Screen Additional Tab B (Program:SAPMV45A and Screen No:8309)
    and Following user-exits could be used for validating the field and modify field content:
         MV45AOZZ     User-modules PBO (Process Before Output)
         MV45AIZZ       User-modules PAI (Process After Input)
         MV45ATZZ      Data Definitions
         MV45AFZZ      Subroutines
    Thanks and Regards,
    pavankumar

  • New Input fields for Sales Order Screen

    Hi all
    I have to modify the existing Sales Order Screen for transactions VA01, VA02 and VA03 using user exits. I have to add two input fields (of order quantity for tow different sales units CS and BT) in existing table control of Sales order and later I want to convert these UOMs to basic UOMs.
    As its a screen exit part, I had done some R&D for the same. I had never faced such requirement in past.According to my knowledge "User exits are only to put additional information in existing SAP programs and not to modify main screens." 
    BADI is new to me but I still tried to search BADI for the same but didn't able to find it.
    Basically I am not able to find Screen Exit for this.
    Can anybody help me in this regard?
    If you are suggesting BADI then please try to explain in detial.
    Thanks in advance
    Amol

    Hi Amol,
    VA01, VA02 are fine. Since VA03 is display, you cannot edit the fields you add.
    To add fields to this display you need to edit the following screens :
    Program : SAPMV45A
    Screen :  8309
    It is the Additional Data B tab provided by SAP to add custom fields .
    You may need an access key to edit this screen.
    Putting your fields there and running VA01/02 will solve half your problem.
    The second half is how to capture the data entered in those fields to the database.
    In order to capture the data from these custom fields you can use
    the user exit
    MV45AFZZ
    USEREXIT_SAVE_DOCUMENT_PREPARE
    USEREXIT_SAVE_DOCUMENT depening on what you want to do.
    Hope this helps.

  • Is the Screen Exit for SALES Order

    Hi,
    I want to add Two Fields in the SALES ORDER. Can any tell me exit for to add new fields in VA01.
    Thanks
    Regards
    Prashanth

    You cau use the screens used in the tabs (header and item): additional data B.
    In these tab screens exit are called, in these screen you can insert your fields.
    The screen are:
    SAPMV45A8309, Sales Document Header - User Exit Header
    SAPMV45A8459, Sales doc. Item - User exit item
    Use screen painter to change them. (transaction SE51)

  • Need to create screen exit for Sales Order Transaction

    Hi all,
    I need to show some additional data on 'ADDITIONAL DATA B' tab of the sales order transaction... I have created a project but not able to get the enhancements that are to be used...
    Will be really very heplful if you let me know, which one to use also why to use it...and how to determine which enhancement is to be used.... As i am new to User Exits...

    Hi ,
           Check out this exits.
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    Check some of badi .
    Please reward if useful.

  • Costins for Sales order & Production Order

    I require an urgent clarification on the following:
    We are in Producing to Sales Order scenario.  We are using separate costing variants for Sales Order and Production Order
    Sales order is costed first. 
    the valuation variant in the costing variant for Sales order treats material valuation in the following order:
    1. Plan price for the period
    2. Price indicator from the material master
    2. Future standard price
    Then the Production order is released.
    In the Production order, the valuation variant says the material valuation as :
    1. Preliminary cost estimate from sales order
    2. Price indicator from the material master.
    My doubt is since the production order costing variant says the first option for material valuation is 'preliminary cost estimate from sales order', which value of the raw materials will be picked in the Production Order cost analysis ?  Is it from the Sales order costimate as prer preliminary cost estimate or is it as per the price indicator from the material master ?

    I require an urgent clarification on the following:
    We are in Producing to Sales Order scenario.  We are using separate costing variants for Sales Order and Production Order
    Sales order is costed first. 
    the valuation variant in the costing variant for Sales order treats material valuation in the following order:
    1. Plan price for the period
    2. Price indicator from the material master
    2. Future standard price
    Then the Production order is released.
    In the Production order, the valuation variant says the material valuation as :
    1. Preliminary cost estimate from sales order
    2. Price indicator from the material master.
    My doubt is since the production order costing variant says the first option for material valuation is 'preliminary cost estimate from sales order', which value of the raw materials will be picked in the Production Order cost analysis ?  Is it from the Sales order costimate as prer preliminary cost estimate or is it as per the price indicator from the material master ?

  • Fast Entry Screen for Sales order

    dear gurus
    Is there any fast entry screens avaliable for creating sales order
    regards
    Sanil Tony

    Hi
    I have same requirement before but what i found that there is no such fast entry screen is available for Sales order creation.
    You have to get help of you ABAPer to create a BAPI which is small program. You have specify the text file in which all your required values for Sales order is maintained.
    i have successfully used this functionality
    Regards
    Happy Surana

  • Controlling in Sales Order screen

    Hi Gurus,
    I want to control the fields in the sales order screen. How do i do it??? For example, i want to make the delivery plant field in the header as mandatory. where do i do the controlling??
    Thanks & Regards
    Kaushik

    Dear Friend,
    Go to the transaction SHDO variant creation.
    there create a variant with respect to transaction Va01 and enter the feilds WERKS as mandatory in the variant specification.
    GO to SE93 transaction and assign this variant to the T-code Program.
    regards,
    Amlan Sarkar
    Edited by: EXPLORING MULTIDIMENSIONAL SAP on Aug 9, 2008 12:47 PM

  • Missing item category & material description in sales order screen

    Hi all,
    We have upgraded SAP from 4.6C to ECC 6.0 version. In the sales order screen (create, change & display mode) the item category & the material description cannot be seen at the item level in the ECC 6.0 version. The same appears in the 4.6C version. I have done the following checks:-
    1. There are no screen variants/ transaction variants/layout settings in both the versions
    2. The config settings for item category are intact in both the versions.
    3. In the item detail view i am able to see the item category.
    4. There is no change in the functionalty as i am able to save the order  & complete the Sales cycle upto billing in the ECC 6.0 version
    Any ideas as to what could be the problem & how to fix it.  Pl suggest as it needs to be fixed urgently.
    Regards,
    Ramesh Iyer

    Hi,
    Have you checked the table control setting,which is avialable in the sales order screen at extream right.In this check in administrator button if Those fields must are marked as invisible.
    Reward points if useful
    Regards,
    Amrish Purohit

  • Screen Layout of Sales Orders

    Hello All,
    Is it possible to define screen layout of sales orders VA01/VA02? The requirement is to disallow changes in the unit of measure field when creating or changing an SO.
    In IMG > MM > Purchasing > theres Define screen layout at document level. Is there a similar functionality in SD?
    Suggestions for possible work arounds are welcome also.
    Thanks!

    Hello All,
    Thanks for your input.
    SHD0: Should this creation of a transaction variant a BASIS Security task?
    VOV8: Do i place the variant in Transaction Flow > Variant Field?

  • Refreshing Sales Order Screens with new BP data

    My customer service department is entering sales orders and have to create new "ship to" addresses on a regular basis.  They open a new sales order, enter the BP Code for the bill to customer and then use teh golden arrow to enter BP Master data and enter a new ship to address.  After they save and close the new information, it is not available for them on the old sales order screen until they close and start a new sales order.
    Is there a way to refresh a screen that you are currently in in order to import the new information that has been entered into the BP Master Data?

    I appreciate the information, but the sarcasm is not necessary.
    It is not hard to add the data beforehand but these orders are for a sales agency we contract with.  One bill to customer and unlimited ship to addresses.  Some are repeat shipments, some are not.  So when the order is taken, they open the bill to customer account and if the ship to address is not there, they must then add it and cancel out the order and start over.  For one transaction it is not a significant amount of time but over the course of 1000 a day, it becomes significant.
    I was looking for a way to facilitate the process.

  • 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
    Mina

    Here 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

Maybe you are looking for

  • OSX Mountain Lion - Cannot change desktop image

    I used an image I'd downloaded as desktop wallpaper. I have tried to change it to the default image, other images, sold colours, but the same image always returns after I reboot (warm and cold boots). Note that I can change the desktop image, but it

  • JSP newbie.  Strange classnotfoundexception

    I have recently started writing JSPs. I am an experienced Java programmer, but have not ventured into JSPs until just now. While writing some test JSPs, I have run into a big problem that I cannot seem to resolve. While attempting to run my JSP from

  • Can Acrobat 7 and 9 be installed together?

    Fellow Forum Members, I just learned that Acrobat 9 does not allow viewing multiple PDF files in a single window. This really disappoints me a lot. In version 7 and 8 it was possible to do this, and now Adobe decides to mess it up in version 9. Can v

  • Limitation in SELECT-OPTIONS - how?

    Hi, I need to limit my select-options in a way - do not allow the user to enter any ranges, but to allow him/her to enter multiple single values. 'NO INTERVALS' addition doesn't help me here. Further, I need to restrict him/her to use only 'EQ' optio

  • PROBLEM IN BDC F-04 --NO PAGE DOWN

    HI Experts, Getting problem in bdc for f-04 , The data is split on basis of business area (gsber) , and for one business area there are more then 2000 document number, till the screen of doc.no the data is coming into fields but i have to put all the