BOE xi 3.1 Clustering  not working

HI
We are using boe xi 3.1 sp3 on solaris
i installed boe on uat server A and i installed boe on server b
I did custom installation to cluster the server B with server A.Everything looks fine fo far, both the servers are up and running.
we did some testing on how this clustering works, by manually bringing the server A down by using the cmc.Good thing is we are still able to login into server A(which is down). but when we are trying to execute the reports manually  on server B(which is up) by going to that cmc url or executing the reports which are in server A( i mean the same reports on server B as well)  we are able to execute the reports on that server but  we are getting failed message( i mean not success).
this is the error i am getting on both urls:
File 16746765278feaae.rpt not found on File Repository Server
do we need to do any extra settings on the servers in order to work? what are we missing?
help appriciated
thanks

Make sure that the file repository servers are sharing the same file repository.
Note that you cannot have the input FRS on server A configured to use a file repository located locally on Server A and the input FRS on Server B configured to use a file repository located locally on Server B. The same is a valid also for the Output File  repository servers.
A solution is to mount a common remote file system on both your servers and configure the IFRS and OFRS to use the local path to the mount point.
Regards,
Stratos

Similar Messages

  • Shared variable clusters not working as intended

    Hi All,
    I've been using shared variables to communicate between a host computer and a crio real time target.  This works well as simple variables.  I configured a cluster of shared variables to try and clean up the code a bit.
    I have a couple of problems.  If I write to a single element, using bundle, the other elements in the cluster that I do not want to write to are overwritten with some unknown default value.   Second, when the host computer program is stopped, the cluster on the RT host writes what appears to be default values to all the variables in the cluster on the RT.  The idea is to keep the RT program running in it's current state until the host computer recovers.  Of course this is impossible, if it resets all the data to default.
    It appears that I can only write to a cluster on one side and read on the other side.  I cannot read/write to the same cluster at different points on the host and target machines.  With a single shared variable, I can read/write to my hearts content on any process.  I haven't been able to find a way to solve this.
    I will post the code, but you will need a cRIO to run it.  If anyone is using clusters in shared variables, I'd be curious to see how you are doing it.
    Thanks,
    John
    Solved!
    Go to Solution.
    Attachments:
    host cluster test.vi ‏25 KB
    rt target cluster test.vi ‏25 KB
    Params 1.ctl ‏6 KB

    That makes some sense, what I can think of is you are writing to the same cluster in two different places. Each place updates both values so if the host writes B1=False and B2=True then the Rio Writes B1=False and B2=False then the variable will have the latest value of both being false.It's a loop condition.
    Even though you are only setting one value in the bundle by name the other value is coming from the cluster input to the bundle by name.
    To handle this you will need remove the input cluster to the bundle by name and replace with the shared variable read. This is where you may need a delay to ensure the variable has the most recent updated value.
    Also you still have the coercion dots. For the shared variable try linking it to the custom control instead of a undefined cluster (Next choice below in the SV setup)
    Robert Fogg
    Certified LabVIEW Architect
    Attachments:
    host cluster test.vi ‏27 KB

  • Quick Clusters not working in Compressor 4.0.5

    OK. One day Compressor is working with a quick cluster set up and today it's not.  All the settings are correct in QMaster and everything seems to be the same BUT Compressor 4.0.5 is not recognizing any cluster set up.  Is anyone else experiencing this?  Is it a 10.8.2 issue?  All input is welcomed.
    Then
    Strange?

    The Require these Services box should be unchecked, but I doubt that's your problem. Funnily enough I lost my QC last week. What worked for me was running Compressor Repair twice – quitting– each time trashing preferences – and repairing permissions in Disk Utility after each repair.
    If that doesn't work, I'd reinstall (and repair permissions once again).
    Good luck.
    Russ

  • Jms is not working properly in clustered environment

    Hi all,
    i am using the application server oc4j 10.1.3.1.0 enterprise edition . my application is standalone application(thick client)
    we are using the jndi.properties as follows ...
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security,opmn:ormi://172.16.1.38:6006:deceval_group/Security
    java.naming.security.principal=oc4juser
    java.naming.security.credentials=oc4juser
    oracle.j2ee.rmi.loadBalance=lookup
    we have two application servers in cluster topology as u can see above we have used one instance from one application server and one from another.
    i have seen that for every instance there one jms server. at runtime it is taking one application servers services
    say opmn port 6005 but when the application is connecting to the another application server say opmn 6006
    here jms is not working properly when i send message
    As we have clustered environment message must be propagated all the applications who use above jndi.properties.
    if i keep use only one application server opmn say
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security
    then its is working excellently
    please can u provide any solution ASAP
    thanks in advance
    Manu

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • Failover is not working in clustering

    we installed infrastructure in the one system and added 2 instances app1.mycompany.com,app2.mycompany.com into it.
    for loadbalancing we r using webcache.
    we configured origin servers,site definitions,site-server mappings.
    in the cluster two instances showing up.
    that we can see in health monitor in Up/Down* parameter of web cache administrator console.
    we deployed same ear in two instances.
    but when i down one instance say app1.mycompany.com,
    In the health monitor its not showing up DOWN parameter for host: app1.mycompany.com.same for UP also.
    immediately its not showing changes when i am testing failover.
    Is webcache loadbalancing is Round robin based ?
    when i down one of the instances session replication is not happening properly.sometimes session expired is coming.
    when 2 instances r up if user access application all the requests r coming to one instance if down that instance session expired is coming.
    i think failover is not working in clustering.
    i checked replication properties and added <distributable> tag in both the instances.
    in webcache console page what will sessionbinding will do?i have not configured anything.

    Why are you using Webcache?
    Web cache will certainly work, but its more common role is to more access as a simple load balancer over HTTP servers, not OC4J instances.
    What I'd do is to simplify your situation to verify you have the server setup correctly.
    That means using the Oracle HTTP Server which will be part of your cluster as the common routing point. OHS and mod_oc4j are session state aware and know about all the OC4J instances. In the situation where an OC4J instance dies for some reason, mod_oc4j will know to which other OC4J instance(s) the request can be routed to pickup the replicated session state.
    Once you have verified that the failover is working on the backend, you can then configure another OHS instance and position webcache in front of them to act as a request router and failover handler for when the OHS instances are inactive.
    The Enterprise Deployment Guide offers some guidance in typical architectures, well worth a read.
    cheers
    -steve-

  • How to load data to a "clustered table" quickly?  direct insert not work

    We have a single hash clustered table whose size is 45G, and we used the command:
    insert /*+ append */ into t_hashed as select * from source.
    the source is about 30G, it takes a very long time(several days, and not yet completed).
    I dumped the redo log, and find there are lots of redo info about the insert. I have thought it should create much redo as it is "direct path insert", but from the dump info I could say the direct path insert didn't take effect.

    Your assessment is correct. INSERT /*+ APPEND */ does not work with a hash clustered table.
    If you think about how hash clusters work, and how direct load insert works, it should be clear to you why a direct load insert via the append hint can never work.
    How hash clusters work (well, only the part that's relevant to the current discussion):
    Initially, at creation time, the storage for the entire cluster is preallocated, based on the various cluster parameters you chose. Think about that. All the storage is allocated to the cluster.
    How direct load works (well, only the part that's relevant to the current discussion):
    Space already allocated to and used by the segment is ignored. Space is taken from free, unformatted blocks from above the high water mark.
    So, hopefully it's clear how these features are incompatible.
    Bottom line:
    It doesn't work, there's no way around it, there's nothing you can do about it....
    -Mark

  • JMS bridge is not working in clustered env

              We have set up a JMS bridge between WLS7SP3 and WLS8.1. It works very well in
              stand alone server env (testing env). However, we cannot get it to work on clustered
              env (preprod env). Anyone has experienced working with clustered env? If so,
              please help!
              Thanks.
              

    I forgot to say, we are using WLS8.1 SP1
              "Pete Inman" <[email protected]> wrote in message
              news:[email protected]...
              > If you are in a clusterd environment and you deploy a bridge to the WHOLE
              > cluster it does not work and will not find the adapter. If you deploy to
              the
              > INDIVIDUAL cluster members it will work.
              >
              > We have a cluster with 4 managed servers, deploy to whole cluster - no
              > bridge working, deploy to Server1,2,3,4 bridges work fine.
              >
              > I have a case logged with BEA on this topic.
              >
              > "Tom Barnes" <[email protected]> wrote in message
              > news:[email protected]...
              > > "Not working" is too little information. I suggest
              > > that you start with the messaging bridge FAQ. There is
              > > a link to it here:
              > >
              > > http://dev2dev.bea.com/technologies/jms/index.jsp
              > >
              > > Then post with traces, exceptions, configuration, etc, if
              > > you are still having trouble.
              > >
              > > Tom, BEA
              > >
              > > jyang wrote:
              > >
              > > > We have set up a JMS bridge between WLS7SP3 and WLS8.1. It works very
              > well in
              > > > stand alone server env (testing env). However, we cannot get it to
              work
              > on clustered
              > > > env (preprod env). Anyone has experienced working with clustered env?
              > If so,
              > > > please help!
              > > >
              > > > Thanks.
              > >
              >
              >
              

  • Custom app working with CRE 8.5, not working after migration to BOE XI

    Hello,
    I have this custom legacy app coming from way back in time, which -among other things- connects to a CRE 8.5 APS to get the list of available reports and the rights of a given user over those reports (view instances, request on demand, and so on). The logic of this custom application works quite well, though it's a bit cryptic (to me at least).
    Now, I have the task of migrating the app from CRE 8.5 to BOE XI R2. The migration itself was rather easy, thanks to the migration wizards, and all the users, groups, permission settings, and everything else seems to have been properly replicated in the BOE XI CMS. However the custom app is not working so well after the migration: it can retrieve all the info about the reports and do pretty much the same it was doing before the migration, but when it comes to user's security settings (permissions to see or request a given report) the app just can't get the proper info.
    To properly explain what's going on, I will have to go into detail with some lengthy description of the code.
    Here it goes. This is the (partial) code that queries if a given user (UserID) has permission to view and/or request on demand a set of reports in the server:
    Qry2 = &quot;Select SI_ID, SI_NAME From CI_INFOOBJECTS&quot;
      Qry2 = Qry2 & &quot; Where SI_PROGID = &quot; & &quot;'&quot; & &quot;CrystalEnterprise.Folder&quot; & &quot;'&quot; _
             & &quot;and SI_PARENT_FOLDER in &quot; & GetFirstLevelFolder(iStore, FolderProperty)
      Set varFolders = iStore.Query(Qry2)
      For Each Item In varFolders   'First level displayed folder
          Set infoSLevelFolders = GetSubfoldersByParentID(iStore, Item.ID) 'Second level displayed folders
          intFolderRightsCount = GetRightsCount(iStore, UserID, Item.ID)
          For Each infoSLevelFolder In infoSLevelFolders
               Set infoReports = GetReportsByFolderID(iStore, infoSLevelFolder.ID)
               For Each infoReport In infoReports
                      rsOutput.AddNew   'Set output recordset fields
                      rsOutput.Fields("FOLDERID") = Item.ID
                      rsOutput.Fields("FOLDERNAME") = Item.Title
    (not sure why, but the message won't accept more text than the above... I will have to post a second message with the rest of it)
    Edited by: Marcelo Rybertt on Mar 30, 2010 8:39 PM
    Edited by: Marcelo Rybertt on Mar 30, 2010 8:49 PM

                      rsOutput.Fields("FOLDER2ID") = infoSLevelFolder.ID
                      rsOutput.Fields("FOLDERNAME2") = infoSLevelFolder.Title
                      rsOutput.Fields("REPORTID") = infoReport.ID
                      rsOutput.Fields("REPORTNAME") = infoReport.Title
                      If UserID = 0 Or intFolderRightsCount > 1 Then 'no this user or rights on the folder level
                         rsOutput.Fields("ROD") = False
                         rsOutput.Fields("VRI") = False
                      Else
                         intReportRightsCount = GetRightsCount(iStore, UserID, infoReport.ID)
                         If intReportRightsCount = 4 Then
                            rsOutput.Fields("ROD") = False
                            rsOutput.Fields("VRI") = True
                         ElseIf intReportRightsCount = 5 Then
                            rsOutput.Fields("ROD") = True
                            rsOutput.Fields("VRI") = False
                         ElseIf intReportRightsCount > 5 Then
                            rsOutput.Fields("ROD") = True
                            rsOutput.Fields("VRI") = True
                         Else
                            rsOutput.Fields("ROD") = False
                            rsOutput.Fields("VRI") = False
                         End If
                     End If
               Next
         Next
      Next
    I have two scenarios, for the same user. The first scenario is the custom app working against a CRE 8.5 server. The second scenario is the same app against a BOE XI server, and the data in that server is the result of running the import wizard, using the 8.5 server as the source of data. The app was done with VB6, and the only difference between working against 8.5 or XI, is the set of dll's used in each case (code compiles flawlessly with either set of libraries).
    ROD stands for Request On Demand. True means the user can ROD. False, the user can't.
    VRI stands for View Report Instance. Same deal.
    intFolderRightsCount and intReportRightsCount are both calculated from the GetRightsCount function, like this:
    Set iReports = iStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_ID=" & REPORTID)
    u2026
    Set principal = iReport.SecurityInfo.AnyPrincipal(UserID)
    u2026
    GetRightsCount = principal.Rights.Count
    (again, same issue with the message... need to continue this in a third -and last I hope- post)

  • NXT Flatten to String Not Working with Clusters and Arrays

    Hello,
    My name is Joshua and I am from the FIRST Tech Challenge Team 4318, Green Machine. We are trying to write a program that will write to a configuration file and read it back. The idea is that we will be able to write to a config file from our computer that will be read by our autonomous program when it runs. This will define what the autonomous program does.
    The easiest way to do this seems to be flattening a data structure to a string, saving it to a file, and then reading back and unflattening it. The issue is that the flatten to string and unflatten from string VIs don't seem to work with arrays and clusters on the NXT. It does work when running on the computer. We've tried arrays, clusters, clusters in arrays and arrays in clusters, none seem to work. Thinking it was something to do with reading the string from a file, we tried bypassing the file functionality, still not working. It does work with basic data types though, such as strings and numbers.
    No error is thrown from what we can tell. All you get is a blank data structure out of the unflatten VI.
    The program attached is a test program I've been working on to get this functionality to work. It will display the hex content of what is going into the file, coming out of the file, and then the resulting data from the unflatten string, as well as any errors that have been thrown. The data type we are using simulates what we would like to store. There is also a file length in and out counter. The out file is a little larger because the NXT write file VI adds a new line character on to the end (thus the use of the strip white space VI). This character was corrupting even basic data types saved to file.
    I would like to know if there is a problem with what we are doing, or if it is simply not possible to flatten arrays on the NXT. Please ask if you have any questions about the code. Thank you in advanced!
    Joshua
    Attachments:
    ReadableTest.vi ‏20 KB

    Hi jfireball,
    This is a very interesting situation. Take a look at what kbbersch said. I also urge you to post in the FTC Forums. You posted your question to the general LabVIEW forums, but by posting to the FTC Forums, you will have access to others that are using the NXT hardware.
    David B.
    Applications Engineer
    National Instruments

  • CF10 clustering not starting/working

    CF10 Developer 282913 Update 02, Windows 2003 SP2, Apache 2.2
    I've created several instances and tried to cluster them together. I followed the instructions in the manual VERBATIM and I cannot seem to get clustering to even initialize. Also, it does not seem to matter whether I use Apache or the built-in tomcat server. Not only do I not even see ColdFusion attempt to start clustering in the logs, but I also do not see any multicast ports being opened for session replication (sticky sessions) or any traffic being sent to the other cluster members. This leads me to believe that there is an issue with coldfusion/tomcat loading the clustering components. I've already made or confirmed the necessary changes in server.xml and I've restarted the servers several times. Does anyone know how to increase the cluster logging level to DEBUG in CF10?
    UPDATE: After talking with Adobe, they said that the Developer version does not allow clustering. You can see the clustering configuration options in the Developer version, but I guess it's pretty much just for show. Only the Enterprise version will the clustering actually work as designed. I would still like to know how to increase the cluster logging level if anyone knows how.
    Message was edited by: erbyrnes24

    What is recored in ColdFusion10\cfusion\logs\coldfusion-error.log when CF10 tries to start? Here is example:
    Jan 25, 2014 5:25:47 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: d:\\ColdFusion10\\cfusion\lib;d:\\ColdFusion10\\cfusion\jintegra\bin;d:\\ColdFusion10\\cf usion\jintegra\bin\international;d:\\ColdFusion10\\cfusion\lib\oosdk\classes\win
    Jan 25, 2014 5:25:48 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8012"]
    Jan 25, 2014 5:25:48 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jan 25, 2014 5:25:48 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
    Jan 25, 2014 5:25:59 PM org.apache.catalina.core.ApplicationContext log
    INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
    Jan 25, 2014 5:25:59 PM org.apache.catalina.core.ApplicationContext log
    INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 23.7-b01
    java.lang.NullPointerException
    at coldfusion.server.jrun4.metrics.SimpleLoadMetric.run(SimpleLoadMetric.java:157)
    at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211)
    at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
    Jan 25, 2014 5:26:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
    Jan 25, 2014 5:26:13 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-8012"]
    Jan 25, 2014 5:26:13 PM com.adobe.coldfusion.launcher.Launcher run
    INFO: Server startup in 27609 ms
    HTH, Carl.

  • DbControl not working in clustered environment

    Hi all,
    I have a situation here with Oracle dbcontrol -it is not working in clustered environment. It is working on one node but fails on other node. Any suggestions ?
    Thanks in advance !

    http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm
    in this article Oracle has given example with RAC. so thats why i asked that question.Exactly, with RAC. If you specify -cluster option, you should have a running cluster, isn't it ?

  • Session replication not working with OAM clusters

    Hi,
    We have a enterprise deployment of OAM 11.1.1.5.0, and we are using a cluster or OAM managed servers. Server#A (fano1) hosts the admin + OAM managed server, server#B (fano2) hosts the second OAM managed server.
    What we have noticed in general is that when accessing the OAM admin console (on server#A, fano1), we get prompted to login and then we get a "Error 404--Not Found". It seems that we are getting authenticated against server#B (fano2) and our session is not getting replicated to server#A (fano1). After exactly 60 seconds, if we were to simply reload the URL in the same browser window, we can get in. This is with "database replication of sessions" enabled. If I disable that, then I will never be able to login to the admin console.
    The admin server logs contain the error message:
    [2011-12-22T16:41:52.471-05:00] [AdminServer] [WARNING] [] [oracle.oam.agent-default] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: f4a544324f1d0f29:2ccc59c7:13467aaf744:-8000-0000000000000182,0] [APP: oam_admin#11.1.1.3.0] OAM Server request failed: OpCode = 19 [GetSessionInfo], Returned Status = Major code: 71(SessionInvalid) Minor code: 2(NoCode)
    [2011-12-22T16:41:52.473-05:00] [AdminServer] [WARNING] [OAMAGENT-00406] [oracle.oam.agent-default] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: f4a544324f1d0f29:2ccc59c7:13467aaf744:-8000-0000000000000182,0] [APP: oam_admin#11.1.1.3.0] Invalid authentication token: AccessService INVALID_USER_SESSION
    One other point is that we are using virtual IPs and each server (Admin + 2 managed servers) is listening to its own virtual IP.
    Does anyone have any suggestions on what this could be. My thinking is that coherence based session replication is not working. However I have no way to say that for sure. Is there any way to enable some more logging from either OAM or Coherence that would help verify if sessions are getting replicated or not? I have tried putting the entire system in TRACE:32 but that generates too much data.
    Thanks
    Aspi Engineer
    Putnam Investments

    Did you get solution to this one.
    ThanksKrishna

  • SSO not working when launching the InfoView application

    We are so close to implementing SSO for BO Edge 3.0 using AD and Kerberos.  We can logon to InfoView and CMC using AD authenication and it works fine.  When turning on SSO:
        <context-param>
            <param-name>sso.enabled</param-name>
            <param-value>true</param-value>
        </context-param>
    in the InfoViewApp web.xml it fails with an error message in the Tomcat stdout.log
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    +          [Krb5LoginModule] user entered username: "at"MYCOMPANY.COM+
    User name is missing.
    When done through the application logon screen and able to logon it is
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    +          [Krb5LoginModule] user entered username: dennis"at"MYCOMPANY.COM+
    The username appears in the log file followed by the debug message for Kerberos key being created.
    I am so close, does anyone have an idea?

    Hi Tim,
    The Vintela SSO document for BOE XI 3.1 is very comprehensive, but it has not resolved my issue.
    Under NTLM option I SSO works great with .NET InfoView as long as I have the web site authentication set to Windows Authentication and ASP .NET Authentication enabled.  Once the ASP .NET is disabled, SSO does not work.
    When using the Kerberos option, .NET InfoView SSO does not work due to the error 'propagating the security context between the security server and the client'.
    The Java InfoView SSO does not work either, but I can enter my user credentials and logon fine.
    std.out error:
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
              [Krb5LoginModule] user entered username: @OR.PROVIDENCE.ORG
    Acquire TGT using AS Exchange
              [Krb5LoginModule] authentication failed
    Generic error (description in e-text) (60)
    No user name is being passed.  I've been through a multitude of documents and forums ensuring settings are correct and I believe they are including no duplicate SPN's.
    The only issue on the server is that I cannot open the tomcat confi app. due to it not able to start service BOE120Tomcat.  I was able to update the registry with the info for the bsclogin.config and krb5.ini.  I was not able to find anything on getting that service started.
    Any ideas?  Need more info? I have a bunch. 
    Thanks and have fun,
    Phil

  • Last_page button is not working in table control-urgent

    hi  all,
    iam displaying the data in table control.in my pf-status i have first_page,next_page,prev_page and last_page.out of 4 buttons 3 buttons are working finr except last_page. any body can send me the code for this program.iam sending my program below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
        WHEN 'NEXT_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
          LIMIT = LIMIT + 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
        WHEN 'PREV_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
          LIMIT = LIMIT - 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         CONTROL_DATA-TOP_LINE =  FILL - LINES + 1.
        WHEN 'FIRST_PAGE'.
          CONTROL_DATA-TOP_LINE = 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    thanks,
    maheedhar.T

    Hi Ravi,
    The code which u sent to me is not working for next page and previous page.
    can u plz resend me the code.
    iam sending my code below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
       WHEN 'NEXT_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
         LIMIT = LIMIT + 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'PREV_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
         LIMIT = LIMIT - 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         DESCRIBE TABLE ITAB LINES LIMIT.
         CONTROL_DATA-TOP_LINE =  LIMIT.
       WHEN 'FIRST_PAGE'.
         CONTROL_DATA-TOP_LINE = 0.
    WHEN 'P--'.
    CLEAR ok_code.
    PERFORM paging USING 'P--'.
    WHEN 'P-'.
    CLEAR ok_code.
    PERFORM paging USING 'P-'.
    WHEN 'P+'.
    CLEAR ok_code.
    PERFORM paging USING 'P+'.
    WHEN 'P++'.
    CLEAR ok_code.
    PERFORM paging USING 'P++'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    *&      Form  paging
          text
         -->P_0356   text
    *FORM paging USING    VALUE(P_0356).
    FORM paging USING code.
    DATA: i TYPE i,
    j TYPE i.
    CASE code.
    WHEN 'P--'.
    CONTROL_DATA-top_line = 1.
    WHEN 'P-'.
    CONTROL_DATA-top_line = CONTROL_DATA-top_line - line_count.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    WHEN 'P+'.
    i = CONTROL_DATA-top_line + line_count.
    j = CONTROL_DATA-lines - line_count + 1.
    IF j LE 0. j = 1. ENDIF.
    IF i LE j.
    CONTROL_DATA-top_line = i.
    ELSE.
    CONTROL_DATA-top_line = j.
    ENDIF.
    WHEN 'P++'.
    CONTROL_DATA-top_line = CONTROL_DATA-lines - line_count + 1.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    ENDCASE.
    ENDFORM. " PAGING
    *ENDFORM.                    " paging
    thanks,
    maheedhar.t

  • Full-Text search is not working with PDF files - SQL Server 2012 64 bit

    Hi,
    We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
    I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
    Server/DB Level Settings:
    1)
    Enable FileStream
    2)
    Install Full-Text
    then restart
    3)
    Use [specific db]
    alter
    database [db name]
    add
    filegroup Files
    contains filestream;
    alter
    database [db name]
    add
    file (
    name = N'Files',
    filename =
    N'D:\SQL\DATA') to
    filegroup [Files];
    3)
    Database level
    Settings:
    FileStream:
    FileStream
    Directory name:
    [Set the name]
    FileStream
    non-transacted
    Access: [set Appropriate]
    3a)
    Add a
    datafile to DB
    with filestreamdata
    filetype.
    4)
    Share D:\SQL\DATA
    directory and
    add specific accounts
    with read/write
    access
    5)
    Give bulkadmin
    access to those
    specific accounts
    at server
    level
    6)
    From the
    page (link)
    download and
    install the *.pdf
    IFilter for
    FTS. Link:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
    7)
    To the
    PATH global system
    variable add
    path to the
    catalog,
    where you installed
    the plugin.
    Default for
    this version is:
    C:\Program
    Files\Adobe\Adobe
    PDF iFilter 9
    for 64-bit
    platforms\bin
    8)
    From the
    page (link)
    download a
    FilterPackx64.exe
    and install
    it. Link:
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
    9)
    Now from
    SSMS execute the following
    procedures:
    -sp_fulltext_service
    'load_os_resources',1
    -sp_fulltext_service
    'verify_signature', 0
    EXEC
    sp_fulltext_service
    'update_languages';
    -- update language list
    EXEC
    sp_fulltext_service
    'restart_all_fdhosts';
    -- restart daemon
    reconfigure
    with override;
    10)
    Restart the
    server
    11)
    select document_type,
    path from
    sys.fulltext_document_types
    where document_type
    = '.pdf'
    -select
    document_type,
    path from sys.fulltext_document_types
    where document_type
    = '.docx'
    12) Results are OK.
    Following is my Table /Index/ catalog script:
    CREATE
    TABLE dbo.DocumentFilesTest
    DocumentId  INT
    IDENTITY(1,1)
    NOT NULL
    PRIMARY KEY,
    AddDate datetime
    NOT NULL,
    Name nvarchar(50)
    NOT NULL,
    Extension nvarchar(10)
    NOT NULL,
    Description nvarchar(1000)
    NULL,
    FileStream_Id UNIQUEIDENTIFIER
    ROWGUIDCOL NOT
    NULL UNIQUE DEFAULT
    NEWSEQUENTIALID(),
    FileSource varbinary(MAX)
    FILESTREAM DEFAULT(0x)
    go
    --Add default add date for document   
    ALTER
    TABLE dbo.DocumentFilesTest
    ADD CONSTRAINT
    DF_DocumentFilesTest_AddDate
    DEFAULT sysdatetime()
    FOR AddDate
    EXEC
    sp_fulltext_database
    'enable'
    GO
    IF
    NOT EXISTS
    (SELECT
    TOP 1 1 FROM sys.fulltext_catalogs
    WHERE name
    = 'Ducuments_Catalog_test')
    BEGIN
    EXEC sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'create',
    'D:\SQL\PDFBlob';
    END
    --EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
    DECLARE
    @indexName nvarchar(255)
    = (SELECT
    Top 1 i.Name
    from sys.indexes
    i
    Join sys.tables
    t on 
    i.object_id
    = t.object_id
    WHERE t.Name
    = 'DocumentFilesTest'
    AND i.type_desc
    = 'CLUSTERED')
    PRINT @indexName
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'create',
    'Ducuments_Catalog_test', 
    @indexName
    EXEC
    sp_fulltext_column
    'DocumentFilesTest',
    'FileSource',
    'add', 0,
    'Extension'
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'activate'
    EXEC
    sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'start_full'
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    ENABLE
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    SET CHANGE_TRACKING
    = AUTO
    ALTER
    FULLTEXT CATALOG
    Ducuments_Catalog_test REBUILD
    WITH ACCENT_SENSITIVITY=OFF;
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'pdf'
    'BOL12006553.pdf'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\BOL12006553.pdf',
    SINGLE_BLOB)
    AS BLOB;
    GO
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'docx'
    'test.docx'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\test.docx',
    SINGLE_BLOB)
    AS Document;
    GO
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'BILL')
    Returns nothing. it should come from PDF file
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'TEST')
    Returns from word document as follows:
    2           2014-06-04 10:11:41.393            test.docx docx           
    NULL   [BINARY Value]  [Binary Value]
    Any help is appreciated. Its been a long wait.
    Thanks,
    Vel
    Vel Thavasi

    Hello,
    Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
    The following thread is about similar issue, please refer to:
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • [SOLVED] Xorg & Firefox lock Gnome desktop, causing massive CPU usage

    Hi there, since I have installed ArchLinux x64 on this laptop (Core 2 Duo, 9600M GT with Nvidia's binary driver 195.36.15-2, Gnome 2.30) Xorg spins out of control every so often - more often repeatedly in an hour, sometimes not for a prolonged time.

  • Help me choose a Java Web Server?

    I'm using Ubuntu 9.x and looking for a Java Web Server. I'm really lost as there are far too many out there and there seems none is the de-facto standard used by large corporations. My criteria are: - FREE for commercial use (requirement) - ease of u

  • 2 iPhoto icons

    I just my update iPhoto app and now there are 2 iPhoto icons..When i try to delete the iPhoto app, one of the icon gone and another remained at the luanchpad with a question mark on it. so, how do i delete one of the icon? please help me out.

  • Is anyone able to use Windows Media Player plug-in

    I'd like to watch the video at the bottom of this page: http://www.bloomberg.com/apps/news?pid=20601068&sid=asbXQ1VWKyRM It requires WMP plug-in. I have WMP installed but apparently not the plug-in. I click the link from the popup to get the plug-in.

  • 'With TOP Include'

    Hi all Im trying to create a program from the Object Navigator tool, and select 'With TOP Include', however i get an error that goes like this... 'Error in Object Editing' 'System does not allow changes to be made to Object PROG TEST_TOP' (even thoug