How to increase field's number when update

What value should I set when I want to make some field increase ,
such as "UPDATE table SET field = field + 1";

Hi, chan15
Please checkou this tutorial, it shows you how to increase field counter by updating the field value by adding +1 everytime you reload th page...
:: Visits Hit Counter ::
Herein this tutorial we will learn how to implement an auto visits hit counter. The visits hit counter uses an "After" "Custom_Trigger" to update the (hits_ht) field by adding (current field value
+1
) to it, This script is very useful, specially when used to view member`s profiles, photo albums etc... by implementing this hit counter script with your database records you will get full reports about how many times profile, photo viewd by members or visitors.

Similar Messages

  • How to increase field length?

    How to increase field length?
    path -> in T Code MM01 -> Additional Data ->Unit of mesure (tech name UMREZ)
    default length is 5 digits i want increase 7 digits................

    HI,
    I don't thing it is at all possible. Because your field is a standard one and the 3 available exits in MM01
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    can not help it.
    Regards,
    Anirban

  • How do I block my number when calling someone

    How do I block my number when I call someone?

    You need to request that to your carrier.  Only they can hide your number from the Caller Id feature. Its not sometihng you can do on your phone.
    With that said, what does this have to do with Appleworks?   Apple works is an old defunct Office suite, like iWork, and Ms Office.  I'll request this be moved to the iPhone forum.

  • How do i block my number when i send a text on my iphone 4s

    how do i block my number when i send a text on my iphone 4s

    In the U.S. the FCC adopted anti spoofing rules applying to extend the "Truth in Caller ID" act. The specific recommendation from Congress read:
    Legislative recommendations include clarifying the scope of the Truth in Caller ID Act to include (1) persons outside the United States, (2) the use of IP-enabled voice services that are not covered under the Commission’s current definition of interconnected Voice over Internet Protocol (VoIP) service, (3) appropriate authority over third party spoofing services, and (4) SMS-based text messaging services
    It is illegal to falsify the originating number for SMS messages in the U.S. This was originally intended to target telemarketers and text message spammers. The end result, though, is that is is illegal to block your phone number when sending an SMS message. A number (or unique, tracable, identifier, in the case of some automated system) must be sent since the recipient is charged for receipt of the message.

  • TS1646 what is issue number when updating my credit card information

    What is issue number when updating my credit card information

    I had the same problem.
    I contacted iTunes Support and they were (eventually) able to help.
    https://expresslane.apple.com/Symptoms.do

  • How to check credit card number when clicking Update order

    Hi Experts,
    I need to check credit card number when clicking Update order.
    I put  if(document.forms['order_positions'].elements['nolog_cardno'].value == "") in submit_refresh function,  but get "document.forms.order_positions.elements.nolog_cardno.value is null or not an object" error.  Any advises?
    Thanks, Jin

    Try like this
          if ( document.forms['order_positions'].elements['nolog_cardno[0]'].value == "" )

  • How to increase field dimension in HANA

    Hi Experts,
    I have got couple of doubts in HANA ,Please  clarify my doubts ., I will assign points for you .
    a) How to change fields dimension in HANA ? is it possible to increase dimension of fields ,when table contain data ?
        I am loading  Customer table from flat files ,after loading couple of records, I need to extend or change  field dimension to load another set of data in       that same table
    b) How to delete only  content of table in SAP HANA?
    c) What happened if we load same set of data  number of times ? or duplicate records in HANA?
    Regards.
    hari

    .. Quite simple questions.. Just caught my eye while browsing for something else..
    a) How to change fields dimension in HANA ? is it possible to increase dimension of fields ,when table contain data ? I am loading  Customer table from flat files ,after loading couple of records, I need to extend or change  field dimension to load another set of data in that same table
    Ans: ALTER TABLE table_name ALTER (my_column current_datatype(new_dimension_value));
    ALTER TABLE tt_table ALTER (my_col1 nvarchar(30));
    b) How to delete only  content of table in SAP HANA?
    two options: DELETE FROM table_name <where_condition> -- deletes data based on where condition
    or TRUNCATE TABLE <table_name>; -- deletes all the records.
    c) What happened if we load same set of data  number of times ? or duplicate records in HANA?
    Didn't understand.. it will create duplicate records. What do you expect ?
    Ravi

  • How to get the page number when click the(Next page) Icon on Tableview

    Hi all,
           I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
    Let us assume when we execute the BSP and a table view got 11 pages.
    How I can keep track of the page number when we click the  (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that  corresponding page number of the tableview when we click the corresponding Icon's??
    I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
    Any help will be appreciated.
    Thanks in advance.
    Thanks,
    Greetson

    Hi Greetson,
      I was thinking to write a weblog about that.
      But now I would like to have your opinion:
      I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class  me->firstvisiblerowlist (that is a table)
      DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
      DATA: ff  TYPE ihttpnvp,
            ffs TYPE tihttpnvp.
      me->request->get_form_fields( CHANGING fields = ffs ).
      LOOP AT ffs INTO ff.
        IF ff-name CP 'f*visiblefirstrow'.
          READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
          CASE sy-subrc.
            WHEN 0.
              l_firstvisiblerowlist-name  = ff-name.
              l_firstvisiblerowlist-value = ff-value.
              MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
            WHEN 4.
              IF sy-tabix = 0.
                l_firstvisiblerowlist-name  = ff-name.
                l_firstvisiblerowlist-value = ff-value.
                APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
              ELSE.
                l_firstvisiblerowlist-name  = ff-name.
                l_firstvisiblerowlist-value = ff-value.
                INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
              ENDIF.
            WHEN 8.
              l_firstvisiblerowlist-name  = ff-name.
              l_firstvisiblerowlist-value = ff-value.
              APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    Than you have to provide a generic method to read the firstvisiblerow for each tableview
    GET_FIRSTVISIBLEROW
    *IM_TABLENAME
    *RE_VALUE
      DATA: l_firstvisiblerow  TYPE zmmsp_tableview_1st_visi_row.
      READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
      IF sy-subrc = 0.
        re_value =  l_firstvisiblerow-value.
      ELSE.
        re_value =  1.
      ENDIF.
    And in the DO_REQUSET of each controller you could write something like:
    * Paginator
      DATA: l_tab1_visiblefirstrow TYPE sytabix.
      l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow'    ).
    As usual pass the value to the view via:
      o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
    Did you get it?

  • How to increase the check number length from 13 to 15( PAYR-CHECT)

    Dear Experts,
    I have the requirement to increase the check number (chekt) length from 13 to 15. Bcz few vendors UTR number generating with 15 degits in the the bank which are updating as check number in our system. But payr-chect (check number field ) length is 13 , so it is not getting updated. so customer wants to increase the length from 13 to 15.
    Thanks & Regards,
    Radhakrishna.Ette

    Hi
    Please, see note 1871827 - Limitation of length of field CHECT upto 13 characters for manual bank statement FF67
    I hope this helps you
    Regards
    Eduardo

  • How to increase field size in Internal table

    Hi friends,
    I want to concatenate around 20 fields in one internal table field,
    i declared the destination filed as character, now i am able to get around 12 to 13 fileds only , how to increase the length of this field to include all fields ?
    or how can i do this ? can any body help me ?
    I concatenate this to create a file  which will be send as email attachment.
    its very urgent issue, kindly help me to resolve as early as possible.
    Thanks in advance.
    Joseph

    Hi,
    Use the string data type..
    Example
    DATA: IT_STRING TYPE STRING OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF WA,
                 MATNR(18),
                 WERKS(4),
                 VBELN(10),
               END OF WA.
    CONCATENATE WA-MATNR WA-WERKS WA-VBELN INTO IT_STRING.
    APPEND IT_STRING.
    Thanks,
    Naren

  • How to get sales invoice number when you know print spool id

    I'm using a version of program rstxpdft4 to download printed invoices to pdf.  I'd like to include the invoice number in the name of the download file, but I don't know how to determine that value.  I'm getting the spool id from table TSP01.
    Thanks,
    Den

    Hi,
    In case of Support project, we get the high severity issues from users and needs to be closed withn 2 hours... so what we do we get the requirement from user and checking the same in production from our id, but we can not save the sales order as we are not authorized to do the same, so in such cases it is required to get the sales order number before saving... where we can guide the users.... but actuallly it is not getting saved in the table until and unless u save it manually. It works like a material master... when u create material master, the material number appears in advance in material number field "MATNR"
    If it is possible can you please suggest step by step to work on parameter in SU3 for sales order number before saving.
    Thanks & regards,
    Rahul Verulkar

  • How to get extension version number to update in exchange panel.

    I was able to upload my Illustrator extension, set it to private and share it. Brialliant functionality. Now I have released a point update, and although it shows the correct version in the extension details on the Adobe Exchange website, the version number will not update in the panel itself, although my description modifications update just fine. The extension as shown in the "Not Published" list of the sight has the old version number. When I click on it to get to the main extension page, it shows the correct version number in title and in also correct in the details on the right. It does say "(Preview)" after the name. I don't intend to ever sell it, but want to keep sharing it privately. How do I get it to recognize version updates?
    Thanks

    Hi there,
    It sounds to me like the reason your new patch (with the updated product version) is not showing in the panel is that it has not been "published". If it's showing up in the "Not Published" screen, this means that it's only available for you personally to make changes to in the producer portal - once you're finished making your changes (uploading a new ZXP etc.) you need to click Submit (with Auto-Publish) to make the new version go live to the people it's shared with (and show up in the panel). As long as the product is set to Private, clicking Submit (with Auto-Publish) will not make the product available publicly - it will continue to be private, visible only to the groups you specify.
    Fraser

  • Inserting type of Number when updating database.

    Hi,
    I have what seems to me like a simple problem, but I just do not know the way to solve it. I have a page which the user creates accounts for new users in the database. When the new account is created, it updates the Users table in the database and then also the Users_In_Roles table which assigns each user to a role using that user's ID number and the ID for the role they are being assigned to. In my app module method, I have an if statement that checks to see if the current logged in user is of role ID 1 or 2 using the ExternalContext.isUserInRole() method. If the logged in user is 1, the user account being created is automatically set to 2, and if the logged in user is 2, the created account is automatically set to 3, in other words, the new user is set to one role level below the user creating them.
    Here is my problem. In the if statement that checks the role of the logged in user, I'm setting a variable roleID to the number of the role I want the new user to be, however when I try to pass this number into the Users_In_Roles table, I get an error since the roleID column is a data type of Number, I can not pass an Integer type variable to that column. I've tried declaring the roleID variable to type Number, but then I can't set it to 2 or 3 in the If statement because it won't accept integers. Does anyone know how I can set the roleID variable to the correct "Number" so that I can pass it into the table?
    Thanks in advance.

    Use the Number(int i) constructor. that is, instead of setting the attribute to
    yourIntValue
    set the attribute to
    new Number(yourIntValue)

  • How to get sales order number when it is created in VA01

    hai experts,
    i have a requirement , when i create a sales order using transaction VA01 and save the transaction number , after saving i want to catch the sales order number and use in some other fucntion moudle, how can i do that  , should i use the events or any other methods to do the same
    regards
    m.a

    You can call you Z function module either from the workflow or from a BADI' where you can access the newly created sales order the BADi name is BADI_SD_V46H0001 and the method that you need to check is
    EXIT_SAPLV46H_003     Customer Function when Creating/Changing Header
    You can even call the FM from workflow too, but aganin for tht you need to create a ZBOR, if at all you are using a standard Business object and you hvae to create a new task and include that new task in the workflow by creating a new background Activity step. which I personally feel that you eed to put some more effort to fix the issue.
    Instead it is simple and sweet to call that function module from the Method which mentioned. where you can acess the sales document number tooo check int he method parameters.

  • ORA-01722: invalid number when updating a CMP bean, SP10 WebLogic_RDBMS.jar problem?

    Hi guys
    We are having a problem with the migration to WLCS 3.2 SP2 / WLS 5.1 SP10.
    We are moving from WLCS 3.2 and WLS SP6. Our CMP beans generate errors when
    the container tries to update them. They deploy without error though.
    See below for the stack trace
    We use the recommended weblogic driver for our Oracle 8.1.7.0 database. WL
    runs on w2k, and Oracle on Solaris 7.
    Extract from set-environment:
    SET DB_CLASSPATH=
    SET PATH=%PATH%;%WEBLOGIC_HOME%\bin\oci815_8;%WLCS_ORACLE_HOME%\bin
    SET
    SQLPATH=C:\WebLogicCommerceServer3.2\db\oracle816;C:\WebLogicCommerceServer3
    .2\db\oracle816\event;
    Extract from weblogic.properties:
    weblogic.jdbc.connectionPool.commercePool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    I made a few experiments, and I noticed that generating the CMP classes
    (with EJBC) with the old WebLogic_RDBMS.jar (from WLS SP6) is working fine.
    Here is what I mean : ejbc uses the library
    c:\weblogic\lib\persistence\WebLogic_RDBMS.jar And this library has changed
    with SP10. However since that change and after rebuilding our jars, all CMP
    entity beans fail to update.
    If I just replace that WebLogic_RDBMS.jar with the previous one (from SP6),
    and without changing anything else, our CMP beans work fine. I did not
    change any driver or xml deployment descriptor.
    One of the generated files in the jar (for our bean
    VisibilityPSWebLogic_CMP_RDBMS.class) differs, and that seems to be the
    cause of the problem.
    I jadded that class and here is a difference I notice:
    OLD, ejbc ran with SP6 WebLogic_RDBMS.jar : visibilitybean.targetCompanyId =
    (BigDecimal)resultset.getObject(5);
    NEW, ejbc ran with SP10 WebLogic_RDBMS.jar : visibilitybean.targetCompanyId
    = resultset.getBigDecimal(5, 35);
    Similar differences for the SETbigdecimal.
    Dunno if that will help, but I'm attaching the 2 jar files with explicit
    names.
    Damn that was long, I hope someone will read it... Thanks for any help on
    this, see stack trace attached below
    Nicolas Lejeune
    Stack trace:
    mer. oct. 03 12:16:22 CEST 2001:<I> <EJB JAR deployment
    C:/WebLogicCommerceServer3.2/lib/foundation.jar> Exception in
    non-transactional EJB invoke:
    java.rmi.UnexpectedException: Unexpected exception in
    com.b2boost.visibility.VisibilityBean.getVisibilityId():
    java.sql.SQLException: ORA-01722: invalid number
    at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
    at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java:980)
    at
    weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
    47)
    at
    com.b2boost.visibility.VisibilityPSWebLogic_CMP_RDBMS.update(VisibilityPSWeb
    Logic_CMP_RDBMS.java:446)
    at
    com.b2boost.visibility.VisibilityPSWebLogic_CMP_RDBMS.store(VisibilityPSWebL
    ogic_CMP_RDBMS.java:376)
    at
    weblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
    at
    weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
    a:227)
    at
    weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
    a:355)
    at
    weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
    at
    com.b2boost.visibility.VisibilityBeanEOImpl.getVisibilityId(VisibilityBeanEO
    Impl.java:198)
    at
    com.b2boost.visibility.pipeline.LoadFirstVisibilityRequestPC.process(LoadFir
    stVisibilityRequestPC.java:83)
    at
    com.beasys.commerce.foundation.pipeline.PipelineExecutorImpl.process(Pipelin
    eExecutorImpl.java:193)
    at
    com.beasys.commerce.foundation.pipeline.PipelineExecutorImplEOImpl.process(P
    ipelineExecutorImplEOImpl.java:56)
    at
    com.beasys.commerce.foundation.pipeline.PipelineExecutorImplEOImpl_ServiceSt
    ub.process(PipelineExecutorImplEOImpl_ServiceStub.java:154)
    at
    com.beasys.commerce.webflow.PipelineProcessor.callPipeline(PipelineProcessor
    .java:170)
    at
    com.beasys.commerce.webflow.PipelineProcessor.process(PipelineProcessor.java
    :102)
    at
    com.beasys.commerce.webflow.WebflowAdvisor.handleTarget(WebflowAdvisor.java:
    409)
    at
    com.beasys.commerce.webflow.WebflowAdvisor.processTarget(WebflowAdvisor.java
    :156)
    at
    com.b2boost.framework.B2boostPortalDestinationDeterminer.determineDestinatio
    n(B2boostPortalDestinationDeterminer.java:208)
    at
    com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:438
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :120)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:922)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:886)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:269)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:392)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:274)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    [Visibility_generated_with_SP6_weblogic_rdbms_jar.jar]
    [Visibility_generated_with_SP10_weblogic_rdbms_jar.jar]

    You are using WebLogic jDriver for Oracle which needs exact version of OCI API, that comes with the Oracle client installation. Ensure that you have installed the right Oracle client version. And updated the PATH properly.
    I notice that you have
    bin/oci815_8
    oracle816
    Thsi looks liek the inconsistency in your environment.
    What you need to do is
    1. find oci817_8 and place that in the PATH.
    2. install oracle 817 and use that client and set the ORACLE_HOME environment variable and the PATH properly.
    Try this and see if it helps.
    BTW - WLS 5.1 is EOL

Maybe you are looking for