How can I use methods of an object with private instantiation in my ABAP?

Hello all,
What is the work-around on using methods of an object marked as private instantiation? I tried to use concepts of <b>INHERITANCE</b> or <b>FRIENDS</b> of an object (<u>BCONTACT </u> in my case - a SAP standard object) but it did not work, or at least, I do not know how to properly code the statements in my ABAP program.
Any code samples, other ideas?
Your help is greatly appreciated.

I am closing this question as there has been no answer.
Message was edited by:
        Goharjou ardavan

Similar Messages

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How can I use a Verizon iPhone 5 with US Cellular?

    How can I use a Verizon iPhone 5 with US Cellular?

    You can't. Doing so is not supported.

  • I purchased a iphone i USA. How can i use this iphone in india with vodafone.

    I Purchased a iPhone 5s in USA. How can I use this phone in India with Vodafone.
    <Edited By Host>

    First, the iPhone would need to be unlocked. That would depend on where you bought it. Next, the North American phone would not work with all of the networks outside of the US. Also, the warranty for the device is only good in the US, so if you have a problem with the phone, you would need to bring it back to the US to an Apple Store. Where did you purchase the phone?

  • HT1515 How can I use Airport Express (1st generation) with OS X Mavricks?

    How can I use Airport Express (1st Generation) with OS X Mavericks?

    1st Generation AirPort Express will work fine with Mavericks.
    Are you sure that you have a 1st Gen Express?
    Check the model number on the side of the Express. 1st Gen is A1264.
    If you see A1084 or A1088, these are much older versions of the Express that were sold long before Apple began to use the Generation naming with "n" wireless devices in 2007.
    Mavericks will not support the A1084 or A1088. Use another Mac running Leopard, Snow Leopard, or a PC if you need to administer the older Express.

  • How can I use my photoshop elements 10 with windows 8 upgrade

    How can I use my photoshop elements 10 with my windows 8 uograde

    All versions of PSE except versions 1, 3, 5 & 6 will work with Windows 8.
    Microsoft Windows 8 compatibility.

  • How can I use Method in the bean

    Hi every one
    please I made a method in for example employees entity "EmployeesImpl"
    the name of method getmax() it return number
    how can I use it at the bean
    for eaxmple when I want to press button give me the value from this method
    sorry Iam still beginner
    thanks in advance

    Thanks sir for your response
    my version
    oracle jdeveloper reales 1 (11,1,1,4,0)
    I use business component
    I make method
    this metod wrote at enitity "EmployeesImpl"
    public Number getMax() throws JboException
    PreparedStatement stat=null;
    ResultSet rs=null;
    try {
    String sql="select max(EMPLOYEE_ID)+1 from EMPLOYEES";
    stat=getDBTransaction().createPreparedStatement(sql, 1);
    rs=stat.executeQuery();
    if (rs.next()) {
    return new Number (rs.getInt(1));
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    throw new JboException("error");
    } finally {
    try {
    rs.close();
    stat.close();
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    // oracle.jbo.domain.Number
    return new Number (1);
    I made a jsf page
    and I put button at the page
    I want when press the button give me message contain the number which come from previous metod
    thanks my dear

  • How can I use my old imac24" 2008, with my. New iMac 21,5" as a monitor? What camble do I need ? new iMac

    How can I use my old mac 24" as a second monitor? What cable do I need?

    https://discussions.apple.com/docs/DOC-6351 may offer some techniques.

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

  • How can we use 2 Apple ID's with 1 Apple TV??

    We just bought an Apple TV device.  We anticipate liking it, but are a bit stuck at the moment.
    We have 2 laptops (PC), 2 Apple ID's and 1 Apple TV device.  How can we use the Apple TV with each of our unique ID's?
    Any help appreciated.
    Thanks - s2557

    The answer is YES. with no problems. In fact you can connect up to FIVE units in one itunes (But no more). I have no idea why OR who was the FOOL, that picked only 5 units. This has set limitation on their own product. I currently use 5 Apple Tvs at work for a interdepartmental media network. It just runs slide shows and training video's. I needed 9 units up and running, So I have another computer just to pickup the last 4 units, and shared the file folders I run 5 units at home as well. However you have to leave that itunes up and running. The five authorized limitation is also a pain. Steve said he was dong away with DRM, I guess that didn't work out to well. In short, I run 5 laptops, 3 desktops, 1 Mac Pro, 4 Ipads, 4 Iphones AND one Mac Mini with server 10.5.6 for a family of 4. The FIVE number limitation is a major pain. Best of luck to you.

  • How can I use method?

    These codes are not complete. But I am just wondering if I can use methods to write these. I am writing a menu to sell chairs and buy parts (of the chairs). So when user enter 1, it invoke method sell chair, enter 2 to invoke buy parts, and calculate the addition/reduction of inventory and monies. But I am not quite sure how I can do that.
    import java.util.*;
    public class Test {
         public static void main (String[] args) {
            Scanner sc = new Scanner (System.in);
            int frame = 10;
            int legs = 50;
            double money = 500.0;
            int opt = 0;
            do {
                 System.out.println("Press 1 to sell chair.");
                 System.out.println("Press 2 to buy parts.");
                 System.out.println("Press 3 to display summary.");
                 System.out.println("Press 4 to end program.");
                 opt=sc.nextInt();
                 switch (opt) {
                      case 1:
                           sellChair();
                          break;
                 case 2:
                           //invoke buy parts method
                           break;
                 case 3:
                           //display current frames and legs in inventory and cash on hand
                           break;
                 case 4:
                           System.out.println ("You have end the program.");
                           break;
                 default:
                           System.out.println ("Invalid option. Try again.");
                           break;
            } while (opt!=4);
            } //main
         public static void sellChair() {
              Scanner sc = new Scanner (System.in);
              int f = 0;
                 int l = 0;
                 double m = 0;
              System.out.println("Enter quantity");
              int qty = sc.nextInt();
              f--;
              l-=4;
              m+=15;
         //buy parts method
    } //class

    If you want your methods to have access to your variables, consider passing the variables as parameters to the method. If you want to change the variables from within the method (care must be taken here as bad side-effects can occur), then the variables need to be declared in the class not in the main method. I would like to dissuade you from doing the latter unless necessary. If you want your method to return something that can be used by the calling method, then make it a non-void method and have it return something.
    good luck.

  • How can I use an Express database build with RAA in Express Objects???

    Hello, everybody!
    I have installed Express Server and Client on my computer. I've build an Express database With Relational Access Manager mapping data from an Oracle database.
    Now I want to use this express database in Oracle Express Objects.
    I understand that an express database build with understand can be used by defining a connection to Express Server and using the option Relational Access Manager Connection.
    But, I didn't understand the settings of this option. I open the settings window and there it is :
    - the MASTER DATABASE Box where I have to write the name of the CUBE from the express database build with understand?
    - the RDC File Box : what do I have to write here? I've read the HELP but I didn't understood. There is no file with the RDC extension in my computer.
    Thank you for your help!
    Anca.
    [email protected]

    you can extend it, very easly, with an Airport Express.
    once you connect the AExpress, on the App Airport Utility, in Wireless tab choose to "Extent a Network", you will be able to select your Network enter your Network Password and it is done
    i have 2 AExpress to extend my signal and also to Airplay to Remote Speakers and works perfectly
    good luck

  • How can I take photo of fast objects with A3400?

    in A3400 I didn't find any option to change shutter speed. or there is no proper photo scene in menu.
    then how can I take a good photo of fast objects? in its catalog it says the speed of shutter is (1/2000 ~ 15 sec). when and how can I take a shut with 1/2000 sec ?
    thank for your help

    According to the spec sheet you can't control the shutter speed other than by using the modes available & none are for action. The camera's program might select a very high shutter speed in very bright light while shooting something very reflective like a white car or building etc.
    "A skill is developed through constant practice with a passion to improve, not bought."

  • Can I use subtype/supertype Entity Object with JHeadstart ?

    Hi,
    I am using Generalization on our entity object design, i,e : Employee(SuperType), Hourly_Employee(SubType), SalariedEmployee(SubType), Consoltant(SubType). The attributes attached below.
    All SubTypes will EXTEND the supertype : Employee.
    The questions are :
    Can JHeadstart handle the generalized entity objects ?
    How can the UI look like with JHeadstart ?
    Thank you for your help,
    Krist
    Supertype : Employee
    Employee_Number
    Employee_Name
    Address
    Employee_Type
    Date_Hired
    SubType : Hourly_Employee
    Hourly_Rate
    SubType : Salaried_Employee
    Annual_Salary
    Stock_Options
    SubType : CONSULTANT
    Contract_Number
    Billing_Rate

    Krist,
    If I understand you correctly you want to have a number of View Object attributes in a page to be accessible through 'subtabs', and want the correct subtab to be shown when the 'discriminator' field is changed. I am sorry for the confusion, I got thrown off track with all the super-subtype Entity details, but in the UI you are only dealing with ViewObject (usages), and not Entity Objects.
    Anyway, we can not generate 'subtabs'. There is a feature on our 'Enhancement list' to make the Regions have a 'stacked' property, which I think would come pretty close to what you need: you could group ViewObject Atributes together in Regions, and 'stacked' Regions would be generated as tab pages. We have not implemented this feature yet, and even if we had, you would have to change it post-gen because in your case, you would not want the end user to be able to 'switch tabs', but only a change of the 'discrimitator' field should do that.
    We have shipped some templates, though, for creating subtabs for child groups. Perhaps you could take a look if some of that code could be useable for your.
    I would suggest the following approach:
    1.) In the application structure file, create 'Regions' for all subtypes, and in the BC4J Property Editor, assign the 'subtype' attributes to the corresponding Region.
    2.) Regenerate the page. Now you should have a separate 'header' element for each subtype, containing the appropriate attributes.
    3.) Now you will need to transform those 'headers' to 'subtype tabs'. You could do that by borrowing code from our 'tabbed child' templates, or, alternatively, you could use a similar, Javascript-based technique that we use for switching between Quick Search and Advanced Search.
    4.) Finally, you should device a mechanism to change the active tab when changing the 'discriminator' column in the area above the tabs, with the supertype fields.
    Hope this helps,
    Peter Ebell
    JHeadstart Team

Maybe you are looking for