Block in va01

When I create Sales order in VA01,I want
the different types of block available in the transaction code should be filled  by default for further prcessing.
Is it possible ?
If so How...
Can anybody suggest me ?
Thanks
Naresh

Hi naresh
we have different types of  blocks in sales order. delivery block , billing block
If you want to configure the system in such a way that system should    block at delivery or billing block automatically   then go to VOV8 and assign in those feilds
But it is not advisable to block for the standard sales doc type as it will affect the other sales orders also.
Regards
Srinath

Similar Messages

  • How to set delivery block in va01 by not use delivery block reason.

    Dear SAP Gurus.
    I have one scenario. I need to do delivery block on sales order while i create sales order via VA01.
    Normally, I use delivery block reason in header and set delivery block in schedule line.
    In addtion, i dont want to use above method and not use complete delivery (Tick on it)
    So, I would like to know it has other way to do delivery block.
    The cause is my manager do not allow to use  this field from company's policy.
    Please help me to solve this problem.
    Thank you in advance for your kindly help.
    Best Regards,
        Surakit

    Surakit,
    Well, do you want to say that user should not manually user delivery block at header or sch line to block the doc or any other method manually done before saving the sales order.
    In that case, for making default delivery block at header, in Sales doc type (TCode VOV8) in Shipping section, maintain a delivery block as 22-Statutory Compliance(even any other option available) or for Item based block on Sch line cat (TCode VOV6) maintain default delv block there.
    Or if I misunderstood your requirement then we can wait & see other solution coming for the same.
    Thanks & Regards
    JP

  • Authorization for billing block

    Hi All,
    My requirement is to restrict certain users from changing the
    billing block in VA01 and VA02 screen.
    I understand this can be done by doing some authorizations. I also
    seek the help of some Basis people in my company but in vain.
    Can anyone help me in resolving this.
    I have to restrict some users from changing the billing block in
    VA01 and VA02.
    Thanks in advance.
    Regards,
    Sridhar.
    Rewards assured.

    I don't have access to a system at the moment but I'm pretty sure you use V_VBAK_AAT (and also V_VBAK_VKO) with activites 05 and 43 to control block/unblock.  Test it & have a go

  • VBAK----delivery block, billing block

    hi gurus,
    can i find  a table related to VBAK, where frequent changes to delivery block and billing block in VA01 are stored, similar to CDPOS table which is used to store sperr, sperm, sperq values for XK01 and aufsd,faksd,lifsd values for XD01.
    thnx,
    shivaa.

    All changes in the sales document are stored in the CDHDR and CDPOS tables. Use function module CHANGEDOCUMENT_READ to get the changes.  Sample code below:
    DATA: ws_object TYPE cdhdr-objectid,
          I_CHANGE LIKE CDRED OCCURS 0.
    ws_object = '4000169124'.   "Sales order number!
    CALL FUNCTION 'CHANGEDOCUMENT_READ'
      EXPORTING
        objectclass                = 'VERKBELEG'
        objectid                   = ws_object
      TABLES
        editpos                    = i_change
      EXCEPTIONS
        no_position_found          = 1
        wrong_access_to_archive    = 2
        time_zone_conversion_error = 3
        OTHERS                     = 4.

  • VA01  error message

    Hi Experts,
                    I do have one issue.
    The issue is that for example I have a text "SUDHEER"  for Delivery and Billing block in VA01 Tcode..
    If the enduser enter the value "SUDHEER" in Delivery or Billing Block when he saves it the message should comes as u have entered wrong text .so that  the enduser undertsands that he should enter other text in Delivery and Billing Block.
    I have written the code for this, but with an Error message.For this purpose the screen is unable to proceed .so i need a code how to enter another text when wrong text is placed.
    If i give Information message if we save it,it will be saved so i need allow the enduser till he enters data in the Delivery and Billing Blocks correctly instead of "SUDHEER".
    The code is as follows.
    if
      ( t180-trtyp = 'H' )  and
      ( vbak-lifsk    =  'SUDHEER' or vbak-faksk = 'SUDHEER' ) .
       message e398(00) ' Wrong Entry'.
    Thanks in Advance,
    Sudheer.

    You can do that here...
    in the include.
    MV45AFZB
    i did that once, here you can raise the error message, place your code in the below form.
    *&      Form  USEREXIT_CHECK_VBAK
    *       This Userexit can be used to add additional logic for         *
    *       checking the header for completeness and consistency.         *
    *       US_DIALOG  -  Indicator, that can be used to suppress         *
    *                     dialogs in certain routines, e.g. in a          *
    *                     copy routine.                                   *
    *       This form is called from form VBAK_PRUEFEN.                   *
    FORM USEREXIT_CHECK_VBAK USING US_DIALOG.
    ENDFORM.

  • Sales employee field in VA01 blocked & which fields are must to see in COPA

    Hi,
    I am able to see all the transactions from SD  and FI direct postings coming into COPA.
    But the  management wants to see the profitability in Sales employee level also.
    I am able to give the sales employee wise details in FI but in SD vao1 while I create a sales order the sales employee field in account assignments is blocked.
    I gave the same information in the other tab Partner function, but still I am not able to see the transaction in COPA  at sales employee level.
    Also please let me know if I have make all the characteristics I am seeing in COPA S mandatory like(WBS element, sales order, sales employee, ) mandatory or is it sufficient that I keep only profit center as a mandatory field.
    I feel profit center should be kept as mandatory field in SD and FI posting while remaining are all optional.
    Please explin me how I should unblock the sales employee in Va01 and also let me know the logic why we have to keep the fields optional or mandatory.
    Please assist me.
    Thanks,
    Shilpa.

    Hi Shilpa
    Leave the fields as they are.. NO need to make any thing as optional or mandatory
    Include the sales employee as partner fucntion in your sales order... You also need to write derivation rules in KEDR for the same
    You will need to write 2 derivation rules for each partner function
    1. In one Der Rule, make the sale order item KDPOS as constant value 0000
    2. In the other one, dont make it a constant....Leave it as it is
    DERIVATION RULE 1
    SOURCE FIELDS
    VBPA-VBELN = COPA-KAUFN
    VBPA-POSNR = COPA-KDPOS
    VBPA-PARVW = GLOBAL-USERTEMP1 (Click on Magnifying lens.. Specify Constant = Your SD Part Function)
    TARGET FIELDS
    VBPA-KUNNR/PERNR = COPA-WW100 / KMVTNR
    DERIVATION RULE 2
    SOURCE FIELDS
    VBPA-VBELN = COPA-KAUFN
    VBPA-POSNR = COPA-KDPOS (Click on Magnifying lens.. Specify Constant = 0000)
    VBPA-PARVW = GLOBAL-USERTEMP1 (Click on Magnifying lens.. Specify Constant = Your SD Part Function)
    TARGET FIELDS
    VBPA-KUNNR/PERNR = COPA-WW100 / KMVTNR
    Regards
    Ajay M

  • USER EXIT/BADI for blocking pop up in VA01/VA02 for unloading point

    Hi,
    Please see details below with an example
    Following the below steps will execute the popup.
    1. VA01 (Sales Doc Create)
    Document type can be anything.This pop-up should be blocked for 'CRQ' and 'CR' types.
    2. Input “CRQ” or “CR” in the Order Type field and execute.
    3. Within the document:
    Input customer “194” as the Sold-to and Ship-to parties
    Input the PO Date field with today’s date
    Input material “475410m” and a Target Quantity of “1”
    Press Enter
    If the ship-to party has more than one unloading point  a pop up would show both values to choose one(these values come from KNVA-ABLAD).
    The code details are as follows:
    Program SAPMV45A--> Include  MV45AF0K_KUAGV_SELECT---->CALL FUNCTION 'VIEW_KUAGV'
    2)CALL FUNCTION 'VIEW_KUAGV' uses CALL FUNCTION 'SD_PARTNER_SINGLE_MODIFY' for ship-to(WE)
    3) IN FM 'SD_PARTNER_SINGLE_MODIFY'  the following sub-routine is called:
    *-- proceed inserting a partner -
    create a new xvbpa-segment
    PERFORM XVBPA_ENTRY_FILL USING LVF_VKORG LVF_VTWEG LVF_SPART
    LVF_VBELN
    fif_posnr
    LVF_KUNNR_NEW
    FIF_MANUAL_ADDRESS
    FIF_MANUAL_ADDRESS_ORIGIN
    FIF_PARVW FIF_PARGR
    LVF_PARTNER_USER
    FIF_KNREF_PARNR
    FIF_PRFRE
    FIF_BOKRE
    FIF_HISTUNR
    FIF_HZUOR
    FIF_NO_DIALOG
    LVT_XVBADR
    LVF_ACTION_TODO
    LVS_OLD_XVBPA-CNTPA
    CHANGING LVS_NEW_XVBPA
    LVT_XVBPA.
    4)This subroutine uses FM 'SD_PARTNER_ABLAD_SELECTION'  to determine unloading points for ship-to and also  brings up the pop-up using 'REUSE_ALV_POPUP_TO_SELECT'.
    partner is ship-to, so determinate unloading point
    CALL FUNCTION 'SD_PARTNER_ABLAD_SELECTION'
    EXPORTING
    FIF_KUNNR = LVS_XVBPA-KUNNR
    FIF_NO_DIALOG = LVF_NO_DIALOG
    IMPORTING
    FES_KNVA = LVS_KNVA
    EXCEPTIONS
    NO_UNLOADING_POINT = 1
    NO_SELECTION_DONE = 2
    OTHERS = 3.
    LVS_XVBPA-ABLAD = LVS_KNVA-ABLAD.
    Any help in this regard is highly appreciated.
    Sincere Regards,
    Sai.

    Have a look at below link which gives the details abt the user exits related to VA01/VA02.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Blocking User from accessing wrong customer code in VA01

    Hi SAP SD GURU,
    my finance user uses rebate recipent in sales order creation for rebate settlement.
    my operation user uses one-time customer code in sales order for sales.
    Both type of customer codes can be used in sales order creation under different order type.
    The problem arises when operation staff uses rebate recipent code to create sales order and then billing.
    My finance User want this to stop.
    How can I block the operation User from continuing the sales entry when they select the rebate recipent in a sales order entry?
    Is there any available setting in the customer master that allow me to do so?
    Is there any setting in the SPRO that can control this?

    Hi Colin,
    Well you need to control these through the user profile & roles
    you can do this in SU01 which a Basis person can help you out with .....
    now as said User X wants authorisation to va01  ( Rebate)
                      User Y wants Authorisation to va01 ( One time)
    since here we are not restricting any user for VA01 auth , the Basis person can define the role only till the transaction level not beyond that in standard SAP transaction and here you want to restrict user to not use different customer code
    as per my knowledge i dont think that is possible but still have a check with the Basis team
    Hope this helps
    Cheers

  • Payment Block Removal from VA01

    HI...Experts
    Payment Block Removal from VA01
    I have assigned Deliver block at Sales document level
    but...... the requirement is that while processing sales order the creation person should not remove the same before processing delivery(it should be disable mode) 
    is there any soluation???

    HI Kiran..
    I real time... not all the users will be having the authorization to remove the block in sales order... as sap is having standard functionalities (Like User Exits) in place to restrict the user profiles and their authorizations..
    Hope this helps
    Thanks,
    Safeer Rahman

  • USer Exit for Blocked Licenses in Va01

    Hi All ,
    While development of the Sales order . There  is a requirement  for the USEREXIT or BADI  used ,when order has been blocked
    due to invalid license in transaction VA01.
    thanks in advance,
    -saurabh

    Hi,
    Refer to form-routines available in user exit 'MV45AFZZ'.  Select the form-routine as per your requirement.
    Regards
    Vinod

  • How to block delete option in va01 , va02, va03

    hi,
    i like to know how to block delete option in va01 , va02, va03.  I need to block the delete option in the menu to delete the sales order by the user.
    Please reply ASAP.
    <removed_by_moderator>
    Please read the "Rules of Engagement"
    thanks in Advance,
    With best regards,
    sathies
    Edited by: Juan Reyes on Jul 29, 2008 1:05 PM

    Hi,
    Do a user trace in st01 for that transaction and find which auth object it is refering to and the auth value then maintain the values accordingly.
    Regards,
    Vamshi.

  • Quotation Block screen  in VA01

    Hi Gurus
    how to remove the screen in sales order creation with reference of Quotation i want to block the screen quotation in VA01 Transaction can u please suggest how to do
    Sachin V

    How you are differentiating - that which sales orders should be created with ref to Quotation & w/o ref to Quotation.
    In document type- reference mandatory set as "B", whenever order is created by using this doc type, then Quotation is mandatory for reference.
    if you want to use the same doc type in both cases with or without ref to Quotation. ref. Mandatory field should be blank. But system will not ask for Quotation while creating order with this doc type. you need to manually choose "Create with ref" push button, when needed.

  • User Exit for VA01 - Delivery Block

    Dear Friends
    I wanted to do a User Exit for VA01 which should set the Delivery Block = Credit Memo as default for a particular user.
    Can anyone give me the solution.
    REg
    S.K.Raj

    Hi Kamaraj,
    First of all u have to find out the perticular exit for make the changes, after that take one field TBTKZ which is flag for decit /credit memo. Based on the condition that flag set as 'X'. If that flag set as 'X' then populate the data.
    Here it ishow to find out the user exit.
    execute the following report and enter the t-code VA01 it will display all the exits. then search them by seeing coments..
    report zuserexit no standard page heading.          
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.          
             tables : tstct.          
    data : jtab like tadir occurs 0 with header line.          
    data : field1(30).          
    data : v_devclass like tadir-devclass.          
    parameters : p_tcode like tstc-tcode obligatory.          
    select single * from tstc where tcode eq p_tcode.          
    if sy-subrc eq 0.          
       select single * from tadir where pgmid = 'R3TR'          
                        and object = 'PROG'     
                        and obj_name = tstc-pgmna.     
       move : tadir-devclass to v_devclass.     
          if sy-subrc ne 0.     
             select single * from trdir where name = tstc-pgmna.     
             if trdir-subc eq 'F'.     
                select single * from tfdir where pname = tstc-pgmna.     
                select single * from enlfdir where funcname =     
                tfdir-funcname.     
                select single * from tadir where pgmid = 'R3TR'     
                                   and object = 'FUGR'     
                                   and obj_name eq enlfdir-area.     
                move : tadir-devclass to v_devclass.     
              endif.     
           endif.     
           select * from tadir into table jtab     
                         where pgmid = 'R3TR'     
                           and object = 'SMOD'     
                           and devclass = v_devclass.     
            select single * from tstct where sprsl eq sy-langu and     
                                             tcode eq p_tcode.     
            format color col_positive intensified off.     
            write:/(19) 'Transaction Code - ',     
                 20(20) p_tcode,     
                 45(50) tstct-ttext.     
                        skip.     
            if not jtab[] is initial.     
               write:/(95) sy-uline.     
               format color col_heading intensified on.     
               write:/1 sy-vline,     
                      2 'Exit Name',     
                     21 sy-vline ,     
                     22 'Description',     
                     95 sy-vline.     
               write:/(95) sy-uline.     
               loop at jtab.     
                  select single * from modsapt     
                         where sprsl = sy-langu and     
                                name = jtab-obj_name.     
                       format color col_normal intensified off.     
                       write:/1 sy-vline,     
                              2 jtab-obj_name hotspot on,     
                             21 sy-vline ,     
                             22 modsapt-modtext,     
                             95 sy-vline.     
               endloop.     
               write:/(95) sy-uline.     
               describe table jtab.     
               skip.     
               format color col_total intensified on.     
               write:/ 'No of Exits:' , sy-tfill.     
            else.     
               format color col_negative intensified on.     
               write:/(95) 'No User Exit exists'.     
            endif.     
          else.     
              format color col_negative intensified on.     
              write:/(95) 'Transaction Code Does Not Exist'.     
          endif.     
    at line-selection.     
       get cursor field field1.     
       check field1(4) eq 'JTAB'.     
       set parameter id 'MON' field sy-lisel+1(10).     
       call transaction 'SMOD' and skip first   screen.
    Hope this helps you..
    Regards,
    Kumar.

  • Billing Block in Customer Master does not default into Sales Order (VA01)

    I put a billing block into the customer master but it is not defaulting the billing block when I create a new sales order for that customer.  Do you have any tips please for what could be wrong?

    Hi,
    The billing block you set in customer master or by XD05 is not meant for to flow in sales order(flow to va01).
    That is meant for block customer for sales/delivery/billing
    If you want this block default in va01 then you can set it for document type by VOV8
    Kapil

  • How to block the material qty to 1 while creating sales order (VA01)?

    Hi All,
    Scenario :  We have 20 Materials each with 100 qty in Plant. In the sales order we should have all the 20 materials with qty one. The sales order should throw an error if the material qty is more than 1 and should not allow to create a sales order.
    so is there any transaction code where we can block the entire material qty to 1 from the same plant while creating sales order?
    Note: We should not set in MM01 "Minimum order qty". Assume we have 100 material in plant we can't set for each material one by one "minimum order qty".Instead of that is there any option to set the whole material qty to 1 as minimum while creating sales order?
    Kindly guide me how to proceed.
    Thanks,
    Renjith

    If you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
    Regards
    Sridhar

Maybe you are looking for