2 applications sharing tables: problem with forms

I have 2 applications and 2 tables, one in each application. One of the table reference to the other (by means of a relation master-detail). My problem is presented when I want to generate a form that permits delete of the table master. In the trigger of pre-delete that generates Designer it is included a call to CGRI$CHK_tableName that validates that not a row be eliminated of the master if has details. How do I do so that not generate that code?

In Designer you can create PRE_DELETE trigger and override there part which you don't want by command NULL; .
I hope this will help you.
Helena

Similar Messages

  • Fonts problem with forms on web

    Hi
    I have deployed an application developed in forms 6i on web. I have strange problem with Arabic fonts. When I browse the application from win'98 client PC I have no problems. When I browse the same with win2000 pro client PC, I have problem with fonts. Characters get displayed properly but they get displayed from left-to-right. Text on some buttons/display items is ok but some buttons/display items have above said problem in same form. Strange problem.
    Please help to overcome this problem.
    Thanks in advance
    Syed

    Hi again - i logged to metalink and saw, that there is a workaround for this.
    The problem is solved, when I edit the form's package and comment the RETURNING clause.
    It is simple for me, but if I give to other the ability to create forms, should I repair every of them ?
    Is there a patch for this ? The problem with dblinks and forms is old, isn't it ?
    Thanks for explanation.
    Ales Hrncarek

  • Problem with form or servlet???

    hello..
    i am trying to send some form data to a servlet for processing..
    here is the code for the form
    <table border="0">
    <form action="details.upd" method="post" name="upd">
    <tr><td>Username</td><td><input name="uname" type="text" size="25" maxlength="30"
    value=<%=session.getAttribute("user") %> /></td>
    </tr>
         <tr>
    <td>password</td><td><input name="pass" type="password" size="25" maxlength="30" />
    </td></tr>
    <tr><td>confirm password</td><td><input name="pass2" size="25" maxlength="30" type="password"/></td></tr>
    <tr><td>Email</td><td><input name="mail" type="text" size="25" maxlength="30"
    value=<%=session.getAttribute("EMAIL") %> /></td></tr>
    <tr><td align="center"><input name="submit" type="button" value="Update" /></td></tr>
    <tr><td align="center"><input name="ch" type="hidden" value="det"/></td></tr>
    </form>
    </table>
    here is the web.xml entry for my compiled servlet
    <servlet>
    <servlet-name>update</servlet-name>
    <description>
    Servlet used for updates sent from landlord sessions
    </description>
    <servlet-class>UpdateServlet</servlet-class>
    <load-on-startup>5</load-on-startup>
    </servlet>
         <servlet-mapping>
    <servlet-name>update</servlet-name>
    <url-pattern>*.upd</url-pattern>
    </servlet-mapping>
    the problem is that when i click the submit button to send the data, nothing happens....absolutely nothing. the page just stays as it is...please can u spot any fatal error in the code?
    I have looked and looked without success..please help

    yeah..i solved that.. but now i am getting another
    problem...
    why does this code...
    Stringuser=(String)session.getAttribute("user");
    gives me a class cast exception????
    please helpBecause the object named "user" in your session isn't
    a String.ok...thks

  • Bdc upload file data into internal table problem with gui_upload fm

    Hello experts,
    my coding is like this ..
    data : begin of itab occurs 0 .
    field1 like mara-matnr,
    field2......
    etc,
    end of itab.
    data: file1 type string.
    parameter :file like rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
    static = 'X'
    mask = space
    field_name = 'FILE'
    CHANGING
    file_name = file.
    START-OF-SELECTION.
    FILE1 = FILE . "HERE I AM PASSING INTO STRING
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = FILE1
    FILETYPE = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = itab. " here the data is not populating from the file , it is giving the error like speified table not found.
    HERE i am getting the message like "specified table name not recgonised" . the data is not populating into the itab from the file.
    file structure is same as the internal table.
    I stored the file as .txt( ie in notepad).
    my file is like this..
    10000 200 323 sunndarrr.......
    i had a problem with this bdc , i am getting like "specified table name not recgonised" in the fm gui_upload while debugging.
    when i am using the ws_upload it is working fine.
    please guide me where i have done the mistake.
    thank you so much for all the replies.

    Hi,
    Have a look on the following code.
    TABLES: kna1.
    DATA: BEGIN OF itab1 OCCURS 0,
          str(255),
          END OF itab1.
    DATA: itab2 TYPE kna1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'WS_UPLOAD'
      EXPORTING
        filename                = 'D:\ABAP EVE\ffile1.txt'
        filetype                = 'ASC'
      TABLES
        data_tab                = itab1
      EXCEPTIONS
        conversion_error        = 1
        file_open_error         = 2
        file_read_error         = 3
        invalid_type            = 4
        no_batch                = 5
        unknown_error           = 6
        invalid_table_width     = 7
        gui_refuse_filetransfer = 8
        customer_error          = 9
        no_authority            = 10
        OTHERS                  = 11.
    IF sy-subrc <> 0.
      WRITE:/ 'sorry'.
    ELSE.
      LOOP AT itab1.
        SPLIT itab1-str AT ',' INTO itab2-kunnr itab2-name1.
        APPEND itab2.
      ENDLOOP.
      IF sy-subrc = 0.
        LOOP AT itab2.
          WRITE:/ itab2-kunnr,itab2-name1.
          INSERT INTO kna1 VALUES itab2.
        ENDLOOP.
        IF sy-subrc = 0.
          WRITE:/ 'inserted'.
        ELSE.
          WRITE:/ 'not inserted'.
        ENDIF.
      ELSE.
        WRITE:/ 'fail'.
      ENDIF.
    ENDIF.
    Flat file:
    10001,Sadney
    10003,Yogesh
    20005,Madan
    1.U need to define internal table with one field of max size
    2.upload the flat file data into that internal table
    3.split that internal table data into another internal table(having fields)
    <REMOVED BY MODERATOR>
    thanks,
    Chandu
    Edited by: Alvaro Tejada Galindo on Apr 30, 2008 12:17 PM

  • Static/Dynamic PDF problem with Forms 7.0

    Hi all
    I wonder if anyone has an answer to this?
    I'm having problems with getting the instance manager to work correct in a couple of forms. It works great if I preview in Designer (8.1) or render through ES 8.2, but since we haven't upgraded our production environments yet, I'm stuck with Forms 7.0 there. And when I try to render with that, the form is simply not working as it should...
    My guess is that Forms 7.0 chooses to make the form static instead of dynamic, but how to change this behaviour from the xdp? I've checked all the options of making it a dynamic xdp via Forms->Properties and checked just about everything I can come up with, but it's simply not working right now... anyone with ideas?
    What I'm trying to do is to hide subforms depending on what the user has chosen in a different form (html), so that the user won't see irrelevant data. It's been done before but now it seems like Forms 7.0 wants to run the forms static always.
    I've contacted Adobe support for a week ago but still haven't got anything from them leading me the right way. That's the reason I'm now asking here if anyone has any good idea...
    A bit more information about what I've tried:
    When I set min instances to 1, they are all visible but then they don't hide.
    If I don't set minimum instances to 1, they don't display at all in forms 7.0 when choice Repeat subform for each item is set.
    Using initialCount set to 1 do no good.
    Doesn't matter if I use setInstances, addInstance or removeInstance as far as I've been able to see. I have also tried using presence = "hidden"; but with no luck.
    If the prefill xml file is using appropriate xml syntax, it shows correct number of subforms but since I also wants to hide irrelevant subforms, it's not an acceptable solution.
    Thanks in advance for any tips.

    Yes. I could add an "Of course" but it has happened before that it's something that simple. Been scratching my head for at least 4 hours just today and at least the same amount of hours before so I think I've narrowed out all the simple stuff but I might have missed one..
    Any more tips? One strange issue is the fact that the form behaves different if the prefill xml file is structured in different ways. Nothing to do with prefilling, just how the PDF itself behaves.

  • Shared objects problem with translation

    Hello
    Here is my problem :
    - my default portal language is French, and I login in French.
    - I create a navpage in the "Shared objects" pagegroup. At Portal installation,
    this pagegroup is in English, and there's an available translation in French.
    - When i see my navPage being logged in French, the SmartLinks (Home, etc)
    always display in English while i expected them to by in French.
    - I don't have this problem in a "normal" pagegroup created in english and
    translated into French.
    regards
    A.

    I have a second problem with shared objects :
    So, i created that navpage and published it as a portlet to use it in pages but
    when it doesn't appear in the portlets lists. In what Submenu of the porlets
    navigator is it supposed to appear ? It is not in the "shared instances", and i
    can't see any other "shared" directory.

  • Problem with forms authentication in OWA

    Hi
    I have a problem with exchange 2013 standard
    When I enable forms authentication on OWA, after logging in I get a 404 file not found error.
    Forms authentication works fine on ECP.
    I noticed that the login url has a ReturnUrl on the querystring which is double url encoded.i.e. I am getting
    https://centaur.patriot.local/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fcentaur.patriot.local%2fowa%2flogin.aspx%3fReturnUrl%3d%252fowa%252f%253fbO%253d1%26bO%3d1
    If I unescape the ReturnUrl and put that in the browser,(like the following), it works:
    https://centaur.patriot.local/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fcentaur.patriot.local%2fowa%2flogin.aspx%3fReturnUrl=/owa/?bO=1&bO=1
    So either IIS is redirecting twice or the redirect url is incorrect.
    Any ideas on how to fix this?

    Hello,
    You're right. the issue is related to IIS.
    If you do not want IIS to allow doubled-encoded requests to be served, please set allowDoubleEscaping vaule to false to check the result.
    -Encoded Requests" section in the following article:
    http://www.iis.net/learn/manage/configuring-security/use-request-filtering
    If the settings don't work, I recommend you post your issue to iis forum.
    http://forums.iis.net/
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Problems with Forms view in Web browser

    I am having several problems with viewing forms in IE 7.
    I am running Oracle 10g. When I run a form for the first time it seems to run ok. Then if I make changes and want to view the changes, the form does not refresh. I also have a problem viewing different forms...IE keeps displaying the initial form instead of the new one. I have to completely shut down Forms Builder and OC4J in order to see a different form, or changes to the current form.
    Also, I am having the annoying text problem where after the first view, HTML code appears on the screen and I have to remove a digit from before the HTM part of the URL in order to even attempt to run anything. Refreshing the screen does not work.
    Please help...this is really irritating...
    Thanks,
    Kristin

    IE 7 isn't certified against Forms 10g
    is it important for you to use version 7 ?

  • Strange Problem with Forms (Smart Forms)

    I have lately been experiencing a strange problem with standard forms in the system. We have WebAS640 / ECC5.0 System. Soon after the initial run of patches, most forms in the system are showing the character '#' in place of formatted texts.
    I have searched the internet and most forums, but have not found a solution. Since this is the standard forms that i am talking about (unmodified and untouched) so i assumed this had something to do with our patch levels. However that is only an assumption.
    In particular i am having problem with the billing invoice type RD00, form name: LB_BIL_INVOICE. I have traced the problem to this much. The form shows the expected text, where no character format is applied to it. And where ever there is some character format, it just shows a string of hashes ('#'). The style being used by this form is LO_STYLE.
    I am also listing my patch levels in case that helps.
    SAP_BASIS     640             0014
    SAP_ABA             640             0014
    ST-PI             003C_640     0001
    PI_BASIS     2004_1_640     0006
    SAP_BW             350             0012
    SAP_HR             500             0005
    SAP_APPL     500             0006
    PI             2004_1_500     0004
    EA-IPPE             300             0004
    EA-RETAIL     500             0005
    EA-PS             500          0005
    EA-HR             500          0005
    EA-GLTRADE     500          0005
    EA-FINSERV     500          0005
    EA-DFPS      500          0005
    EA-APPL      500           0005
    Hope somebody can help in regard

    Hi Ashan!
    Interesting problem. You are seeing replacement characters, because assigned font(size) is not installed (somewhere, SAP or printer).
    But since this is completely standard, open an OSS-request - maybe it's not as fast as SDN, but I'm sure you will get a qualified answer (and solution).
    Regards,
    Christian

  • Problem with forms/app server

    Hi,
    I have a problem which is as below;
    I am opening a forms 10g application by putting my application server ip address in the browser.I can log in and go to the menu ,click and open a form in the application (there is no problem till this point).
    I generate a document and the form is saved(it gets saved and there is no problem).
    Problem
    There is a print generate button after that which is pressed (Its for printing).
    Its supposed to send the report (in MS word format) to the printer.When that button is pressed,the application gets hang.Its not responding at all.
    Its a packaged application and i dont have the source.
    Could it be an application server issue or a forms issue??.
    Because these forms were in 9i before and recompiled to 10g recently.
    Could any one suggest me which could be the problem area?
    Thanks and regards
    Ajith

    Dear Ajith,
    if u r using Forms 10g then and not using webutil functionality and trying to do something on client side (eg. printing) then forms 10g tries to do it on application server and not on client. That's why your application is getting hanged up.
    Regards,
    Manish
    India

  • Application Hudba (Music) problem with Czech characters

    Hello,
    I have problem with Czech characters for Music files copied into application "Hudba" all Czech letters (š,č,ť...etc.) are translated into Japonies letters (which I could not read at all). Could someone help please.
    Thanks

     You might to consider contacting the app developers http://talk.sonymobile.com/t5/Music/Walkman-Beta-Test/m-p/953659#U953659

  • Problems with form printing

    Hi experts,
    How could it be if I want to test my sapscript it doesn't ask for the printer and the request goes to directly into the spool. The problem with this I cannot choose in which printer do I want to print it goes immediately into the spool.

    Hi!
    In SE37, check out function module OPEN_FORM
    It has a parameter, called OPTIONS.
    Check out its documentations and parameters.
    Regards
    Tamá

  • Apex form based on a table problems with ID column

    Hi all,
    Am going round and round in circles trying to get this to work and i'm not getting anywhere fast.
    Trying to get a form to process an single row insert into a table.
    Using Automatic Row Processing to insert, the pk column page item is hidden and protected.
    I would like to put the source of the PK (hidden and protected) item to be the next value of my sequence:
    CREATE SEQUENCE   "MODULEFEEDBACKID_SEQ"  MINVALUE 1 MAXVALUE 99999 INCREMENT BY 1 START WITH 196 NOCACHE  NOORDER  NOCYCLE
    /But I can't manage to get it to work.. every time i try to submit the page it just says "ORA-01400: cannot insert NULL into ( table )"
    Any ideas?!
    Thanks in advance
    Ashleigh

    when you create the form you said that the sequence is associated to pk? i think not
    then you can create a trigger that set the pk and in the mru return the value of the pk to the item associated with the pk
    or recreate the form with wizard and set the sequence to the pk there

  • Problem with form after registering in applications

    Hi all,i have developed a new form using template.fmb which i got from AU_TOP.I developed the new form from form builder 10g and registered in applications.Now,when i see my form in applications..there are somethings missing like,
    1)Every form in Oracle has a oracle logo on the top left corner of the form.My form has something different logo.
    2)When one form is opened,even we can open other forms or navigate to another responsibility.But,when my form is open nothing else works.
    Can someone kindly address my problems and give a solution.
    Any help is appreciated,
    Thanks in advance!!

    Hi Sandy;
    Please see below note and recheck your step
    How to Register a Custom Form in Oracle Applications [ID 133995.1]
    Regard
    Helios

  • Printing problem with forms 4.5 on windows xp

    Hi,
    We have an application using forms 4.5 on DB version Oracle 9207 running on winxp.
    Recently the clients were formatted for virus infection problems.
    Now when a print job is fired from a client to a shared printer, system flashes error
    *" NO PRINTER PORT FOUND IN REGISTRY "*
    The same job print to a local printer , also all windows test page printing print ok to the same shared printer .
    This error is flashed only when the print job is fired from Forms 4.5 to a shared printer on the network
    Please Advise urgently
    Altaf

    Urgently restore a backup of the registry.
    Urgently do not use the word 'urgently' in a forum of volunteers.
    Also it can not be urgent, as Forms 4.5 dates from the Flintstone age, and probably isn't even certified on XP.
    However, the error message is very clear: Apparently Forms 4.5 uses the registry to store printer info: you need to get that entry back. That kind of info is usually documented. Documentation is likely still online.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for