Va02/VA01

Hi all,
On saving an Sales order via VA01 or VA02 an status message should be displayed  as "Sales order 40400 Hold exists , please check".
right now i have wrintten  code in  an INCLUDE program  inisde user exit  *userexit_save_document_prepare in MV45AFZZ.
I check for status hold code on that sales order & for a  particular company code and display message as follows
**Message W332 with c1 c2 c3 DISPLAY AS 'S'.**
the message appears on click of "SAVE" button after changing header or item level (as expected) , but after message gets displayed i should hit enter , then it gets saved.
if i dont hit enter & open new session for the same sales order the changes will not be reflected & saved.
how can i display status  message after clicking on "SAVE" button ?
if i have message as
Message S332 with c1 c2 c3.
the message will not be displayed at all ....
Edited by: poo_m_s on Jul 7, 2010 5:43 PM
Edited by: poo_m_s on Jul 7, 2010 5:46 PM

Message I332 with c1 c2 c3 DISPLAY like 'E'... should create a pop-up requiring enter to continue...is that what you're trying to do.

Similar Messages

  • Error while saving the documents in Transactions MIRO,VA02, VA01, ects

    Hi SAP Gurus,
    i am geting an popup error while saving or after changing the documents in MIRO VA01, VA02 transactions..
    The error is  * " Condition Table Missing : Access JST1 60 ( Pricing Taxes ) " *
    can u please help me out.
    Regards
    Kumar m

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Delivering Plant  - VA02 / VA01

    Hi people, am having some problems with Delivering Plant field (RV45A-DWERK). In Tx VA02, i would like to know, if when you change the plant value in the SALES TAB it propagates to all items delivering plant values.
    When i am at VA01 and all the ways of proposed values are disabled
    (  - the customer/product info record
      - the customer master record of the ship-to party
      - the material master record.
    enter the delivering plant and the value is propagated to all the items, but after that go to VA02, change the delivering plant value but it does not propagate, also when displaying the document, the field is empty.
    Thanks.

    Hello,
    The fields entered in the header on the sales order are extended only to the new lines at the item level
    In case of a new sales order being created [t-code VA01], as there are no line items, the header fields [including the Delivery plant] are extended to all the new item lines which would be subsequently created.
    In case of an existing order, in case there are item lines present and then at the header level the plant is changed, the changed plant would be extended only to the new lines which would be subsequently created, the plant would not be changed for the existing lines. To change the plant is these, the same needs to be done manually.
    <b>Example:</b>
    Order#1001 is created with t-code va01 and in the header level the plant is changed from HU01 to HU02, as there are no lines present, HU02 would be extended to all the new lines in the order. Three lines are created with HU02 plant.
    save the order.
    Next the order#1001 is changed with t-cde VA02, in the header, Plant HU02 is changed to HU01. This plant[HU01] would not be extended on its own to the existing three lines but in case a fourth line is created, the Plant HU01 would be automically be extended. The first three lines needs to be changed manually to HU01
    Regards,
    Gauravjit.
    Reward points if the explaination is helpful

  • Create Billing Output from VA01

    Hi everyone!
    I wonder is it possible to create an invoice with billing output immediately?
    I usually use create sales order VA01, create billing due list VF04, create billing output VF31;
    I'd prefer to be able to key on an invocie and for it to create a billing document in my spool right away without having to wait on the overnight process or manually pushing it using VF04 & VF31.
    Any ideas?
    Many many thanks!!!
    Ciara

    Hi,
    For this change to appear we have to go for some seetings.They are mentioned below.
    1.Goto the T.Code "NACE".
    Select the application as "V3(Billing)".
    Click on "Output types".
    Select your output type.
    Click on "Details" or Press "CtrlShiftF2".
    Maintain the value as "4(Send Immediately(when saving the application))" for the field "Despatch time".
    Check the value for transmission meduim.Ithink it is "1(Print output)".
    Save.
    2.Goto the T.Code "VV31".
    Enter your output type.
    Press Enter.Select your valid condition table if multiple tables exists.
    Enter.
    Maintain the valid values.Select that maintained entry.
    Click on "Communication".
    Maintain the output device as "LOCL".
    And also check the box "Print Immediately".
    Save.
    If you create the invoice by using VF01,then the out put will be triggered automatically.
    Or Goto T.Code VA02/VA01.After entering al the values,Click on "Sales document" in th emenu bar and then click on "Billing".
    Even in this case also output will be triggered automatically.
    If you want,then you can reprocess this output by using the T.Code "VF01",by selecting the processing mode as "2".
    Regards,
    Krishna.

  • Change sold-to party VA02 - XD02 supply company code

    Hello everyone
    I am in the editing or creation mode of an order (VA01/VA02) and want to change the data of the sold-to party. Therefor i use the 'Display sold-to party'-Icon in the order (F6) to jump to the customer change dialog (XD02).
    I get the message "Customer XXXXXXXX has not been created for company code XXXX" and the message is correct, cause in the XD02 dialog the company-code field is initialized with the wrong company code.
    For example:
    The order is created for sales organization 0300 and company code 0300 and the sold-to party is also created for these. But if i jump to the 'customer change'-Transaction useing the button in the oder (F6) the sales-organization-inputfield is initialized with 0300 and and the 'company code'-field is initialized with 0100.
    While debugging i saw that the called transaction XD02 determines the company code useing GET PARAMETER ID 'BUK' FIELD rf02d-bukrs, but the parameter was never set by VA02/VA01.
    How can i teach the VA01/VA02 to supply the company code to the called transaction (XD02)?
    Kind regards
    Markus

    Hi,
    Pl clarify on the following points:-
    1> When you click F6 in sales order after entering sold to party, it will not take you to XD03 screen rather it should be VD03.  So how did you get the extension error message?
    2> Have you provided any sales org in the initial screen where we usually give order type and sales area?  From there sales org would've come in order header.  Based on the mapping of sales org to company code in SPRO, company code would ve been determined.  (Hope you have one to one mapping)
    3> If you have not provided any sales area in the initial screen, it would've prompted you to select the sales area from the available list of sales areas.
    Since you are not entering into the company code view of customer from sales order, it is not necessary to supply company code from order to XD02.
    Regards,
    P Gomatheeswaran

  • Kernel Patch upgrade results into error

    Recently, we upgraded our R/3 640 kernel from patch number 196 to 327. It went successful.
    But now, the Sales and order team is having problem in saving the orders(VA02, VA01).
    While saving Sales order, error pops up saying "dialog step number missing". 
    Kindly suggest.

    Hi ppl,
    The problem has been resolved.
    As i said, problem wasnt with the upgrade, but came thereafter, functional team faced issues while switching between the windows.
    Problem was with the Gui level, it needed to be upgraded too after the kernel patch upgrade.
    Thanks a lot for putting your thoughts.
    Thanks

  • Sales order for a configurable material

    Hi all,
    While creating a sales order for a configurable material i'm encountering an incompletion log saying enter gross weight & net weight. Even after i enter some value in the respective fields, i'm still thrown with the same incompletion & i'm unable to complete the order. In the material i find that the gross weight, netweight, volume are maintained as "zero". How do i resolve the problem??should the material master be changed??
    Thanks and regards,
    Deepak Prasanna S

    hi,
    If ur not having access to change teh master data in client system, Then u have to feed data manually in the sale order
    VA02/VA01->go to item details->in shipping view u can feed the details.
    1.But in ur earlier posting u told even after filling the details, the system pops up the message.Revert waht is error r u getting.
    2. But is advisable to  change in material master since each time while creating sale order u can't feed the input
    regards,
    Arun prasad

  • Create directly an IDOC for a sales orders

    HI,
    I would like to know if it exists a program to create an output IDOC for a sales order directly as does the program
    RBDSEMAT for materail / product.
    With RBDSEMAT we give the product's numeber the message type and the logical system.
    Of course before was customizing all the ALE flow.
    But for sales orders (VA02 / VA01) I don't find any program which allow us to have the same function.
    Does this program / function exist? I want juste to give the sales order number  the logical system and the message type.
    Thanks you
    Henri

    Funtion Module IDOC_OUTPUT_ORDRSP is used by standard SAP when output determination is used. I think you can populate the control record and use this function module directly. This will return the IDoc data, but the IDoc will not exist on the Database.

  • User exit for Delivery Module

    Hi ,
    I had a include program in Development for Delivery module, "MV50AFZ1" in program "SAPMV50A", which is supposed to be a user exit.  So I transported that to production on clients requirement, but then its creating some problems for client, so he wants his previous program to be back.  But I can't change this "MV50AFZ1" program in development nor in Production.  So how could I bring that previous code in production. 
    Plz help, and if possible tell me how can I change "MV50AFZ1" program code.
    Thanks.
    Shailesh.

    check the below link for user exits in SD
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Some more links r here....
    User Exits In Sales Document Processing
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Get the access key from basis for the program SAPMV45A. And change the screen.
    First create a subscreen with that two fields, call that subscreen in the screen 8309.
    call subscreen s2 including 'SAPMV45A' '9002'.
    How to add custoim fields on the additiondata b tab of va01 and va02
    VA01/VA02  screen exit
    Re: Is there any enhancement  available .....for va01??
    Add a field in va01 transaction
    Additional Screen field in VA41 or VA01
    Here are the user exits available for creating PO.
    AMPL0001 - User subscreen for additional data on AMPL
    LMEDR001 - Enhancements to print program
    LMELA002 - Adopt batch no. from shipping notification when posting a GR
    LMELA010 - Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 - User exit for source determination
    LMEXF001 - Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 - Customer-Specific Source Determination in Retail
    M06B0001 - Role determination for purchase requisition release
    M06B0002 - Changes to comm. structure for purchase requisition release
    M06B0003 - Number range and document number
    M06B0004 - Number range and document number
    M06B0005 - Changes to comm. structure for overall release of requisn.
    M06E0004 - Changes to communication structure for release purch. doc.
    M06E0005 - Role determination for release of purchasing documents
    ME590001 - Grouping of requsitions for PO split in ME59
    MEETA001 - Define schedule line type (backlog, immed. req., preview)
    MEFLD004 - Determine earliest delivery date f. check w. GR (only PO)
    MELAB001 - Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 - Enhancement to Document Overview ME21N/ME51N
    MEVME001 - WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 - User exits for EDI inbound and outbound purchasing documents
    MM06E003 - Number range and document number
    MM06E004 - Control import data screens in purchase order
    MM06E005 - Customer fields in purchasing document
    MM06E007 - Change document for requisitions upon conversion into PO
    MM06E008 - Monitoring of contr. target value in case of release orders
    MM06E009 - Relevant texts for "Texts exist" indicator
    MM06E010 - Field selection for vendor address
    MMAL0001 - ALE source list distribution: Outbound processing
    MMAL0002 - ALE source list distribution: Inbound processing
    MMAL0003 - ALE purcasing info record distribution: Outbound processing
    MMAL0004 - ALE purchasing info record distribution: Inbound processing
    MMDA0001 - Default delivery addresses
    MMFAB001 - User exit for generation of release order
    MRFLB001 - Control Items for Contract Release Order
    EXIT_SAPMM06E_001 Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_010 Export of Service RFQ Data
    EXIT_SAPMM06E_011 Import Service Prices for Quotation
    EXIT_SAPMM06E_012 Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 Fulfillment of Target Value: Release Orders Against a Contract
    EXIT_SAPMM06E_022 Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_023 Definition of Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_024 Customer Enhancement: Activate PReq Block
    user exit for sto
    Regards.

  • Urgent : I want to modiy the values that are transfered from R/3 to CRM

    I have created a custom field in both CRM and R3. When the tha value of the firld is changed in VA02/Va01 i want the change the value in between. i want to change the value before it is changed in CRM how can i do it...
    Thanks in advance.

    Hi Bharath
    You can use the BADI 'CRM_DATAEXCHG_BADI'. In this BADI, use the method 'CRM_DATAEXCH_R3D_MBDOC_FILL'. this is for data transfer from R/3 to CRM.
    Please reward points if helpful!!
    Warm regards
    Debolina

  • How to add custoim fields on the additiondata b tab of va01 and va02

    Hi All,
       i want to add the field on the Additional data B tab of the VA01 and VA02 at header level.
        Already one field is there now i want to add one more field.How to proceed.
       I think i have to go with screen exits.Can you help me in proceeding further and where should i write the code.
       It is urgetn.Please help me

    I have to move the updated fields to the vbak table
    The code is like this
    If      VBAK-ZZGrswgh   less than    ZTRKLMT-ZZweight OR
            VBAK-ZZCubTot    less than    ZTRKLMT-ZZCube   OR
            VBAK-ZZPaltot      less than    ZTRKLMT-ZZPallet   
                  CLEAR VBAK_ZZTRKLMT.
    Else
                  MOVE ‘X’ TO VBAK_ZZTRKLMT.
    End if
    should i write this code in the USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ ?
    This user exit should trigger when
    VBAK-AUART Equals 'ZWH' OR
        VBAK-AUART Equals 'ZFV'
    Reply soon

  • Is it possible to add 'Additional Data C' tab in VA01/VA02/VA03

    Hi All,
    Is there any way or in config that we can enhance the VA01/VA02/VA02 with one more tab other than 'Additional Data B' tab.
    i want to add 'Additional Data C' tab for a requirement.
    Please give your valuable comments.
    Thanks,
    Jaffer Ali.S

    Hi ,
    It can't done for the VA01/VA02/VA03.
    these are available for the .
    V45A0001  Determine alternative materials for product selection --->The Description of this enhancement tell us that it determines the alternative materials for product selection. (i.e., If  one material is not available what is the other material that has to be used as an alternative. So it is item specific).
    V45A0002  Predefine sold-to party in sales document--->By Description we understand that we can predefine sold-to party in the sales document. (i.e., it is used to populate the field sold-to party through user-exit while entering the data. ) But our requirement comes after entering the data in the screen and save button is pressed.
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal---->Copy packing proposal Into Out bound delivery. This description implies that  whenever we create a Delivery Order from Sales Order it copies the packing proposal  Based on the already created Sales order. So, there is no chance for us to save the data while we create or change a Sales order.    
    We can't done.
    Regards,
    Bharani

  • While saving the sales order through Va01 and Va02 and email has to send

    Hi Experts,
    My requirement is to send an email with PDF formatted display of the Sales order to the sold to party's email id while saving the Salesorder through Va01 and Va02.
    I need the following .
    How to send an email with PDF formatted attachment of Salesorder display ? (we have done the formatting of display through SMARTFORMS )
    I think we can do it by userexits program name is MV45AFZZ while saving the document.
    Please suggest me the best possible way.
    Thanks ,
    Saritha

    Hi, there is no need for a customer devlopment on this. A standard smartform output will do with output medium '5' (external send). Then the smartform output will be send as PDF to the e-mail address in the output partner. Have a look at transaction NACE.
    Regards Jack

  • How to insert a new line item in VA01/VA02 by using ABAP code?

    Hi Gurus
    i have a very tough requirement. the customer wants to insert a free goods after an item has been populated in VA01/VA02 automatically according to some certain rules. the input material may be a main material of a sales BOM.
    for example. let's suppose there is a material A who has two sub-material B and C which is maintained in a sales BOM via CS01/CS02. when the material A has been input in the line item in VA01/VA02, its quantity input and after the ENTER key has been clicked, another material D may be displayed in a new line as a gift if the condition met.  the condition relates to customer/material/quanity and these information are stored in a Z-table.
    on the other hand, if the material A is only a single material(not a BOM), the gift(material D) will also be filled automatically if the condition met.
    i have already enhance the FM cs_bom_explosion to filfill the requirment for BOM materials. whereas it is very hard to find the enhanment point for the single material.
    so my question is where is the correct place for me to insert the ABAP code, which decides whether the gift should be given or not and furthermore inserts the new line item into XVBAP. i tried to use MV45AFZZ, whereas the data is always inconsistant if a new line has been inserted. it is very strange that there is no temperary internal table storing line item data input in the table controal of VA01/VA02. system reads the line item data , line by line, via a system kernal function call.
    any hints are welcome. thanks

    HI Stephen,
    I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
    Can you help me with some details?
    Thx!
    Mihaela

  • How to restrict  tcode va01/va02/va03 for a particular role

    hi ,
    I have a requirement . I need to restric user fro VA01/VA02/VA03 if the user has role and Sales order customer group is related to a particular group .
    Do we have a Function module to get a role for a user  or can we write a code as authorization level or do we need to write it as user exits of va01/va02/va03 .
    Regards ,
    Prakash

    hi All ,
    My issue is I need to restrict the tcodes for a particular customer group is there in the sales order , that means it is order specific and I already know for which roles it is to be checked .
    Now can  we write any check in pfcg tcode so that we can check at particular group or need to handle at user exit level .
    Thanks in advance .
    prakash

Maybe you are looking for