DELETE_RECORD changes the Record_status to 'NEW' HELP ME

Hi Gurus,
I have only one record in my block.
I am trying to delete it and it executed all the Triggers like PRE-DELETE, KEY-DEL-RECORD succesfully. But when I save it, it gives FRM-40202.
This only happens when I try to delete the last record in the bloc, because, the DELETE-RECORD built in in the KEY-DEL-REC changes the record status in the block to NEW and when I try to save the form there is a required filed, which causes the Save to faile.
But if there are more than 1 record in the block this is not a problem.
Gurus, please help me as I have to promote this code ASAP to production.
Thanks in advance.

check there is any assignment stmts to the db columns in triggers other than when-create-record and when-validate item
If yes, try to bring those assignments to other triggers so as the record-status is not changed.
Actually, after deletion, the status should be NEW
Else
check in your save trigger the get_record_property('blk',status) when you press save ..just chk its status before and after commit; in the form........
this problem comes only if record status is changed...
find out what is the reason for record status change
If you have mul.records, this prob. will not come as cursor is in the previous rec. with all values filled...

Similar Messages

  • Hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    You can get your Security Questions reset by contacting iTunes Support at either of the two links below. Select the best options for your issue, or provide specific information. Let them know you are contacting them concerning Forgotten Security Questions. They will get back to you via your primary email address, usually within 24 hours. Once your Security Questions have been reset, you will be able to go in and reset your Rescue email address on your account:
    http://www.apple.com/support/itunes/ww/
    or by email:
    http://www.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • Can we change the memory of new Ipad 16 GO to 64 GO ?

    can we change the memory of new Ipad 16 GO to 64 GO ?

    Move some of your documents, pictures and music to the cloud.
    Dropbox
    http://itunes.apple.com/sg/app/dropbox/id327630330?mt=8&ls=1
    Sugarsync
    http://itunes.apple.com/sg/app/sugarsync/id288491637?mt=8&ls=1
    Box.net
    http://itunes.apple.com/sg/app/box-for-iphone-and-ipad/id290853822?mt=8&ls=1

  • All of my tools in PS 6 have a "cross" icon and I can't use them, like the clone tool.  I have reset all tools to no avail.  The bracket keys do not change the size.  Any help?

    All of my tools in PS 6 have a "cross" icon and I can't use them, like the clone tool.  I have reset all tools to no avail.  The bracket keys do not change the size.  Any help?

    Yep, I discovered that.  Thank you very much for the prompt and accurate reply.

  • How can I change the text in F1 Help?

    I made a General Text  in T-code SE61, the name is 'ZTEST'.
    And at the SE80, in the local program,
    I used functions like these:
    HELP_OBJECT_SHOW
    HELP_OBJECT_SHOW_FOR_FIELD
    DSYS_SHOW_FOR_F1HELP
    These functions can display F1 HELP.
    But I want to send a text using functions,
    and display F1 HELP.
    Example)
    'Hello! This is your program.'
    Sending this to F1 HELP by functions, and display.
    If you know, please help me.
    Thank you.
    Edited by: Jaime White 999 on Apr 19, 2011 9:20 AM

    My source is like this:
    REPORT  z_test008.
    DATA: lt_links TYPE TABLE OF tline.
    SELECTION-SCREEN: PUSHBUTTON 2(6) s_button USER-COMMAND click.
    INITIALIZATION.
      s_button = 'uB3C4uC6C0uB9D0'.
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'CLICK'.
          CALL FUNCTION 'HELP_OBJECT_SHOW'
            EXPORTING
              dokclass                            = 'TX'
              doklangu                            = sy-langu
              dokname                             = 'Z_TEST'
              doktitle                            = 'Description'
    *          CALLED_BY_PROGRAM                   = ' '
    *          CALLED_BY_DYNP                      = ' '
    *          CALLED_FOR_TAB                      = ' '
    *          CALLED_FOR_FIELD                    = ' '
    *          CALLED_FOR_TAB_FLD_BTCH_INPUT       = ' '
    *          msg_var_1                           = ' '
    *          MSG_VAR_2                           = ' '
    *          MSG_VAR_3                           = ' '
    *          MSG_VAR_4                           = ' '
    *          CALLED_BY_CUAPROG                   = ' '
    *          CALLED_BY_CUASTAT                   =
    *          SHORT_TEXT                          = 'X'
    *          CLASSIC_SAPSCRIPT                   = ' '
            TABLES
              links                               = lt_links
           EXCEPTIONS
             object_not_found                    = 1
             sapscript_error                     = 2
             OTHERS                              = 3.
          IF sy-subrc NE 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
      ENDCASE.
    I just want to know that how can I change the text in F1 HELP, do not use SE61.
    In the source, I want to send the text by functions, and display that.
    Thank you.

  • My apple id was hacked and my Main email was changed so cant find it to change the password ?? Help plzz

    My apple id was hacked and my Main email was changed so cant find it to change the password ?? Help plz

    You should get Apple involved in sorting this out. Start at this site:
    https://getsupport.apple.com/Issues.action
    Your Apple ID can be handled through iTunes.

  • How to change the size of New Page create pop up window ?

    In Site Actions on clicking of New Page the pop up page is opened it is stretched mode.
    I want to change the width of that pop up windows only.
    After pressing F12 key i find that it is happening because of the java script  function on calling of which that page is opened.
    But i am unable to find that javascript function from where it is calling or where it is written or how i can modify that function.
    So please help me out in solving that issue.

    Hi,
    According to your post, my understanding is that you want to change the size of the new page pop up dialog.
    We can create a new dialog with proper size to achieve it.
    I have made a simple code demo to create a new dialog with proper size, you can have a look at it.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    ready();
    function ready(){
    $("span[title='Open Menu']").click(function(){
    //alert(2);
    setTimeout(openNewPageClick,500);
    function openNewPageClick(){
    //setTimeout(openNewPage,1000);
    $("#mp1_0_3").removeAttr("onMenuClick");
    $("#mp1_0_3").click(function(){
    url="http://sps/_layouts/createwebpage.aspx";
    openDialogBox(url);
    function openDialogBox(url){
    var options = SP.UI.$create_DialogOptions();
    options.url = url;
    options.height = 900;
    SP.UI.ModalDialog.showModalDialog(options);
    </script>
    Note: You should change the ID or class to fit your environment.
    More reference:
    http://kyleschaeffer.com/sharepoint/sharepoint-2010-pop-up-dialogs/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How could I change the heade in Flash Help

    Hi everybody,
    I am pretty new to this forum, that is I just began to probe
    with RH7, and it is going well so far, because of your help and the
    technical service's help from Adobe.
    I tried different layers to see which one is the most
    appropriate for my project, and the Flash is very interesting.
    However, I would like to put a logo or a text in the header
    (the coloured one), and I have no clue how, and what tool I should
    use.
    Is anybody familiar with Flash Help tweaking?
    Thank you,
    Bogdan

    I'm not familiar with the .fsw file type. Where are you
    finding that file? Is it named skin_background_tb?
    Try searching for skin_background_tb.fla in your project's
    source files. I think .fla is your best bet.
    It's been long enough since I've started a brand new
    FlashHelp project that I can't remember if the "FlashHelp Default"
    skin is included in the project automatically or if you have to
    generate the layout with a skin from the gallery before any Flash
    skin files appear in your source files. If you haven't done so
    already, open the FlashHelp layout dialog, select a skin, and
    generate the layout. Once you've done this, you should see a folder
    within the !SkinSubFolder! directory that has the name of the skin
    you selected. That skin folder should contain all the .fla and .swf
    files for the skin. Those .fla files are the ones you would edit to
    change the skin. (Whenever you edit a .fla file, you then export it
    as a .swf movie to that same skin folder, then generate the layout
    again to see the results.)

  • I am trying to ask a question about iPhones, but it will not let me post - I get a message similar to this - you are not allowed to change the content.  Any help on this matter?

    I am trying to ask the following question: Just updated my iPhone5 to V 7.1.2 and can no longer print to my MFC 7860W from this phone.  I researched this issue on this forum and found answers from last October/November.....  Wary of downloading anything that was posted that long ago.  Wondering if there is anyway around this issue, with more recent information?  I was able to use this printer in the past by using Brother's iPrint App. 
    Thanks!!
    But when I hit post, I get an error message at the top - "you are not allowed to change this content"  Can anyone help me?

    I am assuming you got that message when attempting to post an old thread. The old post is probably locked/archived.
    FYI, posting on old threads usually yields no responses at all.
    I have requested that this post be moved to the iPhone forum where you might get assistance.
    Barry

  • How to change the address to new address for all pages in a script

    i created a script for my website against an IP address
    now i have to run the same script of web site against new IP address
    can i change programmitically the old ip address of all script pages to new ip address?
    or should i go manually by opening each and every page address properties and changing it to new ip address.
    any suggestions
    my visual script is having around 75 pages.
    having a visual script with that many pages is best practice?
    thanks in advance

    Hello Pasumarthi,
    If I understand your question correctly, the address contains an IP address that you need to change for the 75 pages..
    If you change the first address in the page, save the script and re-run the test this should fix the remaining 74 pages.
    ex: http://192.168.2.1/index.html (Old)
    http://202.116.25.1/index.html(New)
    If the url example above is this task you are going to resolve, this will take care of your issue.
    If you have 75 scripts that need the URL changed, and you have upgraded to 8.20, you can use the script updater utility to do this.
    Please let me know if this resolves your issue.
    Best Regards,
    Jim

  • I need help with changing my e-mail. I just made this account today and I want to delete it or change the e-mail. Help would be very nice!

    Hello can you tell me how to terminate my account(DELETE IT!) or change the e-mail. I went to privacy setting and my e-mail was shown, but nothing about changing it. I went to profile settings and there was nothing about deleting it so any help would be highly appreciated!

    Deleting the iTunes account is not the solution as you will very likely lose any and all purchases ever made with the account.
    If you cannot find the option on the site, contact iTunes support.

  • BI BEANS - Graph - How to change the color .. please help

    Hi Everyone,
    Can anyone please tell me how to change the color of the Graph bars or slices. I mean the color which represents the data.
    For example in a pie chart I want to set specific color for specific slice. Please help.
    Regards
    SRT

    It seems to be the SET_SERIE_COLOR() method added to the FormsGraph revised version, but this latest version is momentarily not available for download.
    I think there is an existant open thread on this. Maybe you could find it using the Forum Search box.
    Francois

  • IMessage doesn't work after changing the sim. New number isn't even recognised.

    I changed my sim from a German to a French one and the card is already active and calls are possible, but iMessage doesn't work. The new number is not recognised and iMessage cannot be activated.
    I tried to switch it off and and and I reset the network, but nothing. I even removed the card a few times, but no change.
    How can I make it work?

    Yes... Do you see this... http://s1185.photobucket.com/albums/z356/annerkram/?action=view&current=cropguide.mp4
    On my SD TV... Notice the black bars on the top and bottom.  Once I go in and out of the guide the black bars are gone.  I have reported this but if you are confirming the issue I will report it again. 
    jaytee1019 wrote:
     I have a Motorola 7XXX series DVR which got the 1.9 upgrade a few days ago. I have SD Override enabled and set to Stretch. When I set it like that, the SD channel I'm on will then stretch to fill the screen (and the black bars disappear as they should). But when I change the channel and go to another SD channel, the black bars are back. Or if I enable the SD Override and then turn the TV off, it will be disabled once I turn the TV on again (and the black bars are back).
    It seems like the SD Override isn't holding. I don't want to have to hit the # button on the remote to change the aspect ration every time I change the channel. The SD Override should work and stay enabled once set. Anyone know how to fix this?

  • Msn Messenger for Mac stops working when i change the user!! Help?

    i know this is not mac's fault but i wanna know if anyone knows how to fix it or what to do with this, this is what happens:
    i installed msn messenger and signed in with my account, and everything works fine, then i lend my computer to my sister and she changed the account in msn so she could sign in with her email address, but she couldnt logg in it said "service is probably unavailable". When i got the MB back i tried to log in with my account and it said the same thing, i messed around with it a little bit and i dont know what i did but it started working again with only my account. Today at school a friend did the same thing my sister did and screwed it all up again, now i cant log in with my account and i dont know what to do ive tried messing with it a little but didnt work, any1 with this problem? help plz

    that usuall happens when you are not connected to the internet. if you were running wifi your connection could have been lost for a moment and then recovered.

  • I can't change the language in photoshop. help !!

    I can't change the language the photoshop CC. Help !!

    Photoshop CC / Wrong UI language / How to change? | Adobe Community
    Follow the screen shots in this thread.
    If my reply solved your issue, mark it as correct.
    Gene

Maybe you are looking for