How to catch value ?

Hi Friends,
In BSP is there any way, to catch the value, like in JSP with following line of code
String str = request.getParameter("val");
And now the string str, contains the value of (val),
I would like to know any machanism other then
navigation->set_parameter( val).
because when I try to print the val with the following code , it does not simply work !
<%=navigation->get_parameter(val)%>
and gives me error ! navigation is unknown ??
Any idea
Thankyou very much.
Marek.
Message was edited by: Marek Jöricke
Message was edited by: Marek Jöricke

Hi craig,
Can you pls tell what if in the following statement 'businessP'  is a variable and need to send along with the url ??
navigation->goto_page('CreateMsg.htm?p1=businessP')
like for example in java we can do something like this
' CreateMsg.htm?p1=' " ' <%=businessP%> +' " ' '
the quots ' " ' will indicate that some java code to come, is it possible to do something similar with ABAP!
I have used an alternative method as well but did not work
I have declare the following
navigation->set_parameter( businessP ).
navigation->goto_page('CreateMsg.htm' ).
in the event method of controller class and in layout of 'CreateMsg.htm' I am trying this
navigation->get_parameter( businessP ) .
But I got an error!
The field "NAVIGATION" is unknown but there is a field with the similar name "_M_NAVIGATION"
I have also tried to declare an attribute named 'businessP' in the CreateMsg.htm with auto property and then try to print like this <%'= businessP%> in layout but did not work !
Can any one pls identify the possible problem!
Many thanks!
Haider Syed
Message was edited by: Syed Haider

Similar Messages

  • LV7: how to catch 'Value change' event for cursor position in XY graph?

    I try to catch an event when the cursor position of a graph's cursor
    changes. I created a reference for the cursor array and registered a dynamic
    event 'Value change' for it. The event does not fire when the cursor changes
    (either by dragging it with the mouse or by direct entry of a new value in
    the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse Up'
    event for the cursor array, the event IS detected.
    -Franz

    So this is the same behaviour as that of a regular control which also does
    not fire a 'Value changed' event when it gets updated by e.g. writing to a
    local.
    At least the cursor's behavior is consistent then...
    But unfortunately also the direct user interaction with the cursor's numeric
    field does not fire the event, which is NOT consistent.
    I was trying to catch cursor changes in my event loop and had used a 'Mouse
    Up' event of the graph indicator to look for cursor changes (whose last
    position I had kept in a local or shift reg). In order not to miss a direct
    user interaction in the numeric field I added the dynamic event 'Value
    change' to the same event case, but with no success, it missed the direct
    entry ...
    according to what you say this seems to b
    e a bug then...
    -Franz
    "Greg McKaskle" schrieb im Newsbeitrag
    news:[email protected]..
    > > I try to catch an event when the cursor position of a graph's cursor
    > > changes. I created a reference for the cursor array and registered a
    dynamic
    > > event 'Value change' for it. The event does not fire when the cursor
    changes
    > > (either by dragging it with the mouse or by direct entry of a new value
    in
    > > the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse
    Up'
    > > event for the cursor array, the event IS detected.
    > >
    >
    > The reason is that value change events fire when user action directly on
    > the control changes its value. They do not fire when other programmatic
    > value changes occur. If you are looking at a value change on the cursor
    > palette, user interaction with the numeric should fire it, but updates
    > due to cursor movement are more like programmatic updates.
    >
    > Additional events will likely be added in future
    releases, and these may
    > make it easier to catch cursor movement events on a graph.
    >
    > Greg McKaskle
    >

  • How to catch the value in sum(control break statement).

    hi,
    can any one tell me how to catch the value in sum in control break satament.
    ex.
    at end of brtwr.
    sum.
    endat.
    I need to print the value in sum only.
    I tried to declare a varaible of type i and assigned sum to this variable.
    it is giving syntax error that sum is not identified.
    How should i do this.
    regards.

    Hi Siva,
    In control break statement when we use SUM. it added all the amount fields and stores its in the work area of that field.
    look below code.
    DATA : BEGIN OF itab OCCURS 0,
               name(10),
               num TYPE i,
           END OF itab.
    DATA : num TYPE i .
    itab-name = 'salman'.
    itab-num  = 100.
    APPEND itab.
    itab-name = 'salman'.
    itab-num  = 200.
    APPEND itab.
    itab-name = 'akshay'.
    itab-num  = 500.
    APPEND itab.
    LOOP AT itab.
      AT END OF name.
        SUM.
        WRITE : / itab-num.
      ENDAT.
    ENDLOOP.
    here the SUM value is stored in Workarea,
    the output will be 300 & 500.
    regards
    Kumar M

  • How to catch List box value

    Hi gurus
    I have set list box value through vrm_set_value and in the screen level it's working fine
    In the custom  program I need to fetch data from table using that selected list box value , but  its always coming blank  .
    please help me how to catch that list box value in the program .
    Thanks

    This is the code
    *************SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS    :  P_bukrs  TYPE bukrs    OBLIGATORY  ,                        " Company Code
                     p_psc    TYPE psc_name OBLIGATORY ,
                     p_monat  TYPE MONAT    AS LISTBOX VISIBLE LENGTH 5 OBLIGATORY ,  " Quarter
                     p_gjahr  TYPE gjahr    DEFAULT sy-datum+0(4) OBLIGATORY .                        " Year
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS    : P_KIND      AS CHECKBOX USER-COMMAND abc ,                          " Check Box
                    P_prcent(6) TYPE P DECIMALS c_val_three  ,                    " Take in kind percentage
                    p_prod      TYPE PSA_PRODUCT  AS LISTBOX VISIBLE LENGTH 10  .   " Take in kind product
    SELECTION-SCREEN END   OF BLOCK b2.
         A T   S E L E C T I O N    S C R E E N                          *
    AT SELECTION-SCREEN on BLOCK b1 .
    Validate Company Codes.
      PERFORM sub_validate_com_code.
    Validate PSC
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_psc .
      PERFORM sub_validate_psc.
    Validate Quarter
      PERFORM sub_validate_quarter .
    AT SELECTION-SCREEN on BLOCK b2 .
    Validate Take in kind percentage
      PERFORM sub_validate_percnt .
    Validate Take in kind Percentage
      PERFORM sub_prod_disp .
    form sub_prod_disp .
    populated internal table lt_prod_val .
    LOOP AT SCREEN.
            CALL FUNCTION 'VRM_SET_VALUES'
              EXPORTING
                id              = 'p_prod'
                values          = lt_prod_val
              EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
          ENDLOOP.
    in start of selection the p_prod is always coming initial .

  • How to catch an event when the user change values in the project information dialog

    hi,
    i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
    taskChange doesn't catch these changes.
    thanks.
    Thanks, Sharon.

    You need to write save button event handler for project information dialog. Link is having same functionality described. 
    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
    kirtesh

  • How to catch and display a link content in another portlet page?

    Can you tell me how to display a URL content into next page after an user click s on this link? I am developing a JSR 168 portlet under a Portal. I have 3 pages so far in my portlet. view.jsp, view2.jsp and IpByHourPage.jsp. view2.jsp displays a lis of IP address. When an user clicks on an IP in view2.jsp, it goes to IpByHourPage.jsp. How to catch the IP address such as 123.23.89.21 that an user just click displayed in IpByHourPage.jsp. I don't know why I got null value returned.
    Also, I don't know how to do a "go back to previous page". I want to go back to view2.jsp from IpbyHourPage.jsp
    Here is my code
    in view2.jsp
    <portlet:renderURL var="aURL">
    <portlet:param name="goto" value="IpByHourPage"/>
    </portlet:renderURL>
    <a href="<%=aURL.toString() %> "><%=MyIP%></a>
    in IpByHourPage.jsp
    <%
    String MyIPHour = request.getParameter("goto");
    %>
    <h1>IP Report by Hour ( <%=MyIPHour%> )</h1>
    <portlet:renderURL var="Ret_IPByHour">
    <portlet:param name="Ret_IPHourPage" value="Ret_IPByHourPage"/>
    </portlet:renderURL>
    <center> <a href="<%=Ret_IPByHour.toString() %> "><b>Choose Another IP</b></a></center>
    in my .java file
    protected void doView(RenderRequest request, RenderResponse response)
    throws PortletException, IOException, UnavailableException {
    response.setContentType("text/html");
    String MyBegDate = request.getParameter("BegDate");
    String MyEndDate = request.getParameter("EndDate");
    String MyNetworks = request.getParameter("networks");
    String MyYourName = request.getParameter("yourname");
    PortletURL renderURL = response.createRenderURL();
    renderURL.setPortletMode(PortletMode.VIEW);
    request.setAttribute("renderURL", renderURL.toString() )
    String GotoRenderAction = request.getParameter("goto");
    String MyIPHourAction = request.getParameter("Ret_IPHourPage");
    if ( (MyIPHourAction!=null) && MyIPHourAction.equals("Ret_IPByHourPage") )
    PortletRequestDispatcher kk = getPortletContext().getRequestDispatcher("/view2.jsp");
    kk.include(request, response);
    if (MyIPHourAction != null && MyIPHourAction.equals("Ret_IPByHourPage"))
    PortletRequestDispatcher mm = getPortletContext().getRequestDispatcher("/view2.jsp");
    mm.include(request, response);
    if (GotoRenderAction != null && GotoRenderAction.equals("IpByHourPage"))
    request.setAttribute("BegDate", "MyBegDate");
    request.setAttribute("EndDate", "MyEndDate");
    System.out.println("BegDate" + MyBegDate);
    System.out.println("Endate" + MyEndDate);
    PortletRequestDispatcher mm = getPortletContext().getRequestDispatcher("/IpByHourPage.jsp");
    mm.include(request, response);
    if(MyEndDate!= null )
    PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/view2.jsp");
    prd.include(request, response);
    else if (MyEndDate==null && GotoRenderAction == null)
    PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/view.jsp");
    prd.include(request, response);
    The problem for above code is the clicked single IP can not be displayed in IpByHourPage.jsp. and I cannot go back to view2.jsp from IpByHourPage.jsp. when I click "Choose Another IP"
    I find out that the MyBegDate and MyEndDate values are all null when I click Choose Another IP link. I got the following error message
    Caused by: javax.servlet.ServletException: Unparseable date: "null null"
         at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         at org.apache.jsp.view2_jsp._jspService(view2_jsp.java:651)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    How to fix above problems. Thanks

    I think the problems are related to portletsession. But I don't know how to use it. How to put portletsession into doview method or my jsp pages. Can anyone tell me in my code? Thanks a lot.

  • How to catch SQLException from a session bean

    Hello
    I have a stateless session bean which has a method to persist an entity (User) in the database. In User there is a foreign key (addressId) from another entity (Address). While i was persisting User, i entered a value of addressId which was not present in the Address table. Since there was a foreign key constraint on this field in User i got the following exception:
    8:49:49,421 ERROR [JDBCExceptionReporter] ORA-02291:
    integrity constraint (FK_USER_ADD) violated - parent key not
    found 18:49:49,421 ERROR [AbstractFlushingEventListener]
    Could not synchronize database state with session
    org.hibernate.exception.ConstraintViolationException: could
    not insert: [com.User] at org.hibernate.exception.SQLStateConverter.convert(SQLState
    Converter.java:71)So i placed the persist code inside a try block and was catching all the exceptions thrown by persist() method. But these exception are not caught. Instead the exception is sent to the Client end and printed on the client console.
    Any clue on how to catch the ConstraintViolationException in the session bean?
    Thanks

    The problem is that the qry is not executed until you leave your method, so, the exception is catched by the Container. You should issue a entityManager.flush(); rigth "before" leaving the method and you are going to catch all the exceptions given
    Cheers

  • OC4J 10.1.3: EJB3 - How to catch SQLExceptions in a SessionBean

    Hi,
    originally I posted this a few minutes ago in the toplink forum, but I'm
    unsure if this better suits here. So exceptionally, I post it here as well with a
    reference to:
    EJB3 - How to catch SQLExceptions from within a stateful session bean
    I would like to catch any exception while persisisting the data right in my stateful
    session bean and don't have to wait until the client receives an SQLException
    wrapped in a bunch of other exceptions.
    Here some code fragments to illustrate my problem:
    // in Client:
    InitialContext ctx = new InitialContext();
    statefulWork =  (StatefulWork) ctx.lookup("StatefulWork");
    try {
      statefulWork.doIt();
    } catch (Throwable t) {
      // don't want to implement db-failover here, even though this works
    // in SSB
    @Resource
    private EntityManager em;
    public void doIt() {
            try {
                // create some entites here, do some loops, long running transaction
                em.persist(oneOfMyEntityObjects);
                // set some state in the SSB here
            } catch (Throwable t) {
                // I want to catch all exceptions the persistence provider (toplink) gets
                // but I don't get any here :-(
                // this should be to implement proper retry after reconnect (RAC with TAF)
    }In my testcase I issue a shutdown abort while insert statements are executed.
    The client receives an EJBException, but within the SSB nothing...
    How to change this behavior?
    Here is what one can find in the OC4J log:
    [TopLink Warnung]: 2006.03.27 03:25:32.220--UnitOfWork(13386)--Thread(Thread[RMICallHandler-0,5,RequestThreadGroup])--Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Interne Exception: java.sql.SQLException: ORA-25402: transaction must roll back
    Fehlercode:25402
    Call:INSERT INTO T_RUN_DETAILS (ID, INS_TIME, COUNTER, RUN_ID) VALUES (105781, '2006.03.27 03:23:55', 450, 801)After that the transaction is properly rolled back (automatically) and the client
    could implement the failover code, but I could not find a possibility to control this
    at server side. Even with BMT I could not manage to catch this exception. I
    wouldn't have a problem if I had to call ctx.setRollbackOnly() myself.
    Hope someone can help. I'm getting a little desperate here.
    Thanks,
    Eric

    Thanks to the help of James Sutherland I managed to get this working.
    I had to add a call to em.flush() and use BMT for the SSB. For details please follow my link to the toplink-forum!
    James thinks OC4J can handle automatic transaction retries but wasn't sure about how to configure this in OC4J. Anyone can help?
    Regards,
    Eric

  • How to catch Delta Initialization and Delta Update in a Function Module

    Hi Experts:
    I'm developing a FM to extract data from R3. I wonder if anybody knows how to catch when i'm making a delta initialization and a delta update in my FM, because i have different parameters and routines from each one.
    Thanks in advanced.
    Points for helpfull answers.

    Hi,
    Keep one dummy date field in the structure. Make this dummy date field as delta enabled field. When you do Init load this date field value will be blank and next time when you do load it will have the last upload (in this case init load) date. You have to write a code before open cursor as below:
          LOOP AT s_s_if-t_select INTO l_s_select.
                                  WHERE fieldnm = '(dummy date field name)'.
             l_date = l_s_select-low.
          ENDLOOP.
    l_date will have the last upload date. This you can use to select the delta records from the table or for the further processing.
    If you want to check the value during Init or delta load, go to RSA3 and debug it(Don't use F - Full load. Use I or D in the update field).
    Hope this helps.
    PB

  • How to catch SQLException  in the hibernate ?

    Hi ~ , I am a newbie to java , recently I do a project that need to use hibernate to do insert data into database(db2) , but my program always encounter a DB deadlock problem , which throw an exception indicated that
    "{code}DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2{code}"
    so, in this case , i want to try catch block handle this exception , and the code is as follows:
    public static void main(String[] args){
    try {
    Configuration cfg =
    new Configuration().configure();
    SessionFactory sf = cfg.buildSessionFactory();
    Session session = sf.openSession();
    Transaction tx = session.beginTransaction();
    try {
    session.save(obj1);
    session.save(obj2);
    tx.commit();
    session.close();
    }catch (SQLException se) {
    // ***** here it indicate an error that "This exception is never thrown from the try statement body" *****
    }catch (HibernateException e) {
    e.printStackTrace();
    }but in fact , while running the programe , it does throw a SQLException that abend the program , how would I not be able to catch it ? , here I provide the error info :
    Hibernate: insert into TBCUSRPQ (CUST_NAME, CUST_SALUT, LAST_UPDT_BY, LANG, VER, FNL_RSK_LVL_CDE, SYS_RSK_LVL_CDE, CUS_RSK_LVL_CDE, NO_OF_ANS, ANS_REF_ID, DTL_INFO, BANK_NO, CTRY_CDE, RPQ_GP, CUST_ID_TYPE, CUST_ID_NO, LAST_UPDT_DT, LAST_UPDT_TM) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    Hibernate: insert into TBCUSANS (ANS_LIST, ANS_REF_ID, QUEST_NUM) values (?, ?, ?)
    Nov 5, 2008 12:04:17 PM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
    WARNING: SQL Error: -911, SQLState: 40001
    Nov 5, 2008 12:04:17 PM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
    SEVERE: DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2
    Nov 5, 2008 12:04:17 PM net.sf.hibernate.impl.SessionImpl execute
    SEVERE: Could not synchronize database state with session
    net.sf.hibernate.exception.GenericJDBCException: could not insert: [com.hsbc.rpq.importer.vo.ris.CustomerAnswer#com.hsbc.rpq.importer.vo.ris.CustomerAnswer@87235980]
    at net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:80)
    at net.sf.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)
    at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
    at net.sf.hibernate.persister.AbstractEntityPersister.convert(AbstractEntityPersister.java:1331)
    at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:472)
    at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436)
    at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
    at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
    at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
    at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2392)
    at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
    at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
    at com.hsbc.rpq.importer.TestDB.main(TestDB.java:78)
    {color:#ff0000}Caused by: com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2{color}
    at com.ibm.db2.jcc.c.fg.e(fg.java:1596)
    at com.ibm.db2.jcc.b.gb.o(gb.java:727)
    at com.ibm.db2.jcc.b.gb.g(gb.java:143)
    at com.ibm.db2.jcc.b.gb.a(gb.java:39)
    at com.ibm.db2.jcc.b.w.a(w.java:34)
    at com.ibm.db2.jcc.b.vb.g(vb.java:139)
    at com.ibm.db2.jcc.c.fg.n(fg.java:1177)
    at com.ibm.db2.jcc.c.gg.eb(gg.java:1862)
    at com.ibm.db2.jcc.c.gg.d(gg.java:2295)
    at com.ibm.db2.jcc.c.gg.W(gg.java:457)
    at com.ibm.db2.jcc.c.gg.executeUpdate(gg.java:440)
    at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
    at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)
    ... 8 moreI tried a lot , but couldn't solve the problem, could anyone help me , how to catch a SQLExcepion in this case , thanks in advance !!

    Hi,
    as corlettk said, you may only catch exceptions that are thrown at you directly (at least for checked exceptions...). If you really want to handle this specific error situation in any reasonable way, there is the possibility to catch what is thrown at you and inspect the cause of the exception provided.
    try {
        // some hibernate calls
    } catch (GenericJdbcException ge) {
        if(ge.getCause() != null && ge.getCause() instanceof SQLException) {
            SQLException se = (SQLException)ge.getCause();
            if(se.getErrorCode() == -911) {
                // your error handling for this case
            }else{
                throw ge; // do not swallow unhandled exceptions
        }else{
            throw ge // do not swallow unhandled exceptions
    }But such things quickly get quite ugly, e.g. if the SQLException is not the direct cause of the GenericJdbcException...so you should be aware what you are doing.
    Bye.

  • How to catch errors in calling program when using SUBMIT ... AND RETURN ?

    Hi ,
    I am calling a report using submit and return statement from a function module. The report has select-options field for a date field. If user enters a date in low, which is greater than high, getting error message "Lower limit is greater than upper limit".
    How to catch this error without endup stoping on selection screen of the report?
    In the documentation, I read :
    Programs called with SUBMIT ... AND RETURN or CALL TRANSACTION cannot propagate exceptions to the caller, because exception objects are bound to the internal mode of a program.
    Is there any way to overcome this?
    Also my aim is to write a validation on the date selection-option to have the date range not more than 20 days.
    I am not sure of how to achieve this. 
    Is there a way to do validation of select-options data before submiting to the report ?
    Is there any standard FM to achieve this task?
    Thank you,
    Surya.
    Edited by: Surya on May 24, 2009 6:08 PM

    Hi Surya ,
    In your function module's code validate the date .
    If the low value of the date less than high and date period is not more than 20 then
    call transaction and in else condition raise exception.
    In your FM write like that - -
    IF   date-low LT date-high AND
                           date_difference LE '20' .
    CALL  TRANSACTION   'transaction'.
    ELSE.
    RAISE  ...........  " Raise the invalid date exception
    ENDIF.
    Regards
    Pinaki

  • How to catch cell lost focuse event of matrix

    Dear all
    can you tell me how to catch the cell lost fouc event of matrix.
    i want to check the value is entered the that cell, which is not greter than the extising value..
    thanks in advance......

    Hi
    For that you can use either validate or lost focus event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            ' BubbleEvent sets the behavior of SAP Business One.
            ' False means that the application will not continue processing this event.
            ' Validate event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
              (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
            'Lost focus event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
             (pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
        End Sub
    Hope this helps
    Regards
    Arun

  • How to find values ?

    Hello friends,
    I am new to OIM and I get hanged on one functionality.
    If one of the user updated his details in USR table, then I want to catch which columns values he has changed. I want to catch Old values for that particular column as well as new value.
    e.g. Suppose, one user changed his firstName then I want to catch his Old firstName and New firstName
    and send mail.
    if suppose another user changed his firstName, lastName and Department No. then how to catch these values dynamically and send mail.
    Please help me to solve this problem.
    Thanks and Regards
    DB

    If it is the case, what will be your exact no of attributes for which you want to send Email ?
    Martin has explained in the following thread:
    Re: Configuring approval for update of some profile attributes
    For your case it would be quite helpful but too lengthy.

  • In import process,how excise base value is calculated in MIGO

    Hi expert's,
    In import process,how excise base value is calculated in MIGO,with what referance values get add to base value.
    waiting for your valuable response,
    Regards
    V.raj

    hi,
    we Tried with your following reply ! but still not finding exact value in base value .
    (MATERIAL PRICE* QTY IN MIGO * EXCHANGE RATE)
    thanks & regards
    V.Raj

  • How to catch SAP application errors in BPM.

    Hi,
    I have a IDOC to Soap Sync Scenario where I send the message to a Webservice. I have used a BPM since we need to catch the resposne of this message and map it to a RFC. For ex if I get a success resposne I need to map success if not than I need to catch the error and map it to the RFC. Now here in some cases like if the target system (webservice) is down than XI raises a sap application error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused (errno:239)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Normally XI stops the process in these cases and does not proceed to the next step but I need to catch this message and map the content in the AdditionalText to the target RFC. Can anyone let me know how to catch this SAP Application Error in BPM and map it to the RFC.
    Thanks,
    Bhargav

    Hi Gaurav,
    As I have mentioned I need to catch the application error in the BPM. If you see the discussion that is mentioned after the blog you have mentioned it is stated that the fault messages or the application error cannot be caught in BPM.
    In the blog that you stated we can catch the fault message and map it to a message structure but only to that extent after that it would stop the BPM process at that step but would not proceed further as shown in the screenshot given in the blog it would fail as "application error restart not possible".
    I need to proceed further and capture this error to an RFC Structure and call a proxy.
    Here after the error it does not proceed to the next step.
    Thanks,
    Bhargav

Maybe you are looking for

  • Super 5.40 - a suite of J2EE tools. It is free.

    Announcement: Super 5.40 - a suite of J2EE tools. It is free. Standard license can be freely anonymously downloaded. Super 5.40 comes with: SuperEnvironment SuperLogging SuperPeekPoke SuperReport SuperScheduler SuperStress SuperWatchdog and SuperPatr

  • How to transfer notes from iphone 4 to macbook pro?

    I am trying to figure out how to transfer the notes on my phone to my computer without using mobile me since I dont have an account and without having to email or use a third party software. Is there a way to do this?

  • Adobe Flash Player - Uninstall problem

    I have a new HP Pavilion f0010 laptop.  Was having problems with videos being "green".  Did some online researching and somehow accidentally uninstalled Adobe Flash Player from control panel.  How do I reinstall this to original installation?  Thanks

  • Useless Plists

    How can I erase the plists that are no longer in use? ie. I deleted the Tiger Woods PGA Tour game and still when I go to ~/Library/Preferences the .plist file is still there.. I COULD erase them one by one.. but i don't know which plist is of which p

  • Exporting I-movie file to Quicktime

    Hi, when I try converting an i-movie file to quicktime on a external Hardrive or when trying to drag a quicktime file between external hardrives I get an error code -36 message. Can anyone share with me what this is about. I also get a message saying