Pnp database question

Hello,
i have some propably simple question regarding pnp database. Which variables are used for begda and endda for personnel selection a which are used for data selection? Or are both dates same? If so how should i do this logic:
select persons which have some status on specified date and for these person read data/infotypes for specified period? what should i fill in pnpbegda, pn-begda,....?
thanks
Regards,
JJ

Thanks for the reply.
Checking for begda and endda is fine .. but i was refering to other fields which are visible in the pnp selection screen ..e.g cost center , payroll area, emp. status
if user puts selection criteria in any of these fields .. shouldnt the returned personal nos. from GET pernr  be filtered ?

Similar Messages

  • Query - PNP Database

    Hi All,
    I have a question regarding use of PNP database.
    in the PNP selection screen entered values
    date -  01.02.2008    - 31.12.1999
    cost center - X.
    Personal Area - Q
    in the database p0001 for pernr P1 there are two records for cost center history
    1)  01.01.2002 - 01.01.2008   - X ( Cost Center)
    2)  15.01.2008 - 31.12.9999 -   Y( Cost Center)
    As my input screen suggests pernr with only cost center X should be selected... why is it that P1 is being selected via GET Pernr ?
    I can manually put a logic .. but PNP database selection screen is dynamic and user can select any field as filter paramter .. Have I to check and each and every selection field. I dont think thats how PNP would work.
    Could you please explain where am I going wrong?
    Thanks
    Neelima

    Thanks for the reply.
    Checking for begda and endda is fine .. but i was refering to other fields which are visible in the pnp selection screen ..e.g cost center , payroll area, emp. status
    if user puts selection criteria in any of these fields .. shouldnt the returned personal nos. from GET pernr  be filtered ?

  • Basic Clone database question

    hi all,
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.
    Hope u understand
    Thanks,
    Neerav

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Selection screen: PNP database or other selection criteria

    I received a specification of a new to be developed program where they defined a selection screen with a with 2 radio buttons:
    1.     Use the logical database PHP for data selection (rb1);
    2.     Use other criteria for data selection (rb2).
    My question is, is this possible?
    Or should I add the other criteria between the GET PERNR and the following code with?
    Sample:
    GET PERNR
      IF rb2 = ‘X’.
        [Check other criteria]
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDIF.
    null

    When either pnp OR other selection :
    Create program 1 with 2 radiobuttons ==> pnp-selection (rb1)or other selection (rb2). When rb1 is selected go to pgm1 with pnp ; when rb2 is selected go to pgm2 with other selection criteria. Copy pgm1 to pgm2 and add extra selections en delete pnp-statements.
    When pnp WITH extra selections : 1 pgm can be used as you described.

  • Report with PNP Database

    Hi All,
    I am writing a program in which I take in a personnel number and then process all employees under that personnel number.
    I understand that PNP logical database GET PERSA event gives us pernr one by one.
    I want to gather data for each employee in a combined table and then process the table (with records for all employees) once all the employees have been processed through my program.
    Is there a way to achieve this?
    Regards,
    ~Mark

    .

  • A few Nakisa Database questions

    Hi All,
    [Our version is 3.0 SP1. ]
    I have a database related questions that I cannot seem to get from our current Nakisa resources.
    - Do you have a recommendation for the DB landscape. All on the same server, or is it recommended to have OC and OM DB on separate DBs (as long as there is plenty of room). [Or does any of this not even matter].
    - Also, is it OK to put each DB on 2008 Servers? I was just approached with a question from someone who thought he read/heard that there was a 2005 dependent aspect to Nakisa. Does that make sense and/or is it true? I think our QA DBs are all on 2008, but I was requested to track this down to get a definitive answer.
    Thanks so much again for all the help!!
    Zach

    Zach.
    Defining the best fit for the database is probably going to be tied somewhat to the local environment.  What is standard practice? What capacity does a server have in terms of computational throughput (CPU, RAM, disk access rates), network speed and storage?  Factor in ease of backup and resilience that might be afforded by hosting the database on a dedicated SQL server vs. any inherent cost associated with running it on such a server - if you don't need all the extras, it may not be cost effective.  As long as the database is accessible and the performance is accessible, you're onto a winner.
    The Master Guide for 3.0 lists "Microsoft SQL 2000 SP4, 2005".  With SP2 another Master Guide was released that lists "Microsoft SQL 2005, 2008".  So running SP1 against SQL 2008 doesn't look as though it is officially supported, but if you went to SP2 it would.
    Hope that helps.
    Stephen.

  • Connecting to an oracle database questions

    <p>Our current solution to connecting to our oracle database uses the following code:</p><p>    ReportClientDocument clientDoc = new ReportClientDocument;</p><p>    java.sql.ResultSet rs =  fetchResultSet(driverName, connectStr, userName, password, <u>query</u>);</p><p>    clientDoc.getDatabaseController().setDataSource(rs, <u>tableName</u>,tableName+"_ResultSet"); </p><p>The code for subreports is very similar, but isn&#39;t necessary for my question. The problem w/ this approach is we have to define the SQL query and the table name in the JSP, which we shouldn&#39;t have to do considering both of these are stored in the report. Any changes to the reports&#39; sql would then require someone to edit the jsp, which is just bad.  </p><p>I have been reading up on the ConnectionInfo and ConnectionInfos classes (nice naming convention btw) and the CrystalReportViewer.setDataBaseLogonInfos() method, and I believe a solution may lie here. The problem is the tutorials on using the ConnectionInfo class assume the database name is stored in the report, and we do not want to assume this. We are developing our reports to be used by our customers, who may name their database whatever they want so long as the tables inside it are what we specify. Because of this assumption, I have yet to find a good explanation of how to use the setAttributes(PropertyBag) method which is the only I have seen to specify the database name (within a connection string). I have examples of it, but nothing that defines the key/value pairs required in the PropertyBag to create a connection to an oracle database. </p><p>Is there some documentation on the key/value pairs needed by the PropertyBag? Also, if there is another (easier) solution I am overlooking then please let me know, thanks.</p><p>-Sam Morehouse</p><p>HBF Group, Inc </p><p> </p>

    <p>got it working, here&#39;s some sample code.  </p><p> </p><p><%<br />    try{<br />        ReportClientDocument clientDoc = new ReportClientDocument();<br />        clientDoc.open(reportName, 0);<br />    <br />        ConnectionInfos connInfos = new ConnectionInfos();<br />        IConnectionInfo iConnInfo = new ConnectionInfo();<br /><br />        PropertyBag bag = new PropertyBag();<br />        bag.put("Database Class Name",driverName);    // "oracle.jdbc.driver.OracleDriver"<br />        bag.put("Connection URL",connectStr);        // "jdbc:oracle:thin:@dbName:1521:sid"<br />                            <br />        PropertyBag pb = new PropertyBag();<br />        pb.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES ,bag);<br />        pb.put(PropertyBagHelper.CONNINFO_DATABASE_DLL ,"crdb_jdbc.dll");<br />        iConnInfo.setAttributes(bag);<br />        <br />        iConnInfo.setUserName(userName);<br />        iConnInfo.setPassword(password); <br />                <br />        iConnInfo.setAttributes(pb);<br />            <br />        connInfos.add(iConnInfo);<br />        session.setAttribute(reportName, clientDoc);<br />        session.setAttribute("reportSource", clientDoc.getReportSource());<br /><br />        //Setup viewer. Only going to include the relevant line, the rest can be found</p><p>        //elsewhere.<br /></p><p>        CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();                   oCrystalReportViewer.setDatabaseLogonInfos(connInfos);                                      }    </p><p>catch(ReportSDKExceptionBase exc)%></p>

  • Basic database question, and subscribe/unsubscribe code

    Hi there
    Although I've created and manage a website, and about a million years ago I worked with databases, I'm still a bit green and in need of some help ...
    I have the website based on my local machine (laptop).  I want to use a subscribe/unsubscribe for a newsletter via the website.
    Before I go ahead with this, I need to clarify a very basic database issue ... would I have to always leave my laptop running in order for people to be able to subscribe to the newsletter on the website, i.e. will it still connect to the database if the laptop is not running?
    I'm using Dreamweaver 3, so I hope I can use this version to connect with a database?  I did install Dreamweaver 4 on one occasion with the intent of upgrading the website to it, but because I'm still a bit unsure of myself and was unfamiliar with the changes the newer version created, I decided to leave it on Dreamweaver 3 rather than risk stuffing the website up completely!
    I also have Dreamweaver UltraDev but for some reason it won't install.
    I'm hoping to follow instructions given on Dreamweaver Developer Centre for setting up a PHP development environment (http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html).
    If anyone would be so kind as to advise whether I'm on the right track with all this, using Dreamweaver 3, that'd be great!
    Also, I'm sure this is unlikely, but is there any way to include a subscribe-unsubscribe without having to actually use a database?
    Many thanks in advance    :-)
    Cheers, Chrissie

    Thanks for your help and advice - much appreciated.  I'm going to go the way
    of hosting, as you suggest, and save myself the heartache  
    Quoting jj12689 <[email protected]>:
    To answer your first question, yes your laptop needs to be powered on
    for users to be able to access the database and subscribe/unsubscribe.
    There is another way of doing it, but it requires more work on your
    part. You could make an online program that would generate SQL
    statements and place them in a text document on the server. Every time a
    user subscribes/unsubscribes it would add them to the end of the text
    document. Then you could make an update button on a back-end admin page
    that you would have to push that would take that text file, open it and
    take the sql statements and submit it to the database on your computer.
    I would advise against this method, since it is time consuming, and not
    very fast for today's world. I would recomend using a server based
    database, if the host you currently have dose not have a database, I
    would recomend finding another host. I use surpasshosting.com for my
    hosting because they are cheap, reliable, and have all the requirements
    I need.
     
    Hope this helps...
    >

  • PS database question

    Hi Friends,
    We are running CJI3 report, and I have the following questions in regards with where the data is coming from:
    1. Is the data for this CJI3 report coming from Project System Information System logical database or real time data directly from ECC?
    2. If it comes from ECC, does a periodic program needs to be run to pick-up the master data?
    3. If CJI3 uses Project System Information System logical database, is there any structure (KAEP_COAC?) involved at the back-end to pick-up the data from ECC?
    Regards,
    Aman

    I agree with Gokul. You can refer 325546 where it says KAEP_COAC is output structure for CJI3 report. Once you post actual cost that gets recorded by COEP table, As I understand to make reporting / selection logical database concept intruduced by SAP in 4.6 C onward, which are linked to relevent base tables. so there is  is no data transfer concept when you are using any logical database it's online slection from base line item or total table.
      For bettter understadning take help of Technical resource.
    With Regards
    Nitin P.

  • Adobe AIR Local Database Questions

    Hi All,
    I have very limited experience using Adobe AIR but it seems really cool since I'm plenty familiar with jQuery and other web technologies. We have a client interested in creating a desktop application that would rely on the local database feature of AIR. I have some questions though before I begin development.
    I understand that AIR uses SQLite correct?
    How robust is this database system? Some of the larger implementations of the AIR desktop software we're planning could have 500,000+ db records, is AIR cut out for this?
    Where can I get some info on making use of the local database?
    Here's some other non-DB related questions:
    Can we send out software updates via CD for those without an internet connection at thier location?
    Can AIR allow an application to interact with a USB device?
    Thanks for all your help!!

    Hi,
    note: I'm not expert
    #1
    yes, AIR uses SQLite (3.6.*.? now one exactly knows as it is undocumented and sqlite_version() native function will throw runtime error to be handled)
    #2
    it depends for what purpose it will be used and how, yes? e.g.:
    http://stackoverflow.com/questions/3160987/can-sqlite-handle-90-million-records
    #3
    http://www.adobe.com/devnet/air/flex/articles/air_sql_operations.html
    (User experience considerations with SQLite operations)
    http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_01.html
    (docs)
    #4
    there is an option now to create native installer for platform which could be send off-line. It asks user to overwrite content if application is already installed, etc
    #5
    please define "interact" with USB? as disk or interface to talk with some device? Air itself cannot talk to low level ports but could start native process (NativeProcess) to some application/tool/process that could act as middle-tier between your application and usb:
    http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml
    kind regards,
    Peter

  • Mysql database question

    Let's say that I am making a java program that connects to a Mysql database and uses the database "MyDatabase".
    Forgive me, but I am relating this to a Microsoft Access database.
    The database is not on a network, but is (or will be installed) on the user's machine. In otherwords, the database will be on the user's machine and the changes to the database will only affect that user.
    If I am to let a user use this program, will they have to also have Mysql installed for the program to access the database and pull information from it?
    --Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Let's say that I am making a java program that
    connects to a Mysql database and uses the database
    "MyDatabase".[snip]
    The database is not on a network, but is (or will be
    installed) on the user's machine.[snip]
    If I am to let a user use this program, will theyhave
    to also have Mysql installed for the program toaccess
    the database and pull information from it?Yes.
    (if you are asking if the code could directly
    access/manipulate MySQL datafiles without going
    through the MySQL program, I suppose in theory you
    could, but I seriously doubt you really want to)The reason being is that it would be a client database for their own use, as oppose to sharing the database with others.
    In any case, Thanks!
    Next question: is there any place where I could go to find code that would treat the Mysql database as a client database (so far, the code that I found requires Mysql to be installed and running in the background on the user's machine)?

  • Database Question

    <p><a name="OLE_LINK1"><span>Hello,</span></a></p><p><span><span>I’m using your SSMA for Access software or MS SQL Server Migration Assistant for Access to convert an MS Access 2010 database
    into a SQL Server 2008 database.<span>&nbsp; </span>The database is a split one.<span>&nbsp; </span>So, I’m only concerned about the tables.mdb file being converted.<span>&nbsp; </span>I have created an ODBC
    connection (DSN=DSN1) to connect the SQL Server to the MS Access 2010 frontend.mdb file (contains forms, queries, reports, etc).<span>&nbsp; </span>All was successfully created.</span></span></p><p><span><span>My
    question is regarding making certain “Project Settings” before performing the migration.<span>&nbsp;&nbsp; </span>When I have done previous conversions using SSMA for Access, I have left the “Project Settings” set to their default values.<span>&nbsp;&nbsp;
    </span>I noticed that if I have a table in the MS Access database called ‘tblABC’, then once I do the conversion the table in SQL Server is ‘dbo.tblABC’ (which is just fine).<span>&nbsp;&nbsp;&nbsp; </span>However, when I go to
    my MS Access frontend.mdb , the same table is called ‘dbo_tblABC’ via the DNS in MS Access Linked Table Manager.</span></span></p><p><span><span>Question:<span>&nbsp; </span>How can I set the “Project Settings”
    (before I perform the migration using SSMA) so that in Access there will be no table linked to SQL Server now called ‘dbo_tblABC’, but will still have its original name as in MS Access ‘tblABC’ while still being a linked table to SQL Server?</span></span></p><p>Thanks
    for any assistance.<span></span></p>
    Hello,
    I’m using your SSMA for Access software or MS SQL Server Migration Assistant for Access to convert an MS Access 2010 database into a SQL Server 2008 database. The database is a split one. So, I’m only concerned about the tables.mdb file being converted. I have created an ODBC connection to connect the SQL Server to the MS Access 2010 frontend.mdb file (contains forms, queries, reports, etc). All was successfully created.
    My question is regarding making certain “Project Settings” before performing the migration. When I have done previous conversions using SSMA for Access, I have left the “Project Settings” set to their default values. I noticed that if I have a table in the MS Access database called ‘tblABC’, then once I do the conversion the table in SQL Server is ‘dbo.tblABC’ (which is just fine). However, when I go to my MS Access frontend.mdb , the same table is called ‘dbo_tblABC’ via the DNS in MS Access Linked Table Manager.
    Question: How can I set the “Project Settings” (before I perform the migration using SSMA) so that in Access there will be no table linked to SQL Server now called ‘dbo_tblABC’, but will still have its original name as in MS Access ‘tblABC’ while still being a linked table to SQL Server?

    Hello,
    If you make a right click on the Access database you are connected using SSMA Project, then just select the unlink tables option.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • 817 simple standby database questions

    i read the standby concept and tried to look for an answer on the web but couldn't get it.
    1. if i will use manage recovery enviroment can i lose transaction when the primary server is down?
    i read that it transfers the archive logs to the standby database but if the primary server "exploded" then i will lose all the transaction that in the online redo log and didn't archived yet.
    is it true ? am i missing something here ?
    2. if i will use a standby database is it important to have a regular hot backup of the primary/standby databases ?
    3. i still don't know if my net8 connection is down and my standby enviroment is manage recovery , what is the efect on the primary server ?
    thanks

    Hi zvika,
    I have make a standby 8i the last week, and I will try to answer your questions :
    1. Yes, you lose the all transaction from the last redolog which is not archived. When you have a standby database, you accept a minimum data lose.
    2. It's not necessary, if the standby is ok, you don't need a cold backup. You can save all archive files since the last cold backup.
    3. In this case, you have a warning (or error message) into the alert.log from primary database. And error message into v$archived_log view at standby line into your primary database. After what, it's depend if the init.ora parameter "log_archive_dest_n" for the standby dest is optional (recommanded) or mandatory.
    If optional, there is nothing to make, Oracle make itself.
    If mandatory (not recommanded), primary database stop all new entries (you need to change log_archive_dest_n to optional) and you need to copy manually all archive files which are created since the network problem and reapply manually it into the standby database.
    Hope this will help,
    Nicolas.

  • Java visit microsoft access database question

    I want to visit microsoft access database,like follows:
    String dirverClass="sun.jdbc.odbc.JdbcOdbcDriver"; String url="jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; DBQ=C:\\apache-tomcat-5.5.27\\webapps\\Test\\db.mdb"; String content=""; try{   Class.forName(dirverClass);   Connection conn=DriverManager.getConnection(url);   Statement stmt = conn.createStatement();   String sql="select * from mytab"; ResultSet rs = stmt.executeQuery(sql); while(rs.next()){       content=rs.getString("zd1"); }
    My question is whether I must install microsoft access database?
    Thanks

    Far as I know and have been able to determine a MS Access ODBC driver comes with every windows install going back to about windows 98. Might be 95 as well.
    I haven't looked at some of the more exotic ones like the 64 bit versions nor the mobile versions.

  • Access Database Question

    I've been searching the web, but haven't seemed to ask the
    right questions or used the correct terminology to return what I
    need.
    I want to make an online db that allows users to login and
    update their information and submit directly for viewing. I have
    about 20 individuals that would likely logon once a month to update
    their information. They probably would have 50-60 pieces of info to
    update.
    What would you suggest me to use for a db and app server that
    integrates well with DW? I have worked extensively with Access, but
    I've never integrated a mdb file with the web. Would my end users
    need to have client license and ODBC setting to update?
    If someone could point me in the right direction I have no
    problem learning, I just am lost as to which road to take.

    "kathycmiller" <[email protected]> wrote in
    message
    news:f3v8j7$269$[email protected]..
    > I want to make an online db that allows users to login
    and update their
    > information and submit directly for viewing. I have
    about 20 individuals
    > that
    > would likely logon once a month to update their
    information. They
    > probably
    > would have 50-60 pieces of info to update.
    If that's all the traffic you'll have, then Access might
    actually work.
    Normally I'd say, "if you care about your data, then DON'T
    use MS Access."
    > What would you suggest me to use for a db and app server
    that integrates
    > well
    > with DW? I have worked extensively with Access, but I've
    never integrated
    > a
    > mdb file with the web. Would my end users need to have
    client license and
    > ODBC
    > setting to update?
    No, none of that would be necessary.
    I would suggest using SQL Server 2005 Express. It's a free
    version of
    Microsoft's excellent flagship DBMS. There are rather
    generous restrictions
    (no more than 25 users simultaneously on a Web site, no more
    that 2GB of
    RAM, no more than 2 processors, no more than 4GB of data), so
    it works well
    for a lot of people who would normally look at Access.
    Throw away what you know about Access, though. It will only
    get you in
    trouble with a real database system.
    > If someone could point me in the right direction I have
    no problem
    > learning, I
    > just am lost as to which road to take.
    Well, check your host. Your host may offer plans that contain
    space on a
    SQL Server 2000 or 2005 installation for a reasonable price.
    If not, then
    you'll have to find another solution as the database must be
    installed on
    the server. If you host your own server, then great. :)

Maybe you are looking for

  • SELECT query taking long time

    Hi All, I am trying to run one SELECT statement which uses 6 tables. That query generally take 25-30 minutes to generate output. Today it is running from more than 2 hours. I have checked there are no locks on those tables and no other process is usi

  • Printing a PDF file over pre-printed template

    I would like to be able to print a PDF file (file A) over the top of another PDF file (file B ). For example, file A could be a letter that needs to be sent out and file B could be the company letterhead. The resulting file would be the letter on com

  • NI 7852R output not working

    Hello, Any examples (analog or digital output) after moving to 7852R PCIe and compiling are runs, but no output signals we can see by oscilloscope. Any help ? Thanks, Serg. Solved! Go to Solution.

  • How to Configure Solution Manager for 1.Download SuppPacks 2. Monitoring 3

    We recently upgraded to ECC 6.0 and installed Solution Man., very vanilla.  Basically just to get the Key to do the upgrade with. I would really appreciate it if someone could share any documentation that would provide guidance on how to now further

  • Adding EL expression to train skip property

    Is there a way I can get JHeadstart to populate the skip property of a train stop ? If not, what is the best way to preserve an EL expression entered manually ? Cheers, Brent