Should display warning message.

Hi gurus,
i have a quiery....
Customer palced sales order (OR), order done. Now customer has taken loan againest of that sales order.when end user trying to change the price of the particular sales order, system should not allow him and must display the warning message.Can any body help me which logic i need to follow on this...
Thnks,
Rahkes.

Now customer has taken loan againest of that sales order
I am not clear on this concept.  In normal circumstances, only manufacturer will receive advance payment from customer.  Here, why the buyer has taken money from the supplier ??
Nevertheless, all FI related transactions will be stored in tables like BSEG, BSID, BSIS etc., where you can see a field "Reference" or "Header Text".  Here the FI people has to key in the related order reference and based on this field, you have to apply a logic  in sale order user exit such that if there is a change in price, system should trigger a warning message after checking the above tables.
thanks
G. Lakshmipathi

Similar Messages

  • Check space in the end to display warning message.

    I am currently working on validations on functional locations in the EDIT MASK. the code is already written for validations on to check for space in the beginning of the each level in the edit mask. however user requirement is that the program should produce warning messages for spaces regardless of where they appear in the Edit Mask. we have not validated to check for space at the end of each level.
    I have checked with condense ,shift string right deleting trailing spaces however I am not able to check for space at the end of levels.
    when i debugged the program the level8 length shows as 2 even though there is only one char in the level8. i
    could you please suggest any possible solution or any keywords that would help. you can go through the below code which is already written for checking space in the begining.
    here l_level1
    Level 8 errors
        l_length = STRLEN( l_level8 ).
    IF ( l_level8 = space AND l_dash_count > 6 ) OR
             l_dash_count > 7 OR
             l_length > 4.
          lt_mask_err-error = '8E'.
          APPEND lt_mask_err.
          l_errlvl8 = c_y.
        ENDIF.
    Level 8 Warning
        IF rb_bdc <> c_on AND p_warn = c_on AND
        ( l_level8 <> space AND l_level8+0(1) = space ).
          lt_mask_err-error = '8W'.
          APPEND lt_mask_err.
        ENDIF.
    i have added this code to display warning message using shift.
        l_lev8 = l_level8.                                                
        shift l_lev8 right.                                             
        l_length = STRLEN( l_lev8 ).                                    
        IF rb_bdc <> c_on AND p_warn = c_on AND                       
        ( l_lev8 <> space AND l_lev8+0(1) = space ).                    
          lt_mask_err-error = '1W'.                                     
          APPEND lt_mask_err.                                          
        ENDIF.

    You can use REGEX for string parsing, it is really handy. If you would like to test it out check out program "demo_regex_toy".
    Trailing space:
    FIND REGEX '[ ]+$' IN lv_text.
    leading space
    FIND REGEX '^[ ]+' IN lv_text.
    Any space
    FIND ALL OCCURRENCES OF REGEX '[ ]+' IN lv_text.

  • How can i display warning messages in user exit EXIT_SAPLMGMU_001 (MM02)

    Hi all,
    while modifying the material master using MM02, i have added new conditions to display messages in user exit EXIT_SPALMGMU_001.
    But using this user exit i am not able to display warning messages.
    Can you please help me with this?
    Sample code which i have included in exit :
    SELECT SINGLE mstav FROM mara
    INTO w_mstav
    WHERE matnr = wmara-matnr.
    IF wmara-mstav NE w_mstav.
    IF wmara-mstdv NE sy-datum.
    wmara-mstdv = sy-datum.
    MESSAGE w177(z03_mm) WITH text-s04 text-s21.
    ENDIF.
    ENDIF.
    Thank you all in advance.

    As written in the SAP documentation of the Enhancement , you can only raise error message using a
    MESSAGE .. RAISING APPLICATION_ERROR.
    You could manage the "warning" yourself, sending an error first time and keeping a trace of the check in some STATICS variable, and not raising the error again if data input remains unchanged between two call of the include.
    <i>----
    EXIT_SAPLMGMU_001
    Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?
    The customer exit is in function module MATERIAL_UPDATE_ALL. The
    function module checks the data for errors (logical relationships,
    foreign keys, fixed domain values, and so on) when the material master
    is updated.
    Use
    o New fields
    You can make checks possible for new fields of your own. These
    checks must be identical to the checks that you carry out for your
    new fields in online maintenance.
    o Existing fields
    For existing fields, you can extend and intensify the checks.
    You can also change data for descriptions and general material data
    (MARA). For example, the descriptions can be generated from attributes
    of the material.
    Limitations
    You cannot bypass existing checks.
    Interface to Application
    The respective data of the current logical transaction is contained in
    the structures, for example, in structure WMARA for MARA. Nonrelevant
    structures are transferred with their initial values.
    General material data that can be changed (CMARA) has the structure
    MARU. This MARA view contains fewer internal fields than MARA itself. If
    WMARA is filled, CMARA is also filled when accessed.
    The customer exit contains the exception APPLICATION_ERROR for your
    self-defined error situations.
    Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can
    terminate the current (logical) transaction and display your message in
    the log. </i>
    Regards

  • Problem with displaying warning message in exit EXIT_SAPMM06E_012

    Hi,
    I need in EXIT_SAPMM06E_012 exit display warning message.
    I've created klass Y0108MM_Z1 and message 000 in it.
    When i display as error message -> message e000(Y0108MM_Z1).
    everything is fine.
    but when use message w000(Y0108MM_Z1) it doesn't apear.
    Please help it is very important for me.
    Regards,
    Greg.
    Message was edited by:
            Grzegorz Skibinski

    Hi,
    I think message will appear.
    For testing please do from the main screen press Alt+F12 > options> options tab --> check " dialog box at warning message " and test your scenrio.
    Here warning message appear in a dialog box.

  • Display warning message

    Hi guys,
    I need some help with the "displaying warning message" in labview 2010 SP1 base development system. My requirement is, I would like to display a warning message (text alert) when the RPM of the pump falls below 10000 rpm. In this case I am measuring the current, voltage and rpm of a pump. Please let me know how I can get this done. I have attached the main vi and the 2 sub-vi for reference. Also let me know how I can set sound alerts in addition to text alerts when the pump RPM falls below 10000 rpm. Thanks for your help.
    Raj
    Attachments:
    Current_Voltage_RPM-_continuous_sampling_count iterations.vi ‏116 KB
    Current_Voltage_RPM-_sub_VI-1.vi ‏18 KB
    Current_Voltage_RPM-_sub_VI-2.vi ‏17 KB

    Hi Rajesh,
      If you want to display a warning text alert ,then you can just create a text on front panel and using VI properties ,can make it as a text alert.For sound alert use sound functions .Please have a look at the attached vi.Run this vi and  click visible button ,you can find an alert text with some sound.Modify your logic accordingly.
    Regards,
    SrikrishnaNF
    Attachments:
    CheckThisVi.vi ‏18 KB

  • How to display warning message box with yes and no buttons

    Hi,
    I am writing the code to delete emp details from database.
    I want to display warning message with yes and no buttons after clicking the delete button in the same page, if yes is clicked, i want to invoke delete() method in AM.
    Is it possible, if yes pls suggest me how to do it.
    Thanks
    Message was edited by:
    user536125

    This is being discussed in
    warning message(dialog page) to be displayed in the same page
    Thanks
    Tapash

  • Display Warnning message before delete row

    i have a table and i added a column and but in it a button that perform delete action
    when i press the button a row is deleted but i want to display warning message before deleting for example
    "are you sure you want to delete this row ?" Yes or No
    If press yes the row will be deleted else no action is taken
    how can i do this ?

    You can use clientListener to do this.
    <af:commandImageLink text="Submit" id="cil1" partialSubmit="true" >
    <af:clientListener type="action" method="customConfirm"/>
    </af:commandImageLink>
    <af:resource type="javascript">
    customConfirm = function(event) {
    var answer = confirm('Are you sure you want to delete this row?');
    try
    if (!answer) {
    var component = AdfPage.PAGE.findComponentByAbsoluteId("cil1");
    ..... your action here.....
    catch(e) {
    alert(e)
    </af:resource>
    But if there is a event or event listener on the commandimagelink then it will always be called. To avoid that you could remove the actionlistener and add serverlistener and call it through the javascript function. See the "Web User Interface Developer's Guide for Oracle Application
    Development Framework" for more info.

  • How to display warning message before deleting a record?

    Hi all
    I want to display a warning popup message( "Do you realy want to delete the record? Yes - No" ) before user delete a record. My page fragment contains simple <af:table> which display the employees data and operations buttons "commit - delete - rollback"
    I use Jdeveloper release 11.1.4
    Database : oracle 10g
    Thanks in advance

    Thank you so much for replaying
    I have another question related to creating popup
    I have page template and only one jspx page based on the template named"UIShell.jspx"
    I make a lot of page fragments , I have - untill now- about 15 page fragments.
    all these fragments are shown as dynamic regions within UIShell.jspx"
    My question is
    Should I create popup dialog window in each page fragment in order to display the messages?
    If the answer is "YES" this will not be a good approach - I think.
    Is there a way to create just one popup dialog and use it an any page fragments.
    Regards
    Edited by: ta**** on Apr 17, 2011 8:44 AM

  • How to display Warning messages in BADI ME_PROCESS_REQ_CUST?

    Hi,
    I have implemented BADI ME_PROCESS_REQ_CUST and coded necessary logic according to my requirement in Method  PROCESS_ITEM.
    On a certain condition , I need to display a Warning message.
    I have written the code as follows:--
    message w001(00) with 'XYZ'.
    It didnt work.
    Then, I included the message in message class ZPBS, and coded as follows.
    message w012(zpbs).
    But, still it didnt work..
    Can u guys please guide me what I need to do?
    Thanks,
    Shivaa....

    Hello Shiva
    Have a look at method PO_READ of class CL_PO_HEADER_HANDLE_MM.
    METHOD po_read.
      INCLUDE mm_messages_mac.
      DATA: l_po_number TYPE ekko-ebeln.
      IF im_po_number NE space.
        l_po_number = im_po_number.
      ELSE.
        l_po_number = po_number.
      ENDIF.
    * authority check on transaction code disabled
    * If called via CALL TRANSACTION, this check is already done by basis
    * (see note 358122)
    * restriction of T-code authority check to Enjoy only
      IF for_bapi IS INITIAL.
    * tcode authorization
        IF NOT im_tcode IS INITIAL.
          CALL FUNCTION 'AUTHORITY_CHECK_TCODE'
            EXPORTING
              tcode  = im_tcode
            EXCEPTIONS
              ok     = 0
              not_ok = 1
              OTHERS = 2.
          IF sy-subrc NE 0.
            MESSAGE e172(00) WITH im_tcode INTO gl_dummy.
            mmpur_message_forced 'E' '00' '172' im_tcode '' '' ''.
            ex_result = mmpur_no.
            CALL METHOD set_state( im_state = c_available ).
            EXIT.
          ENDIF.
        ENDIF.
      ENDIF.
    Add the include MM_MESSAGE_MAC to you method and set the message using macro MMPUR_MESSAGE_FORCED.
    I am not sure whether the warning will indeed be displayed while changing an item but it should be displayed when checking the purchase requisition and presumably when saving it.
    Regards
       Uwe

  • How to display warning message in PL/SQL?

    Hi,
    I would like to know how to display a warning message in PL/SQL?
    Thanks and Regards,
    SC

    PL/SQL is not an interactive programming language, so there is generally no place to print any sort of message, no place to prompt the user for input, etc.
    A SQL*Plus script can use the SQL*Plus client as a very basic way of interacting with users using the PROMPT command to accept input and using DBMS_OUTPUT to print messages to the console (assuming the script does a SET SERVEROUTPUT ON to enable printing the results). Other applications may have similar sorts of scripting possibilities, generally based on a subset of the commands SQL*Plus supports.
    Justin

  • FM to display warning message at status bar

    Hi,
    can any body give me the FM to display the warning message
    at status bar.
    Thanks in advance

    Hi,
    To give a warning message , you dont need any function module. You can use the keyword 'MESSAGE' and give the type as 'W'.
    Do a F1 on the keyword MESSAGE for further details.
    regards,
    Advait

  • Firefox displays warning message about an SSL site

    When I connect to an SSL site, sometimes firefox displayes a warning message and I can select add exception. When I click on "I understand the risk" and then "view certificate", it says no need to add exception. It actually shows the EV SSL Cert green bar. Why is the firefox showing the error in first place. I do use host file entry for the SSL site. This does not happen all the time. Sometimes, the page with the green bar is shown properly. This is a big problem as once you enter some information and submit, the warning may come back again and page is then not shown.

    How did Firefox showed that warning?
    Was the a pop-up on a sliding bar at the top of the browser page or a message on the web page?
    Do you remember any content of that message?
    Was it about a certificate (secure connection)?
    Rename the file "permissions.sqlite" to permissions.sqlite.sav in the Firefox Profile Folder to remove all exceptions (cookies, images, pop-ups, software).
    If renaming didn't help then you can undo and rename the file permissions.sqlite.sav to permissions.sqlite to get back the old exceptions.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    Please update Firefox to the latest version via "Help > About Firefox" or "Help > Check for Updates"
    The Firefox Firefox/4.0.1 version that you currently run is no longer supported with security updates.
    *http://en.wikipedia.org/wiki/Vulnerability_(computing)
    *http://www.mozilla.org/security/known-vulnerabilities/
    You can find the latest Firefox release in all languages and for all Operating Systems here:
    *Firefox 10.0.x: http://www.mozilla.org/en-US/firefox/all.html

  • How to display warning message ?

    Dear all,
    I would like to display a warning message, when the user doesn't key in a profit center (with Tcode: FB50).
    I have entered the option "Optionnal entry" for profit center for the field status group, but the system doesn't display any warning.
    Could you help me ?
    Thanks and best regards

    HI,
    Please try to use a Validation which will be easy to achive this. If you dont know how to create a validation please check the WIKI, you will find a documentation which can help you.
    Regards
    Ravinagh Boni

  • If a purchase requisition already exists for an item then system should give warning message

    Hi Experts,
    Is there any standard configuration for showing the user a warning message if while creating a purchase requisition for an item for which one purchase requisition already exits ??
    kindly help,
    Regards,
    Vishal

    Hi Vishal,
    You can configure the message in SPRO as described below
    In SPRO->MM->Purchasing->Define Attributes of Sys. messages
    Click on the New entries, you can get from F4 the below messages
    You can select from the selection screen.
    Thanks and Regards,
    Sravan

  • Acrobat displays warning messages on opening

    Hi,
    I have created a pdf file. But whenever I open it in adobe I get a message "file is damaged and being repaired" and then acrobat reader opens it successfully.
    I have copied the contents of my file. Can you please have a look and tell me why is acrobat is doing that
    Thanks
    Farhat
    -----------------The File -----------
    %%PDF-1.3
    1 0 obj
    <<
    /Type /Catalog
    /Pages 2 0 R
    >>
    endobj
    2 0 obj
    <<
    /Type /Pages
    /Kids [
    3 0 R
    /Count 1
    >>
    endobj
    3 0 obj
    <<
    /Type /Page
    /Parent 2 0 R
    /MediaBox 7 0 R
    /Resources 4 0 R
    /Contents 5 0 R
    /Annots 8 0 R
    >>
    endobj
    5 0 obj
    <<
    /Length 6 0 R
    >>
    stream
    0.0469 0.0000 0.0000 0.0469 -561.4200 -1711.6200 cm
    1 j %Line caps
    1 J %Line Join
    7.680 w
    0.00 1.00 0.00 RG
    11980.800 36518.400 m
    12864.000 36518.400 l
    12864.000 37324.800 l
    11980.800 37324.800 l
    11980.800 36518.400 l
    s
    0.00 1.00 0.00 rg
    BT
    /F1 4.0 Tf
    26.635 0.000 0.000 21.333 12211.200 36921.139 Tm
    (barred) Tj
    ET
    6.451 w
    12211.200 37010.749 m
    12536.832 37010.749 l
    S
    endstream
    endobj
    6 0 obj
    393
    endobj
    7 0 obj
    [-1.253 -1.253 43.013 39.413]
    endobj
    8 0 obj
    endobj
    4 0 obj
    <<
    /Font
    <<
    /F1 9 0 R
    >>
    >>
    endobj
    9 0 obj
    <<
    /Type /Font
    /Subtype /TrueType
    /BaseFont /Arial
    /FirstChar 0
    /LastChar 255
    /Widths 10 0 R
    /FontDescriptor 11 0 R
    /Encoding /MacRomanEncoding
    >>
    endobj
    10 0 obj
    777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777 777
    777 777 777 777 777 777 777 288 288 368 576 576 922 692 198 345 345 403 605 288 345 288 288 576 576 576
    576 576 576 576 576 576 576 288 288 605 605 605 576 1052 692 692 749 749 692 633 806 749 288 518 692
    576 863 749 806 692 806 749 692 633 749 692 978 692 692 633 288 288 288 486 576 345 576 576 518 576 576
    288 576 576 230 230 518 230 863 576 576 576 576 345 518 288 576 518 749 518 518 518 346 269 346 605 777
    576 777 230 576 345 1036 576 576 345 1036 692 345 1036 777 633 777 777 230 230 345 345 363 576 1036 345
    1036 518 345 978 777 518 692 288 345 576 576 576 576 269 576 345 764 383 576 605 345 764 572 414 569 345
    345 345 597 557 288 345 345 378 576 865 865 865 633 692 692 692 692 692 692 1036 749 692 692 692 692
    288 288 288 288 749 749 806 806 806 806 806 605 806 749 749 749 749 692 692 633 576 576 576 576 576 576
    922 518 576 576 576 576 288 288 288 288 576 576 576 576 576 576 576 569 633 576 576 576 576 518 576 518 ]
    endobj
    11 0 obj
    <<
    /Type /FontDescriptor
    /Ascent 651
    /CapHeight 1191
    /Descent -187
    /Flags 262178
    /FontBBox [-594 -290 1790 900]
    /FontName /Arial
    /ItalicAngle 0
    /StemV 0
    >>
    endobj
    xref
    0 12
    0000000000 65535 f
    0000000011 00000 n
    0000000066 00000 n
    0000000134 00000 n
    0000000810 00000 n
    0000000254 00000 n
    0000000711 00000 n
    0000000735 00000 n
    0000000785 00000 n
    0000000863 00000 n
    0000001039 00000 n
    0000002115 00000 n
    trailer
    << /Size 12
    /Root 1 0 R
    >>
    startxref
    2302
    %%EOF

    It is impossible to answer your question exactly for the very reason
    (I suspect) you are having it: a PDF file is not a text file, it is a
    binary file. So, there is no way to get back the exact binary original
    by copy/pasting.
    What the error means in general is that an error was found in
    processing the xref table. The xref table itself may be badly
    formatted, the startxref address may be wrong, that sort of thing.
    What are you using to verify the format and addresses?
    Aandi Inston

Maybe you are looking for

  • ASA 5505 to allow 2nd network segment through mpls

    I have been having a heck of a time trying to configure my 5505 to allow the second segment on my network to use the internet. Office 1 has a fiber internet connection, and all traffic flows fine. Office 2 had gotten it's internet from AT&T, via a ne

  • Can I use JMS instead of  multithreaded approach

    Hi, I am having a typical problem where the XML data coming through sockets using TCP/IP needs to be read and perform some action. The code I have uses two classes to do this, each of them extending the Thread class, and invokes the individual run()

  • TBB1 error

    Dear Gurus I have ruun into a high priority issue. There are come intercompany loans which are to be posted to customer and vendors (I have created a new product type using 55A). While the posting are coretly happening from the customer side in the l

  • Create new derived role.

    Hello, I'm looking for some easy way to automatically create a set of derived roles (with different organizational levels defined in itab) for specific imparting role. Any f-modules or your implementation experiences I could loot at? Regards, Filip

  • 1 button to do create in 2 iteraitories  in one  page, how can help plz

    hi every one how can i make one button in one single page do the create action for two iteraitories in that html page "in other words." i have two tables in one html page I want use one butten in the html page to create new row for each thank you ;