Handling TackOn form or UDF Form

HI all,
Can we make any single field disable in Tack-On form (UDF form with -ve form id) for system forms. So that users can able to see but can't change.
Is there any way found without using categories.
regards:
sandy

Hello
On Form You may press CTRLSHIFTB which is the UDF form settings ,then uncheck the editable flag.
You can also you the columnpreferences object to set it visible and disabled. Please note, the column preferences is saved when B1 is exiting.
Regards
János

Similar Messages

  • Can we handle multiple forms  in struts application

    In one jsp i will handle a form based on the input ,I must retrieve data and set it in another form class is it possible if so how
    addResource.jsp
    <html:form >
    <html:text name="resourceForm" property="resourceId" />
    </html:form>
    In action class method
    retrive resourceid based on that retrieve employee information
    and need to set in another form for display is it possible

    you can forward the request to a different action before redirecting to the second form, create another action like
      <action path="/secondFormAction"
                      type=""
              name="secondForm">
              </action>
    then in your resource form action
    <action path="" name="resourceForm" >
        <forward name="success" path="/secondFormAction.action"/>
    </action>the secondFormAction will create the form for you and u could put the data in request attribute and access it in the secondFormAction and then pupulate the data in the secondForm and then redirect the request to the second JSP.
    hope you have got the point here, I wouldnt wont to paste anycode until you try it out.

  • Create "Dynamic" beans to handle dynamic form

    Hi All,
    Hope it is not too stupid question.
    JSP is all about dynamic content, a part of which can be a form that displays different fields and attributes. If I use Javabeans to handle the form, I will need different beans to go with each "configuration" of the form.
    Now let's say I have a form that can get one of three "configurations" , depanding on the parameter passed to the JSP page.
    I can create three Beans to match any type of form. (e.g., AFormBean, BFormaBean, CFromBean)
    How can I conditionally instansiate the Bean to handle the not yet known type of the Form?
    I tried to use an abstract Bean to be defined on the top of the JSP :
    <%
    Beans.AddComponentBean addComponentBean;
    %>
        <c:choose>
            <c:when test='${param.type=="DBMS"}'>
                    <jsp:useBean id="addComponentBean"            
                       class="Beans.AddDBMSBean" scope="page"/>
                    <jsp:setProperty name="addDBMSBean" property="*"/>    
            </c:when> 
            <c:when test='${param.type=="APP"}'>
                    <jsp:useBean id="addComponentBean"
                          class="Beans.AddAppBean" scope="page"/>       
                    <jsp:setProperty name="addDBMSBean" property="*"/>    
            </c:when>                 
            </c:choose>
    But that cannot be done since I get Use Bean duplicate.
    What is the right way of doing this?
    Thanks.

    How I would do this depends on my application design.
    I think I would go with a Factory type of design. I would have an 'AddBeanFactory' that decides on the specific type of the bean to create, and returns the abstract AddComponentBean. If you want to do it all in JSP, then making the factory a bean itself is usefull:
    package beans;
    import java.util.Map;
    import java.util.HashMap;
    public class AddBeanFactory {
         private String type;
         private Map parameters;
         private AddComponentBean addComponentBean;
         private static final Map<String, Class<? extends AddComponentBean>>TYPEMAP = new HashMap<String, Class<? extends AddComponentBean>>();
         static {
              TYPEMAP.put("DBMS", beans.AddDBMSBean.class);
              TYPEMAP.put("APP", beans.AddAppBean.class);
         public AddBeanFactory() {}
         public void setType(String type) { this.type = type; }
         public void setParameters(Map params) { this.parameters = params; }
         public AddComponentBean getAddComponentBean() throws InstantiationException, IllegalAccessException {
              if (addComponentBean == null) {
                   if (type==null || parameters == null){
                        throw new IllegalStateException("The Component Type and Parameters must be set prior to retrieving the ComponentBean");
                   addComponentBean = TYPEMAP.get(type).newInstance();
                   //fill bean with parameters
              return addComponentBean;
    }Then your JSP would be something like:
    <jsp:useBean id="beanFactory" class="beans.AddBeanFactory" scope="page">
        <jsp.setProperty name="beanFactory" property="type"/>
        <jsp.setProperty name="beanFactory" property="parameters" value="${request.parameterMap}"/>
    </jsp:useBean>
    <c:set var="addComponentBean" value="${beanFactory.addComponentBean}"/>

  • Error Handling in Forms

    Dear all,
    we are using oracle developer suite 10g r2 with oracle database 10g r2 against windows server 2003.
    Error handling is a very big issue.
    i try to do the following, just correct me, or make the trigger more efficient.
    i face unexpected messages, like a message two time displayed, sometime important message never displayed.
    i just set the :system.message_level =20 in the when-new-form-instance trigger.
    and create on-error trigger like below
    declare
    errcode number:=error_code;dbmserrcode number;dbmserrtext varchar2(200);
    formtxt varchar2(200);
    errtype varchar2(3);
    begin
    --------- user defined database exceptions errors raised by --RAISE_APPLICATION_ERROR
    IF DBMS_ERROR_CODE in (-20738,.......) then
    raise form_trigger_failure;
    end if;
    if error_code=50017 then
    message('duration must be between 0 and 23');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    elsif
    error_code=40202 then
    clear_message;
    message('please provide the required fields.');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    elsif error_code=50022 then
    clear_message;
    message('time must be in the correct format.');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    end if;
    if error_code in (40509,40508) then
    dbmserrcode:=dbms_error_code; dbmserrtext:=dbms_error_text;
    if dbmserrcode=-1438 then
    clear_message;
    message('your number is too large.try again.');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    elsif dbmserrcode=-1400 then
    clear_message;
    message('your forgot to provide a value.try again.');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    elsif dbmserrcode=-2291 then
    clear_message;
    message('header is not found for this insertion.');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    elsif dbmserrcode=-1 then
    clear_message;
    message('record already exists');message(' ',no_acknowledge);
    raise form_trigger_fialure;
    else
    clear_message;
    message(error_code||' : '||error_text);message(' ',no_acknowledge);
    raise form_trigger_fialure;
    end if;
    else
    clear_message;
    message(error_code||' : '||error_text);message(' ',no_acknowledge);
    raise form_trigger_fialure;
    end if;
    exception
    when others then
    if dbms_error_code=-20738 then
    clear_message;
    message('Error: absent or later record errror from the database trigger.);
    raise form_trigger_failure;
    elsif .....
    esle
    clear_message;
    message(error_code||' : '||error_text);message(' ',no_acknowledge);
    raise form_trigger_fialure;
    end if;
    end;any suggession?
    Regards

    i must come with a plsql code which handle every error and suppress unnecessary messages.Good luck with that. No matter how well thought out or planned, you're not going to be able to take all scenarios into account. The design of an exception handler takes time to address all possible scenarios you want handled and even then, you're not likely to handle every situation in the beginning.
    could we implement the oracle ebusiness error handling procedures here in our application?if yes, then where could we find that procedure?>
    I've dug through that code and it is not a thorough as you think it is. It handles specific situations and then defaults the rest. It is a good model for your own exception handler, however. That is what I used it for. :) I don't recall which library it is in, but I'll look around and if I find it, I'll post it.
    I agree with Andreas's comment...
    Simply remove your ON-ERROR-trigger, then you have a default. That's nothing better or worse than what apex has.I'm not too familiar with Apex; I've worked with it, but it's been a little while. Even with Apex, you're going to have to develop a customized Exception Handler so more intuitive or application specific messages are displayed in response to an exception.
    As to Andreas's comment...
    For your own error-handling... The "simplest" way in my eyes is create your own error-table where you have appropiate columns for the error-code and the error-type (FRM,ORA,Whatever), then in your ON-ERROR-trigger read the appropiate record from that table and show the error. You could also have a flag in your table which decides what to do with a specific error (Show as Message, Show as Alert, Don't show at all) and react accordingly.This is exactly what we implemented in our application. We created a set of tables that contain all of the Oracle Runtime errors and their attributes (Error Type, Severity Level, etc). Then we wrote a standard On-Error trigger that is subclassed to all of our forms that calls a Library "On_Error" package. This package evaluates the exception raised, compares it to the database entry for the error and then displays an appropriate message depending on the Severity Level, Error Type (ORA or FRM) and Message Type (Informational, Error, Caution) and we display the message in either the Status Bar, Note Alert, Caution Alert or Stop Alert or it is supressed. If an error is not found in the table, then it is displayed in a Stop Alert as an "Unhandled Exception." The second table I mentioned contains all of the messages used by our application and is cross referenced with the table that contains the Oracle messages. By simply assigned one of our messages to an Oracle message - our package will display our message instead of the default Oracle Message. Yes, this took sometime to build and test and once implemented, we spent another couple of months perfecting it, but now it is pretty solid and we haven't had to modify it in over a year.
    While this level of complexity may be overkill for your application, it does offer the greatest flexibility in the long-run. Also, if your application must support multiple languages, having all of your messages in a table make internationalization extremely easy. :)
    The point of all this, is that no matter which system you use (Forms, Apex, or Java) you will still need to invest some time into designing an Excpeiton Handling method for your application and then implement it accross the application. This is not something you can develop in a short period of time and it will not be perfect in the beginning. However, in the long-run, you will be happy you spent the time up-front to build a flexible and robust Exception Handling system.
    Craig...

  • Handling oracle forms errors (frm-nnnnn) locally

    is there a way to handle an oracle form error (e.g. frm-40508) locally in a way similar to handle oracle database errors.
    e.g.
    procedure insert_something is
    insert_error exception;
    pragma exception_init(insert_error,-40508);
    begin
    :c1.a := 1;
    :c1.b := 2;
    commit_form;
    exception
    when insert_error then
    <handle insert error on c1 block>;
    end;
    Edited by: mojo on Oct 7, 2008 4:34 AM

    by locally i mean within the pl/sql block that will have raised the error.
    an example i encoutnered recently, but by no means the only occasion i have wished such things:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    end;
    This is called from a pre-pop-menu trigger. mouseRec and block are calculated previously. A right-click on a record item below the last record raises error frm-40741 (unable to locate record on block). it would be nice to be able to do something like the following without incolving an on-error trigger:
    function mseRecStatus returnvarchar2 is
    rtnChar varchar2(32);
    non_record_clicked exception;
    pragma exception_init(non_record_clicked,-40741);
    begin
    rtnChar := get_record_property(mouseRec,mouseBlock,status);
    return rtnChar;
    exception
    when non_record_clicked then
    return null;
    end;

  • 10g Preview: Handling included form

    I have a page that looks in part like this:
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
          xmlns:ui="http://xmlns.oracle.com/uix/ui"
          xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
          xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
        <content>
                                                    <include node="${ctrl:parsePage(uix,'controlView')}"/>
        </content>
        <handlers>
            <event name="refresh hideControls" source="controlForm">
                <method class="com.avega.portlets.view.EventHandler"
                        method="handleControlFormSubmit"/>
            </event>
        </handlers>
    </page>The included 'controlView' looks in part like this:
    <?xml version="1.0" encoding="windows-1252"?>
    <form xmlns="http://xmlns.oracle.com/uix/ui" name="controlForm">
        <contents>
            <submitButton text="Refresh" event="refresh">
            </submitButton>
            <submitButton text="Hide Controls" event="hideControls">
            </submitButton>
        </contents>
    </form>I had originally tried to include more page-level elements in the controlView.uix file and put the event handler there, but I always got an unhandled event exception, so I put the handler out in the main page.
    The event hander looks like this:
         public static EventResult handleControlFormSubmit( BajaContext context, Page page, PageEvent pageEvent ) {
              MutableState pageState = getMutableState( context, page );
              Informant.debug( "pageState.time = "+pageState.getValue("Time") );
              Informant.debug( "page.getProperty('Time') = "+page.getProperty("Time") );
              pageState.putValue( "Time", page.getProperty("Time") );
              page.setState( pageState );
              return new EventResult( page );
         public static MutableState getMutableState( BajaContext context, Page page ) {
              StateManager stateManager = context.getStateManager(true);
              State oldState = page.getState();
              if ( oldState == null ) {
                   return stateManager.getNewState();
              } else {
                   return StateUtils.cloneState( stateManager, oldState );
         }Now I'm not getting any exceptions, but the event handler isn't being called. I'm really just trying to get the debugging printouts at this point, to learn how the State works, but the page just redisplays and the printouts in the event handler never seem to get called.
    What am I missing?

    John -
    The "source" of the event is going to be the id of the submitButton which fires the event - not the form name. So, try changing:
    <event name="refresh hideControls" source="controlForm">to:
    <event name="refresh hideControls">And I believe your event handler should be called.
    Andy

  • UI: Event Handling of forms created with the Screen Painter

    Hi,
    I created a form with the Screen Painter and saved it as XML document. After that, I loaded this form with the following code:
    <i>Dim oXMLdoc As MSXML2.DOMDocument
    oXMLdoc = New MSXML2.DOMDocument
    oXMLdoc.load("C:\form1.xml")
    SBO_Application.LoadBatchActions(oXMLdoc.xml)</i>
    Then the loaded form appears in the SBO application with all added items.
    Now, I would like to know how I could handle an ITEM_PRESSED event for a button of this imported form.
    It would be great if someone could help me with this problem and post some example code.
    Regards,
    Dennis

    Dennis,
    you have to create a function that will handle all the event receive from B1
    <i>    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            If (pVal.FormUid = "YourUIDForm") Then
                If ((pVal.itemUID = "YourItemUID") And _
                    (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
                    (pVal.Before_Action = False)) Then
                    ' Here write the coe you need....
                End If
            End If
        End Sub</i>
    Off course, you need your variable SBO_Appliation declared as follow :
    Private WithEvents SBO_Application As SAPbouiCOM.Application

  • How to handle oracle.forms.handler.TextAreaItem

    Hi guys,
    i get following error if i try to set the text of a oracle.forms.handler.TextAreaItem.
    If i "inspect path" the pathfinder show me that it is a oracle.forms.handler.TextFieldItem.
    Now, if i run the script, following error occurs:
    Paused by Exception
    Reason:
    Replay Action: TextField(//forms:textField[(@name='FPAA_FPAA_ZUSATZ_INFO_0')]).input() failed. Cause: oracle.forms.handler.TextAreaItem cannot be cast to oracle.forms.handler.TextFieldItem
    What to do now?
    There is no oracle.forms.handler.TextAreaItem that i can select in the menu of "right-click --> Add new action/item".

    Any suggestions on this problem?

  • [struts] Handling Multiple Forms

    Hi All,
    This is regarding Struts problem. Let me the explain what i am doing and what is the problem.
    Consider for example, i am already having a jsp, which displays student information. this is includes action, form etc.
    Now i need to add Hostel information, extra curriculum information etc. etc..
    but these hostel information and others should be in separate action, form, and jsp
    The student information form(page) is base form and should be displayed all the team, meaning, if user not selecting any information particularly any checkbox then only student inforamation page should be displayed.
    If the user, clicks hostel information, extra curriculuam checkbox, then the page should contain student information, then hostel, and then extra, then etc etc...
    My requirement is i should not disturb more in base form(meaning student information, action, form), instead what i am doing is i am calling <jsp:include> in base form to include the hostel, and other details.
    i hope this information is very clear. Any doubts please write.
    Any help or any suggestion or any comments are welcome.
    Helping wit code also be very helpful.
    Thanks in advance,
    Rajkumar

    Will Bracken
    how about in latest versions.
    can you provide information ,how it could be handled in latest version with sample example

  • Error-handling in form routines to be called from maintenance  view

    hello,
    i have created a table maint. dialog. Under 'enviroment->modification->events' you can create form-routines for your own coding.
    I have the maint.event '01 - Before saving the data in the database'. Here i do some checks if entered values in some fields are okay or not etc.....
    When the users enters 'wrong' data i do a "message e000 with 'text' " So i got a error-message and the user is not able to save the data before changing it.
    BUT: i get the right error-message in the status-line, but i got an EMPTY screen, all the fields disapear. I have to go back with enter or the red cancel button. But then i 'fall back' to the selection screen of the maint. view. Thats not very user-friendly.
    Any ideas ?

    hi,
    think you have place your module not correct:
    try that: (without event)
    PROCESS AFTER INPUT.
      LOOP AT EXTRACT.
        FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
        CHAIN.
          FIELD Y789.
          FIELD Y012.
          MODULE LISTE_UPDATE_LISTE.
        ENDCHAIN.
    *begin of insertation
        CHAIN.
          FIELD Y123.
          FIELD Y456.
          module check_field  ON CHAIN-input.
        ENDCHAIN.
    *end of insertation
      ENDLOOP.
    Andreas

  • How to handle Adobe Form - Dynamic Tables.

    Experts:
    I am new to Web DynPro for ABAP and Adobe Interactive forms.
    I have created a Adobe form with dynamic table. When I submit the form, WD4A is able to read only the first row of the table. Other rows are getting lost.
    I thought just binding with the context will trasfer data from Adobe to WD4A. But it is not happending.
    Do I need to write any code in WD4A and any script in Adobe Designer?
    Can any one send me a sample code (ABAP and JavaScript). Even link to that will be very useful.
    Thanks,
    Vijai

    Thomas:
    My context is as follows.
    <CHANGING>
      <REQUISITION_ITEMS>
        <ELEMENT..1>
        <ELEMENT..2>
        <ELEMENT..3>
    The cardinality of <CHANGING> node is 1..1 and the cardinality of  <Requisition_items> is 1..n.
    Thanks
    Vijai

  • Handling HTTP form data

    Hi,
    I am really struggling with HTTP data submission from a LiveCycle form.
    There seems to be loads of code samples for ColdFusion, but nothing for ASP/ASP.net - all I am looking to do is submit the data, post a response back to the user confirming it has been received and save the posted data to a DB.
    I have used the standard request command, but when I post the form I am just getting a general error.
    Can anyone help with some code snippets that will get me going on this?
    Many thanks in advance.
    Gareth

    We have a separate forum for Designer. Please repost in the LiveCycle Designer forum.

  • Document Handling in Forms

    I have a requirement to be able to attach and view documents(pdf, word, excel, powerpoint) from within a forms 9i app using 10g database. I'm looking for some direction on how this is best done. Any tutorials/white papers out there that can help?
    I'm thinking of storing the files on the server, not as blobs, with path info stored in rows in the db. Wondering about performance of files on the file system versus blobs.
    Thank you.

    Hi;
    If you mean attachment function than check below
    attachment & delete function
    Re: attachment & delete function
    Regard
    Helios

  • Order Entry Interface table error handling through Form after Orderimport

    Hi Gurus,
    We are on Oracle Apps 11.0.3.
    I'm just curious to know that is there any form available to correct error records in SO_HEADERS_INTERFACE, SO_LINES_INTERFACE, SO_LINE_DETAILS_INTERFACE, SO_PRICE_ADJUSTMENTS_INTERFACE, SO_SALES_CREDITS_INTERFACE, SO_SERVICE_DETAILS_INTERFACE, SO_LINE_ATTRIBUTES_INTERFACE, SO_HEADER_ATTRIBUTES_INTERFACE tables after running orderimport.
    Most thread says that set REQUEST_ID, ERROR_FLAG and INTERFACE_STATUS columns to NULL in each interface tables. Is there any oracle standard form available to accomplish this in Oracle Apps 11.0.3 or 11i?
    Thanks
    -Manish

    Hi Srinu,
    it looks like you got the error message Schedule line &1 &2 is missing in table YVBEP while deleting the sales order.
    It seems, that there are no SAP notes regarding this issue. Do you have this issue with all orders or with a single order?
    If only a single order causes this issue, maybe something was wrong during an update.
    If you get this error for many orders, then custom code (modification, enhancement, user exit in MV45AFZZ, ...) may be the reason for it.
    If you have no custom code in module pool SAPMV45A, then contact SAP for this issue.
    Regards,
    Klaus

  • What's the business case for using adobe forms for handling print forms

    Hi
    We are just starting our SAP project and are looking at the possibility to use Adobe forms for generating and printing our forms, like purchase orders, invoices etc.
    My Question is:
    1. Is this possible / adviseable ?
    2. if so - what's the business case in using Adobe forms  - <i> We have been looking on the SAP Pricing for adobe interactive form, and in our point of view it's grotesque high</i>
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
    Regards
    Morten Nielsen

    Hi Morten,
    1. Is this possible / adviseable ?
        As far I know SAP is going to stop support for SAPScript in coming years (I don't know exact dates). It is pretty much advisable to use Adobe Print Forms.
    2. if so - what's the business case in using Adobe forms - We have been looking on the
    SAP Pricing for adobe interactive form, and in our point of view it's grotesque high
      We can use Adobe Print Forms where ever we can able to use SApscripts/PDF print Forms.
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
      It is better to settle with Adobe forms rather than using SAPscript/Smart forms. One of the main reason for this is maintainance is much easier than SAPscript/Smart forms.
    But remember that Java Stack need to be installed in order to use Adobe Forms.
    Please visit the below SDN area on Adobe forms for more details.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    Thanks
    Ramakrishna
    Message was edited by:
            Ramakrishna Ramisetti

Maybe you are looking for

  • PDF Portfolio, consistent attachment panel size

    Hello, I have created a PDF portfolio in Pro v9. In my attachments panel, the attachment icons are lined up in one column. When I send this portfolio to others (they have v9), the icons in the attachments panel are lined up in 2 columns. Is there a w

  • Error while running PA40

    Hi, i'm getting an error while running my PA40, after giving all hiring data at the time of saving i'm getting an error at date of entry  its like "no infotypes found,maintain infogroup modifier/user group" Please help Anish

  • Product Cost by Period and Product Cost by Order

    Hi, For one client can we go for a group of materials(FERT) with Product Cost by Period and for some other group of materials materials (FERT) Product Cost by Order. My question is can both the concepts be used simultaniously for one client? Any diff

  • Anydata and %rowtype

    Does anyone know if this concept is possible: create table test1(     a   anydata) declare     l_emp hr.employees%rowtype; begin   select * into l_emp from hr.employees  where rownum = 1;   insert into test1(a) values (sys.anydata.convert???(l_emp));

  • Can some help me to disable Voiceover read in ipod touch

    i want someone to disable voiceover read in ipod touch