Creation of sales order- screen exit

Hi all,
I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.

Hi
See SAP Note 209278 - Display of customer-specific fields in sales doc
Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
Regards
Eduardo

Similar Messages

  • PO Creation from Sales Order User Exit

    Hi,
    I have a business requirement where I need to  create a Stock Transport Order (STO) for a particular kind of sales order. I outlined different options for achieving this functionality.
    1. Trigger a workflow for creating STO.
    2. Configure it an EDI output for sales orders. Using the EDI document, create STO in the same system.
    3. Create STO using BAPI from the sales order exit 'USEREXIT_SAVE_DOCUMENT'.
    I am trying to understand the issues if I go with option of creating STO from sales order user-exit. I tested it and it is working fine. But what concerns is me transaction integrity. In other words I am trying to  execute another transaction within a transaction. Both Transactions (VA01 and ME21N/BAPI) may be trying to access same tables. Anyways I havent see any potential overlap.
    I would like to know anybody implemented such a solution?
    What could be the potential issues? Does it really affect transaction integrity?
    Thanks A Lot
    Anil

    I would also be concerned with the possibility of the order failing to update AFTER you call the BAPI.  You could create a custom output type that processes on order create for that order type.  You could add your BAPI call to the processing routine of the output type.

  • Need of User-Exit  in the creation of Sales Order(VA01)

    Hi,
    In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
    Thank you.

    the following program are the user exit for billing.
    we often use RV60AFZC and RV60AFZZ.
    RV60AFZA
    RV60AFZB
    RV60AFZC
    RV60AFZD
    RV60AFZZ
    RV60BFZA
    For Sales order
    Pricing, item addtion deletion
    MV45AFZZ
    First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
    Hope this helps somehow.
    In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
    regards
    vinod

  • Va01 creation of sales order

    Hi
    can i create sub screen  in creation of sales order item
    in user exit mv45afzz
    my requirement is when user click on any line item than than i need to call subscreen with some information
    pls guide me on this

    HI
    <b>
    Sales realated exits</b>
    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
    V46H0001 SD Customer functions for resource-related billing
    V45W0001 SD Service Management: Forward Contract Data to Item
    V45S0004 Effectivity type in sales order
    V45S0003 MRP-relevance for incomplete configuration
    V45S0001 Update sales document from configuration
    V45P0001 SD customer function for cross-company code sales
    V45L0001 SD component supplier processing (customer enhancements)
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45E0001 Update the purchase order from the sales order
    V45A0004 Copy packing proposal
    V45A0003 Collector for customer function modulpool MV45A
    V45A0002 Predefine sold-to party in sales document
    V45A0001 Determine alternative materials for product selection
    SDTRM001 Reschedule schedule lines without a new ATP check
    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    https://www.sdn.sap.com/irj/sdn/wiki
    Check this link
    Sail

  • Restrict creation of sales order for specific customer

    Hello All,
    I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
    Your early reply will be highly appreciated.
    Thanks & Regards,
    Mahavir

    HI
    As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
    Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
    Regards,
    Prasanna

  • 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

  • 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

  • Auto Creation of Delivery with PGI and Billing after creation of Sale Order

    Dear Experts,
    I am having one Req. like...After creation of sales order ..automatic Delivery and Billing should be done.
    Right now i m able to create automatic Delivery but PGI is not happening for that delivery.
    Is there any configuration I have to do ... or by any user exit we can get the solution.
    Can u please provide me solution for this.
    Regards,
    Sanket.

    Hello,
    yes, you can create the PGI Atomatically by BATCH JOB using the program nder the VL23 transaction code.
    Goto the Transaction code SM36 to create a job for the program  SAPMSSY0 which is the program for the AUTO PGI
    create a variant for the Delivery document types and sales organisation combinatioans and add this variant to the bath job created in SM36.
    Set the time of the Job to run after every 5 minutes, so once the job exected it will pcik all the Deliveries which are pending for the PGI.
    After the PGI done you can run SDBILLDL program to create the Billing for all the document which were cleared and due for Billing.
    Hope it is clear for yo, please revert if you need frther clarification .
    santosh

  • 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

  • Prevent Output type creation as Sales order save

    Hi,
    I have a requirement in which i have to chek certain conditions and on that basis i need to stop the creation of output type for Sales order. My code is written in Sales order user exit(Form SAVE_DOCUMENT). Please let me know how can i achieve this.
    The requirement routines are called before the user exit is called...so it does not seem to be possible to call routine afterwards.
    Is there a way in which we can calll the requirement routine again?? Or please suggest some other way
    Thanks
    Saurabh

    hello, friend.
    what are the conditions you are checking for?  and what would be your reasons for not creating an output type?
    not being an ABAPer, i cannot claim to be an expert.  but i think it is possible that instead of the user exit, you could program that the condition check be conducted from within the requirement itself.  the standard requirement "2" for output type BA00 checks for order confirmation, for example.  of course, the use of the requirement assumes the output type has been created, but will not be printed or be issued if the requirement conditions are not satisfied (the output indicator color will remain red).
    regards.

  • 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,
    Vivek

    Hi,
    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

  • Sale order screen changes

    Hi SD gurus.
    I have to make changes in Sale order Screens i.e. additional tabs & details there.
    Can you give me the t-code for this screen config or any documents to my mail i.d.
    [email protected]
    Same requirement is there for delivery & billing too.
    Regards
    Sreekanth

    hi,
    To make optional / mandatory you can use in IMG - S&D-> Basic > Functions-> Log of incomplete Procedures =>  select the fields > from the tables and the system will check for them (OVA2/VUA2)
    To make a filed entry enabled or grey (non-entry allowed):
    User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen  fields.
    To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
    If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains 'LOO' for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL.
    Actually suppressing fielding sales orders userwise is quite easy. We are doing it in our company. For this we use userexit FORM USEREXIT_FIELD_MODIFICATION in MV45AFZZ.
    Below is the sample code
    IF SCREEN-NAME = 'VBKD-ABSSC'.
    AUTHORITY-CHECK OBJECT 'ZMV45AFZZ' ID 'SCRFNAME' FIELD SCREEN-NAME.
      IF sy-subrc = 0.
        SCREEN-INPUT = 1.
      else.
        SCREEN-INPUT = 0.
      ENDIF.
    endif.
    You place the authority check object in authorization profile in the role of the users, who should have access to the field (in this case it is VBKD-ABSSC), and there assign the corresponding fields that are to be accessed via this userexit.
    pls reward points if the answer is helpful
    Regards,
    Murali

  • Discount Condition type in sales order screen

    Hi Experts,
    I have a requirement like ,While the creation of Sales order ,we need to add discount for each line item on the main sales order screen ,for that i need an extra field near  to order quantity field,and it must be updated at the pricing procedure too for the corresponding line item.Please show me some light on how  i can accomplish this.
    Thank you all in advance

    Hanumant,
    In the sales order screen and in at the top - right corner of item details screen there is "Configuration" tab click it, it is using standard settings we can create customised setting too. Similarly we have under the conditions tab you can ask your ABAPer to check through th screen and create new one.
    The price condiion type is picking from structure KOMV - KSCHL for condition type you can add fields just check with your Abaper.
    Regards
    Sathya

  • Inactive Material Display from Sales Order screen

    Hi Everyone,
    In Continuation to my previous thread,
    [Suppress Cost Feild in Sales Order;
    I want to inactive "Material Display (F8)" from Menu: Enviornment, in Sales Order Screen.
    The requirement is that user must not display material related details, mainly cost, from Sales Order screen, itself.
    Thanks,
    -Sumi.

    Hi,
    To prevent user from displaying MAterial information from Menu bar refer to the following link form SAP. It has the complete answer to your question although it is for a different module.
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
    The procedure would be same, except that in SHd0 transaction code you would be giving VA02 as T.Code instead.
    You can feel free to raise your queries if any after going through this link.
    Regards,
    Rohan Gudavalli

  • 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

Maybe you are looking for

  • Placing an .ai into InDesign:

    I want to import (command "file>place" an .ai file to indesign. I can do it, but the frame changes: it is not A4, as in illustrator was. Indesign import a frame containing exclusively the figures, drawing, etc. In other words, i cannot place the enti

  • Will Synching Damage My Palm

    Hello.  I bought a refurbished Palm from a seller on Ebay.  (He seemed reputable and had excellent feedback)  It was loaded with medical software which is why I chose it, because I'm a nursing student.  I tried to Hot Sync but it wasn't working so I

  • HT201205 Does voice recognition work with blueant s4 on my iPhone 4?

    I'm trying to call out on voice command with my blueant S4 and my iPhone is just randomly picking numbers and dialing how do I make it call who I want to call?

  • Can I drop data tablespace

    what is significance of DATA tablespace in oracle 11g ? Which is created default while installation time . Can I drop it . Plz reply immediately

  • My firefox blocks when I start a video. How can I fix that?

    When I go to youtube or any other website to visualize videos my firefox blocks, I don't know why is this happenig. Please help, I nedd to watch videos again.