USER_EXIT used in Form6i

We are using forms 6i as the front end with oracle10.2.0 as the back end.We have forms developed in Oracle Forms 6i which use user_exit function supported by earlier versions of Oracle.I would like to know that if we want to continue using Oracle Forms 6i as the front end with Oracle 10.2.0 as the backend database ,do we need to change these user_exits to pl/sql code or pro*C or shell script or we can continue using these user_exit calls although backend is migrated to Oracle 8.1.7.4 to 10.2.0?

Hi,
Yes, the idoc will go into error status.
Regards
senthil kumar

Similar Messages

  • How i can make web application by using oracle form6i

    how i can make web application by using oracle form 6i , indetail .
    A.R

    indetail .As Andy Millman might observe, you're having a laugh. This is a big topic, far exceeding what it is reasonable to expect people to help out with in a Forum. Do you not have the 6i documentation?
    OTN has a site for upgarding to web forms. Although it is mainly focussed on moving to 9i/10g a lot of the issues and solutions apply to moving a 6i client/server app to web deployment. For further help there is a Forms.
    Cheers, APC

  • Reports problem helppp...

    hi to all out there..
    I'm newbie in oracle.. i'm using oracle form6i and report6i run in client server.
    the problem is when i try to call only the name that type in the text_item it wont appear but all names appears .
    here is my code.. in datablock i have text_item name=rep and button where i put below the code:
    declare
    v_Rep varchar2(100);
    repid report_object;
    Begin
    repid := find_report_object('dept');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,’name=’||:log.rep);
    v_rep := run_report_object(repid);
    end;
    in report property pallete:
    i put in other reports parameter= name
    query name= select * from s_customer where name=:rep

    The problem may be in the tnsnames.ora file in $ORACLE_HOME/network/admin directory
    Check for the Rep60_machine entry for proper format

  • Access violation in 'ORA805.dll'

    hi,
    when i'm connecting to the database the TOAD prompts an error message.
    Access violation at address 67614564 in module 'ORA805.dll'. Write of address 00000160
    im using TOAD v9.0 and Oracle 9i.. i also try to uninstall the TOAD v9.0 and install TOAD v8.5 but it also generates error..
    thanks..

    Hi,
    even this tread already long long time ago... may be can give some solution for other person who have some problems now or in the future... :)
    I try install oracle 10g database with character set AL32UTF8, and once finish configure the database I also encounter the same problems when try connect using toad 8, using client form6i,
    the soultion is trying upgrade the oracle client at your computer, like 9i client and above, and that problems will be solve.
    there is also other option that you can do, which is reinstall the database using other character set, I try install a new one, same database 10gR2 but the character set is WE8ISO8859P1, even still use the old client I can connect using TOAD 8 using form 6i client without any problems.... :)
    since I'm not that an expert and only the beginner in using oracle, I'm not that sure what is the cause of that problems if the character set we use is AL32UTF8... may be someone or anyone who know can explain more?

  • Reports Problem Plz help

    hi to all out there..
    I'm newbie in oracle.. i'm using oracle form6i and report6i run in client server.
    the problem is when i try to call only the name that type in the text_item it wont appear but all names appears .
    here is my code.. in datablock i have text_item name=rep and button where i put below the code:
    declare
    v_Rep varchar2(100);
    repid report_object;
    Begin
    repid := find_report_object('dept');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,’name=’||:log.rep);
    v_rep := run_report_object(repid);
    end;
    in report property pallete:
    i put in other reports parameter= name
    query name= select * from s_customer where name=:rep

    Try this:
    declare
    v_Rep varchar2(100);
    repid report_object;
    pl_id Paramlist;
    Begin
      pl_id := GET_PARAMETER_LIST('tmpdata');
      IF NOT Id_Null(pl_id) THEN
          Destroy_Parameter_List(pl_id);
      End If;
      pl_id := CREATE_PARAMETER_LIST('tmpdata');
      ADD_PARAMETER(pl_id,'rep',TEXT_PARAMETER,:log.rep);
      repid := find_report_object('dept');
      v_rep := run_report_object(repid,pl_id);
    end;I assume that ":log.rep" is the text_item on your form containing the name.

  • 2 Problems Form Wont Run Without DataBlock / “FRM-40405”

    Using Oracle8i, Form6i & Report 6i.
    Requirement
    1.     How to run form with out DataBock
    2.     Avoid rising of Error “FRM-40405 No Change to Apply”
    Problem Details
    Developed an index / welcome form with link of all other reports & forms.
    But this form won’t open unless I include (a DataBlock or dataitems in a non-DatabaseBlock).
    If I include a DataBlock it give following error:-
    “FRM-40405 No Change to Apply” when ever I open linked forms/reports and when ever I enter new record in link forms.
    This error won’t stop/corrupt any process but rise on every above instance.
    Wishes
    Jawad

    You should be able to run a form without a base table block. You do need an item (can be a non base table item) to which the cursor can navigate. This can be a text item, button, etc. If you don't want the item to show on the form, make it a very small size (height and width both equal to 1).

  • Not able to use SRW.USER_EXIT in oracle forms.

    Hi,
    Below is my requirement in oracle forms:
    I have a query form, which has Inventory Category Set field and Category 'From' and 'To' fields. Based on the values selected by the user for Category Set, possible combinations for Categories should be displayed in Cateogory 'From' and 'To' fields. Upon clicking the 'Find' button, only the items which belong to this category set and the range of Cateogies selected should be displayed.
    Note that 'Item Categories' Key flex field should be used here. Number of Segments for each Category set will differ. To acheive this, I have attached the Key flex field to the Cateogory 'From' and 'To' fields.
    In the PRE-QUERY trigger of the datablock, I have to use where condition to filter the items based on the category sets and categories. This where condition should be generated dynamically based on the search criteria.
    In oracle report, we have provision to use the below USER_EXIT to get the where condition to append to my PRE-QUERY statement.
    SRW.USER_EXIT('FND FLEXSQL CODE = "MCAT"
    OUTPUT = ":P_WHERE_CAT"
    APPL_SHORT_NAME= "INV"
    MODE = "WHERE"
    DISPLAY = "ALL"
    NUM = ":P_STRUCT_NUM"
    TABLEALIAS = "MCA"
    OPERATOR = "BETWEEN"
    OPERAND1 = ":P_CATEGORY_FROM"
    OPERAND2 = ":P_CATEGORY_TO"');
    But in forms, I am not able to use this USER_EXIT. Please let me know the alternate ways to get the where condition dynamically in forms.
    Thank you in advance.
    Regards,
    Kalyan

    RAISE APPLICATION_ERROR built-in is raised in a DB procedure/function or trigger.
    You can write an ON-error trigger that will trap any DB error messages
    or
    You can use Dbms_Error_Code & Dbms_Error_Text for trapping the Error.

  • Despite using "USER_EXIT" command, getting an empty report when ran the concurrent program.

    Hi,
        In my report I am using "OE_ORDER_HEADERS_V" view in my data group query. This view is operating unit(OU) specific so, i am using "USER_EXIT" commands in before report and after report triggers correctly.
    Despite making above two setups when i ran my concurrent program from front end getting an empty report.
    Please help in fixing this.
    Thanks
    Sandeep.G

    Hi All,
              Solved the issue !!!
    Reason: I am writing report for custom application(XXKES) where i diddn't checked my profile(mo: Operating Unit).
    which is 912.
    And my OM responsibility is in 204 OU so, this is resolved by changing the OU profile of my custom application to 204.
    Next you do this on custom app. make sure your all other coordinating apps are also having same OU profile.
    Regards
    Sandeep.G

  • Bar code using Form6i run in c\s using scanner

    Dear all
    Want to ask if possible to used bar code in form6i run in c\s using scanner as bar code reader..
    Do i need to install something to work this bar code?
    Any step by step documentation on how to do a bar code?
    thanks

    A scanner is a hardware device that basically works like a keyboard. When you use a scanner it reads and interprets the bar code and sends the character to the Operating System (OS). Forms does not read characters directly from keyboard or scanner. It reads the characters from the OS. Therefore, Forms doesn't know where the characters came from, and it does not care.
    Think of it this way...
    When you change out your simple keyboard and replace it with a fancy keyboard, does Forms know or care. No.
    Or here is a even simplier way to think about it...
    Think of a scanner as being a box that sends characters to the computer. When you open the box and look inside you see a trained monkey who looks at the bar code and types the correct character on the keyboard. (But this trained monkey does not need to be fed.)
    The question you should be asking is, not if Forms will work with the scanner, but whether the scanner will work with my OS. Only the scanner manufacturer can answer that. If you want to know how to install scanner or how to operate it, then ask the manufacturer of the scanner.

  • Using ocx controls on form6i (Crystal report 7 control)

    I want to call reports developed in crystal report 7.0 (oracle as a backend)
    I putted a ocx control on form and called now i want to call different reports from different push buttons.
    vinod

    Hi Ibai,
       Thank you for your interest in CrystalWave. I tried sending this info to the email address you gave but got an undeliverable message.
    The links are as follows:
    (please use Internet Explorer while accessing the download link)
    1. CrystalWave info: http://www.twbs.com/CrystalWave.html
    2. CrystalWave download: http://www.twbs.com/cwrfiv2004.asp (You need to fill in your info and the download will start.)
    Please do let me know if you are not able to access these links and I can setup a temporary link for you to download the program.
    Thanks,
    Gopal Viswanathan

  • How to change printer settings in MSWord using Form6.

    I'm using OLE2 to print documents from word.
    First of all i want to know how to set what tray the printer should use from Form 6.0.
    Second, i want to know how to set the Header and footer in Word from Form 6.0.
    Here is the source code i'm using:
    MyApp := ole2.create_obj('Word.Application');
    Documents:=ole2.get_obj_property(MyApp,'Documents');
    Document:=ole2.invoke_obj(Documents,'Add');
    Pagesetup:=ole2.get_obj_property(Document,'PageSetup');
    ole2.set_property(Pagesetup,'TopMargin',i_TopMargin);
    v_args:= ole2.create_arglist;
    ole2.add_arg(v_args, '2');
    ole2.set_property(Pagesetup,'FirstPageTray',v_args);
    ole2.destroy_arglist(v_args);
    Setting the FirstPageTray isn't working.
    Can someone help me??
    Regards,
    DRJ

    Hi ,
    As you have mentioned that it is working fine with 2-3 printers try to find the differences of printer
    Try with this code:
    boReportDocument.Load(Server.MapPath("CrystalReport.rpt"));
            PrintOptions boPrintOptions = boReportDocument.PrintOptions;
            // The paper size used for this report is  '14x7'.
          System.Drawing.Printing.PrinterSettings oPrinterSettings = new       System.Drawing.Printing.PrinterSettings();
            oPrinterSettings.PrinterName = "     ";
            foreach (System.Drawing.Printing.PaperSize oPaperSize in oPrinterSettings.PaperSizes)
                if ("14x7" == oPaperSize.PaperName)
                    boPrintOptions.PaperSize = (CrystalDecisions.Shared.PaperSize) oPaperSize.RawKind;
                    break;
            CrystalReportViewer1.ReportSource = boReportDocument;
    Regards,
    Shweta

  • Can we use Dynamic SQL in Oracle Reports ?

    Hi ,
    Can we use Dynamic SQL in Oracle Reports ?
    If yes please give some examples .
    Thanx
    srini

    I believe the built-in package SRW.Do_Sql is what you are looking for
    Example from the document:
    /* Suppose you want to create a "table of contents" by getting the
    ** first character of a columns value, and page number on which its
    ** field fires to print. Assume that you want to put the "table of
    contents"
    ** into a table named SHIP. You could write the following construct:
    DECLARE
    PAGE_NO NUMBER;
    PAGE_FOR INDEX NUMBER;
    SORT_CHAR CHAR(1);
    CMD_LINE CHAR(200);
    BEGIN
    SORT_CHAR := :SORT_NAME ;
    IF :CALLED = Y THEN
         SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
         SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
         P_START_PAGENO);
         SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
    END IF;
    SRW.GET_PAGE_NUM(PAGE_NO);
    CMD_LINE := INSERT INTO SHIP VALUES
                          (||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
    SRW.MESSAGE(2,CMD_LINE);
    SRW.DO_SQL(CMD_LINE);
    COMMIT;
    EXCEPTION
      WHEN DUP_VAL_ON_INDEX THEN
            NULL;
      WHEN SRW.DO_SQL_FAILURE THEN
            SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
      WHEN OTHERS THEN
           COMMIT;
    END;

  • BI-IP with WAD using enhanced SAVE_DATA command. It is possible?

    Hi,
    I have a BI-IP Planning application based on WAD and deployed in WEB. My customer is asking to add some enhanced functionality to the SAVE button (SAVE_DATA command in WAD). The basic idea here is to extend forward for a simple validation procedure just before save data into the planning infocube.
    The validation consists just in make a single arithmetic sum by testing 100% for the weekly contribution percentages (input ready). I mean (weeks) W1, W2, W3, W4 for a month. Percentages entries given by user are 25, 25, 25, 30.
    IF SUM(Wi) > 100 THEN ERROR (dont let to save data)
    ELSE THEN SUCCESS (let to save data).
    At the same time, this kind of validation allows to add some basic rule to don't exceed the contribution margin for the immediate upper level...
    It is possible to do this? Any experienced comments doing this? any user_exit or enhancenments?
    Please advise.
    Thanks in advance.

    Hi,
    This is the procedure step by step that we have used to solve the req...
    1) Create the aggregation top-down level for sales units WEEKLY contributions (percentage).
    2) No filter used.
    3) Create the TYPE Formula Planning Function: VALIDATE CONTRIBUTIONS with condition 0VERSION = Plan/Active and Sales Route = ZVAR_ROUTE.
    4) Add the FOX Code to the formula as follows:
    FTBCH -> {KF, 0CALMONTH, 0CALWEEK, 0VOLUMEUNIT}.
    DATA CURRPER TYPE 0CALMONTH.
    DATA PERIOD TYPE 0CALMONTH.
    DATA CALWEEK TYPE 0CALWEEK.
    DATA NVALIDA TYPE F.
    NVALIDA = 0.
    CURRPER = VARV('ZIPM_MTHPLAN').
    FOREACH PERIOD, CALWEEK.
      IF PERIOD = CURRPER.
        NVALIDA = NVALIDA + {ZIP_CONT, PERIOD, CALWEEK, HL}.
      ENDIF.
    ENDFOR.
    IF NVALIDA <> 100.
      MESSAGE E001(UPF) WITH 'ERROR: CCM PORCENTAJE SEMANAL NO ASIGNADO A 100%.'.
      EXIT.
    ENDIF.
    This basically performs for each PERIOD and CALWEEK an accumulated value in order to summarize  the user data entry values. So IF validation is different 100% then will raise a message error direct to the end user interfase and stops the program logic otherwise continues with success.
    5) Build your ready-input query and WAD template as required and then put some web items like Data Provider, Analysis, SAVE / REFRESH and CANCEL button group.
    6) Go to the button group properties and select SAVE Command configuration then go to ACTION -> Command  and hit the button NEXT COMMAND.
    7) At the EDIT COMMAND LIST screen insert a new command VALIDATION and add your new planning function (VALIDATE CONTRIBUTIONS). By default you can see the SAVE_DATA command already there. You can execute process chains, standard and custom planning functions, planning sequences, etc ,etc....for this case when the SAVE_DATA command executes but you can also create your own commands and use it as well.
    8) Execute your WAD application from the URL web and test it.
    Hope this helps...

  • How can i call report 9i using  developer form 6i

    hi all
    I want to run report 9i using form6i.
    for example i create report in report 9i that use java class.
    i must run this report with form 6i.
    I use RUN_PRODUCT built in.
    if my report dont use java class i haven't any problem
    but when i import java class in my report, in runtime
    with form6i i find "Report contains uncompiled PL/SQl"
    message.(there is not uncompiled pl/sql)
    is there any way to solve this problem?or is it possible
    to do this?
    any help appreciated.
    Nahid Bastani

    You need to use RUN_REPORT_OBJECT built-in instead of RUN_PRODUCT. Refer Integrating 9iAS Reports Services in 9iAS Forms services paper at http://otn-stage.us.oracle.com/products/forms/pdf/frm9isrw9i.pdf.
    Thanks
    Rohit

  • How can i use different language in Forms9i or 10g

    Hi,
    I want to use two languages at a time on forms9i.So i have Configured my NLS_LANG parameter on Form 9i by REGEDIT. and also install that others language setup by REGIONAL SETTING.After it on run time i am abled to insert
    data in other language and successfully saved it.BUT when i query that particular data they are showing me bug valuse.or like some currpt data.
    but when same configration,i use forms6i then form6i working well and retrieving
    fine data.as it is as i entered.
    plz Help me.
    i am worried about that issue.why form9i not returning fine data.
    Regards
    Mr.khan

    This is most likely due to a mismatch of the NLS_LANG you have on the client and the one you have for the database.
    Exactly what settings to do you have for the two?

Maybe you are looking for