Practical Differences between types of routines....

Hi ,
Which are the practical differences between :
1) a function so as to return a value/data set....
2) a procedure which defines an OUT parameter so as to return a value/data set....Thanks ,
Simon

Performance is another aspect that at times can play a role.
A function passes a value from one stack to another stack - reference by value. This means the result of the function is copied from the function's stack to the caller's stack when the function terminates and its stack is popped.
A procedure can use reference by name (pointers). In this case the output of the procedure's parameter is written directly into the variable of the caller. No copying.
When the parameter is large (think CLOBs for example), a function returning a CLOB can be significantly slower that a procedure with a IN OUT NOCOPY CLOB parameter.

Similar Messages

  • Practical differences between static IP and loopback installation

    Hi,
    I'm planning the installation of 10gR2 on my windows laptop at home. I can set my laptop up to use either a static or dynamic IP address before installing the db. I'm not sure which way would be best though. I'm aware that, if I use a dynamic IP/DHCP setup, then I will need to install the loopback adapter for Oracle to work properly.
    Are there any practical differences between a static IP db installation versus a dynamic one? I.e. if I choose the dynamic IP/loopback adapter approach, will I still be able to connect to my laptop's database via other pc's on my home network?
    My home setup looks like this.
    ISP -> DSL Modem -> Router -> various PC's
    I'd also like the flexibility to connect my laptop to my work's WAN and access my laptop db from my work PC. I suspect this will harder to do if I use the static IP approach.
    My laptop runs Windows XP and I'm planning to install either the Enterprise Edition or Personal Edition of 10gr2. I suspect that the Personal Edition, being restircted to a single user, may refuse connections from machines other than the one it is installed on, but I'm not sure about this. Can anyone confirm?
    Thanks in advance for your help.

    I personally prefer static IP too, what I can do with static and not dynamic is:
    use the IP address in various codes and scripts specially host and batch.
    you can reach the same result by using the hostname too BUT in case of windows that might be let's say not quite accurate all the time ;) specially when nslookup and DNS/WINS are drunk :))
    Tony Garabedian

  • What are the practical differences betweens infopackages and process chains

    Hi,
    what are the practical differences betweens infopackages and process chains.
    Thanks,
    cheta.

    Hello BW,
    Hope the following links will give u a clear idea about process chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    regards,
    Muralidhar Prasad.C

  • Difference between type lvc_t_fcat and slis_t_fieldcat_alv

    Can you tell me the difference between type lvc_t_fcat and slis_t_fieldcat_alv?
    Both are used for field catalogue so which one is better to use?

    Hi,
    the field catalog using lvc_t_fcat  has some better and enhanced features over the old slis_t_fieldcat_alv.
    Ideally when displayed a normal ALV using these fieldcatalogs does not have any difference...
    You can more enhanced features of ALV using lvc_t_fcat but these cannot be done using slis_t_fieldcat_alv
    For using lvc_t_fcat, you require a screen and a container area...
    Based on the requirement, use the  fieldcatalogs.
    Also slis_t_fieldcat_alv does not have any classes or methods but the other has so..(objecct oriented)
    Regards
    Sk

  • Difference between types of plan data

    Hi Friends,
    BPS
    1. Cost Center Planning: Costs and Allocations
    2. Cost Center Planning: Activity Type Prices
    3. Cost Center Planning: Cost Center/Activity Type Prices
    4. Cost Center Planning: Cost Driver
    For the above types of data, I like to understand what is the difference them.
    For type 1, I understand it is for primary costs.
    For type 2 and 3 they are related / same type of data. So what is the difference between them?
    For type 3, seems like combo of types 1 and 2.
    For type 4, I am not sure what it is about.
    Questions I have:
    <b>1</b>. Why is it only primary costs. Where is secondary costs?
    <b>2</b>. Type 1 costs is identified by cost elements of costs centers. But type 2 is by activity, quantity and rates ( i think). And costs calculated. So, is this type of cost outside the cost calculation of type 1 such that to get wholistic cost picture, need to add types 1 and 2 at least? Thus, are they mutually exclusive.
    <b>3</b>. Now, how does the same apply to type 4?
    <b>4</b>. What is the purpose of type 3?
    Hope you could advise me friends
    Regards
    Michael

    Hello Michael,
    Different types of CO planning relate to how an organization is using SAP Controlling functionalities. Activity represent typically internal labor/machine provided by one department (cost center) to a production order, project network etc. depending on the type of organization (production activities or project-driven operation etc.). Activity price would set per cost center for time of periods (months), representing standard price for valuation of actitivities.
    More CO documentation attached:
    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/4298375ae2f84ae10000009b38f8cf/content.htm
    Regards
    Auvo Ahola

  • Difference between "Type Any" and "Type Data"

    <<Moderator message: don't post the same question in more than one forum - duplicates deleted>>
    Hello Everybody,
    Could anyone please tell me the difference between below two declarations:
    Field-symbols: <lv_first>      type any,
                          <lv_second> type data.
    Edited by: Matt on Nov 6, 2008 1:34 PM

    I will tell you where you can find the details;
    1) Goto Tcode ABAPHELP ,enter "TYPE DATA" in the keyword and press ok,
    2) In the Appearing list double click on the data, built-in generic type under sub-node ABAP Environment.
    If you cannot end up finding this, please close the thread and go home :).
    Regards
    Karthik D

  • How to join three tables and practical difference between 10g and 11g

    I want to know with example how to outer join three different tables in Oracle.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!

    Hi,
    897293 wrote:
    I want to know with example how to outer join three different tables in Oracle.The 3rd table comes into the result set the same way the 2nd one did:
    FROM           table_1  t1
    LEFT OUTER JOIN      table_2  t2  ON   ...
    LEFT OUTER JOIN      table_3  t3  ON   ...The join condition(s) for t3 can reference t1, or t2, or both.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!The main manuals all have "What's New" sections near the beginning. For example:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/wnsql.htm#sthref5
    Hoek,
    We've missed you. Welcome back!

  • Difference between Types of reports

    HI GURUS.,
                   In SAP we have differenr reports ,can u please say the difference between standard analasys,flexible reports,early warning reports
    Thanks in advance
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

    Hi
    Standard analyse
    You can analyse various customer related information in this
    Flexible reporting
    Assume you want to analyse sales flow of the customer in all the years and compare it with the current year. Some complex scenario...
    Early warning report
    Assume that you want a report which indicates the list of customer whose sales transactions has been reduced by 10% in the current year compared to the last year
    This kind of reports gives you early indication of possible future trends which could be traced to a reason and possible action could be followed up on the customers
    Regards
    N Ganesh

  • Difference between type of IViews

    Hello All,
        Could anyone please tell me what are the major differences between ITS Iviews and Transaction Iviews?
        I am working on ESS using ITS 6.2What is the advantage of using ITS Iviews when the transaction Iviews are also available?
    Thanks,
    Deepti.

    Hi Deepthi,
       Transaction iviews are Master iviews. These are not displayed in a page of MySAP.com Enterprise Portal. These are Java coded elements that enable the following applications and objects to run in the MySAP.com Enterprise Portal as Java iViews or External Services.
    • R/3 transactions
    • R/3 reports
       ITS iviews are External Services iviews. These are pieces of content that are displayed in a page of the
    MySAP.com Enterprise Portal.
    External Services are similar to Java iViews. They also inherit properties from the Master iView upon which they are based. External Services are normally displayed in the Portal as full-page iViews, unlike most Java iViews.
    Unlike .NET iViews and Java iViews, External Services cannot be assigned or directly linked to a Portal page. They are assigned to Portal users through role,
    directory, or workset assignments. In addition, External Services do not run on the iViewServer or Java iView Runtime servlet engine.
       Java iViews are pieces of content that are displayed in a page of the MySAP.com Enterprise Portal.
    Java iViews are typically written in JSP or Java and run on the Java iView Runtime servlet engine. A Java iView inherits its properties from the Master iView upon which it is based.
    Regards,
    Pooja.

  • Difference between "type"'s of laptop model's - X201

    I've got two X201 laptops, that seem identical, except for the processor (one is an i5 2.4. and the other is an i5 2.53).  Also, the computer "type" is different on them.  One is a 3249 and the other is a 3680.  The only reason I care is that I was moving a hard drive from one of the laptops to the other laptop and figured the hardware is identical (besides the processor type) and that it wouldn't have any issues.  When Windows tries to boot with the first hard drive in the second system, I constantly get the blue screen.  Windows can't seem to repair the windows install, and if I put the hard drive back in the original system, it boots just fine.  I can't believe that just a higher speed processor would cause this to blue screen.  I've swapped hard drives between "like" dell systems in the past with no problems (even when there were different processors, but the same model laptop).  Why do they have so many "type's" of this system and does anyone know where I can find the differences.  You would think the types and differences would be posted somewhere but I can't find it.

    Hi,
    What Windows version are you running?  What is the BSOD message?
    Any chance one OS was installed in AHCI mode and the other in compatibility mode?
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Difference between type of Secondary Cost Element Category?

    Hi,
    I checked the system, and during the secondary cost element (CE) creation, I can select some of the CE category as follows:
    21 Internal settlement
    31 Order/project results analysis
    41 Overheads
    42 Assessment
    43 Internal activity allocation
    50 Project-related incoming orders: Sales
    51 Project-related incoming orders: Other
    52 Project-related incoming orders: Costs
    61 Earned value
    My question, what kind of report that I can read entries with these kind of CE?
    Reason: I want to check what has been posted to these secondary CE.
    Or
    Could anyone explain the use of above-mentioned CE category in brief?
    Thanks.

    Cost element that is used to allocate costs for internal activities.
    Most often used categories are
    21 Internal settlement
    (When ever an order is settled e.g internal order settling to cost center through this type of cost elements)
    31 Order/project results analysis
    (WIP in production orders are calculated and posted using this category)
    41 Overheads
    (Used in costing sheet to do an overhead allocation)
    42 Assessment
    (whenever cost is allocated between cost centers through allocation method - Assessment)
    43 Internal activity allocation
    (found in production orders when a routing activity is confimed the charge goes to the production order through this cost element)

  • What is the difference between TYPE and LIKE exaclty.

    Hi,
    Type refers to data type like C or I or N etc...
    example :
    matnr type mara-matnr.
    Like refers to data object.
    can also use in programs like:
    matnr like mara-matnr.
    I am not getting the exact difference in both.

    [Try here: lmgtfy|http://en.lmgtfy.com/?q=WhatisthedifferencebetweenTYPEandLIKEin+ABAP]

  • Difference between TYPE and LIKE?

    data: a type "a data element",
            b like a.
    I know the basic difference of these two statement. But what is the insight?

    Have a look at below links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb367a358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2ff3358411d1829f0000e829fbfe/frameset.htm
    If you use the addition TYPE, you can either reference to an inbuilt ABAP type, a predefined elementary type in the local program, or to a data element defined in the ABAP Dictionary. If you use a LIKE reference, dobj can be an existing data object with an elementary data type. If you do not use the TYPE or LIKE addition, the system uses the default predefined type c.
    In other words, LIKE means the datatype of the variable is similar to the referenced variable.
    TYPE means it is a predefined data type.
    Eg:
    DATA int TYPE i.
    Here int is of integer data type.
    DATA var LIKE int.
    var IS a variable having same data type of int. which in turn is integer.
    You can find these helpful when you reference database table variables... You need not know what is the datatype defined.
    Also it adds to FLEXIBILITY.
    Whenever you make changes to your database tables and fields, that change is REFLECTED back to your program that is, You need not change all your program code when you change your table fields...
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Differences between type -1,type-2,type-3,type-4 jdbc drivers ?

    in what situations they will use?

    Try google
    Here are a couple of answers
    http://www.geekinterview.com/question_details/17263
    http://en.wikipedia.org/wiki/JDBC_type_2_driver
    rykk

  • RV042 - What's a practical difference between gateway and router mode

    That´s my scenario, I have a RV042 as gateway  on subnet 192.168.254.0,subnet 192.168.0.0 on the same LAN and  3 vpn tunnels connected GATEWAY TO GATEWAY on subnet 192.168.1.0,192.168.2.0 and 192.168.4.0. I setup 192.168.0.0 as Multiple Subnet on RV042 so now i can ping 192.168.0.0 from RV042 but i can´t do this from clients. What i want to know is What will happen if i change RV042 mode from gateway to router and What do i do to make clients (workstations) on subnet 192.168.254.0 reach clients in subnet 192.168.0.0 .
    Thx
    Everyone

    Gateway mode = RV042 does NAPT (network address & port translation);
    Router mode = RV042 does not do NAPT

Maybe you are looking for

  • Firefox 32.0.3 leaves thousands of files in my cache yet I have it set to clear on close.

    Since updating to firefox 32.0.3 when I close the browser it leaves hundreds and sometimes thousands of files in my cache. In... Local Settings\Application Data\Mozilla\Firefox\Profiles\ath38mvy.default then in 'Cache2' in a folder called 'Doomed'!!

  • Why can't I sync my music automatically anymore to my iPhones ?

    I've got two iPhone 4's. Something has happened in the settings so that I can no longer "automaticall" sync my music.I'll select the albums and artists I want to sync and then press sync and it never transfers my selections. I can sync my music to ou

  • Captivate 5.5 output to iPad

    I am using Captivate 5.5 and have created an eLearning module. I would like to know if there is an easy way to get the output file to play on an iPad. I have looked at the videos explaining how to get a developer account with Apple and convert the .x

  • Photoshop will not open. Need help

    I got a one year subscription to use photoshop. When the download is complete and I open the program, a screen shows up telling me that my trial version has expired. Was I supposed to get an email for a serial Number? Anyone know what's going on? Ple

  • Error on Send Pipeline

    Hi There, I am getting the below error, what frustrate me is that the same pipeline most of the time does work and now n then I get there below error, I am thinking maybe there is an issue with the Pipeline or the data from SQL. There was a failure e