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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • IDOCs creation - Transfer Orders(TOs)  for Deliveries - Basic doubts, thanq

    Hi Experts,
    Am new to IDOCs.  I hv a requirement, so, request u that, Can I get some Wht to do tips from u?
    My doubts:
    1- I hv been asked to create IDOC, Wht does it mean?
    2 - How the created IDOC will be get posted?
    My requirement is:
    Original inbound idoc sent from Gentran will update the delivery with all serial numbers per material for all serialized product.  The message code will be the indicator that a Transfer Order-TO, idoc must be created for TO confirmation.
    I need to do===>   Should be executed only when the message code on the delivery idoc is u201CTOCu201D.  Look up the warehouse code on the delivery header using the delivery nbr in the delivery idoc.  Create a new TO confirm idoc per delivery idoc being processed.  Create a line item on this idoc for every line on the delivery idoc.  Each TO line includes the delivery number and delivery item number so the TO number and line number can be looked up in table LTAP by using the delivery number and line item number found on the delivery idoc.  There will be at 2 transfer orders for each delivery item b/c of the 2 step pick process, so select the TO nbr that has 916 as the destination storage type (LTAP-NLTYP).  There may be more than 1 pair of TOs per delivery item so this must be completed for each TO found relevant to each delivery item.
    The inbound delvry03 idoc will update the delivery with the serial numbers as part of the standard functionality.  Since the transfer order must also be confirmed with the quantities on the inbound idoc, an additional idoc must be created from within the delivery update process.  The transfer order can be updated and confirmed using the standard idoc and function module which should be created and initiated from the delivery update function module customer exit.
    Source = DELVRY03     Destination = WMTCID01
    Record Name-Field Name-Record Name-Field Name-Description---Comments
    E1EDL20     VBELN-E1LTCOH-LGNUM-Warehouse Number-Look w/ idoc delivery nbr
    E1EDL20     VBELN-E1LTCOH-TANUM-Transfer Order Number- Look w/ idoc delivery nbr
    E1EDL24     POSNR-E1LTCOI-TAPOS-Transfer Order Line Item- Look  w/ idoc delivery line nbr
    EVERY THING IS DATA TRIGGERED!!!
    thanq
    Edited by: Srinivas on Jun 27, 2008 4:41 PM

    IDOC Programming
    There are two processes in IDOC processing one is INBOUND PROCESS( IDOC coming to the system and its handling at various stages) and the other is OUTBOUND PROCESS( IDOC is send to other system . Separate ABAP programs are written for these 2 processes and different configuration settings are required for each one .Depending upon the trigeering mechanism different programming approaches are used.OUTBOUND PROGRAMS handle the IDOC creation and INBOUND PROGRAMS handle the inbound IDOC and the data trasfer from the IDOC to the database tables.
    NEED FOR ABAP PROGRAMMING arises if
    1)New IDOC was created
    Depending upon the triggering mechanism i.e change pointer,message control
    etc the programming technique changes and the type of process.
    2)Existing IDOC was extended
    User Exits are used to populate data in new segments added and to read them
    back.
    3)To enhance an exsiting process.
    User Exits are used .
    Basic structure of an OUTBOUND PROGRAM
    The basic structure of all outbound programs is same. The CONTROL
    record which is of TYPE EDIDC has to be filled. It contains important fields like
    IDOCTP IDOC type
    MESTYP Message Type
    RCVPRN Recieving Partner (Destination)
    RCVPRT Partner Type (it is LS i.e Logical System)
    The DATA RECORD internal table which is of TYPE EDIDD has to be filled
    in the same order as there are segments in the IDOC definition.
    It has 2 important fields which are to be filled ,these are
    SEGNAM Name of the segment
    SEGDATA Data in the segment and can be upto 1000 bytes.This field
    is corresponds to each data segment in the IDOC.
    e.g.
    DATA INT_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.
    DATA W_SEGDATA LIKE zsegment "custom segment zsegment
    INT_EDIDD-SEGNAM = 'ZSEGMENT'
    W_SEGDATA-field1 = value "taken from some table
    W_SEGDATA-field2 = value "taken from some table
    INT_EDIDD-SEGDATA = W_SEGDATA
    APPEND INT_EDIDD
    This will fill the data record corresponding to the segment ZSEGMENT . For all
    segments the sam steps will be repeated until all the data corresponding to all the
    segments in the idoc is filled in the internal table of type EDIDD.
    There is only one control record and can be multile data records in the idoc
    structure.
    Which data is to be extracted from the tables to be filled in EDIDD type internal table is determined in standalone programs from the objects which are specified in the selection screen and from the object key passed to the function module in case of message control and is taken from BDCP table in case of change pointers using function modules "CHANGE_POINTERS_READ"
    In case of stand alone programs and function modules based on change pointers method the function module "MASTER_IDOC_DISTRIBUTE" is used to send the IDOC to ALE layer for distribution ,in case of message control it is handled automatically by the RSNASTED program invoked by the message control.
    OUTBOUND PROCESS AND OUTBOUND PROGRAM.
    Outbound programs are used in outbound process to genearte IDOCs . There
    purpose is to extract the data from the tables and to fill the IDOC data records
    and the control record in the IDOC and pass ito the ALE layer for distribution to the recieving system .
    Depending upon the triggering mechanism (how and when the outbound program will be started different techniques and interface is used for outbound program.
    1)Message control
    Application like PO(purchase order) creation use this technique , where the output type is linked to the application(Message control is a configurable cross application component which can be set in IMG .Such programs are created in the form of function modules and linked to the output type which is linked to the apllication.These have predefined interfaces.
    In outbound programs(function module) that use message control the key of the
    application document is passed to the function module whcig will read the data from the table depending upon the key passed(NAST structure) and fill the IDOC segemnts with the application data.The control record is also passed to the function module but is not fully filled, the rmaining fields are filled and the control is passed back to the calling program which is RSNASTED and is invoked by the
    message control to process ALE and EDI output types and this program on recieving the IDOC data will create the physical IDOC in the system.
    The parameteers passed to the function module are
    IMPORTING PARAMETERS
    OBJECT LIKE NAST
    It contains documents key.
    CONTROL_RECORD_IN LIKE EDIDC
    It contains the partailly filled control record
    EXPORETING PARAMETER
    OBJECT_TYPE
    CONTROL_RECORD_OUT LIKE EDIDC
    TABLES
    INT_EDID LIKE EDIDD
    The internal table used to fill the data records in the same order as they exists in the IDOC.
    The important parameters that should be filled in the custom function module are
    CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.
    2)Stand alone programs
    Generally used for Master Data transfer and as such depending upon the requirement can have different interfaces.The programs have a selection screen which has select options to select the objects, and parameters for specifying the recipient Logical System and the Message Type.
    Data is selected based on the specified objects from the tables . and control record of type EDIDC is created and filled with important values like DIRECTION ,IDOCTP,RCVPRT,RCVPRN and MESTYP .
    Data is filled in an internal table of TYPE EDIDD according to segment definitions
    and in same order and the function module MASTER_IDOC_DISTRIBUTE is called passing the control record and the internal table containg IDOC data and importing an internal table consisting of control records for each communication IDOCS created.
    3)Change pointer
    Change Pointer table is read and checked if changes were made to important fields , if so the outbound program will be triggered automatically , these have predefined interfaces
    ALE/IDOC Transaction
    SALE Area Menu for ALE configurations.It includes transactions for
    Logical System definition and linking it to a client, Transactions for
    RFC Destination and Port Definition Etc.
    SM59 RFC Destination
    Here we specify the login settings for the destination including
    the I.P address or Application Server name and the User name and
    password.The information entered here is used to run Remote Function
    Calls(RFC ) on the destination server .We can create number of types
    of RFC Destinations but 3 types are important .
    R/3 (R/3 to R/3), LS(logical system) and TCP/IP.
    The name of the RFC destination should be same as that of Logical
    System as it helps in creation of automatic partner profiles.
    WE21 Port Definition.
    There are 6 types of ports but only 2 types File and Transactional RFC
    types of ports are important.
    We have to specify the RFC Destination before a port can be created.
    WE57 This is used to assign the Inbound function module to the Message Type
    and to the IDOC Type.
    WE42 This is used to define the process Code for Inbound Processing.
    BD95 Define Filter object type .We can specify the field and the table it belongs
    to as a filter object .
    BD59 Assignment of Filter object type to the Message Type .Here we create the
    link between Filter object and the segment and the message type and the
    segment Field.
    BD50 Set message Type to reducible.
    BD65 Define Mandatory Fields.
    BD64 Distribution Model . Also known as Customer Distribution Model Used to
    define all the messages that will be exchanged between remote systems
    and the name of thes logical systems. Any filters can also be specified.
    The model once created has to be distributed on every system which will
    be communicating ,It can be maintained on only One system.
    BD21 Creating IDOcs from change pointers.
    This can be used to create IDOCs from change pointers for a particular
    message LIKE MATMAS.
    BD22 This can be used to delete change pointers.
    BD87 Status Monitor. Idocs can be selected base on number of criteria and there
    processing status can be seen in detail.
    BD10 Material Master Data Distribution .
    Based on Message MATMAS.
    BD12 Customer Master Data Distribution .
    Based on Message CREMAS.
    BD14 Vendor Master Data Distribution
    Based on Message DEBMAS .
    BDFG Generate ALE Interface for BAPI.
    Here we specify the Business Object and the BAPI Function module for
    which the interface has to be created.
    WE31 Segment Editor.
    This is used to create segments. We create the segment type and
    segment definition is automatically created by editor e.g. Z1DUMMY is
    segment type and Z2DUMMY is the segment definition .We specify the
    fields and the data elements these cp\orresponds to create segments.
    WE30 IDOC Editor
    It is used to create a new IDOC Type or IDOC Extension .We specify the
    segments that will be addd to the IDOC type.
    WE02/05 IDOC List.
    Various selct options and parameters are provided to select IDOCs
    depending on the date, direction , mesage type etc.
    WE20 Partner Profile
    Here we create partner profile for each and every partner from / to which
    the messages will be exchanged.There are 6 types of PF generally only
    profiles of type LS(Logical System) ,KU(Customer) ,LI(Vendor) is used.
    We specify the partner number and partner type and the agent and
    the agent type responsible for handling of errors .
    For every message send to the partner we have a outbound record and for
    evry message coming from the partner we have the inbound record .
    We specify the message in the otbound/inbound records ,double
    clicking will take us to the detailed screen where the IDOC Type ,Port
    and whether the IDCO will be immediatelt processed or collected are
    mentioned.

  • One very basic doubt regarding J2EE

    Hi Java Gurus
    I want to clarify one very basic point regarding J2EE. As per to my understanding a J2EE is a 3 tier system, proposed by Sun for dvelopment and deployment of component based distributed applications. A J2EE based system requires application server as a middle tier, where business logic runs. So far so good.
    Suppose i have a system which uses only JSPs and/or Servlets (No more EJBs and Application server). This system is also 3 tier system,(Client tier, Web-Server Tier and DB tier). In this case there is Web Server and no Application Server. So my doubt here is===== Can I call this as a J2EE based solution. (Assuming both the systems are performing the same task).??
    Plz help.
    Thanx
    Jam

    A bit of elaboration and clarification. (AKA, the long answer)
    The "3-tier" phrase should avoid any technological implication, thus be defined as Presentation Tier, Business Tier, Data Tier. It's meant to convey the clear separation of responsibility. A JSP/Servlet/DAO system, could constitute a 3-tier system, if applied correctly.
    The J2EE platform encompases a number of technologies, JSP, Servlet, EJB, etc.
    A J2EE compliant application server (i.e. JBoss) supports all the features of J2EE
    A Servlet engine (i.e. Tomcat) only supports a sub-set of those technologies, thus it would not correctly be called a J2EE app server.
    Calling something a "J2EE Application" really doesn't mean much, since many projects don't use every piece of J2EE technology available. Though I will agree that use of EJB is a key indicator. If it makes some manager feel better to call a JSP/Servlet app a "J2EE Application", fine.
    Calling yourself (not you, just the general "you") a J2EE developer, should mean you have experience with developing the breadth of J2EE, so having hacked out some JSPs doesn't count :)

  • Basic doubt about Primary Key/Foreign Key in Oracle Tables

    Hi,
    I have a doubt whether Primary Keys/Foreign Keys are allowed in Oracle. Some of the people I know are telling me that Oracle does not encourage having Primary Keys/Foreign keys in its database tables.
    However if I go to the ETRM and look for information about some of the Oracle Tables, I am informed that Primary Keys do exist. However I am being told that ETRM is not a reliable way of having correct information about table structure.
    It would be great if any one of you provides me with some insight in this. Any pointers to a document would be great.
    Thanks

    It is not that PK/FKs are disallowed in Oracle Apps (there are some on the standard Oracle Apps tables), but they are typically not used. I am not positive what the logic behind this is, but my guess is that it was party due to the earlier versions of Oracle Apps pre-dating declarative database referential integrity in Oracle DB and also on performance issues with the standard referential integrity with the earlier versions of declarative database referential integrity.
    As far as eTRM is concerned - I understood that the data is based on a design repository rather than a physical Oracle Apps DB. So all of the information in there is logically correct, but not necessarily enforced via the standard Oracle DB declarative referential integrity (rather by the application code or APIs).

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Basic doubt about Primary Keys/Foreign Keys in Oracle Tables

    Hi,
    I have a doubt whether Primary Keys/Foreign Keys are allowed in Oracle or not. I have been informed that Oracle does not encourage having Primary Keys/Foreign keys in its database tables. Instead it urges users to have unique constraints on the requisite columns.
    However if I go to the ETRM and look for information about some of the Oracle Tables, I am informed that Primary Keys do exist. At the same time, I am being told that ETRM is not a reliable way of having correct information about table structure (at least the Primary Key information).
    It would be nice if any one of you provides me with some insight in this. Any pointers to a document would be welcome.
    Thanks

    FYI,
    There is seprate forum for Core Sql quieries
    PL/SQL
    Thanks

  • Basic doubt regarding Java

    Hi Friends,
    I started to learn Using Java in Oracle.
    My Oracle Version is 9i and i have installed java packages to my database server.
    Now i want to steady about writing Java code for Select,Insert,Delete and Update Statements to my database tables.
    I also want to know about creating stored procedures,stored functions,writing java source code for the required things.
    I have seen one Java Class file in the web and i have a doubt in that..
    Here is the code.
    Test JDBC Connection, JDBC Driver Name and Version
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class JDBCDriverInformation {
         static String userid="scott", password = "tiger";
         static String url = "jdbc:odbc:bob";     
         static Connection con = null;
         public static void main(String[] args) throws Exception {
         Connection con = getOracleJDBCConnection();
         if(con!= null){
              System.out.println("Got Connection.");
              DatabaseMetaData meta = con.getMetaData();
              System.out.println("Driver Name : "+meta.getDriverName());
              System.out.println("Driver Version : "+meta.getDriverVersion());
         }else{
              System.out.println("Could not Get Connection");
         public static Connection getOracleJDBCConnection(){
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");     
              } catch(java.lang.ClassNotFoundException e) {
                   System.err.print("ClassNotFoundException: ");
                   System.err.println(e.getMessage());
              try {
                   con = DriverManager.getConnection(url,     userid, password);
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
              return con;
    But i couldnot understand the code, it simply compiles without errors when i execute that to my database.
    But the code was not seen in the Java source and i didn't get any results from that.
    As iam just now starting to learn about Java in oracle, someone help me please.
    Thanks,
    Symon

    Hi,
    I suggest to:
    1/ read the free chapter of my book @http://books.elsevier.com/bookscat/samples/1555583296/Sample_Chapters/02~chapter_one.pdf
    2/ play with OTN codes sample @ http://www.oracle.com/technology/sample_code/tech/java/jsp/oracle9ijsp.html
    3/ play with my book's code samples @
    http://books.elsevier.com/companions/1555583296?country=United+States
    Kuassi http://db360.blogspot.com

  • Basic Doubts Creating/Editing a Module

    Hello there,
    I am a newbie at ATG, and I am trying to understand how does ATG works (I am working with ATG for just a week). I have some conclusions about ATG and I just wanna to confirm that I am doing right.
    Configurations:
    Application Server: WLS (Weblogic Server 11g)
    ATG version: 10.0.3
    Developing Database: Mysql
    Official Database: Oracle
    IDE: Eclipse
    Developing OS: Windows 7 (yes I know... linux is better... but...heh)
    Official OS: Oracle Linux
    Conclusions and Steps I got:
    1. All in ATG is a module
    2. Do I need to create a new module to create a new store or I must to work over crs?
    2.1. I have both, a new module and ReferenceStore under Eclipse IDE with all taglibs and packages to work, I am able to generate a .war of any
    2.2. With this .war I am able to run runAssembler.bat -pack  xxx.ear -m Module XXXECommerce and this generates a .ear
    2.3. With this .ear I am able to do a deployment at WLS. (It runs without error at WLS but the page index.jsp and any other opens blank and a NullPointer occours at dsp tag interpretation)
    Doubts:
    1. Are these conclusions correct?
    2. With my customizations in a .war what must I do if erros occours running runAssembler and deploying?
    3. Does anyone has a tutorial of how to create a new ecommercer site or how to use crs as reference to build a store?
    Thank you!!
    Edited by: onhate on Dec 20, 2011 10:06 AM
    Edited by: onhate on Dec 20, 2011 10:07 AM

    Here I am again... =)
    If I have a developing environment, my local computer... and my client's environment, can I generate the .ears on my local computer and deploy to my client's environment?
    My computer has different configs comparing with client's one, like ports and database (mysql vs oracle), but the servers name are the same. Cause I deployed my .ear on 3 devel computers and it runned all right, but deploying at client's env it gives me this error running my ecommerce index.jsp:
    java.lang.NullPointerException
         at atg.servlet.jsp.DspOptions.getInstance(DspOptions.java:55)
         at atg.taglib.dspjsp.PageTag.doCatch(PageTag.java:734)
         at jsp_servlet.__index._jspService(__index.java:129)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at atg.servlet.GenericFilterService.doFilterChain(GenericFilterService.java:599)
         at atg.servlet.GenericFilterService.handleDoFilter(GenericFilterService.java:462)
         at atg.servlet.GenericFilterService.doFilter(GenericFilterService.java:409)
         at atg.filter.ConditionalDelegatingFilter.doFilter(ConditionalDelegatingFilter.java:91)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: Onhate on Dec 21, 2011 10:16 AM
    Edited by: Onhate on Dec 21, 2011 10:16 AM

  • Weblogic Basics - Doubt

    Hi,
    I have only very recently started becoming aquainted with weblogic, and there a number of things that I am curious about:
    1. After Installing a Domain, inside the domain folder, a number of folders and files are created. Among them, a properties file with the details for establishing a pointbase database JDBC connection.
    What I would like know, as it seems that every domain created has the same basic pointbase configuration properties, is if the pointbase database is unique for that domain? That is, there is no shared state among multiple Weblogic domains? For instance, running the createdb sql script inside your domain root folder would not delete any of the objects created inside other pointbase databases associated to other domains you have installed in your machine?
    2. What sort of information does Weblogic stored in the pointbase database?
    3. I have experimented copying all the JAR files inside a "just installed" domain into the lib\ folder of that domain.
    Starting the domain, you notice that the classpath suddenly becomes quite larger, with all the jar files in the lib folder being appended to the end of the classhpath in the command executed to run the weblogic server.
    What surprised me, however, was the fact that after having copied these jar files the Weblogic web server could no longer start, it triggered a CLASS DEFENITION NOT FOUND EXCEPTION.
    What would be the reason for this?
    Normally, you can have redundant jars when you run a java application. Potentially, that might be quite dangerous, as you might now know which of the jar files you are actually using when you run your application if your classpath points to two or more identical jars (with pontentially different versions).
    However, in this case, it should not matter, for:
    (a) Oracle should pick the first jar in its classpath, that is it should pick the initial jar files that copied instead of those in the lib folder (pointed at the end of the classpath); (b) but even if that was not the case, since all the redundant jars have the same version, Oracle should be able to run perfectly.
    Thus, I cannot understand the tirggered exeception.
    4. Which configuration file does Oracle actually use to configure its ports when it launches? There is the configuration/startscriot.xml files, which seem to have no influence on the weblogic configuration when I launch it using the startweblogi.cmd file at the root of the domain; and then there is also the setenv.cmd file inside the bin\ folder of the domain which contains identical properties to those in the configuration.\startscript.xml
    5. Why is it that so many times when I search for a jar file inside the temp\ folder I see so many redundant copies of the jar file in different folders.
    I have seen domains with more than 10 jar files of hibernate in different temp folders.
    Thank you.
    Edited by: sono99 on Aug 2, 2011 2:37 PM

    Hi Aswan,
    For performance tunning Oracle WebLogic has a very good Doc...may be that will help a lot...
    <font color=maroon>General Tuning: http://download.oracle.com/docs/cd/E13222_01/wls/docs90/perform/WLSTuning.html </font>
    <font color=maroon>
    Some JMS Tunning: http://download.oracle.com/docs/cd/E13222_01/wls/docs92/perform/jmstuning.html
    JDBC Tunning: http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs100/perform/jdbctuning.html
    EJB Tunning: http://download.oracle.com/docs/cd/E11035_01/wls100/perform/EJBTuning.html
    </font>
    Some Plugin related Tunning Tips : http://jaysensharma.wordpress.com/2010/03/07/plug-in-issues-some-tips/
    Some Jdbc related Tunning Tips: http://jaysensharma.wordpress.com/2010/02/10/jdbc-tips/
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Basic doubts regarding ssl with tomcat 5.5  and netbeans 5.5 for WSDL?

    I've just started my preparation of web services. I'm using JAX-WS to create my web services and client. I'm using Tomcat 5.5(not apache axis) to deploy my web services over https and i'm able to do that. I've configured my keystore and keystorepassword in tomcat's server.xml. After i've configured my web.xml to choose security type(choosen CLIENT-CERT). I'm able to run my web services over https. I'm using IDE as netbeans 5.5.
    But to access this web service from core java client, i'm unable to do it. I've configure my jvmargs in the project-properties-run tab of netbeans and have given keystore,keystorepassword,keytrust,keytrustpassword. After all this i've also export it to the trustcacerts of tomcat. I want to run this using jax-ws. I've searched for many tutorials of this jax-ws , but all were in vain. Eventhough i've checked in java.dev.net site for tutorial but didn't find for my need. Everywhere they metioned on glassfish,wsit or some other technologies.
    Right now i'm totally confused. I've read some little bit things of all these things and finally land it in the middle of the sea. Could anyone provide me the basic concepts or any url for this.
    After all this i'm getting exception as : https hostname should be <localhost>. I'm totally confused what to do.
    One more thing i just wanted to know that i'm diving into the jax-ws technology, is that right to buil an application on this or should i use JAX-RPC. Which one is better for accessing the url and should be secured from security propects. Also tell me is that possible to build web services on https with using tomcat5.5,jax-ws and netbeans 5.5 or should i need some technology for start up.

    Any kind of help are welcome.

Maybe you are looking for

  • Can anybody help me with this code?

    I am a beginner to J2ME. The following is a small program I wrote just for test. Theoretically, in my opinion, I shall see in the screen a number increase from 1 to 29999 rapidly after execute the code. But instead, it displays nothing but only displ

  • URGENT:- Regarding Purchase Requsition

    Hi, i am making report in which i want to display that these are the requsitions whic are approved by these people at these dates... plzzz help me out as it is most urgent to me.. regards, ric.s

  • GRC AC 10 - Defining sub processes

    We are in the process of implementing AC 10 and need to define the Business and sub processes for the role creation methodology and to upload the existing roles into AC Role management tool. The issue is we have only Business process defined for our

  • How do I re-size all rows evenly? I'm using the ios version of Numbers.

    With the new upgrade yesterday it made all of my rows smaller and I'd like to make them all the same size but can't see a way to do that unless I go through every row and drag it but then they're not even.  Any ideas or has this not been implemented

  • ITunes 10 + Automator. Where's "Play action?

    After I updated to iTunes 10, I lost the most iTunes actions in Automator (primarily "Play"). iTunes system gives me an error that those codes do not exist and I should update my iTunes to 4.6 or higher... Any solutions? Thank you