Access the properties of ProductTrees_Lines  DI Object

I am not able to access the properties of ProductTrees_Lines  DI Object which is the line object of the ProductTrees
However i can access the properties of Product Trees object
Pls reply as soon as possible
Thanks in advance

For example try this:
material_lines = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees)
where material_lines is PRoductTrees type
If You not set "=" sign, You will not find ObjectTypes
regards
ks

Similar Messages

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • How can I access the properties of Microsoft files (excel, ppt, and word)

    Hi,
    How can I access the properties of common Microsoft file formats (Excel, Word, and Powerpoint) from a Java program. You can access/modify the properties of each document type using File->Properties in each MS application. The properties are essentially name/value pairs.
    Basically, I need to write a java program that scans a directory and accesses the properties in each of the MS files in the directory.
    thanks,
    -john

    By api. That is only way to establish a contract with the MS programs you want to interface with, unless you write an api yourself! I've used POI and it was an awesome way to use Excel in java. I created an excel spreadsheet from the results of a sql query from a batch program and then it was automatically emailed using javamail to my client. I had a lot of VBA experience with Excel, Word, and Outlook and it didn't take me long to get used to using Jakarta-POI.
    Now I see there is Jakarta-POI-HWPF which works with MS Word documents. Go to: http://jakarta.apache.org/poi/

  • Not Able to Access the Properties of Workspace and Target

    Hello
    I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
    But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
    One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application)  then window will not open.
    Please provide me some suggestion on this issue.
    Thanks
    Amit Maheshwari

    Hi,
    You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
    PowerBuilder Developer Center
    Thanks,
    Ben

  • How to access the parent class variable or object in java

    Hi Gurus,
    I encounter an issue when try to refer to parent class variable or object instance in java.
    The issue is when the child class reside in different location from the parent class as shown below.
    - ClassA and ClassB are reside in xxx.oracle.apps.inv.mo.server;
    - Derived is reside in xxx.oracle.apps.inv.mo.server.test;
    Let say ClassA and ClassB are the base / seeded class and can not be modified. How can i refer to the variable or object instance of ClassA and ClassB inside Derived class.
    package xxx.oracle.apps.inv.mo.server;
    public class ClassA {
        public int i=10;
    package xxx.oracle.apps.inv.mo.server;
    public class ClassB extends ClassA{
        int i=20;   
    package xxx.oracle.apps.inv.mo.server.test;
    import xxx.oracle.apps.inv.mo.server.ClassA;
    import xxx.oracle.apps.inv.mo.server.ClassB;
    public class Derived extends ClassB {
        int i=30;
        public Derived() {
           System.out.println(this.i);                  // this will print 30
           System.out.println(((ClassB)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassB
           System.out.println(((ClassA)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassA
        public static void main(String[] args) { 
            Derived d = new Derived(); 
    Many thanks in advance,
    Fendy

    Hi ,
    You cannot  access the controller attribute instead create an instance of the controller class and access the attribute in the set method
    OR create a static method X in the controller class and store the value in that method. and you can access the attribute by 
    Call method class=>X
    OR if the attribute is static you can access by classname=>attribute.
    Regards,
    Gangadhar.S
    Edited by: gangadhar rao on Mar 10, 2011 6:56 AM

  • Accessing the "Just" Sent Message as Object

    Hi,
    I am trying to write a quick app that will move a message to a selected folder after it has been sent, using onSend event
    I cannot figure out how to access the message that has just been sent.
    Client.clientstate.commandmessage returns the message that was selected before "New Mail" was pressed. (eg in the mailbox)
    I have tried just getting the last item in the sent items folder,
    set sentItems = Groupwise.Account.SentItems
    set sentMsg = sentItems.messages.Item(sentItems.messages.Count)
    but it will return any sent future appointments instead.
    is there an easy way to get the message object for the last sent item.
    thanks
    Bruce

    thanks preston.
    Message.send is not available, that is when I am using composingmessage as the message which does not seem to be an actual message object.
    I suppose I could create a new draft message and copy the content from composingmessage and then send it, would that work?
    It would be much easier to get the message from the sent items folder and I am trying to work out a find filter that return it every time.
    currently looking at iterating through the messages to find the latest item that is not an appointment.
    cheers
    bruce
    >>> Preston Stephenson<[email protected]> 19/05/2010 8:31 pm >>>
    If you have access to it, Message.Send
    returns the sent item.
    >>> On Tuesday, May 18, 2010 at 9:00 PM, Bruce
    Williams<[email protected]> wrote:
    > Hi,
    > I am trying to write a quick app that will move a message to a selected
    > folder after it has been sent, using onSend event
    > I cannot figure out how to access the message that has just been sent.
    >
    > Client.clientstate.commandmessage returns the message that was selected
    > before "New Mail" was pressed. (eg in the mailbox)
    >
    > I have tried just getting the last item in the sent items folder,
    >
    > set sentItems = Groupwise.Account.SentItems
    > set sentMsg = sentItems.messages.Item(sentItems.messages.Count)
    >
    > but it will return any sent future appointments instead.
    >
    > is there an easy way to get the message object for the last sent item.
    > thanks
    > Bruce

  • Access the properties of an xy-plot (eg: cursor x,y values, scale etc)

    Is there a way to do the following:
    - access the (x,y) coordinates of a plot cursor so that I can use them further in the program? I need to mark certain points in a plot and store them in an array. Right now I have to copy them by hand(!) from the cursor legend, and then paste them as the elements of the array.
    -access the scale of the plot (set on autoscale), for example the y-scale? I would like to be able to run a while loop (where data is acquired) until the |max| of
    the scale is above or under a specific value.
    Thanks a lot!

    1. Create a property node for the graph and select the property "active cursor", expand the property node to another property and select cursor.position -> all elements...The two elements are the x and y position of the cursor you set active by wiring the index of the cursor to the active cursor property (0 is the first cursor...1 is the next etc.).
    2. The Y scale maximum can be read from the Y scale range maximum property of the graph. Instead of using autoscaling and and decide when to stop by reading the current scale I would rather check the incoming aquired values directly though.
    MTO

  • Access the Parameters of a SequenceCall via API

    I would like to access several characteristics, like name and value, of the parameter(s) of a SequenceCall via the TestStand API,
    but it didn't work.
    First I get the object reference of the Class SequenceCallParameters via Class SequenceCallModule.Parameters. Now I
    can determine the correct number of parameters via SequenceCallParameters.Count. Cause that works, I think I am on
    the right way. To access the property object of a specific parameter, I get the object reference via SequenceCallParameter.Item and
    the Method AsPropertyObject of the Class SequenceCallParameter.
    I thougth with this reference I could access the properties of the parameter via the PropertyObjectClass, but I didn't get the correct information resp. I didn't know at which property the objectReference really points to.
    I add an example sequence. I would get the information from the Sequencecall via the PreStepCallback.
    I hope someone has an idea. Thank you in advance.
    Regards Carsten
    Attachments:
    Example GetParameters from SequenceCall.seq ‏64 KB

    CKone,
    You can use the API to access the parameter properties.
    Once you get the parameter item you can treat that object as a SequenceCallParamer object.
    The SequenceCallParameter object contains several of the properties you were  trying to access:
    SequenceCallParameter
    Use objects from the SequenceCallParameter class to configure and obtain SequenceCallParameter-specific information for an item in the SequenceCallParameters collection class.
    Properties
    Name (Read Only)
    PassByReference (Read Only)
    Type (Read Only)
    UseDefaultValue
    UserData (Read Only)
    ValidEvaluationTypes (Read Only)
    ValueExpr
    I modified your sequence file to use this object.
    Hope it helps.
    Antonio Lie
    Attachments:
    Example GetParameters from SequenceCall35.seq ‏65 KB

  • How to get the properties of application anywhere in the project?

    Hello,
    Application
         |__Component1
                   |___Component2
                                 |___Component3 -----> Component4 ( as Popup)
    this is the actal scenario in my flex application..
    Do you know any best way to access the properties on the Application Object ??
    i want to set the popup component in the middle of the browser screen..
    for that i have tried the way...
    - Component 4
    <!-- PopupWindow.mxml -->
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx">
         <s:layout>
              <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
         </s:layout>
         <s:BorderContainer id="bcPopupWindow" width="700" height="500" backgroundAlpha="0.8" borderAlpha="0.5"
                           borderVisible="true" cornerRadius="20" dropShadowVisible="true">
    ==     Some designing part   ==
         </s:BorderContainer>
    </s:Group>
    and for showing this
    in Component 3 -
    protected function btnShowPopup_clickHandler(event:MouseEvent):void
         myPopup= new PopupWindow();
         myPopup.width = this.parent.parent.parent.width;
         myPopup.height =this.parent.parent.parent.height;
         PopUpManager.addPopUp(myPopup,this,true);

    hi
    try changing this line:
    PopUpManager.addPopUp(myPopup,this,true);  //adds popup to current object
    to this:
    PopUpManager.addPopUp(myPopup, root, true); //adds popup to top level object
    it should fix the popup not centering properly - it is centering itself, but with respect to the current visual object (where your open popup code is). changing to root will add the popup to the top level and so centering it there will center it with respect to the application itself.
    also, add this line below the one above:
    trace(FlexGlobals.topLevelApplication.width);
    and see what it traces out (in debug mode) - is it giving the correct value?

  • I want to access the options in the context menu when clicking on a dropdown list in the bookmarks toolbar, but the context menu disappears when I try to click on one of the options. How can I keep the menu from disappearing?

    I have several dropdown lists in my bookmarks toolbar and would like to access the properties for some of the the items. This used to work fine. However, now, when I go to the list and place the cursor on a particular item, the context menu that is usually available on a right click disappears when I try to access one of the options. This is the menu that begins with Open. What can I do to regain this functionality? I really need the information in the Properties section. I'm using Firefox 3.6.8

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • Accessing button properties in datagrid row?

    Hi
    I ve a datagrid which has a button in each row called "Select". When the user clicks the button it calls a function which saves the row details in an array. I also want to change the label and icon of the button but don't know how to access it?
    I ve tried giving each button a unique ID but I "is not a valid identifier" so I m really not sure how to access each button from my main script, anyone help?
    Cheers in advance
    Shaun

    Hi
    Thanks for replying, I m still unsure of how to access the properties of a button in a row? I currently have the code below and am struggling to access the properties of the 'Add' button so I can change the label and icon?
    Cheers
    Shaun
            <mx:columns>
                                <mx:DataGridColumn headerText="Group" dataField="groupName" width="130" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Number" dataField="articleNumber" width="200" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Name" dataField="slideTitle" width="230" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Colourway" dataField="colourway" width="218" editable="false" sortable="false" />
                                <mx:DataGridColumn editable="false" paddingLeft="5" sortable="false">
                                    <mx:itemRenderer>
                                        <mx:Component>
                                            <mx:VBox>
                                                <mx:Button label="Add" icon="@Embed(source='assets/icons/add.png')">
                                                    <mx:click>
                                                        <![CDATA[
                                                            outerDocument.addItemToCart(data);
                                                        ]]>
                                                    </mx:click>
                                                </mx:Button>                                               
                                            </mx:VBox>
                                        </mx:Component>
                                    </mx:itemRenderer>
                                </mx:DataGridColumn>

  • Can I change the properties of a Binding attributes in ADF BC?

    Hello all,
    i have a binding attribute as follow:
    <af:inputText id="LnlnmanfBlLoanSmanSmanNam"
    value="#{bindings.LnlnmanfBlLoanSmanSmanNam.inputValue}"
    label="#{nls['LNLNMANFBLLOAN_SMANSMANNAM']}"
    partialTriggers=" LnlnmanfBlLoanSmanSmanCde"
    required="false" columns="35" maximumLength="60"
    disabled="true"
    shortDesc="#{nls['LNLNMANFBLLOAN_SMANSMANNAM_HINT']}">
    <f:validator binding="#{bindings.LnlnmanfBlLoanSmanSmanNam.validator}"/>
    For example, i want to set disabled to false, how can i access the properties in ADF BC?
    Any sample code for reference?
    Thanks

    Neon,
    Is is possible to do that in the VO java layer?Absolutely, no it is not. You cannot access the view layer components from the model like that.
    Sounds like what you want to do is this:
    <af:inputText id="B"
    value="#{bindings.B.inputValue}"
    partialTriggers=" A"
    required="false" columns="35" maximumLength="60"
    disabled="#{empty bindings.A.inputValue}"
    <f:validator binding="#{bindings.B.validator}"/>You set the disabled property to a boolean EL expression - the one I used would make the input text disabled if the column A is "empty" (null or empty string)
    John

  • CRM 2015 - Access product properties values

    In CRM 2015, product catalogs were introduced with properties that were user defined.  I need to access the properties of each product to include them in a workflow. Does anyone know how this can be achieved?

    Are you are trying to send the attributes of the products on an email?
    This is being captured in a new entity called "Property" where these attributes are stored. Unfortunately you will not be able to write a system workflow on this entity. You may have to handle this by writing a code
    to achieve this.
    Hope this helps!
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • Access current user's manager name in the console application ( through Client object model)

    Hi Guys,
    Is there any way to retrieve current logged-in user's Manager name in the console application.
    As I don't have access to the server where SharePoint 2010 is installed so I wanted to access through client object model.
    arun singh

    Unfortunately, you can't use CSOM to do this in SharePoint 2010 (you can in SharePoint 2013!), but you CAN use the User Profile Service .asmx web service to accomplish this. You need to call the
    GetUserProfileByName method exposed
    in the http://<yourServerName>/_vti_bin/UserProfileService.asmx web service. Pass in the user name for the current user and Manager will be one of the properties that is returned.
    Here is a link to a blog post with example code.
    Please mark my reply as helpful (the up arrow) if it was useful to you and please mark it an answer (the check box) if it answered your question! Thank you!
    Danny Jessee | MCPD - SharePoint Developer 2010 | MCTS - SharePoint 2010, Configuring
    Blog: http://dannyjessee.com/blog | Twitter: @dannyjessee

  • How to access the attributes in an object using TestStand.?

    hi,
    I have a class named Status in C# that has 2 data members. There is another Class named Parameter and it has functions that return objects of type Status.
    I made the DLL of the class Parameter. Then i added that class to NI TestStand and called a fucntion and that function is returning an object of type Status.
    Is there any way by which i can access the Data Members of the returned Object in TestStand ??
    Thanx in advance
    Solved!
    Go to Solution.

    Yes, there is another alternative. If you make Status a value type (i.e. a struct in C#) then you can tell teststand to store it in a corresponding TestStand data structure rather than an object reference variable. This works even for private fields in your struct. To do this:
    1) First make Status a value type and make whatever other changes are necessary in your code to account for this (value types are copied when passed by value to another method, if this is not what you want you will need to pass them by reference - i.e. ref keyword in C#).
    2) Recompile your assembly.
    3) In the TestStand .NET module specification panel you should now see a new button next to the expression for the return value of type Status that looks like the TestStand data type icon. Push that button and it will prompt you to create a TestStand custom data type that corresponds to the .NET type. Select to save the type in MyTypes.ini type palette file. You only need to do this once. Once the type is in your MyTypes.ini type palette file it will be available from then on and you only need to update it if you change the .NET type.
    4) Create a local variable of the TestStand Custom data type instead of Object Reference. Note that you can expand it and see the properties underneath.
    5) Use this new local variable to store the Status return value. TestStand will copy/update the properties of the variable to correspond to those of the .NET struct that the method returns.
    NOTE: You can also just store the individual fields of a struct in separate variables by expanding the return value of type Status once it's a struct and specifying a separate variable for each field rather than creating a TestStand custom data type.
    Keep in mind that TestStand is making a copy when you store a struct this way so changes to the struct after this will not be reflected in the copy.
    Hope this helps,
    -Doug

Maybe you are looking for