Few basic doubts

Dear All,
             Does RFC adapter use Logical system in any way?
Is there Adapter Monitoring in PI 7.0 or is it called Communication Channel Monitoring?
              Can we see the response message of RFC synchronous communication in SXMB_MONI?
           Can you please list a few transactions which execute on ABAP stack and Java Stack respectively?
Regards,
Ashish

Ashish,
>>Does RFC adapter use Logical system in any way?
Logical Sysytems are required only for IDOC transfer scenarios.
>>Is there Adapter Monitoring in PI 7.0 or is it called Communication Channel Monitoring?
Adapter monitoring is a part of Communication channel monitoring from SP17 (regardless of XI 3.0, PI 7.0)
>>Can we see the response message of RFC synchronous communication in SXMB_MONI?
Yes. But you have to enable logging for synch msg in SXMB_ADM--> Integration Engine Configuration -->Specific Information.
Add the parameter. LOGGING_SYNCH value 1.
>>Can you please list a few transactions which execute on ABAP stack and Java Stack respectively?
All transactions execute in ABAP to my knowledge.
Regards,
Jai Shankar
Message was edited by:
        Jai Shankar

Similar Messages

  • Few basic doubts about accessing AM from backing bean class

    Hi ADF experts,
    I have just started working in ADF Faces.I made a sample search page.My page is attached to a managed backing bean. I have attached command button on my page to a custom method in backing bean class.
    So on, click of button this method is called in backing bean.Now, i have few doubts:
    1)How to get values of various UI beans in this event code?
    2)I am accesing AM , in my method with this code:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext extContext = facesContext.getExternalContext();
    Application app = facesContext.getApplication();
    DCBindingContainer binding = (DCBindingContainer)app.getVariableResolver().resolveVariable(facesContext, "bindings");
    //Accessing AM
    ApplicationModule am = binding.getDataControl().getApplicationModule();
    iS this correct ?
    3) After getting handle of am how to call my custom method in AM Class?there was "invokeMethod" API in application module class in OAF, is there any such method here?
    Please help me.
    --ADF learner.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for ur response Frank, actually I am from OA Framework back ground.It would be great if help us a little with ur valuble thoughts.
    OA Framework also uses bc4j in model layer of framework. We have a requirement where our existing developers from OA Framework have to move to ADF to make a new application where time lines are quite strict.If this would not be possible we will switch to plain jsp and jdbc,but our tech experts say ADF Faces is the best tech.
    In OA Framework, Application Module is key class for all busiess logic and Controller is used for page navigation. So, I m just trying to find the same similarity , where we write we add all event codes in custom action methods in the backing bean class of page, which we consider equivalent to process form request method in Controller class of OAF.
    But there are two things, I still want to know:
    1)While page render, how to call specific AM methods(like setting where clause of certain VOs)
    2)In action methods, the way i described(I found that in one thread only)to access AM, what is wrong in that?Also, I went through
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    where coule of examples use similar approach to access AM from backing bean class and call custom methods of AM(Doing various, deletes etc from VOs).
    3)In these methods can we set any property of beans on the page, I am asking because in OAF, generally we use PPR for js alternatives.But all properties of beans cannot be set in post event.
    Thanks and Regards
    --ADF Learner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle Apps - 9iAS : Basic doubts

    Hello,
    I am new to Oracle Apps and 9iAS
    I have few basic doubts regarding the integration of these
    Can anybody please clarify...
    The middle tier of Orcale Apps is the 9iAS Application Server.
    Read that Oracle9i AS Components are :
    - J2EE and Internet Applications (sub-components are Oracle HTTP Server, OC4J, Web services etc)
    - Portals
    - Wireless
    - Web cache
    - Business Intelligence
    - E-Business Integration
    Read that middle tier of Oracle Apps has following servers
    - Web server
    - Forms server
    - Concurrent Processing server
    - Reports server
    - Discoverer server (optional)
    - Admin server
    So, all the components of 9iAS are installed with Oracle Apps ?
    If only some, then which are those ?
    Where do Concurrent Processing server, Reports server etc come from as these are not the components of 9iAS ?
    Are these very specific to Oracle Apps only ?
    As the core database administration knowledge is required for Apps administration (for managing database tier), isn't the 9iAS knowledge required (for managing the middle tier) ?
    If yes, then upto what level ?
    Knowing about Oracle HTTP Server, Apache server, Web cache, OC4J etc etc is required ?
    Please suggest some links / documents related to all these ?
    I found a couple of them on metalink & OTN, but not very useful !
    Thanks

    9iAS consist of Apache and an Oracle database on the middle tier.
    The other components come from the developer suite.
    http://otn.oracle.com/software/products/forms/index.html

  • Few basic questions on deployment

    Hi Experts,
    I have never worked on deployment. Hence have some few basic/conceptual questions.
    1. Can I run just deployment (heuristics/optimiser) without running SNP planning?
    2. Does deployment run change/modify the SNP orders created? If yes, then what are the paramenters that deployment run changes (order date, qty, from/to location etc)? Does deployment run create new/fresh orders also?
    3. What is the difference between deployment heuristics run and deployment optimiser run?
    4. What is the disadvantage to have just SNP planning run and dont have deployment runs?
    Regards
    Manotosh

    Hi Manotosh,
    Please find my responses below
    1. Can I run just deployment (heuristics/optimiser) without running SNP planning?
    Any distribution demand based deployment (pull dep /push strategies that deploy based on demand) needs a demand propagation run like heuristic or a planning run like optimizer. If you are using Push strategies that do not consider demands like (push by quota) you do not need a preceding heuristic run. Deployment optimizer does not need a heuristic run. Real time deployment does not need a heuristic run.
    2. Does deployment run change/modify the SNP orders created? If yes, then what are the paramenters that deployment run changes (order date, qty, from/to location etc)? Does deployment run create new/fresh orders also?
    There are 3 modes available in deployment (/sapapo/SNP02)
    DO NOT CHANGE mode - This is just simulation of deployment results. orders are not created.
    REDUCE mode - Heuristic orders are reduced to the extent of orders confirmed by deployment. Unconfirmed heuristic orders are not deleted.
    DELETE mode - Unconfirmed heuristic orders are deleted.
    Deployment heuristic only confirms heuristic orders ( some exceptions are push deployment wuth push by quots strategy as explianed above). Real time deployment /Deployment optimizer can create fresh orders.
    3. What is the difference between deployment heuristics run and deployment optimiser run?
    Deployment optimizer works based on costs and tries to generate the cost optimal solution for stock transfers.
    It is similar to SNP optimizer but it does not created pur reqs or plnd orders only stock transfers. Dep optimizer does not require a preceding heuristic run.
    Dep heuristic does not work based on costs bust based on the actual distribution demand propagated by heuristic and based on target stock reqmt & the pull /push /fairshare strategies...
    4. What is the disadvantage to have just SNP planning run and dont have deployment runs?
    SNP planning run (heuristic) is un constrained planning, the stock transfers are created to the extent of net requiremetns without considering the stock/capacity avaiablity at source, so it cannot be executed. A process like deployment is required to check how much of the heuristic orders can actually be executed considering executable receipts.
    Optimizer does not require deployment as such because it considers available receipts (constrained planning). You can directly execute optimizer results. SOme scenarios you may need Deployment & optimizer runs together.
    For example if you take weekly optimizer runs which create /stock transfers planned orders but you want to move stocks every day based on actually completed production. Then you can run deployment every day based on receipts actually available.
    Regards,
    Ashok

  • Few basic SRM questions .......

    I recently completed the SRM training from SAP and I have few basic questions and need help. Full points will be rewarded.
    These are my questions and it is based on SRM 5.0 Classic Scenario with R/3 backend
    1. Invoice  & confirmation transferred to R/3 via  ALE ? .  All other documents are transferred to R/3 via RFC?
    2. Based on the configuration, if the material is available in the backend then reservation will be created. Other wise PO will be created.  For text items, PR will be created.
         a. Who (purchaser) will process the PR in R/3 and how it is processed?.
         b. Who (purchaser?) will process the reservation in R/3 and how it is
             processed?. Assume no sourcing is setup in this case and No MRP run.
    3. How the vendor is linked to the Material or product category in SRM?. During the vendor replication from R/3, vendor and material/prod category link is automatically maintained?
    4. How the vendor is linked to a specific purchasing org/group? Is it based on the prod category assigned in the org structure for each purchasing org or purchasing group?
    5. How to do delta prod category replication?
    6. How to do Delta Material Replication?.
    7. Contracts and vendor list:-
        In our SAP training we created these from the browser. But in the actual
        implementation how do we create this?. Is it always from the browser?
    8. Direct Material and Plan driven Procurement.
       Can we use catalog items as direct material?. Just for example - > What
       about ‘Car Batteries’ that  is directly used in production and has the inventory
       also. But we are using electronic catalog for procuring this item. Is it possible to
       order this as direct material?
    9. How to replicate Plant. How to use DNL_PLNT?. Is BBP_LOCATIONS_GET_ALL will replicate all the PLANT's and its locations from the R/3 backend?
    10. In the HR system, which transaction we can view the org structure?

    Hi
    Answers to your questions ->
    1. http://help.sap.com/saphelp_srm50/helpdata/en/e9/d0fc3729b5db48e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/74/ec7b3c91c1eb1ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/55/d77c3c3fd53228e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/77/e97b3c91c1eb1ee10000000a114084/frameset.htm
    2.  Provided the necessary role is given to the Purchaser (Buyer) in the System.
    a) Yes
    b) Yes
    3. http://help.sap.com/saphelp_srm50/helpdata/en/e5/f5e938b4ece075e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/70/00c73a584611d6b21700508b5d5211/frameset.htm
    4. http://help.sap.com/saphelp_srm50/helpdata/en/2c/867d3ca2156c6ae10000000a114084/frameset.htm
    The vendor ORG has to be seperately created through trasaction PPOCV_BBP before replicating the Vendors from the R/3 System.
    http://help.sap.com/saphelp_srm50/helpdata/en/70/00c73a584611d6b21700508b5d5211/frameset.htm
    5. http://help.sap.com/saphelp_srm50/helpdata/en/42/d3b671ba67136fe10000000a1553f7/frameset.htm
    6.  http://help.sap.com/saphelp_srm50/helpdata/en/29/d586398dcfd74fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/05/9b8139437eac2ae10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f5/b4bcdac7c40c4dba53e3695d18236c/frameset.htm
    7. Yes, from Browser it's quite easy and is quite user-friendly.
    8.
    http://help.sap.com/saphelp_srm50/helpdata/en/d3/4b9c3b122efc6ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/18/db183d30805c59e10000000a114084/frameset.htm
    9.
    You can use the following three routines to download locations from the backend system and store them as business partners in SAP Enterprise Buyer.
    BBP_LOCATIONS_GET_ALL
    To get all the location numbers from each backend system that is connected
    BBP_LOCATIONS_GET_FROM_SYSTEM
    To get all the location numbers from one particular backend system
    BBP_LOCATIONS_GET_SELECTED
    To get selected locations
    Previously, locations were not given business partner numbers in SAP Enterprise Buyer. If you are configuring an upgrade, you can use routines BBP_LOCATIONS_GET_FROM_SYSTEM and BBP_LOCATIONS_GET_SELECTED to check that the following conversions have been made:
    ·        Conversion of user favorites
    ·        Conversion of user attributes
    ·        Conversion of old documents
    Routine BBP_LOCATIONS_GET_ALL checks these automatically.
    Once you have run the routines, the location data is available in the SAP Enterprise Buyer system. Table BBP_LOCMAP contains the mapping information (in other words, which business partner number corresponds to which location in which backend system).
    For more information, see SAP Note 563180 Locations for EBP 4.0 – plant replication
    http://help.sap.com/saphelp_srm50/helpdata/en/62/fb7d3cb7f58910e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/77/e97b3c91c1eb1ee10000000a114084/frameset.htm
    10. PPOCA_BBP(Create) / PPOMA_BBP(Change) / PPOSA_BBP(Display).
    Regards
    - Atul

  • Basic Doubts

    Hello Experts,
    Please any one of them clarify my some of the Basic doubts
    1.Reg ODS activation failure in Process chain,I know how to correct incase if ods activation failed.I want to know,What could be the reason for failure and in background whats happening(Techincally)
    2.Reg Attribute change run failure in process chain,what could be the reason.(technically)
    3.Whats is the purpose of trfc and what we have to check in SM58.
    4.What is the diff between the IDOC(transfer method) and Idoc which is used to transfer the data in PSA transfer method..(For ex - If i am using the PSA transfer method,even there to transfer the datapackets,we are using Idoc)
    5.Some of the time,I am getting the error like this"Non updated idoc in source system and error mesg from the source system/Business warehouse.
    This mean,what could be the reason.(Frequently i am getting the above errors and If i used the repeat option,It has been corrected and loaded succesfully)
    6.How many datasources can be assigned to one Infosource(Is any limit is there)
    I request you to advise on the above doubts and I will assign the points.
    Thanks in advance
    Regards
    Kumar

    Hi,
    1. During the month end procedures and week ends the number of records will be more rather than the week days, so the data packages defined will run for long time, so we will be getting Time out error, we have to manually activate the data packages.
    2. if you r not using Attribute change run, then your Master data(text, attribute, hierarchy wont get activated when you run a process chain)
    .so it is mandatory that once you fill the master data u have to activate those, for that we need Attribute change run.
    3. tRFC calls which transfer IDocs use the function module IDOC_INBOUND_ASYNCHRONOUS at reception If an IDoc in the sending system has been passed to tRFC (IDoc status "03"), but has not yet been input in the receiving system, this means that the tRFC call has not yet been executed.
    In the standard SAP system, if tRFC errors occur, a background job is generated to re-establish the connection. In certain circumstances this could result in a large number of background jobs being started that completely block background processing. To cancel a background job if tRFC errors occur use program RSARFCEX to restart tRFC.we go for SM59 transaction for this.
    Choose Destination ® tRFC Options and select the option Suppress Background Job at Comm. Error. 
    4. PSA :
    The data is sent directly from the source system to the BW and it  is stored in the PSA (Persistent Staging Area), we can update  automatically/manually to corresponding Info providers .The transfer type here is called the TRF (Transactional Remote Function).
    IDOC :
    The data is packed into IDocs by the source system and sent to the Business Information Warehouse. In BW the data is saved persistently and intransparently in the IDoc store. we have some prerequisite here to use this method ,Transfer  transfer structure must not have more than 1000 Bytes in the character format.
    6. One datasource can be assigned to one info source.

  • Oracle Business INtelligence -installation, basic doubts

    can i shoot oracle BI installation related basic doubts, and other issues that may arise in this forum ???

    if it's enterprise edition.. you can post here..
    Business Intelligence Suite Enterprise Edition

  • Can you use iCloud to save iPhotos to the cloud? When I sign in to iCloud, I just see a few basic apps, no iPhotos.

    Can you use iCloud to save iPhotos to the cloud? When I sign in to iCloud, I just see a few basic apps, no iPhotos.

    If you're referring to the iCloud.com website for you account there are no photos there.  Photop Stream is only for syncing photos between iOS devices and Macs.
    This will exiplain what iCloud is and does in regards to photos:  iCloud: My Photo Stream FAQ
    This Apple document describes what iCloud stores: iCloud: iCloud storage and backup overview
    OT

  • Few basic questions about database administration

    Hello,
    I have a few basic questions about database administration.
    1. I switched one of my oracle instances to archivelog mode. I just cannot locate the archive log files on my windows system. The %ora_home%/ora92/database/archive directory is desperately empty...
    2.What is the tools01.dbf datafile used for?
    3.What is the undotbso1.dbf datafile used for?
    Thanks in advance,
    Julien.

    1. The archive log location needs to be specified in your init.ora file. By default, Oracle will place the archive files in either ORACLE_HOME/dbs or ORACLE_HOME/database.
    2. The tools01.dbf file belongs to the tools tablespace which should be set as the default tablespace for system. It primary purpose is to hold Oracle Forms and Reports database objects, however, it should also be used for holding other non sys database objects such as the perfstat (statspack) or other third party database schemas e.g. quests sqllab.
    3. undotbs01.dbf file belongs to the undo tablespace.

  • Redologs basic doubt

    Hi,
    version is 10g, no archive log mode.....
    I have one basic doubt. please bare with me..... I have gone through documents..but still some doubts...
    One person asked me this doubt, when a long running transaction is going on , there is no commit, lot of redo activity is there, if we dont commit, those changed information is gone, when the redo log files are over written, is it true???? he asked like that,
    My answer is like below.......
    There is a long running transaction going on ( insert the data into one table).
    Redo log files are 10 MB size ( 2 Redo log groups with 2 members each).... when insertion is going on, changes are entering into redo log files. stil there is no commit.....
    (a) one redo log file got filled up
    (b) next log switch
    (c) next redo logfile got filled up
    see here still there is no commit
    (d)next system uses first redo log switch and overwrites the data in redo log file
    So, when coming to my doubt, all un commited data already written to data files and when we rollback, those data which is written in datafiles will be rolled back by using undo information in undo files.
    am i right????
    all the new information wile insertion, that data is written into datafiles. old data is written to undo files. when we roll back
    Please correct me, if my undestanding is wrong......
    Edited by: oraDBA2 on Oct 23, 2008 12:53 PM

    Dear friend,
    Oracle's Redo Log
    Each Oracle database has a redo log. This redo log records all CHANGES made in datafiles. The redo log makes it possible to replay SQL statements.
    Before Oracle changes data in a datafile it writes these changes to the redo log.
    As Oracle rotates through its redo log groups, it will eventually overwrite a group which it has already written to. Data that is being overwriten would of course be useless for a recovery scenario. In order to prevent that, a database can (and for production databases should) be run in archive log mode. Simply stated, in archive log mode, Oracle makes sure that online redo log files are not overwritten unless they have been savely archived somewhere.
    THUS, to ANWSER YOUR QUESTION: If Archive Log is ON, your LONG-RUNNING uncommited transaction is generating large volumes of ARCHIVE LOGS !!!!!
    ALSO:
    LGWR writes the redo log buffers to disk. The background process in charge for archiving redo logs is ARCn (if automatic archiving is enabled.)
    In order to find out in which mode the instance runs, one can use archive log list from within sql plus.
    Log Buffer: All changes that are covered by redo is first written into the log buffer. The idea to first store it in the memory is to reduce disk IO. Of course, when a transaction commits, the redo log buffer must be flushed to disk, because otherwise the recovery for that commit could not be guaranteed. It is LGWR (Log Writer) that does that flushing.
    Determining amount of generated redo log
    select
    n.name, t.value
    from
    v$mystat t join
    v$statname n
    on
    t.statistic# = n.statistic#
    where
    n.name = 'redo size';
    See also the package redo_diff
    RBA (Redo Byte Address)
    The RBA consists of three parts and is ten bytes long:
    * Log sequence number
    * Block number within this sequence
    * Offset within this block
    The location of each redo log entry is identified through an RBA. The RBAs are important for dirty db blocks in the buffer cache.
    Determining optimal redo log size
    The optimal size of redo log files can be queried with
    select optimal_logfile_size from v$instance_recovery;
    Good luck!

  • Very basic doubt regarding transporting abap developments

    Hi All,
    It may be very basic doubt, But I need an answer.
    If we develop some objects in the development and transported them to quality and for some reason some errors occured and the for correction of the errors we created some more requests and ported them to Quality.
    the number of requests are say more than 15. and if we lost track of sequece of the requests to be ported to production.
    How can we overcome this problem?
    Can we create a new transport request by right clicking the package (of course all the objects are in only one package) , this will solve the purpose. I mean to say if we transport this single request to quality then to production, all the things will get transported?
    Please give your valuable inputs..
    Thanks and Regards
    KK

    Hi All,
    I really appreciate all your quick replys.
    My question is if we create a new request from the package in SE80, can we leave the old requests,
    That is if I transport a request say req 2 of domain for solving the dependency error of the previous request say req1 ( of data element ). and again transport req 1 after transporting req 2, this will solve the dependency problem. Like this if some dependency related issues are there and we lose track of sequence of request which needs to be transported, what could be the ideal solution?
    So I mean to ask that if I create a new request for the package in SE80, will all the developments will be included in the request or do we need to follow the sequence only?
    Thanks and regards
    KK

  • Application Server and Oracle Apps - basic doubts

    Hello
    I am pretty new to Oracle 9iAS and Oracle Apps 11i
    Please clarify my basic doubts
    Read that Oracle9i AS Components are :
    - J2EE and Internet Applications (sub-components are Oracle HTTP Server, OC4J, Web services etc)
    - Portals
    - Wireless
    - Web cache
    - Business Intelligence
    - E-Business Integration
    Read that middle tier of Oracle Apps has following servers
    - Web server
    - Forms server
    - Concurrent Processing server
    - Reports server
    - Discoverer server (optional)
    - Admin server
    My doubts are -
    1. When Oracle Apps 11i is installed, Oracle 9iAS becomes the middle tier of it
    Yes / No / Partailly ?
    2. If partially, then only the 'J2EE and Internet Applications' component is installed
    Yes / No / Partially ?
    3. If partially, then Web server (Oracle HTTP Server) and Forms server come from Oracle 9iAS and Report Server, Concurrent Processing server, Admin server etc seperate components only specific to Oracle Apps 11i ?
    Yes / No
    Please let me know the answers with the explanation
    Thanks a ton

    Oracle Applications 11i uses Oracle 9iASv1 (10222, specifically) as the underlying midtier technology stack. The latest release of 11i (11.5.10), to be released this summer, can leverage specific features of Oracle AS 10g (904), namely SSO authentication and OID user management, Portal, and Discoverer. This capability will be backported to 11i releases 11.5.8 and 11.5.9, and is currently available now to limited customers through the Early Adopter program. When installed in this configuration, there is a 9iASv1 tech stack installed as part of the 11i installation, and a separate AS 10g installed for SSO, OID, Portal, Discoverer, and any other AS products the customer may be using. Aside from SSO, OID, Portal, and Disco, 11i does not yet run on other components of 9iAS or 10g (e.g., OC4J). Applications plans to move to 10g as the underlying tech stack in a future release.
    John

  • A few basic questions....

    Hi all,
    Been a busy bee learning java in the past few weeks and I have a few basic (yet varied) questions....
    When declaring Strings, what is the difference between: -
    String myString1 = "This is a String";and
    String myString2 = new String("This is also a String");When writing to a outputstream using a channel to a file, how do you write on a new line when appending? This code (which I think should write each string to a separate line each time it is run only seems to write to the same line.
    public static void main(String[] args) {
            String phrase = new String("Garbage in, garbage out\n");
            String dirName = "C:/Beg Java Stuff";       // Directory name.
            String fileName = "byteData.txt";
            File aFile = new File(dirName, fileName);
            // Create the file output stream.
            FileOutputStream file = null;
            try {
                file = new FileOutputStream(aFile, true);
            } catch (FileNotFoundException e) {
                e.printStackTrace(System.err);
            // Create the channel to the file.
            FileChannel outChannel = file.getChannel();
            ByteBuffer buf = ByteBuffer.allocate(phrase.length());
            byte[] bytes = phrase.getBytes();
            buf.put(bytes);
            buf.flip();
            try {
                outChannel.write(buf);      // Write the bytes to the channel.
                file.close();               // Close the output stream and the channel.
            } catch (IOException e) {
                e.printStackTrace(System.err);
        }On a related note, could someone please explain the concept of "flipping" the buffer?
    Okay, the last (and most general question)....about JSP and Servlets...
    I understand how JSPs work (as I've used ASP in the past). However, I'm not sure how Servlets fit into the web application universe. I know you can generate HTML via Servlets by using println()'s and its sometimes easier to use JSP with a lot of HTML. It seems that most people seem to use both Servlets and JSPs. If I had a web page with data that I wanted to communicate to a Servlet, how would I go about this? Following on from that, where would you logically use Servlets instead of JSP's and vice versa?
    Sorry for the generalisation of this question, but I just don't get how Servlets fit into the greater scheme of things.
    Thanks for any help with these questions. :)

    Hi,
    I'm also a beginner myself but I'll tell you what I
    know...
    About the strings, I think both expressions give the
    same result, the second expression
    String myString2 = new String("This is also a
    String");calls the constructor of the string class, providing
    it with a value for this new string being created. I
    think the first expression is a shortcut which is
    probably converted to the second expression by the
    compiler.
    See previous answer.
    About JSP and servlets, you say you have done some
    ASP, are you also familiar with ASP.NET? because if
    you are, it's pretty easy to understand that JSP is
    like ASP in the aspx file, whereas a servlet is like
    the codebehind file containing C# or VB code, the
    aspx.cs file
    A JSP is compiled into a servlet by the JSP engine, but it's important to note that servlets have a life of their own outside of JSPs. You can write a servlet without a JSP, but you can't write a JSP and not end up with a servlet.
    Servlets are Java's more efficient answer to CGI scripts. - MOD

  • Few more basic doubts in ABAP

    Hi Floks,
    I have few doubts in ABAP programming could please clarify that ..
    1. how to handle error messages in Call transaction and Call Session method .
    2. which logic can be used to handle the table control in BDC method . when table control required ? let me give few transction related to table control of BDC.
    3. what is structure of BDC DATA ? what is diffrence between BDC Session and Call Transaction method in programming steps ?
    4.how many message types available ? what are they ?
    5.when call transction or Call session  can be used ? how to decide which method is best for requirement ?
    could you please help me out . if u have any material or links forward to [email protected]
    Good Rewards for best answers
    Thanks ,
    Sunitha

    Here are the answers to your questions.
    1. how to handle error messages in Call transaction and Call Session method .
    --> In Call transaction, if you see the command, messages are populated into an internal table. You need to read last record of this table. Using Function module FORMAT_MESSAGE, you can get details of the message. For session method, session gets created and status of session can be seen in transaction SM35. You can process erroneous sessions from here.
    2. which logic can be used to handle the table control in BDC method . when table control required ? let me give few transction related to table control of BDC.
    --> Check these links which explain in detail with examples.
    BDC - TABLE CONTROL
    In BDC table control
    3. what is structure of BDC DATA ? what is diffrence between BDC Session and Call Transaction method in programming steps ?
    -->PROGRAM - Program Name
    DYNPRO - BDC Screen number
    DYNBEGIN - BDC screen start (Flag)
    FNAM - BDC Field name
    FVAL - BDC Field value
    4.how many message types available ? what are they
    -->
    A (Abend) Termination
    E (Error) Error
    I (Info) Information
    S (Status) Status message
    W (Warning) Warning
    X (Exit) Termination with short dump
    5.when call transction or Call session can be used ? how to decide which method is best for requirement ?\
    --> These threads discuss the same
    Session Method
    Difference between Session method and Call transaction method

  • Few basic beginner questions..!!

    Hi there.,
       am a begginer in BI.,I would like to know few doubts in BI and BW.,
    1.  What shall be done when once i install BI content? where
        does the contents get installed?., how do i access them
        in modelling tab.
    2. How do i match replicated datasources with the BI content.
    3. How do i delete a particular field in datasources when
        there's a problem in that specific field say MATNR.,
        material number is a field which after replication generates
        errors while loading in the infocube.
    Thanks
    vasanth

    Hi,
    Welcome To SDN.
    1)   When you install BI contents they get installed at Modeling itself.
         You can find the installed contents in RSA1 itself.
    just try Installing an InfoObject and you will find it there in InfoObjects list.
    2) Why do you need to match Replicated datasource with any BI content.
    BI contents are standard templets and if the given content does not match your requirements you go for custom built objects.
    3) For this you need to do change s in datasource in source system.
    Regards And Happy Learning
    Pratap Sone

Maybe you are looking for

  • Putting more than 1 movie into iDVD

    This may seem a stupid question but I have made one movie with English subtitles in it for my company, what I would like to do now is copy the original iMovie and insert say German and French subtitles so I would end up with maybe 3 or 4 iMovies (eac

  • Logging Activity

    At the moment using Apex 3.2, but looking to upgrade to 4.1 My company have asked me to look into logging activity from Apex. I can get a lot of useful information from the APEX_WORKSPACE_ACTIVITY_LOG view, ie pages viewed and times. I also need to l

  • I know how to convert WMA to AAC/MP3 for Itunes

    I'm not sure if someone else has figured this out or not, but I figured out how to convert WMA files to AAC or MP3 for Itunes. First open the file using Quicktime. I think you need the Flip4Mac program. I'm not sure and you also need Quicktime pro. C

  • Massive copy to system clipboard with vim?

    Say I'm editing a program with vim through a terminal (say xterm). Does anyone know how to copy the contents, via left click highlighting, onto the system clipboard (x11) when the content that needs to be copied is physically off the screen? I've tri

  • Working with two or more tables in Numbers

    Working with two or more tables in Numbers It is possible to write numbers or names in Table 1 B-2, B-3, B-4, B-5, B-6 etc. and automatically copy in Table 2 only B-2, B-4, B-9, B23 etc. What do I need to do??? Thanks for the help