How to create a new object for a particular class?

Hi,
  Can anybody please tell  the steps for creating a new object for a particular class.
Thanks,
Sreeja

Declare the object as TYPE REF TO the class and use the CREATE OBJECT statement to create an object.
DATA <obj_name> TYPE REF TO <class_name>.
CREATE OBJECT <obj_name>.
Please mark points if the solution was useful.
Regards,
Manoj

Similar Messages

  • How to create a new template for pages in iPad?

    How to create a new template for pages in iPad?

    In spite of the latest updates Pages for iPad does not support:
    1) User templates
    2) Headers
    3) Footers
    4) Page numbers
    and it is not compatible with Pages for OSX, a document cannot be edited alternatively on Mac and iPad without destroying headers and footers.
    - The Word export is far from perfect
    - Does not really support Page Layout mode (you cannot duplicate a page at least)
    - Does not have a multi-page overview
    - The spelling support of iOS and OSX is at the level of Apple Maps except 4-5 languages.
    - It takes a long time until it starts
    INSTEAD, according to the latest updates:
    - It can do change tracking
    - Lock and unlock objects
    - Add reflections to shapes
    Dear Apple, please understand:
    - We like iPad and we wish to use it for real work.
    - We wish to have user templates, headers, footers and page numbers.
    - We do not expect all the features of Pages for OSX, but we do expect real compatibility.
    - We do not wish to switch back to Word for Windows unless you force us.
    Please try to concentrate on real development not on unimportant changes like in the latest dissapointing update.

  • How to create a new field for Q3 - QM notification in Header and item level

    Dear All,
    l
               Sub: How to create a new field for Q3 - QM notification in Header and item level
    Ref. the link --> Quality Notification
    We want to create a new field in header level and item level.
    As per the thread the solution is given below.
    In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
    Quality Notification -> Notification Types -> Define screen areas for notification types
    WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
    Please help.
    Question No. 2 :
    THE REQUIREMENT IS GIVEN BELOW.
    We want to hide the field in Q3 - QM Notification
    In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
    Ref the link --> Quality notification
    The solutiion is given below.
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
    Plese do the needful.
    We are using ECC6.0 Ehp3 and Ehp4.
    With Best Regards,
    Raghu Sharma

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • How to create a new Condition for tax as VAT ( 4 % )  in SAP ? .

    Dear All ,
                           Pl guide that " How to create a new Condition for tax as VAT ( 4 % )  in SAP ? . What are all necessary requirements to do so , I need to have all steps so that i should feel very confident . For example what data is to be ticked in Control tab during cond. creation , in the same way how to put this cond. in Pricing procedure ? pl write all necessary thing which are required during this process .
    Thanx & deep regrads to all in adv.
    sap11

    In tax we can configure taxprocedure two types i.e., taxinn and tainj. If you adopt taxinn procedure if  it is other than VAT condition first you have to create the condition type and then you have to go to FTXP and assign the tax required VAT percentage to the repective % to ded or non ded VAT condion type. In second step you have to assign this tax code to respective company code.
    If you adopt taxinj procedure you have to a create tax code with FTXP T-code by assigning the values to the respective and save conditions.
    Regards,
    Bhuvan

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • How to create a new account for Portal

    Hi,
    I just installed portal in my windows xp pc. Currently, I can log into the portal home page as a single sign-on user. (super user). I'm wondering how to create a new account for a portal user so that I don't have to sign on as an admin.
    Thank you so much for your reply,
    Emily

    login into SSO and create an User
    1. Login into Portal -> Builder ->Administer click on User Management which takes you to oiddas were you can create the user
    or login into sso directly
    http://<host>:<port>/pls/orasso
    http://<host>:<port>/oiddas
    Murali

  • How to create a new value for template classification??

    I want to classify a workflow template, I mean I will not classify my template as a general task. Using TA PFTC_CHG I get a list with all the entries that a customized in my system. My question is how to create a new entry in that list? System is 46C.
    thanks in advance for any hints
    Jochen Winler

    Hi Jochen,
    Follow the customiztion path:
    SAP Web Application server->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes
    (For 4.6c the path is:
    Basis Components->Business Mgmt->SAP Business WF->Basic Settings->Maintain task classes)
    By this you can maintain task class entry as you required.
    Hope this helps.
    Pls. close the thread once your problem is solved.
    Regds,
    Akshay Bhagwat
    Note: Pls. reward with points if it helps:)
    Message was edited by: Akshay Bhagwat
    Message was edited by: Akshay Bhagwat

  • Urgent: How to create a new layout for portal lightframeworkpage

    Expert,
    I want to create a new layout for  external facing portal. I have created a new par project also in NWDS, but being new I do not know where to get "com.sap.portal.layouts.default.par" and other supporting libraries.
    Need an urgent help.
    Thanks in advance
    -Lave Kulshreshtha

    Hi,
    Look into this blog to know, how to write custom layouts:
    Nuts and Bolts of the External Facing Portal (EFP)
    Once you wrote your layout jsp, then declare it in portalapp.xml like this:
    <component name="example_narrowWide">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)"/>
            <property name="com.sap.portal.pcm.Description" value="two-column layout displaying the narrow column on the right"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="*yourLayout.jsp*"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="Left Column">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="Right Column">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
    As all the layout taglibs and required classes are in com.sap.portal.pagebuilder application, you should refer to it in your portalapp.xml SharingReference property.
    Try all this and if you have specific questions, let me know.
    Regards,
    Praveen Gudapati

  • How to create a new request for function group?

    Hi Friends,
    My client has changed their development server. Now all the objects in old DEV server are transfered to new one. Except for function group objects, we have created new change request number for all others. Now I need to create a new request for function group objects. Can anyone suggest which transaction code I have to use for this purpose?
    Thanks,
    Kaarthick.V

    Hi Karthick,
    If you want to Change the request for your FG means,
    1. Go to SE80 ->  work bench ->  Edit object.
    Here you have the option two change the request.
    or If you want to create the Function Group means,
    Go to SE80 -> Select Function Group -> Enter name -> press Enter
    Thanks,
    Reward If Helpful.

  • How to create a new request for whole Package.

    Dear All,
    I have an unique requirement. we have a system, where developement have been done in phases with different Requests of A Package.
    Now we need to apply same package/project on different system. But unable to list/gather all change request of developement. Now, is there any option to make a request for whole package or export whole package (Table, transaction, Program, class, objects etc. Everything of this package) and then theni import into another system.
    Regards
    Dharmendra

    A suggestion:
    In Se80, display the package.  Right-click on the displayed package name and choose write transport entry. Choose "package".   Create the new transport as a "Transport of copies".  Choose your target and client as part of your copy request.
    BTW, SE80, select object, right click, write transport entry is an easy way to create a new transport for anything you need transported although not changed, such as an entire function group, etc.

  • How to create a new object subtype?

    Hi Experts ,
    I have created a z component in my crm 2007 .
    And now I want to change my configuration of display based on some condition .
    Kindly guide me how can I create a new object subtype so that i would be able to change the configuration .
    Thanks in advance,
    Sergey Kozyrev

    hi
    tx spro
    Navigate to
    SAP Implementation Guide
    Customer Relationship Management
    UI Framework
    UI Framework Definition
    and execute "Define UI Object Types".
    Best regards
    Pankaj Kumar

  • How to create a new solution for portals?

    Hi all,
    In order to makde goinglive sesions for portals, I´ve updated SAP Solution Manager (SSM) to 7.0 EHP1-SP19.
    Portals have two servers:
    - Win 2003 for main application (NETWEAVER 7.0 2004s)
    - HPUX 11.23 for database (Oracle 10.2.0.2.0)
    I haven´t worked with solution manager until this update, and of course, I haven´t configured before.
    I´ve a mix of terms, possible configurations:
    - run SOLMAN_SETUP transaction after update ¿?
    -  install SMD ¿?
    - install/configure SLD (we haven´t configured) ¿?
    - create new solution, system components, logical components,...
    I´ve tried to create a server, database, system, but I don´t know what is the right procedure.
    I´ve seen that there is a transaction called "SOLMAN_SETUP" that I suppose I´ve have to run to configure the new version, but the EWAs configured before de update, runs properly.
    Do you know the steps as more detailed as possbible to create the new solution for portals after update?
    Does any of this steps/procedure impact into our configured and running EWAs and Goinglive sesions?
    Thanks in advance.
    Best Regards
    Chema
    Edited by: tsunix on Mar 29, 2010 9:26 AM

    Hello,
    Are you trying to get the EWA working for Go-Live check or Solution Manager?  Based on my understanding you are trying to get your Solution Manager setup to be able to generate these reports.  However, I will provide notes for both incase I am misunderstanding you. 
    Please review the following notes for getting your system prepared for Go Live checks:
    207223    SAP EarlyWatch Alert processed at SAP
    1095227  FAQ: SAP Hosting - Early Watch Alerts
    207223    SAP EarlyWatch Alert processed at SAP
    Also, you can visit http://service.sap.com/earlywatch for more help/documentation on this.
    If you are trying to setup your EarlyWatch on your Solution Manager system, then please visit the following URL:
    http://service.sap.com/ewa
    You may also want to visit this note to see if it helps.
    1257308   FAQ: Using EarlyWatch Alert
    Thanks,
    Mark

  • How to create a Safari shortcut for a particular site?

    I would like to create a shortcut (alias) for a particular website. I know that I can go into Applications/Safari.app and create a shortcut for the browser, but this is not what I want . I want to open a website in Safari, say Apple.com, and create a shortcut for this. Then all I have to do is one click on the desktop icon and I am at Apple.com. OR I can open a discussion in many different areas (say iChat, iPod, etc.) and create a shortcut for each of these and they can stay on my desktop forever and I don't have to search the History to guess what day I last used it.
    I have tried setting Preferences to "Same Page", but it doesn't work. Clicking on the icon always takes me to the home page.
    Any suggestions?
    Thanks
    Herschel

    Excellent! I think you got it. That thing to the left of the URL is just an icon. I am used to the PC where you don't have to do that sort of thing, but it works just as well so far. I'll play with it to make sure it does what I want, but thank you very much for a job well done.
    Herschel

  • How to create custom BOL object for dynamic query in CRM 7.0

    Hi,
    Could anyone please explain me with steps that how to create the custom BOL object for dynamic query in CRM 7.0, I did it in previous version but its throwing exception when i try to create the object of my dynamic query class. I just defined the entry of my in crmv_obj_btil to create the dynamic query BOL object. do i need to do any other thing also to make it work?
    Regards,
    Kamesh Bathla
    Edited by: Kamesh Bathla on Jul 6, 2009 5:12 PM

    Hi Justin,
    First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
    In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
    Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
    Thanks in Advance,
    mallikj2.

  • How to create a new object of HttpServletRequest class manually?

    Dear all,
    I don't know how silly my question is, however I have no way except asking.
    I know that when I send a request from the client to the server, server authomatically creates an object of
    HttpServletRequest and assigns all the request information to that object, so that you can extract these information by the available methods in the HttpServletRequest class like getHeader, getMethod and so on. What I need to do in my project is doing all above process manually. My question is how I can do it?
    In other words, I have the header and body part of a http request and I want to create a HttpServletRequest
    object and assign the header and body data to the object so that I'll be able to extract those data by using the getHeader, getMethod and other methods available in the HttpServletRequest class.
    Please Help me, I really need your help?
    Your help is appreciated.
    Thanks.

    Hi shadgar ,
    as rightly mentioned by Sudha and GrayMan, you can provide the implementation for the HttpServletRequest interface in your own way for the requirement, but it leads to a new Servlet Container development as you need to handle many things than the HttpServletRequest.
    I think the current interface and the Servlet Container will be able to handle if your request is over HTTP protocol and it don't deviate from the prtocol's request/response model.
    Check out the javax.servlet.http.HttpServletRequestWrapper class, which is the implementation of the javax.servlet.http.HttpServletRequest and javax.servlet.ServletRequest interfaces.
    Hope it will give some idea about the actual problem and rethink about the solution proposed.
    Thanks,
    Sanath Kumar

Maybe you are looking for