Insert in a form to be allowed but not update

Hi
I have a form where i provide a data entry provision to the user. All the entered data is stored in a table for that particular date. Now suppose the user reenters in the form for the same date the values in my table gets updated. what i want is to disallow updates but allow inserts. i.e the user should be allowed to enter if there are no values for that date in the table but if there are values for that date in the table then in some way i want to disallow that insert.
what i want to do is to the administrator should authorize the user & then only he can insert values for the same date.
Regards
Sushant

If the Java class contains getXXX() or/and setXXX() public properties, you can call them within Forms via the FBean internal package.
If not, you have to write a Java "wrapper" that extends the VBean interface, then call the methods via the Set_Custom_Property() built-in.
In a last idea, you can also start an external Java program by lauching it with the Client_Host() built-in like any external program.
Fracois

Similar Messages

  • IMovie HD will let me preview titles, but not update or embed.

    IMovie HD will let me preview titles, but not update or embed.

    Do you try the correct way?
    http://www.danslagle.com/mac/iMovie/usage/5017.shtml

  • My itunes is downloading new software but not updating! can anybody help??

    My itunes is downloading the software but not updating can anybody help?

    My itunes is downloading the software but not updating can anybody help?

  • Dynamic Where clause in 4.6C [Literals allowed but not variables]

    Good afternoon-
    We have a dynamic select statement that works perfectly in 4.7 ext 2, but is causing a short dump in 4.6C. The error in the short dump says:
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL       
    statement containing a WHERE condition of the form WHERE (itab) or       
    WHERE ... AND (itab). The part of the WHERE condition specified at       
    runtime in the internal table itab contains an invalid                   
    value "HDR_COMP_CODE". Literals are allowed as values, but not variables.
    HDR_COMP_CODE is in incoming parameter to the function module that is calling this code. It is of type BKPF-BUKRS.
    Here is the code:
    DATA: BEGIN OF L_WHERE_CLAUSE OCCURS 0,
            TEXT_LINE(60) TYPE C,
      END OF L_WHERE_CLAUSE.
      CLEAR L_WHERE_CLAUSE.
      IF NOT HDR_COMP_CODE IS INITIAL.
        SELECT SINGLE KTOPL
        INTO LV_KTOPL
        FROM T001
        WHERE BUKRS = HDR_COMP_CODE.
        L_WHERE_CLAUSE = 'B~BUKRS = HDR_COMP_CODE'.
        APPEND L_WHERE_CLAUSE.
        CLEAR  L_WHERE_CLAUSE.
        L_WHERE_CLAUSE = 'AND'.
        APPEND L_WHERE_CLAUSE.
        CLEAR  L_WHERE_CLAUSE.
        L_WHERE_CLAUSE = 'T~KTOPL = LV_KTOPL'.
        APPEND L_WHERE_CLAUSE.
        CLEAR  L_WHERE_CLAUSE.
        L_WHERE_CLAUSE = 'AND'.
        APPEND L_WHERE_CLAUSE.
        CLEAR  L_WHERE_CLAUSE.
      ENDIF.
      L_WHERE_CLAUSE = 'T~SPRAS = SY-LANGU'.
      APPEND L_WHERE_CLAUSE.
      CLEAR  L_WHERE_CLAUSE.
      SELECT BSAKNR TTXT50
      INTO (LT_GL_ACCOUNT_DATA-GL_ACCOUNT, LT_GL_ACCOUNT_DATA-DESCRIPTION)
      FROM  SKB1 AS B INNER JOIN SKAT AS T
         ON TSAKNR = BSAKNR
      WHERE (L_WHERE_CLAUSE).
        APPEND LT_GL_ACCOUNT_DATA.
        CLEAR  LT_GL_ACCOUNT_DATA.
      ENDSELECT.
    This EXACT query works in 4.7, has anyone run into this, or can they tell me why I might be getting the error?
    Thanks,
    Andy

    Well, in this case, unless I'm missing something,  you do not requre a dynamic WHERE clause.  You can use RANGES instead.
    report zrich_0001.
    *DATA: BEGIN OF L_WHERE_CLAUSE OCCURS 0,
    *TEXT_LINE(60) TYPE C,
    *END OF L_WHERE_CLAUSE.
    ranges: r_bukrs for t001-bukrs.
    ranges: r_ktopl for t001-ktopl.
    *CLEAR L_WHERE_CLAUSE.
    IF NOT HDR_COMP_CODE IS INITIAL.
    clear r_bukrs. refresh r_bukrs.
    r_bukrs-sign = 'I'.
    r_bukrs-option = 'EQ'.
    r_bukrs-low = hdr_comp_code.
    append r_bukrs.
    SELECT SINGLE KTOPL
    INTO LV_KTOPL
    FROM T001
    WHERE BUKRS = HDR_COMP_CODE.
    clear r_ktopl. refresh r_ktopl.
    r_ktopl-sign = 'I'.
    r_ktopl-option = 'EQ'.
    r_ktopl-low = lv_ktopl.
    append r_ktopl.
    *L_WHERE_CLAUSE = 'B~BUKRS = HDR_COMP_CODE'.
    *APPEND L_WHERE_CLAUSE.
    *CLEAR L_WHERE_CLAUSE.
    *L_WHERE_CLAUSE = 'AND'.
    *APPEND L_WHERE_CLAUSE.
    *CLEAR L_WHERE_CLAUSE.
    *L_WHERE_CLAUSE = 'T~KTOPL = LV_KTOPL'.
    *APPEND L_WHERE_CLAUSE.
    *CLEAR L_WHERE_CLAUSE.
    *L_WHERE_CLAUSE = 'AND'.
    *APPEND L_WHERE_CLAUSE.
    *CLEAR L_WHERE_CLAUSE.
    ENDIF.
    *L_WHERE_CLAUSE = 'T~SPRAS = SY-LANGU'.
    *APPEND L_WHERE_CLAUSE.
    *CLEAR L_WHERE_CLAUSE.
    SELECT B~SAKNR T~TXT50
    INTO (LT_GL_ACCOUNT_DATA-GL_ACCOUNT, LT_GL_ACCOUNT_DATA-DESCRIPTION)
    FROM SKB1 AS B INNER JOIN SKAT AS T
    ON T~SAKNR = B~SAKNR
    WHERE  b~bukrs in r_bukrs
      and  t~ktopl in r_ktopl.
    APPEND LT_GL_ACCOUNT_DATA.
    CLEAR LT_GL_ACCOUNT_DATA.
    ENDSELECT.
    Regards,
    Rich Heilman

  • JSP Error on Insert but not Update

    I am using JDeveloper 3.1 with Oracle 8.16 to create JSP applications using the wizard for business components.
    The jsp's generated allow me to update a record in the table. I have cloned the Edit JSP's to enable me to insert a record with the addition of the line below in the JSP.
    RowEditor.createNewRow();
    On pressing the insert icon, I get the following JSP error :
    Any ideas ?
    Thanks,
    Ketan.
    Exception:
    java.lang.NullPointerException
    void xspeedprod_html.errorpage._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
    void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.MimeServletHandler.handle(oracle.lite.web.JupApplication, java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupAppHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.HTTPServer.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.HTTPServer.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.runtime.OraclePageContext.forward(java.lang.String)
    void oracle.jsp.runtime.OraclePageContext.handlePageException(java.lang.Exception)
    void xspeedprod_html.XspProductListingView1_InsertPanel._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
    void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.MimeServletHandler.handle(oracle.lite.web.JupApplication, java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupAppHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.HTTPServer.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.HTTPServer.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, java.io.OutputStream)
    boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, java.io.OutputStream)
    void oracle.lite.web.JupHTTPListener$JupHTTP.run()
    null

    You have full source code, step into the receiving jsp page to help you figure out what's happening. You have full source to all the DataWebBeans so you can step into the implementation.

  • How to open a form always on top but not at focus?

    I had a form application which will call another form as reference. May I know that is there any way I can to to set the called form always on top, but the focus is still set at the calling form so that I can still operate on the calling form?
    Many thanks
    MInny

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • Photo stream added to side bar but not updating

    I've added Photo Stream to the Finder Side Bar of OSX Mavericks through the Smart Folder Saved Search option.
    However, the photo stream in the Finder Side Bar is not updating with new pictures taken from my iPhone.
    Would anyone have a solution possibly to allow the photo stream to update and be shown in the Finder?

    Hmmm... not sure about PC but I did have this same problem while syncing to my MAC... the cause was that my contacts sync was conflicting with other sync data... Once I changed settings for Mobile Me with contacts and address book it was resolved...
    For PC... my only guess would be that a program that is told to sync contacts doesn't allow or is conflicting with the assigned photo you've set on iPhone...

  • IPOD recognized by windows but not updater...can someone help me?

    Hi all,
    Any help would be greatly appreciated on this one.
    My IPOD's old hard drive (10G) went kaput and I bought a new one (the new HD is 15G). I installed the new one and now windows is recognizing the IPOD as an external hard drive but not as an IPOD.
    The IPOD is a 3rd generation, 15 gig IPOD without the dock connector.
    I am guessing that this is linked to why the IPOD updater won't recognize the IPOD either.
    Does anyone have any device for me?
    Again, thanks for taking the time to help out!!

    You could try a format of the iPod in Windows. A full format does a check and remap of bad sectors on the iPod hard drive, and you would need to restore the iPod as normal (using the iPod updater) afterward. This can also work when the iPod is recognized by the computer, but not by the updater.
    First, put the iPod into forced disk mode.
    See: How to put the iPod into disk mode.
    On your PC, go "my computer" and right click on the iPod, then choose "format". Ensure the settings are at "default" and that "quick format" is not checked. Now select "format". It will take a while, but when that's finished, restore the iPod using the updater.
    If you need to, reset the iPod to exit disk mode.

  • Price change in Schedule agreement but not updated in CDHDR and CDPOS

    Hi Experts
    We have change price in  SA ,please see the below screen shot. But these changes not update in CDHDR and CDPOS. We can see current rate in ME33L.
    Please guide how to update these changes.
    Regards
    Parkash Chand

    Generally in standard, the changes logs are saved into table CDPOS and CDHDR.
    Its working fine in my system.
    Can you see the changes log with regards to document number by running program RSSCD200.
    Go to SE38 or SA38, enter the program RSSCD200 then press execute.
    Enter * in object class and enter the document number
    Then press execute. You can find more details into the wiki content Steps to enable logging of changes in change documents - Code Gallery - SCN Wiki

  • SRM - PO Value changed but not updated in in R/3 and SC

    Hi Yann, Vadim, Christ,
    I have a query that the PO after creation in the R/3 we then uplifted the PO value. The SC has been approved earlier. Now the PO value is not updated in the backend and the SC.
    I have run the FM BBP_PD_PO_TRANSFER_EXEC, BBP_PD_SC_TRANSFER_INTERNAL but still does not update the value
    BBP_PD Shows the follwing status.
    <u><b>MAIN status</b></u>
    0000000001 I1111          Item in Transfer Process       X
    0000000001 I1113          Follow-on Document Created      
    HEADER     I1009          Held                           X
    HEADER     I1015          Awaiting Approval              X
    HEADER     I1021          Created                         
    HEADER     I1038          Complete                        
    HEADER     I1039          Incomplete                     X
    HEADER     I1080          In Transfer to Execution Syst.  
    HEADER     I1106          Shopping cart ordered           
    HEADER     I1129          Approved                        
    <u><b>HEADER STATUS</b></u>
    HEADER     I1015          Awaiting Approval              X
    HEADER     I1021          Created                         
    HEADER     I1038          Complete                        
    HEADER     I1043          Ordered                         
    HEADER     I1080          In Transfer to Execution Syst. X
    HEADER     I1120          Change was Transmitted          
    HEADER     I1132          Transfer Failed (E.Sys.)        
    HEADER     I1180          Document Completed              
    0000000001 I1021          Created                         
    Please could anyone help.
    Thanks in Advance.
    Regards,
    Uma.

    Uma,
    if the second status group is for the ECS PO, I can see
    HEADER I1132 Transfer Failed (E.Sys.)
    The transfer of updated SRM PO to R/3 was not succesfull.
    Look at application monitors in SRM (PO --> Backend errors).
    Look at ST22 in R/3.
    Rgds
    Christophe

  • GL Posting using BAPI BAPI_ACC_DOCUMENT_POST but not updating in table BSEG

    Hi Experts,
    Hope all are doing greatu2026
    I need you help to resolve the below issue.
    We have on Z-Tcode to GL Posting the document using BAPI u2018BAPI_ACC_DOCUMENT_POST' and this program is successfully posted from the source file and documnet # also created successully.
    We have entries in BKPF, but the table BSEG not updating and we do not have entries.
    Please help me on this regards,
    Thanks in Advance.
    Amjad

    Hi Srikant,
    Thanks for your reply...
    As you suggest, i have checked the structure ACCOUNTGL and below values are passing.
    ACCOUNTGL -ITEMNO_ACC
    ACCOUNTGL -GL_ACCOUNT
    ACCOUNTGL- ITEM_TEXT
    ACCOUNTGL- COMP_CODE
    ACCOUNTGL- COSTCENTER
    ACCOUNTGL- CS_TRANS_T
    Could you please suggest me if there are any  changes needs to do.
    Thanks & Regards,
    Amjad Hussain

  • 'Do Not Disconnect ' but not updating..

    Ok, I know there's another thread about this but a poster there chastised another poster for asking for help there (on the same topic), so I guess this is how its done:
    When I plug in my iPod I get the infamous flashing 'do not disconnect' It is NOT updating. Infact 'update ipod' is not even an option I have. I left it to it last night thinking that it'd get to updating eventually and it went on flashing - and doing nothing - from 10:30p last night until 6:30a this morning. It's brand new. I only have 1 cd (that it has already converted) in my library and I have a usb 2.0. It's a 5th gen iPod and I run Windows XP. I have tried resetting it, I am a good girl and have read the manuals - the one it came with and the one online. I know how to get it to stop flashing and I know how to safely eject it, the problem is that flashing or not flashing it wont update.
    A poster in the other thread suggesting reformating it but I have some questions about that - again I would have asked in that thread but a poster there said if we weren't the original poster we can't. Does reformatting just delete the songs or does it delete all the menus too? Will I have to reinstall all the software? Is there any other options?
    5th Gen   Windows XP  

    You were corrected on not to hijack a thread, per the terms of this site.
    A "Do Not Disconnect' message on the IPOD is normal if you have disk use enabled: read this:
    http://docs.info.apple.com/article.html?artnum=61135
    Do you have your IPOD set to "Auto Update" or "Manually" Update: read these
    http://www.apple.com/support/ipod/tutorial/ipgettingstartedt3.html
    http://www.apple.com/support/ipod/tutorial/ipgettingstartedt1.html
    Let's determine this first.
    Restoring your IPOD wipes it out and puts it back to how it left the factory:
    Restoring IPOD to factory Settings - http://docs.info.apple.com/article.html?artnum=60983

  • Sites files are examined but not updated.

    So here is my issue, I am trying to add some code to a dreamwever template file (.dwt) and when I go to update the site it examines all of the files but does not update them. The code is not placed in an editable region. The template is based off another template so to add the code I did have to open the file in notepad. I then reopened it. The idea is to try to avoid having to edit the original template because it would effects hundreds of pages on the site. Any help would be appreciated.
    Thanks

    The template is based off another template so to add the code I did have to open the file in notepad.
    There is no natural scenario I can think of that would require that you do this. When you say the code is based off another template do you mean that you are using nested templates? And what is it you are trying to accomplish?

  • Outlook 2010 clients connected to Exchange but not updating

    Hi, I am running a single Exchange 2013 server at CU6, with clients running Outlook 2010 with SP2.
    Clients are connected to Exchange without a problem, but Outlook is not updating, even though clients are set to do a full send/receive every 2 minutes. Users are getting new email on their phones but it doesnt arrive in Outlook even after a full 2 minutes. 
    By disabling Cached mode, Outlook then updates correctly. Checking the Connection Status, I find only 1 connection to Exchange. Ran the Auto-configuration test, and it's clean.  Ran tests at https://testconnectivity.microsoft.com/ and all was fine. I
    would appreciate any assistance.
    THANK YOU,
    Mike
    Regards, Mike

    Hello,
    From your description it sounds like there may be some corruption in the OST file (or maybe for some reason something else has the OST file locked).  Some things to try:
    Shutdown Outlook and make sure there are no Outlook.exe's running in task maanger.  Once that's done try to rename the user's OST file.  If you get an error saying the file is locked that's your issue.  You should be able to figure out what
    process has a lock on the OST file wiht either something like handles.exe or my personal favorite procmon.
    If you can rename the OST file without issue then that would point me to an issue with the OST file.  At that point I would try to create a new Outlook Profile in cached mode and recreate the OST file. 
    It also might be worth while installing the latest updates for Outlook 2010 if you haven't done so already (http://technet.microsoft.com/en-us/library/dn803988(v=office.14).aspx)

  • My php forms work in IE but not in Firefox

    I have three forms that should send info to my e-mail via a php script on a site—they all work in IE, Opera, and Safari, but none of them work in Firefox.
    I receive no e-mail from Firefox, and get gibberish instead of my confirmation page.
    My Firefox is version 3.6.16. A friend of mine tested the form in Firefox version 3.6.15, and I did receive the form e-mail.
    How can I make sure that all versions of Firefox will send me the form info correctly?

    I should explain. AGPS is not a navigation software. Your phone uses the integrated GPS chip to option your position. However this can take a bit of time. To get your position quicker, your phone can also use AGPS which downloads information from the internet to help your phone get a position fix much quicker. In order to use AGPS, your phone has to go online.
    So. if you you have AGPS enabled and normally you allow your phone to go online when in Malaysia, it will get its position fairly quickly. When you are in Singapore and don't allow your phone to go online, then it won't be able to use AGPS, hence it will take longer to get a position fix. 
    This could be what you are experiencing. If this is the case then you just have to wait longer than usual before your phone get a position fix.
    Message Edited by cjlim on 07-Nov-2009 10:10 PM

Maybe you are looking for

  • How to change font in SMPT mail

    How can I change the mailing font while i send the mail using oracle SMPT mailing utility. Thanks Vishal

  • Navigator 6210 is suddenly very slow

    I have this Nokia Navigator 6201 for about 1.5 yrs. I noticed that recently it had become very slow. when i slide it open, it takes about 30 sec for display to light up. Also same for all other functions. I already tried hard resetting my mobile ( us

  • How to update Tax code in R12 using API

    Hi, I am looking for API's to update supplier tax classification code in AP_Suppliers I can see the who columns get updated by POS_VENDOR_PUB_PKG.UPDATE_VENDOR in AP_Suppliers but the VAT_CODE is not updated I also checked in ZX_PARTY_TAX_PROFILE tab

  • Transferring DRM free music to Motorola V3xx

    I just got a new cell phone. I wanted to transfer music from iTunes on my Mac to this cell phone. how do you do it? I'm asking this question because I read somewhere that the Mac won't recognize this cell phone if connected by the data cord. Is this

  • PowerPoint to SWF

    Hi everyone, I just wanted to see if anyone recognizes this image. This is from a customer of mine who wants me to update an older project they have. It is a bunch of PowerPoint Presentations converted to SWF. There is a MAIN SWF that loads the indiv