Needing Evidence on the Advantages of ABAP OO

I am looking for the warm and fuzzy that I've yet to experience while being convinced about this one particular advantage of OO. Particulary involving multiple creation of objects, or instances occurring at one time.
I know the syntax of local and global classes, have done quite a bit of reading, and am familiar with OO coding, but seem to be missing the real-world implications of its use and its superiority to Function Modules in Function Groups.
My understanding is that with data in Function Modules within a Function Group, unlike attributes in a class, a single value in a field has one existence (and value) at runtime for the Function Group. However, for attributes, or objects, in a class, multiple instances may occur at one time. While even as I say this it confuses me, because I do not think I've seen an example of a convincing custom application in SAP in my experience only. Not that I do not doubt SAP's intent, I just am not getting it.
Can any experienced, and already convinced, ABAP OO programmer try to explain an application (in its simplest terms, if possible) where I would create multiple objects where this principle can be seen. And then tell me why I wouldn't be able to accomplish the same thing with Function Modules within Function Groups. Especially, if you have experienced a real-world implementation of this claim using OO.
What I would really like is to have some code that uses Function Modules, then some classes, that both accomplish the same results, that would prove to me that OO, and its classes are superior to Function Modules in Function Groups.I suppose what I really need is an application where multiple instances of the same object is being used, and its advantages.
I will listen to any, or all explanantions. I will accept any code, links, etc. Anything, please to settle my thinking and convince me once and for all.     
                                    Thank-You.
Edited by: TMM on Jun 17, 2009 4:36 PM
Edited by: TMM on Jun 17, 2009 4:37 PM

This is real world stuff:
After an application has been developed, it has happened a few times that I've wanted to use the same logic (or very similarl) in a different context.  By subclassing, I'm able to reuse what I've already developed, with little effort.  All I've had to do is redefine one or two methods of the main class.
I often develop stuff that has to run on different versions of SAP.  Subclassing here is very useful, as the subclass for ECC 6.0, for example, doesn't even have to pass syntax checking in 4.6c!
Using composition, I was able to develop an ["ABAP Decision" process type in BW|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/30664504-40dd-2a10-3794-db7b4190bef3] - re-using what SAP developed.  The only coding I had to do was the variation from the standard sap.
I've developed a framework for writing Function Exits in BPS.  For a new function exit, I subclass the main class, and override an initialisation method and a processing method.  All the repeated stuff I was doing before is in the main class.
Generally, I find that developing in OO takes a little longer, but maintenance and support is much quicker.  As the bulk of the cost of software development lies in the latter, this can only be a good thing.  I also find that I'm reusing a lot of generic code I'm developing - e,g, I've developed a class for handling hierarchies in BW.
Currently, I'm working in the QM module, developing reports and smartforms for notifications.  The first thing I did was create a class ZCL_NOTIFICATIONS, which is my Data Access class, getting the various bits of data that I need in my reports.  This will be used in all my reports.  Now, I could do this using Function Modules, but using the functional notation of objects, I can say
l_physnum = lr_notif->get_physnum( ).
rather than
CALL FUNCTION MODULE 'GET_PHYSNUM' IMPORTING e_physnum = l_physnum.
I think the former is neater.  Also, if had a physnum in a different class, I can use the same name.  With function modules, I'd have to have
GET_PHYSNUM_FOR_NOTIFICATION
GET_PHYSNUM_FOR_INVENTORY
Finally, with CONSTRUCTOR and CLASS-CONSTRUCTOR, initialisation can be done without having to remember to call the INITIALISATION function module of my function group. 
matt

Similar Messages

  • Get the totals in abap with cl_salv_table

    Hi people,
    i need yor help..
    I need to obtain the TOTALS in abap and compare them with another ALV.
    The totals is showing in the alv, but i need to see it in my debug or my program in save it in a variable.( lv_total)
    DATA: lv_total TYPE REF TO CL_SALV_AGGREGATION.
    TRY.
             CALL METHOD lr_aggregations->add_aggregation
               EXPORTING
                 columnname  = 'DMBTR'
                 aggregation = if_salv_c_aggregation=>total
                 RECEIVING
                  value      = lv_total.
           CATCH cx_salv_data_error .                        "#EC NO_HANDLER
           CATCH cx_salv_not_found .                         "#EC NO_HANDLER
           CATCH cx_salv_existing .                          "#EC NO_HANDLER
         ENDTRY.
    Hope your helps
    Thanks

    Finally i did it, as you said..
    i did the calculation itself over the internal table,.
    I just wanted to know if the method gives the totals, with no necessary calculation over the internal table..
    Regards

  • Need to strip the leading ZERO using ABAP code.

    Hi Friends,
    I got a situation where i got customer number called 011. I need to write an ABAP in Transformation to strip the leading ZERO , 11 should be posted to the master data attribute. could you help me in the logic pls.
    Thanks in advance,

    hi friends, i got a prob again, as i mentioned if i got 0 as prefix its deleting but if any 3 digit is comming it's converting in to 2 digit, as i mentioned if the prefix is 0(zero) then only i need to delete the zero.
    Is there any other solution for this..
    thansk in advance.

  • What is the advantage of exporting mpeg-dvd vs mpeg for dvd if mpeg does not need to transcode audio

    What is the advantage of exporting mpeg-dvd vs mpeg for dvd if mpeg does not need to transcode audio and also burns to dvd?

    The MPEG2-DVD preset also produces a DVD spec-legal file.  If you use the generic MPEG2 preset, you can too easily create an out-of-spec file that will have to be re-transcoded by En.
    Jeff

  • Need help in learning XML in the context of ABAP

    Experts,
    I am wondering if you can help me.
    I know abap (up to SAP 4.6c versions) but I know nothing about XML ( I am literally zero on XML). I want to learn XML in the contexts of ABAP programs in SAP Netweaver versions. I tied to google XML tutorials but information is overwhelmingly too much. I do not intend to become an XML expert but want to be able to learn XML only to the level where where I can use them in ABAP programs.
    Can you guide me if there is some step by step material / documents/ tutorial on internet which is not too much?
    Thanks
    AP

    hi,
    check these:
    [http://help.sap.com/saphelp_nw70/helpdata/en/fd/9d734b389211d596a200a0c94260a5/frameset.htm]
    [http://searchsap.techtarget.com/generic/0,295582,sid21_gci1207657,00.html#]
    [http://sapblog.rmtiwari.com/2009/02/discovering-hidden-gem-generate-simple.html]
    These are just a few to start. Explore and google to dig more.
    Regards,
    Subramanian

  • Need review for Enhancing the quality of ABAP development book

    Hi,
    I'm looking for advance abap book and notice there is Enhancing the quality of ABAP development book that seems like quite interesting.
    Anyone can give small review for this book and whether this book still up to date with current ABAP language? Thanks.

    Hi Amit,
    Thanks for the response.
    I'm actually looking for advance ABAP book that not only contains how to create ABAP program but how to create ABAP program.
    From the table of content, it seems like the "Enhancing the quality of ABAP development" is clearly describe how to write good ABAP program and still balance in term of giving suggestion for ABAP as procedural language and ABAP Object. The thing is, I don't know whether there is some content in the book that already obsolete. For instance, is there any statement in that book that recommended but now already not recommended anymore? If all the statement is still valid as of now, I think this book is still good to read.
    I do already have ABAP objects book from Horst Keller, but I will not enforce ABAP developers in my current organization to be written in full OOP. At least not in 1-2 years. If the procedural ABAP still working properly and high performing, I don't see any reason why I should force my team to switch totally to pure ABAP object that definitely will take more time to learn and develop, but anyway, that's different subject from this thread.

  • What are the advantages..

    Hi friends,
          can you please tell me <b>what are the advantages of using MVC?</b> because <b>i can use ABAP Objects without using MVC.</b>
    Thanks in advance,
    Regards,
    Kannan.

    Hi Kanna,
            For Dynamically componentised you need to use controller.In the main page you partition for what you want to present dynamically and then call controller as a response to the user.What the action you have take in case of Page flow logic(Event Handler) need to be placed in controller.
    Using the MVC design pattern has the following advantages:
    ·        Structuring BSP applications is simplified, since the view is cleanly separated from the controller and the model.  This not only facilitates changing BSP applications, but also considerably improves their maintenance.
    ·        You have the option of generating program-driven layout. The HTML/XML output is therefore created by program code instead of a page with scripting.
    ·        Navigation using the <bsp:goto> element and call using the <bsp:call> element. The advantage of using <bsp:goto> navigation over redirect is that there is no additional network traffic. Furthermore, you remain in the same work process, which can have advantages for creating objects and memory space. The call using <bsp:call> element is more variable than adding them using INCLUDEdirective, since it is triggered at runtime.
    With the call option using <bsp:call>, you can also distribute the user interface into components.
    ·        Optimized performance due to fewer redirects.
    ·        Intuitive and east-to-use interface for application development.
    Main advantage of MVC is that you can keep these(Model View ,Controller) separately.If you need to change in logic you do not have to worry about presentation(View).
    Regards,
    Albert

  • What are the advantages of Using SAP ?

    what are the advantages of SAP when compared to other technologies?
    what are the basic advantages of SAP

    SAP's R/3, introduced in 1992, is the most used ERP system in the world.
    The R/3 software package is designed to allow businesses to effectively and efficiently operate a variety of business processes within a single integrated information system.
    The software is customizable using SAP's proprietary programming language, ABAP/4. R/3 is scalable and highly suited for many types and sizes of organizations and runs on six different platforms.
    SAPu2019s R/3 has been designed to be the best ERP system in the four areas of human resources, financial, supply chain management, and marketing. R/3 is also an international product, and meets the local fiscal, language, and tax requirements of most countries.
    SAPu2019s R/3 is very versatile, as it will operate on six different platforms, including the recently added Microsoft NT.
    The R/3 package includes several very attractive features like it has a three-tier client/server system. Providing three tiers offers scalability and easier adaptation to the specific needs of large companies and fast-growing companies.
    SAPu2019s R/3 is available in 14 different languages (German, English, Spanish, etc.) and also incorporates multiple currency features that provide essential information processing capabilities for multinational corporations.
    R/3u2019s modules are organized by the functional areas of financial, human resources, supply chain management, and marketing. While information is entered separately for each specific module, the modules are fully-integrated and provide real-time applications. This means that data entered into one module is immediately and automatically updated and reflected in all oft the functional areas.
    R/3 is composed of a single, virtual file structure with no subsystems.
    In addition, SAP has released u201CMySAP.comu201D which is software that provides for data interaction and processing connections with the Web.
    Financial and managerial accounting tools in SAP R/3 are contained in the financial accounting (FI) and the controlling (CO) modules. The General Ledger function in the FI module provides a comprehensive record of all information needed for external financial reporting. The accounting data is complete and accurate because the SAP system fully integrates all business transactions that were entered from all the operational areas of a company. In addition to the FI and CO modules, the SAP system includes the Investment Management (IM), Sales and Distribution (SD), Materials Management (MM), and Human Resources (HR) modules.
    Management accounting tools in SAP R/3 are cost center accounting, internal orders, product costing, and activity based costing, profitability analysis and profit center accounting.
    SAP R/3u2019s accounting features are modeled on German approaches to accounting, and thus they are well-organized and very efficient in processing accounting information and providing accounting statements and financial reports.
    As stated previously, R/3 offers multiple currency features and a three-tier system that is capable of meeting very high demands from the accounting system for either transaction processing or financial reporting.
    SAP was the first to implement integrated treasury capabilities. This attractive feature allows a corporate treasury department to function as an in-house bank by automating the control of cash flow, investment trades, and portfolio management.
    R/3 provides check writing capability in its Accounts Receivable component which very few other programs offer.
    Additionally, there is equal access to all data in the system. This means that personnel can access financial data directly from a computer screen rather than physically meet with the treasurer, controller, or some other similar person. In other words, R/3 offers real-time, immediately updated reporting.
    R/3 also provides for a "single data entry point" where the data entered from any location is instantly sent to all other appropriate modules in the ERP system.
    The accounts payable component of SAP R/3 contains four types of transaction blocks namely:
    ● The audit block● The receiving block● The vendor block● A manual block
    These blocks make it much less likely that improper payments will occur.
    SAP R/3 is organized with the concept that a business operates as a series of processes, which means that the company implementing R/3 may have to change and reorganize itself to properly fit with R/3 and use it effectively.

  • Advantages of ABAP Webdynpros over BSP??

    Hi,
    We are currently in ECC6.0. Is ABAP Webdynpro advantageous over BSP for any UI development ECC6.0 onwards in general?
    Specific requirement for which BSP is needed - we need a single application for a Help Desk team to handle calls from customers. The application will have multiple screens with data flowing into this application from multiple sources.
    Need inputs on the above....
    TIA,
    Regards
    Deepthi

    >Both webdynpro and BSP call ABAP function modules from HTTP. The BSP interface does this via programming in SE80, the webdynpro does this via programming in the Java development workbench. The BSP enters the SAP systenm via the ICM and is 'routed' to ICF where call are then made to executre ABAP (a good example is we use SOAP BSP's). Webdynpro routes via the ICM to the Java engine which then executes the Java to call the functions via an RFC interface called a JCo connection.
    There are many incorrect statements in your posting.  You appear to be compairing BSP to Web Dynpro Java - not Web Dynpro ABAP. Why would you do this in a Web Dynpro ABAP forum posting?  Of course everything you stated about Web Dynpro running on the Java engine and using JCo and being programmed in the Java development workbench is totally wrong if you are comparing to Web Dynpro ABAP.
    Here is the explaination of the differences from the SAP Press Book: Next Generation ABAP development (page 303):
    Web Dynpro ABAP is SAPu2019s new UI strategy, which was introduced in SAP
    NetWeaver 7.0. It is based on the Model View Controller (MVC) paradigm
    that separates business logic from the user interface logic. Developers, like
    Russel, can use this tool to develop robust business applications quickly and
    easily, without ever having to deal with the inner coding of the user interface
    elements.
    The Web Dynpro ABAP framework provides a WYSIWYG view editor (What
    You See Is What You Get) where the developer simply drags and drops the UI
    elements into the view. This means that there is no coding of the UI elements.
    This is not the case when working with Business Server Pages (BSP),
    where the developer must know some HTML or JavaScript in order to code
    the user interface.
    The Web Dynpro framework approach can be viewed in a number of ways.
    If a developer is not proficient in HTML or JavaScript, the Web Dynpro
    ABAP tool looks pretty good. He doesnu2019t have to worry about coding the UI
    and he can focus more on the business application logic. On the other hand,
    if the developer wants to add his own look and feel or some additional UI
    functionality to the Web Dynpro ABAP UI, he canu2019t. The UI implementation
    is hidden from the developer and cannot be manipulated, such as adding
    your own HTML or JavaScript. The reason for this protection is that Web
    Dynpro was developed to provide a standard business application user interface
    across all applications that leverage this tool.
    There is another advantage to the client abstraction approach that Web Dynpro
    takes. When you design a user interface in Web Dynpro, what is saved is
    just a metadata representation of the layout and elements. In other words,
    Web Dynpro is not tied to just HTML and JavaScript as its output medium.
    The Web Dynpro runtime analyzes the type of client that is making a request and responds with the appropriate rendering output. Today that means web browsers are making the request and receiving HTML and JavaScript. But, in the future, when the next great UI revolution occurs, you wonu2019t necessarily
    have to recreate your applications to take advantage of it. Already you can see examples of a smart client and Adobe Flex based rendering engines for Web Dynpro. Switching to these alternative presentation tools requires no coding changes within the applications themselves.

  • What are the advantages and disadvantages to cookies?

    Ok, so I am required to interview some expert for a Final in college. I choose to do my final on cookies throughout the different browsers. The downside is that it is nearly impossible to get a one-on-one interview from an expert in this field. This is my next option. So here are my questions, and I greatly appreciate the help.
    1. What are the advantages and disadvantages of cookies?
    2. Where are the cookies stored, and is it possible for someone to access that information?
    3. You hear horror stories of hackers accessing the different cookies saved on a person's computer, and from there gradually piecing together enough information about that person, to hack into nearly every account they have. How probable is this? What safeguards can a person take against this happening?
    Once again, thank you for any help received.

    I attended uni back in the 70's, and as I recall we had to do some actual research for our term papers - like from books in the library, and needed to "document" our research in a footnote for each page.
    I guess times have changed a bit since then I guess - anecdotal evidence is permissible now?
    Here's a search of articles in the Mozilla Developer Network documentation.
    https://developer.mozilla.org/en-US/docs/tag/Cookies

  • What the advantages of having an BAPI over Other data migrations

    What the advantages of having an BAPI over Other data migrations

    Th advantages of BAPI
    1. Simple to use (its just an FM)
    2. Not cumbersome like bdc
    where we have to record each and every screen
    sequence.
    3. SAP guarantees the consistency
    of bapi in future releases.
    One of the big plusses for BAPIs is that the interface and function are not supposed to change. This is a big plus when you do upgrades or hot packs because the transaction can change (format, required inputs etc) which means you then need to update the call transaction.
    Some of the BAPIs are better documented and easier to use than others.
    You usually need to perform the BAPI that actually does the COMMIT after you call your BAPI.
    The Program coding for calling a BAPI is usually cleaner than setting up the screen flow etc for the Call Transaction.
    You don't need to worry about special data circumstances interrupting the normal data flow of the screens and causing errors because of that.
    BAPIs probably have better performance since they don't do the screen flow processing.
    In general if the BAPI exists for the transaction you want to perform and you can figure out how to use it the BAPI is probably the best way to go.
    This is just from my experience working with both BAPI and Call Transaction. I have had some very good successes with BAPIs, but very occasionally found that I could not get the BAPI to perform the update I needed.
    Refer the transaction BAPI for detail information.
    You can also refer to below links:
    http://www.sapgenie.com/abap/bapi/example.htm
    Basic learning guide:
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    BAPI intro:
    http://www.sappoint.com/abap/bapiintro.pdf
    Overview:
    http://www.planetsap.com/Bapi_main_page.htm
    Also have a look at the following link :
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Go through the following Document
    Bapi to create customer master
    BAPI_CUSTOMER_CREATEFROMDATA
    BAPI_CUSTOMER_CREATEFROMDATA1
    Or you can use FM SD_CUSTOMER_MAINTAIN_ALL
    what is BAPI?
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module
    ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access.
    Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects.
    You create business objects and those are then registered in your BOR (Business Object Repository)
    which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.
    In this case u only specify the business object and its method from external system
    in BAPI there is no direct system call. while RFC are direct system call.
    Some BAPIs provide basic functions and can be used for most SAP business object types.
    These BAPIs should be implemented the same for all business object types.
    Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs.
    Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values,
    for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved
    and returned to the calling program.
    The instance is identified via its key.
    The BAPI GetDetail() is an instance method.
    BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed
    so that they can be called several times within one transaction.
    For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction,
    the second BAPI call must not affect the consistency of the sales order 2.
    After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type,
    for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type,
    for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database
    or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type.
    The instance to be cancelled remains in the database and an additional instance is created
    and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst!
    ance and the BAPI and Remove<subobject> removes a subobject from an object instance.
    These BAPIs are instance methods.
    Check these Links out
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
    http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
    http://www.sap-img.com/fu033.htm
    http://www.sap-img.com/abap/ale-bapi.htm
    Please check out this thread..
    Re: bapi
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..
    BAPI's as i said earlier are remotely enabled function modules..
    Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).
    Check the following BDC over BAPI
    The steps to be followed are :
    1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
    [for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]
    2. Create a Z program and call the BAPi (same as a Funtion module call).
    2. Now, if you see this BAPi, it has
    -> Importing structures.
    eg: SALESDOCUMENT: this will take the Sales order header data as input.
    -> Tables parameters:
    eg: ORDER_ITEM_IN: this will take the line item data as input.
    Note :
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data
    Possible UPDATEFLAGS:
    U = change
    D = delete
    I = add
    Example
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    Notes
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit
    so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
    For further details... refer to the Function Module documentation for the BAPi.

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • What is the advantage of using IB to create XIBs/Class Objects over coding?

    Hi all,
    I hoping someone can provide me some pros and cons as to when I should use IB to create XIBs and/or class objects as opposed to directly coding them.
    For example, if I choose Apple's Template for creating a Navigation Based Application (cocoa touch), the project creates two NIB files - MainMenu and RootViewController.
    However looking at one of demo apps SimpleDrillDown, it does not have a RootViewController XIB and instead creates it via code.
    Another example from the same two apps is that the template generates a "Navigation Controller" class object in the Mainmenu.xib. SimpleDrillDown does not bother with this in the XIB, but uses code to generate the controller:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Create the navigation and view controllers
    RootViewController *rootViewController = [[RootViewController alloc] init];
    UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController];
    self.navigationController = aNavigationController;
    [aNavigationController release];
    [rootViewController release];
    // Configure and show the window
    [window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
    as opposed to the template which only needs this:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Configure and show the window
    // Navigation Controller is defined in MainWindow.xib
    [window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
    So what are the advantages of each approach. Why does apple suggest one approach and yet all its demos use another.
    Any thoughts, answers gratefully received.
    TIA, Michael.

    You can do whatever you're comfortable with, but most of the best Cocoa programmers--the ones on the Mac, I mean--recommend putting everything you can into Interface Builder.
    It's a little like the difference between writing a program to do a bunch of financial calculations and using a spreadsheet. Yeah, the program can do everything the spreadsheet can--and more besides--but you'll find it far easier to create, use and modify the spreadsheet.
    Interface Builder takes away a lot of completely meaningless choices ("What order should I create the objects in? How should I name the variables? How should I create their frames? What order should I set the attributes in?"), leaving you with an interface optimized for creating and arranging objects, and allowing your code to focus on what you really do need to think about--your application's logic.
    (By the way--part of the reason Apple's demos don't all use Interface Builder is that the very first SDK releases didn't have it. Back then, you had to create all your views programatically. Believe me, I have no wish to go back to setting autoresize masks manually. Now get off my lawn, whippersnapper.)

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

  • What are the advantages of compressor and it it even necessary

    what are the advantages of compressor and it it even necessary?

    Necessary for some and not for others – probably a large majority – who can by with the presets avalaible in FCX.
    The users who need Compressor are those who want to control the parameters of the encodes to get the best possible trade-off between file size and quality. Or those who want to do things like standards conversions, complex frame speed changes, better re-scaling capabilities, de-interlacing, re-interlacing, output formats beyond which are available in FCX, chapter markers for DVD and Blu-Ray authoring, batch conversions for multiple purposes through droplets, access to clusters for faster rendering.
    Russ

Maybe you are looking for

  • Release Billing doc to accounting to post in finance

    Hello Guru's, While releasing my Billing document to post into finance using Release to accounting button, system generating an error message Tax statement item missing for item code CR. will anyone guide me, Where should I do settings so that I can

  • How to avoid the form's message situation

    hi all, i am using Forms [32 Bit] Version 6.0.8.24.1 (Production). i have base table block. So at the time of saving some process should happen, based on selected record. so i have written the procedure in key-commit trigger. But my problem is when u

  • Final Cut Pro X witch Blu-ray Burner are you using ...

    Using a Mac Pro Tower like the Mac Pro 2012 or similar what are the Blu-ray Internal Burners do you use ; LG or Pioneer , witch Model Number. Creating Blu-ray on the Mac is fantastic but witch brand and model numbers for the Big Mac Pro Tower are you

  • How to use adapter to assign task to a specific user

    hi all, I'm currently trying to configure a task in an approval process so that it is assigned to a specific person according to the organization of the requester. I've written a little method which looks up the suitable username for the given organi

  • Export of a table with BLOBS

    I have an application on our/your hosted environment. in two of this tables are stored some documents (pdf,doc) and pictures. For deploying my application to a local environment I can use application-export, image-export (for some global pictures), C