Standard Messages in Sales Order

Hi All,
We have a scenario wherein we  create MULTI TRUCKS Sales Orders. This is multiple line items of same material (can be 100 lines). Our ABAP team is using a BAPI for the same. Now the issue is when the BAPI runs, it creates the Order, Saves it and open in Change Mode for the end user. Now we are missing all INFORMATION pop ups (eg. Contract exist, ATP check etc) but able to capture Error Pop ups. Is there any way we can capture the INFO POP UPS too ?

Hi Amsule,
As you said bapi will work perfectly for sales order creation. Here it is not possible to gtr  information messages that what we can see directly in sap GUI . Error messages it will catch easily because it wont allow to create sales order itself. I have an isuue with this before.This i tried a long back to capture credit limit .
Regards,
madhu
Edited by: madhurao123 on Feb 16, 2011 9:52 AM

Similar Messages

  • Customer error message in sales order on save

    Hi Friends,
    as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
    For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
    i have verified many posting in this SDN, but nothing is working out.
    Please guide me, how to raise the error message and system should enable that filed.
    My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis....  but not able to find the correct solution.
    Thanks in Advance.
    Bala

    Hi
    You need to use check for enahcement spot, which will be help to you.
    Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
    This is include name (Include:MV45AF0B_BELEG_SICHERN).
    In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16  OI0_COMMON_SAPMV45A.)  
    write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
      IF flag = 'X'.
              fcode = fcode_gleiche_seite.
              perform fcode_bearbeiten.
              ch_subrc = 4.
              exit.
            ENDIF.

  • Attach sapscript for email message in sales order

    Hello to all.
    I need some help..
    I'm trying to include a sapscript form in a message on sales order in VA01. I can already send email to outside SAP, but can't include de sapscript form into the mail.
    I make a copy of the standard message MAIL, and include de sapscript form that i want to attach.
    Anybody have an idea how to solve this issue?
    best regards,
    Susana Marques

    Hi
    I think u need to create a message type MAIL just as u done, but u should check if this kind of message is managed by your driven program.
    Check the call of FM OPEN_FORM, here the parameter DEVICE has to have the value MAIL, perhaps here it's always transfered PRINT.
    The second control is on master data of the partner of the message: he has to have the mail address.
    The last control is on the master data of the user: he has to have the mail address.
    Max

  • Standard scripts for Sales Order in SD module.

    Hi,
    can anyone please tel me some Standard scripts for Sales Order in SD module.
    thanx.

    RVINVOICETH
    SD_PACKING_LIST
    RVDELNOTE
    rest you can search by pressing F4 in se71 than in sales and ditribution part you can find all scripts.
    Amit.

  • Report on Warning Message in sales order

    I have configured in OVA8 such that it only gives a "Warning Message" and does not block the sales order.
    Because these sales order are not blocked they don't need to be released. I need a report on list of sales order where warning messages have appeared for credit limit exceed.
    As its only warning message and not erro, it needn't be released so VKM1, VKM2 & VKM4 doesn't solve the issue.

    Hi,
    It is not possible to get the report as you required in Std. System considers the sales order if the warning msg appears as same as a normal SO without any warnign msg. In status level (table VBUK) there won't be any change.
    If you need it deliberately, then you shall take help from ABAp to develop a Z-report that too you need to use  some sales order level user exit to capture the warning message(Message no. V1152) generated sales order no.s and then you can use the same info in  Z-report.
    Hope this helps..
    Reg,
    JJ
    Edited by: Jagsap on Apr 14, 2010 1:22 PM

  • Error message in Sales Order entry

    Hi All
    I get the following error while saving the sales order. "Material 40 already exists"
    It says that the material already exists and then it allows for further processing with out making any problems. Please let me know how I can get rid of this message.
    Regards

    Hi
    You could do the next:
    1) Transaction V/30 -> there you select the interlocutor functions for your message (you could obtain the technical name of your message clicking F1 in the popup of the message)
    2) Then delete the interlocutor functions related with your message.
    Edited by: nidalap on Jun 15, 2010 6:44 PM

  • How to Configure a Pop Up Message in Sales Orders

    Hi,
    How can I display a message when creating or changing sales orders? I need the configuration steps for 4.6.
    Thanks,
    Sai.

    Hi,
    First you need to make an entry of your pop up message in the sales text view of the material master and when the user enters that material, he will be able to see that message. The Config part is in spro/sd/basic func/text control. You need to define the text types, access sequences and the text determ procedures.
    You have to maintain the desired text in the material master sales text editor and turn on the indicator 'Display texts during transfer' under Text control in configuration for the sales order-item for the material sales text. This will display a Pop-up message when booking orders
    Reward points if found helpfull...
    Cheers,
    Siva.

  • How to raise an information message in Sales order change second screen(pbo

    Hi Experts,
      I need to change data in Sales order header if user entered wrong value while creation of order. If he has not given the correct value then i need to raise one information message on second screen of VA02. How can it possible when enter PRESS button or any action(means in the second screen pbo only).
    Cheers,
    Bujji

    Hi,
    Which field do you want to validate??
    Thanks,
    Naren

  • 'Reference Mandatory' & 'Quotation Message' in Sales Order Type

    Hi,
    We have got couple of 'Quote' in our System. In VOV8 tcode, when we create different Sales Orders, we want to set the 'Reference mandatory' to B (With reference to Quotation).
    My Question: Out of multiple quotes in the system, to which quote the system would require the user to enter as prerequisite?
    Our Requirement: For one set of order types, we want to make certain quotes type mandatory and for other set of order types, we want to make other quote type mandatory.
    How can that be done?
    For the same requirement, we want to set 'Quotation Message' in such a way, that only for certain order types, the system should check one set of quotes, whereas for other order types, the system should check another set of quotes.
    What would be the best way to achieve, both or one of the above requirement.
    Thanks

    Hello,
    To specify the document types as reference maintain copy controls.
    Here your requirement is to maintain sales document types as reference, so, go to t-code VTAA and there maintain your target doc type like OR/ZOR and source doc.type as QT/ZQT.
    According to your requirement the settings should be:
    1.Target Doc type-OR             
    Source Doc type-QT
    2.Target Doc type-ZOR
    Source Doc type-ZQT
    After you do this setting the system will now refer only those doc types that you have maintained here.
    Hope this helps else friends please correct me.
    Regards,
    Swami
    Edited by: Shivanand Swami on Dec 12, 2008 10:15 AM

  • Standard report for sales order

    HI all
    I would like to know whether there is any standard report for sending confiramtion mail to customers once the shipments are planned.
    Or atleast to track the status of sales order (to find out whether the shipment is planned) so that i can club the mail program with this.

    Hi,
    Check the following links:
    http://sap-img.com/abap/make-e-mail-sender-of-po-the-po-creators-name.htm
    http://sap-img.com/abap/sending-mail-when-the-purchase-order-is-released.htm
    Regards,
    Bhaskar

  • Throw Information message for sale order created with value less that 5$

    Hi all,
            I am basically an abaper, I have got a requirement in SD. The requirement is any sales order created with value less that 5$, should be prompted with an error message saying the minimum order value should be more than 5$. Could any one help me on this.
    Thanks in advance,
    shiv

    userexit_save_document_prepare,main program - sapmv45a, issue an error message if your document value is less than 5$ (VBAK-NETWR) but check if your order has any non-rejected item, I would not issue this message if all items are rejected:
    loop at xvbap where updkz ne 'D' and abgru = ' '.
      exit.
    endloop.
    if sy-subrc = 0.  "-you have at least one non-rejected, non-deleted item.
    NOTE: sapmv45a works NOT only for orders, so please check document types in your logic which are relevant to your messge only (VBAK-VBTYP and/or VBAK-AUART).

  • Credit Limit check message in sale order

    At the time of sale order creation, just before saving the sale order want to check the Customer credit limit.
    It should include the current order value also and populate an informational message
                        ' % credit limit has veen used'.
    Searched SDN and found the user exit 'LVKMPFZ1'  subroutine  'USER_CREDIT_CHECK1'. Tables KNKK stores the credit limit value but how to calculate the limit used inclusive current value.
    Kindly help.
    annie
    The main concern is the message comes as we enter sold to party and press enter. It should come when we enter the quantity in the order so that it can calculate the current order value also.

    hi
    pls check if you have maintained credit master for the customer at "FD32".
    if yes, also check if you have enabled dynamic credit check "d" both in order type as well as 'OVA8"
    also check if your pricing procedure "Total" row has "A" in the subtotal column.
    revert if it works.
    suresh

  • Set error message in sale order

    Hi,
    I want to put set the error message for given fields in sale order.So that order can not be save without filling the given fields.
    Fields are -
    Shipping type
    Personnel Number
    Material freight grp
    Net value
    Pricing
    Harsh

    Hi Harsha,
    My thoughts item 2,4 & 5-
    1.Shipping type
    2.Personnel Number - Since this is partner function coming from your customer master, am not sure if it can be covered with incompletion log - if not you would need a piece of abap code in save_document_userexit to check if the partner function was filled.
    3.Material freight grp
    4.Net value - If the sales order item category needs to be priced, then this field is already marked required for sales document completion. No change needed
    5.Pricing - If the sales order item category needs to be priced, then this field is already marked required for sales document completion.No change needed
    regards
    sadhu kishore

  • Warning message during sales order creation

    When I create sales order sytem gives me following message. Please guide me
    Reorder point for item 000010 has been exceeded: 1 STR
    Message no. V1108
    Diagnosis
    You have entered an unusually large quantity in item 000010.
    Materials management agreed on a reorder point for this material. Only after this quantity is exceeded, procurement for the material is initiated.
    Since the schedule line quantity exceeds the reorder point, it is
    possible that there is not enough stock at the time of delivery.
    Procedure
    Check whether you have entered the right quantity and whether the unit of measure is correct.
    Inform the materials management department about the large order quantity in item 000010, to ensure that the quantity entered for the item can be delivered.

    Hi Bhushan,
    Just go to MM02 and put your material and then go to sales org 1 tab.
    Over there just check out min. order qty.
    If you have maintain some value over there then request you to remove that if not required.
    Other wise make the order greater than that quantity.
    If still problem exist then let us know
    Regards
    Raj.

  • Standard cost per sales order

    Dear experts!
    I am facing with unresolved & unreasonable issue as follow:
    We have one material number - FG 800000001 and has standard cost released with
          - Standard price: 130 USD release on: 27.10.2011
          - Standard price: 101 USD release on: 02.11.2010
    And having two production orders of this FG:
         - Production order: 300TZ created on 27.10.2011, released on 28.10.2011
         - Production order: 301TZ also created on 27.10.2011, released on 28.10.2011
    But at the time of GR confirmation; the system got standard price differently for two orders with the same posting date 15.10.2011 and same entry date: 27.10.2011)
        - Production order: 300TZ generated GR posting for FG with standard cost: 130 USD
        - But for order: 301TZ generated GR posting for FG with standard cost: 101 USD --> why this can be happened ?
    And the production order 301TZ had been assigned for Sales order 9090000 (SO creation at 17.10.2011), in this sales order the condition type VPRS Internal price had been automatically updated with price: 101 USD, and the FI posting for GR also get 101USD --> This situation has been appeared many time up to now and we still not get the reasonable answers for users. Please raise any of your opinion, and get points with helpful contributions!
    Best regards;
    Trish   :->

    Hi
    You said Price released in 2010 is 101 and Price released in 2011 (Oct 27) is 130
    So it might have happened that you posted the GR for 301TZ before 300 TZ and also before releasing the Std Cost on Oct 27th.. Hence, it got posted with 101 i.e. Price released in 2010
    Now you released the cost on Oct 27th.. But note that any cost you release, is always released from the 1st of the month... i.e. in this case Oct 1st 2011
    Now you posted GR for 300TZ on 27th Oct with Posting date of 15 Oct.. But system would take 130 because thats the price released from 1st of the month
    This behaviour is exactly as designed and cant be changed...
    br, Ajay M

Maybe you are looking for