Maximum Sales Order Header Value

Hello gurus !!!!
I have a problem to solve on a Sales Order document. I search the IMG, but i didn't found something to help me.
I have a lot of customers, and i have to configure the VA01 transaction, when we are typing a new Sales Order, with a lot of Materials, when the Header Sales Order Value exceeds the value of 3.000 EUROS, the transaction must stop me with an error message, and not let me input anymore Materials or increase the Quantity of the already written Materials.
Can you suggest me a solution please.???
Thank you very much.

Hi,
You may have to use the user exit MV45AFZZ (USEREXIT_CHECK_VBAK) . You will have to put in the code which says if VBAK-NETWR > 3000 Euros, give a pop up to save the document and not proceed any further.
You will have to take the ABAPer's help for this. You can check for user exits in SPRO >> Sales and Distribution >> System Modifications >> User Exit in Sales >> User exits in sales order processing.
As far as I understand SAP, you cannot make the system stop by standard config when you exceed 3000 Euros.
Hope this helps.
Regards,
Mukund S

Similar Messages

  • Sale Order Header Value not flowing

    user created sales order, in item level price displayed correctly, in hedder level it"s choosing 0   can any one give a solution why hedder level thats choose zero
    Edited by: Lakshmipathi on Apr 21, 2011 3:21 PM
    Please use the subject effectively

    Hi,
    A lot depends on your pricing procedure. I could think about the following potential reasons:
    1) You have price at item, but then later on you give 100% discount so as a result value of the item is 0.
    2) your condition type in the pricing procedure is marked as statistical. That is why it does not count for the value of the document.
    3) You might have some formulas which deactivate conditions.
    but there might be also other reasons.
    Have a look at your pricing procedure in V/08 transaction.
    Best regards
    W.Prawecki

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All,
    The requirement is,
    1. I need to add a field in Sales order.
    Path for the same is as follows:
    VA01> Goto> Header--> Accounting tab
    2. The field will be a date field that needs to calculate date on.
    a)create a new field. ex - zchdt (chq due date)
    b)when customers enters value in Assignment,
    i.e vbak-zuonr
    after that trigger logic is
    3.vabk-kunnr = knvv-kunnr
    a)sy-date + knvv-kvgr2 (exclude sundays)
    example - 14 sept + 30 days = 14th october
    should populate value - 14th october i.e. field (zchdt)
    4. This activity needs to be triggered before the sales order is saved.
    kindly know whether this is possible or not.
    if possible how & which exit & also with example code.
    if you could give me your contact(cell no).
    Regards,
    Nagendra D.S.
    Mobile - +91 9819899082

    Hi All,
    VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
    when customer enters value in Assignment i.e zuonr & after that trigger logic is
       1.     vbak-kunnr = knvv-kunnr
       2.     sysdat + knvv-kvgr2 (exclude sundays)
    example - 16 sept + 30days = 16 oct
    in field zchdt value 16 oct as to populate
    Pls help me in the code.
    Regards
    Nagendra

  • BOM not exploding in Sales order & Net Value error

    Hello Dear all,
    I have created a product "A" with BOM items 10, 20 & 30.
    Item cat. Gr for "A" is ERLA & for 10, 20 & 30 is LUMF.
    I have also created BOM with these 3 matls. (ie 10, 20 & 30).
    When processing Sales Order Item cat. appeared in SO for "A" is TAP & for other 3 is TAN. "A" shows the price maintained for it, but not showing Net Value at Header level data in SO.
    Also document is incomplete because of Net value for Items 10, 20 & 30.
    I don?t want price of 10, 20 & 30 should display in SO at Item level
    Can anyone suggest the required setting?
    Thanks
    Shan

    hi,
    For BOM mainly two material groups are used.
    LUMF and ERLA.
    If you used ERLA in the main material which consists of different materials then the pricing would be carried out only for the main item, while the other sub items pricing would not be displayed.
    while if you use LUMF then the main material would not be priced but only the sub items would be relevant for pricing the the total of all the sub items forms the basis of the sales order net value.
    regarding the net value error you can just check the pricing configuration for the steps and sub total.
    regards,
    Siddharth.
    Edited by: SD on Mar 11, 2008 7:51 AM

  • Partner at sales order header

    I have a requirement where a partner function is needed at sales order header level where sales order handler can assign any value. the partner function should allow any free value to be entered without any need to actually define a master record for the value to be entered in the partner function at sales order header level.
    Please guide how can a new partner function be defined with this facility.  Thanks !

    Hi
    Goto SPRO>SD>Basic functions>Partner determination>sales docuemnt header.
    Define a new partner function.
    Assign it to your partner determination procedure.
    Don't make it as mandatory.
    Assign that partner procedure to your sales order type.
    now test it.
    try and revert

  • Purchase order type in sales order header

    Dear Friends,
    how can I make purchase order type in sales order header be default.
    With regards

    Hi Vamsi,
    if you want to enter a default value in the purchase order type field in sales order header, then do it by either of the ways
    1. by variant tcode SHD0
    2. by USEREXIT_MOVE_FIELD_TO_VBKD in program MV45AFZZ
    regards,
    Santosh

  • Sales order net value and invoice net value differ

    Hi Gurus,
    i placed  sale order 03/08/2009 the net value of the order is 30000 USD, the same day i have done some price modification (manually i entered the header condition with value of 50 USD) after entering the header condition sales order net values is showing 50 USD. then delivered and invoiced. in the invoice net value is showing 30000 USD. my requirement is the invoice also has to show the 50 USD only. why it is not showing the sales order net value? is there any setting need to be done  regarding this problem?
    Thanks in advance

    i changed the pricing type as D
    From your comments, I presume in copy control, a different alpha value would have been maintained and with that settings, sale order, delivery and billing were generated.
    What I would suggest you is that you create a sale order once again for the same customer and 5 materials, make same changes in pricing, do PGI and billing.  See how it works.
    thanks
    G. Lakshmipathi

  • Sales order header data change by using the ORDERS05 IDOC

    Hello Team
    I am getting sales order number and some code value from the legacy system. i need to check whether the sales order is avialable in SAP or not. if it is there, i need to update the CODE value (ie for example ABC100) in sales order header data> order data> your reference field.  For doing this i am using the IDOC type ORDERS05 and message type ORDCHG message type.
    Now i want to know what are the mandatory fields which i need to do the mapping for the IDOC ORDERS05, to change the sales order header data. please check and suggest me the required fields of the IDOC to be mapped, so that i can change the sales order header data.
    Please correct me if i am doing something wrong here.
    Regards
    Rj

    Hello chirag
    Thanks for your reply. My requirement is to change the sales order which is already avialable in SAP. Just i need to change the header data of the sales order, for example if i am getting the sales order as 1000 and CODE as ABC100. i need to change the Sales document number 1000 and put the code ABC100 in sales order header data>orders data>your reference field.
    So now i want to know the below points
    1. what are the mandatory fields for which i need to pass the values for the IDOC ORDERS05.
    2. what is the user-exit used for picking up those values from SAP because i am getting only sales order number and CODE values from legacy system.
    Please check and suggest me accordingly.
    Regards
    Rj

  • Subsinvprocess in the sales order header --- billing tab and in the custom

    Hello All
    there is a field SubsInvProcess in sales order header - billing- tab and in the customer master - billing tab
    what was the functionality of this field. I never worked with it
    kindly help on this one. 
    Thanks,
    prasad

    Dear Vara prasad,
    The value of this field is if you want to print the invoices that are being posted manually you can activate this field.
    It will be directly proposed from customer master to sales document, where you can change.
    Please let me know if you want any further clarifications.
    Please go through this thread also for further reference.
    Clarification for usage of Subsequent Invoice Processing in Customer Master
    Thanks&Regards
    Raghu.k

  • Bdc for sales order header text

    we need to write a bdc program for va01. In that we need to
    upload header text also .
    So please kindly tell me how to upload flat file to va01 along with
    header text.And how we need to declare the flat file.
    if it is not possible through bdc then tell me how to do with bapi.
    thank you so much for all the replies

    Hi,
      Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
    CREATE_TEXT.
    Here giving sample code. This code is written for Material master text. You change this code according to your requirement
    REPORT ZMM_INSERT_LONGTEXT.
    *Internal table to hold long text...
    DATA:
      BEGIN OF T_UPLOAD OCCURS 0,
        MATNR LIKE MARA-MATNR,             " Material number
        ID(2) TYPE C,                      " Identification
        LTEXT LIKE TLINE-TDLINE,           " Long text
      END OF T_UPLOAD,*Internal table to hold long text....
      T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
       W_GRUN LIKE THEAD-TDID ,            " To hold id
       W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
                                           " To hold object id
       LV_VALUE(70).                       " Value to hold material number
    START-OF-SELECTION.* This perform is used to upload the file
      PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
      PERFORM PLACE_LONGTEXT.
    *&      Form  create_text
    *  This routine used to create text in MM02 transaction
    *  Passed the parameter w_grun to P_C_GRUN
    *                 and lv_value to P_LV_VALUE
    FORM CREATE_TEXT  USING    P_C_GRUN
                               P_LV_VALUE.  DATA:
        L_ID LIKE THEAD-TDID,
        L_NAME(70).  MOVE : P_C_GRUN TO L_ID,
             P_LV_VALUE TO L_NAME.  CALL FUNCTION 'CREATE_TEXT'
           EXPORTING
             FID               = L_ID
             FLANGUAGE         = SY-LANGU
             FNAME             = L_NAME
             FOBJECT           = W_OBJECT
    *      SAVE_DIRECT       = 'X'
    *      FFORMAT           = '*'
           TABLES
             FLINES            = T_LINE
          EXCEPTIONS
            NO_INIT           = 1
            NO_SAVE           = 2
            OTHERS            = 3
      IF SY-SUBRC <> 0.
        CLEAR LV_VALUE.
      ELSE.
        DELETE T_LINE INDEX 1.
      ENDIF.ENDFORM.                    " create_text*&---------------------------------------------------------------------*
    *&      Form  upload_file
    *  This routine is used to upload file
    *  No interface parameters are passed
    FORM UPLOAD_FILE .  CALL FUNCTION 'UPLOAD'
       EXPORTING
    *     CODEPAGE                      = ' '
    *     FILENAME                      = ' '
          FILETYPE                      = 'DAT'
    *     ITEM                          = ' '
    *     FILEMASK_MASK                 = ' '
    *     FILEMASK_TEXT                 = ' '
    *     FILETYPE_NO_CHANGE            = ' '
    *     FILEMASK_ALL                  = ' '
    *     FILETYPE_NO_SHOW              = ' '
    *     LINE_EXIT                     = ' '
    *     USER_FORM                     = ' '
    *     USER_PROG                     = ' '
    *     SILENT                        = 'S'
    *   IMPORTING
    *     FILESIZE                      =
    *     CANCEL                        =
    *     ACT_FILENAME                  =
    *     ACT_FILETYPE                  =
        TABLES
          DATA_TAB                      = T_UPLOAD
         EXCEPTIONS
           CONVERSION_ERROR              = 1
           INVALID_TABLE_WIDTH           = 2
           INVALID_TYPE                  = 3
           NO_BATCH                      = 4
           UNKNOWN_ERROR                 = 5
           GUI_REFUSE_FILETRANSFER       = 6
           OTHERS                        = 7
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.  SORT T_UPLOAD BY MATNR ID.
    ENDFORM.                    " upload_file
    *&      Form  place_longtext
    *  This routine places the text in MM02 transaction
    *  No interface parameters are passed
    FORM PLACE_LONGTEXT .  LOOP AT T_UPLOAD.    T_LINE-TDFORMAT = 'ST'.
        T_LINE-TDLINE = T_UPLOAD-LTEXT.
        APPEND T_LINE.    IF T_UPLOAD-ID EQ 'BT'.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'GRUN' TO W_GRUN.                   "Test ID for Basic data text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IT'.
          CLEAR W_GRUN.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'PRUE' TO W_GRUN.                      "Test ID for Inspection text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IC'.
          CLEAR W_GRUN.
          MOVE : T_UPLOAD-MATNR TO LV_VALUE,
                 'IVER' TO W_GRUN.                    
                                                      "Test ID for Internal comment
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.
      ENDLOOP.ENDFORM.                    " place_longtext

  • Error with sales order header text

    Hi All,
    I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I just moved them to Test system. I created a sales order by using the IDOC. I tried to go to order header texts and it is giving me the error saying 'Error in opening text file'.
    "The SD_WORD_PROCESSING function module is for creating the "Maintain Text" dialog box. You have called up the function module with the wrong values so it is not possible to edit text properly.
    Check the parameters for the SD_WORD_PROCESSING_PUT function module."
    Please help me to solve this issue.
    Thanks,
    Veni.

    Hi Naren,
    I was just checking my Transport organizer and found that there is one customizing request which is still in modifiable mode, not released yet. It is related to Access Sequence for text id's. I forgot to move this, is this the one causing the error.
    Thanks,
    Veni.
        5  View Cluster Maintenance: Data          
            5  VC_SHPH                                                                               
    5  TTXERN                                                                               
    400VBBK      BZ20021009     
                       400VBBK      BZ20022010     
                       400VBBK      BZ20023011     
        5  IMG Activity  Define Text Types         
            5  View Cluster Maintenance: Data      
                5  VC_ORDH                                                                               
    5  TTXERN                                                                               
    400VBBK      AZ10021009 
                           400VBBK      AZ10022010 
                           400VBBK      AZ10023011 
                    4  TTXZ                        
                    4  TTXZT

  • Sales Order Header texts

    Hi All,
    I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I moved them to Test system.
    In Test system I checked the header texts, only the following text id's are comming. They do not have any data and remaining textid's are not comming.
    DEV
    Form Header
    Header note 1
    Header note 2
    Shipping instructions EN
    SAC code C000
    SAC code I410
    SAC code E740
    Carrier requested by customer
    PST EN
    PED EN
    ZTR EN
    TEST
    PST
    PED
    ZTR
    I went to VOTXN and checked sales order header texts ->  Textprocedure -> Z1-Order Text Procedure, Text Id's in this procedure, I see 11 ID's there in Dev and in test system I see only PST, PED and ZTR. I created these three in text object VBBK sales docu header. It is working fine in Dev and when I move these to Test system only these 3 id's are showing up. I wrote the code for this in ZXVEDU06. How come the remaining Id's are not showing here and values are not comming for these 3 Text Id's.
    Can Someone please help me with this.
    Thanks,
    Veni.

    Hi Bhasker and Bill,
    Thankyou for your valuable information.
    Bhasker, I added all texts again and trasported. Now in test system I can see all of them.
    I commented out all the code in ZXVEDU06 and created a sales order, as you said it picked up all the texts automaticaaly. This is the first time I am doing this work, so by someone's suggestion in SDN I created the include and wrote the code in ZXVEDU06.
    It is working fine for this customer but if I try to create sales orders for other customers then I am getting the following error.
    I/O error for text VBBK 0023 EN
    I/O error for text &1 &2 &3 &4
    Message no. TD607
    Diagnosis
    You want to read a text from the database, delete it, or save it to the database.
    System Response
    An error occurred when the database was accessed.
    Procedure
    Try repeating the procedure. If the error recurs, contact your system administrator.
    Can someone please help me with this problem.
    Thanks,
    Veni.

  • BADI for sales order header level data

    Is there any BADI which will give me the sales order header level data? I need net price of the sales order in header level. KOMK structure does not contains the net price value.

    My requirement is:
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is (NET PRICE / NET SALES COST) / NET PRICE.
    I can't use VBAK  because I have not saved the sales order yet. I need to use some structure.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Edited by: dossgs on May 21, 2010 4:08 PM

  • Enchancements for sales order header

    HI,
    I have created a new field Backorder Reason in the additional data tab B (Screen number 8309) for the sales order header.The new field is of input/output field.The new field should be able to select the values and save the sales order.I have done upto here.
    Could any one please suggest how to disabled this field only for the Tcode 'VA03'.
    It should be enabled for Tcode 'VA01'.
    Thanks,
    Nagendra

    Hi...
    try to capture through which transaction  user is executing(VA01, VA02,  or VA03). write IF condition  like if transaction code is not  "VA03" then display.
    Regards
    KP.

  • Enchancements for sales order header - VA01

    Hi,
    Could any one suggest is it possisble to enhance the additional data tab B(Screen number 8309) of the sales order header like below mentioned.If its possisble please suggest the procedure.
    I need to create a new field in the screen number 8309 of VA01 with drop down box, a possisble list of 7 entries to be provided and if cursor is placed on a value of the list a box(item Box) should be open with the list of possisble values again like this there will be 3 items box and finally the user should be able to select the field and save it.
    For EX just like Go->header->Additional functions->Additional data B.
    Regards,
    Nagendra

    Hi Nagendra,
    First append the requisite custom field in the structure of VBAK (since the Additional Tab B is for Header data).
    Go to screen number 0312 in program SAPMV45A and develop the screen layout along with the Custom Field of VBAK structure, as it is done in normal module pool programming.
    Then in the PAI and PBO section of the screen define PAI and PBO modules or use the already defined modules.
    Then double click on the module and create the modules in Inlcudes MV45AOZZ (PBO) and MV45AIZZ (PAI). Write your requisite code in the created PAI and PBO modules.
    In case the screen field name does not match with the table field name (e.g., let us say that the custom field in table VBAK is "ZZCUSTOM" and the screen field is "CUSTOM1"), the field value from the structure/table (i.e., assign VBAK-ZZCUSTOM to the screen.) has to be assigned to the screen field (CUSTOM1) in the PBO module and in the PAI module the value from the screen field has to be assigned back to the structure/table field.
    In PAI : VBAK-ZZCUSTOM = CUSTOM1.
    IN PBO : CUSTOM1 = VBAK-ZZCUSTOM.
    But if the screen field name is VBAK-ZZCUSTOM then the above assignments need not to be done. It will be handled by the system itself.
    As for the list box, while defining the screen layout, define the field property as list box.
    But I dont think that the second list of possible entries is not possible by using listbox.
    Instead you can do define a normal F4 help for the 1st list of possible entries. Then when the user selects a entry you can call a modal screen (i.e., pop up screen) with the 2nd list of possible values. When a user selects a entry from this list you can put that value in the screen field.
    Hope this helps.
    Regards,
    Abhisek.

Maybe you are looking for