Object Visibility Setting

Ok, I'm not sure what I am doing wrong and could use a new
set of eyes. I have a button that has the following script that
toggles the visibility of an object instance called "Next":
on (release) {
this._root.Next._visible=!this._root.Next._visible;
The toggling works fine. The problem is I cannot find a way
to start Next's visibility to false. I would like it to be
invisible until the button is clicked making it visible.
Thanks in advance!

Well, thanks, I got it anyways. For some reason, I had to put
this script in the second frame instead of trying to put it in the
first:
Next._visible=false;
Not sure if it just couldn't be in the 1st for some reason or
if it had to be in the same frame that the MC "Next" started
in.

Similar Messages

  • BACKGROUND PROCESSING, REPORT NOT LOADING, "OBJECT NOT SET TO INSTANCE..."

    Post Author: thecoffeemachine
    CA Forum: .NET
    I already posted this message in other Web sites, but I am almost getting crazy here and I need help:
    HI:
    The Web application I am testing was having several issues related to loading Crystal Reports. It was fixed and I do not know which of the 1000 things I did to fix it; but now it began, again, to have the same behavior after I had a conflict with another Web site that was in the same server.
    The thing is that I had another virtual directory where resided a copy of the same Web app. for testing purposes/working with the Visual Studio. The reports were loading all fine, very fast, all perfect... And suddenly the assemblies of one Web site and the other began to "blend" together and..... well the same behaviors appeared again. I tried to copy the last stable backup and rebuild the Web app... but it did not work.
    At the very first time that one requests the report, it shows without problem. At the second time it shows an error message related to "cannot submit to background processing", and sometimes "object not set to an instance.." ... and on the third time it just never shows up and the app. becomes unresponsive. I have to close the window and request the Web site again in another browser window. If I wish to see the report again I have to wait for hours until it shows it.
    I am using Visual Studio 2003 and the Crystal Report version that was shipped with that Visual Studio version. I am working with Windows Server 2003 and SQL Server 2000. Below is the VB code:
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load             Me.SqlConnection1.Open()
           Me.SqlSelectCommand1.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandReferences.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTextbook.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandObjectives.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTopicData.Parameters("@CourseCode").Value = Request.QueryString("CD") Me.SqlSelectCommandCourseOutcomes.Parameters("@CourseCode").Value = Request.QueryString("CD")
            Me.SqlDataAdapterMainData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseSyllabusData")         Me.SqlDataAdapterReferences.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseReferenceData")         Me.SqlDataAdapterTextBook.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTextbookData")         Me.SqlDataAdapterObjectives.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseObjectivesData")         Me.SqlDataAdapterTopicData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTopicData")
    Me.SqlDataAdapterCourseOutcomes.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseOutcomes")
            Dim myExportOptions As CrystalDecisions.Shared.ExportOptions         Dim myDiskFileOptions As CrystalDecisions.Shared.DiskFileDestinationOptions         Dim myExportFile As String         Dim myReport As New ABETFormat         myReport.SetDataSource(Me.DtsSyllabusCompleteData1)
            myExportFile = "C:UNTempPDF" & Session.SessionID.ToString & ".pdf"         myDiskFileOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions         myDiskFileOptions.DiskFileName = myExportFile         myExportOptions = myReport.ExportOptions
            With myExportOptions             .DestinationOptions = myDiskFileOptions             .ExportDestinationType = .ExportDestinationType.DiskFile             .ExportFormatType = .ExportFormatType.PortableDocFormat         End With
            myReport.Export()
            Response.ClearContent()         Response.ClearHeaders()         Response.ContentType = "application/pdf"
            Response.WriteFile(myExportFile)         Response.Flush()         Response.Close()         System.IO.File.Delete(myExportFile)         Me.SqlConnection1.Close()
        End Sub
    I already have tried moving the Crystal Reports dll´s to the bin directory. ..... I have tried calling the Garbage Collector at page unload...I also have checked, inside the report, that the database is "up to date"... ... recycling the worker process of the IIS... etc...
    I see that, in debbuging mode inside the Visual Studio, when the page loads the debbuging window shows a message notifying that the symbols related to the Crystal Reports dll's could not be loaded.
    Should I need to modify the default properties of the database? I checked "database is case insensitive", "use indexes or server for speed".. I have tried checking and unchecking the box "performing grouping on server"
    Oh by the way, my report has about 4 subreports in it. Each report loaded shows 1 or 2 pages.
    ANY HELP WILL BE EXTREMELY APPRECIATED....
    MMS

    See  [Crystal Reports For Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true] article, page 107 and on for details on how to use Crystal reports in session.
    Ludek

  • Document(object, node-set)

    Using xsql 1.0.4.1, I'm having some trouble using the document(object, node-set) function defined in the XSLT 1.0 recommendation, sect 12.1:
    http://www.w3.org/TR/xslt#function-document
    I have a tag in my source xml document which contains a reference to another xml document. I want to construct an XPath expression for this other xml document. The path to the other xml document is specified relative to the source document.
    I'm doing something like this:
    Source Document:
    <blah>
    <some-tag redirect="answer.xml" />
    </blah>XSL:
    <xsl:template match="blah/some-tag">
    <xsl:variable name="redir" select="document(@redirect, / )" />
    <xsl:apply-templates select="$redir//somepath" />
    </xsl:template>
    ...However, Oracle XSLT always comes back with the following error:
    XSL-1013: Error in expression 'document(@redirect, / )'.I also get this error if I try
    document(@redirect, document(''))which is given as an example on pg 446 of Steve's book (but not what I want, since it resolves relative to the stylesheet).
    document(@redirect)works fine, but again is not what I want.
    Am I doing something wrong?
    Brian

    This is Oracle Bug# 1722555, hopefully which will be fixed in the 9.0.1.0.0 release. Currently the two-argument version of the document() function is not recognized properly.

  • 91 object not set in SAP BPC NW7.0

    Dear friends
    I am facing problem while logging on to BPC Administration
    even the BPC server Diagnostics all showing green color no error
    error ir
    91 object not set
    what could be the problem can anybody solve this problem
    Regards
    krishnamoorthy.p

    Hello krishnamoorthy.p,
    I hope the following might help BPC-Getting Error while connecting Application Set from BPC Administration .
    Best regards,
      Andreas

  • Class display objects visible=false

    Hi there,
    I have an app that displays XML as items. I am taking the createLayout() and trying to create a class that i can call from my custom component rather than having tons of code in the same file. The issue i am having is that when i call it, and run/debug, the display objects (text,links,date..) all have their visible property set to false. This happens even though I set the property to true in my code. Please help!
    package com.ryancanulla.utils
         import flash.display.Sprite;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         import flash.net.navigateToURL;
         import flash.text.TextFormat;
         import mx.collections.XMLListCollection;
         import mx.containers.Canvas;
         import mx.containers.HBox;
         import mx.containers.VBox;
         import mx.controls.CheckBox;
         import mx.controls.ComboBox;
         import mx.controls.LinkButton;
         import mx.controls.Text;
         public class CreateLayout extends Sprite {
         //     Display Vars
              private var vBox:VBox;
              private var hBox:HBox;
              private var titleText:LinkButton;
              private var itemInfo:Text;
              private var abstract:Text;
              private var archive:CheckBox;
              private var rateItem:ComboBox;
              private var category:ComboBox;
              private var container:VBox;
              private var clickURL:Text;
              private var canvas:Canvas;
              private var titleFormat:TextFormat;
              public function CreateLayout(listCollection:XMLListCollection)
                   listCollection = listCollection;
                   container = new VBox();
                   var categoryLabels:Array = new Array("Health","Industrial","Emerging Tech","Food & Ag");
                   var rateLabels:Array = new Array("Positive","Neutral","Negative");
                   for(var i:int=0; i<listCollection.length; i++) {
                        canvas = new Canvas();
                        hBox = new HBox();
                        titleText = new LinkButton();
                        titleFormat = new TextFormat();
                        itemInfo = new Text();
                        abstract = new Text();
                        archive = new CheckBox();
                        rateItem = new ComboBox();
                        category = new ComboBox();
                        clickURL = new Text();
                        titleText.label = listCollection.getItemAt(i).title;
                        titleText.addEventListener(MouseEvent.CLICK, getURL);
                        titleText.width = 400;
                        clickURL.text = listCollection.getItemAt(i).clickurl;
                        clickURL.visible = false;
                        clickURL.includeInLayout = false;
                        itemInfo.text = listCollection.getItemAt(i).source + " | " + listCollection.getItemAt(i).date;
                        itemInfo.y = 25;
                        abstract.text = listCollection.getItemAt(i).abstract;
                        abstract.y = 42;
                        abstract.visible = true;
                        abstract.includeInLayout = true;
                        abstract.width = 400;
                        abstract.height= 60;;
                        archive.label = "Archive";
                        category.prompt = "Category";
                        category.dataProvider = categoryLabels;
                        category.rowCount = categoryLabels.length;
                        category.visible = false;
                        category.includeInLayout = false;
                        category.width = 95;
                        category.height = 20;
                        rateItem.prompt = "Rate";
                        rateItem.dataProvider = rateLabels;
                        rateItem.visible = false;
                        rateItem.includeInLayout = false;
                        rateItem.width = 95;
                        rateItem.height = 20;
                        canvas.addChild(titleText);
                        canvas.addChild(clickURL);
                        canvas.addChild(itemInfo);
                        canvas.addChild(abstract);
                        canvas.addChild(hBox);
                        hBox.addChild(archive);    
                        hBox.addChild(category);
                        hBox.addChild(rateItem);
                        hBox.y = abstract.y + 60;
                        hBox.percentWidth = 80;
                        hBox.percentHeight = 80;
                        //archive.addEventListener(Event.CHANGE, toggleArchive);    
                        container.addChild(canvas);         
                   container.x = 10;
                   container.y = 10;
                   container.visible = true;
                   addChild(container);
            // Called when someone clicks on the titleLink. This function pulls the
            // origional website URL up in a seperate browser window
            private function getURL(e:MouseEvent):void {
                      var link:LinkButton = e.currentTarget as LinkButton;
                      var canvas:Canvas = link.parent as Canvas;
                      var clickURL:Text = canvas.getChildAt(1) as Text;
                      var url:URLRequest = new URLRequest(clickURL.text);
                      navigateToURL(url);
                   trace(clickURL.text);
    Where I instantiate the class. List collection is an XMLListCollection which contains XML data.
    private var createLayout:CreateLayout;
    createLayout = new CreateLayout(listCollection);

    container is from the Vbox class so I don't see that here and there might be something in there that is causing some problem.
    But I don't think that is the only problem. I think this seems like the same problem that you have going in your other post.
    I don't see anyplace that you addChild your CreateLayout instance. container has been added to your CreateLayout instance, but where is the CreateLayout instance added to some other display list.
    Also it looks like almost everything you add to canvas is set to be invisible. So without knowing what is in a Canvas instance it is hard to know what would show up anyways.

  • Why are transparent Keynote objects visible in playback?

    I often want an object to rotate around one end rather than about the center. My workaround is to duplicate the object in question, flip it around both axes and attach it to the end of the object that I want to be the axis of rotation.
    At this point, I'm seeing a mirror image of my object attached to my original object, I make the mirror image object completely transparent (color slider goes to completely transparent, object slider goes to completely transparent).
    Now I group the transparent object to the visible object and apply the rotate action. The object appears to rotate about its end as desired. But in playback, I can see the "transparent" object.
    I'm at a loss as to how to make a line object any more transparent than to set the color of its lines transparent and to set the object graphics to transparent.

    Thanks Tulse,
    My real problem is with lines, but your response inspired me to try something I hadn't thought of, and it worked!
    Before grouping the "transparent," mirror image to the visible object, remove any arrows from lines, then set the line stroke to None.
    Maybe this bug gets fixed in iWork '09, but I'm not holding my breath.

  • No Business Objects visible in SES_ADMIN

    Hi ,
    I have installed TREX and created RFC for the TREX. But I cannot see any Business Object in SES_ADMIN transaction.
    While I can see 504 BO's in the table TOJTB
    What could be missing ?
    Atleast the BO for the flight model shoudl come in SES_ADMIN
    Can anyone guide?
    Regards
    Purva

    you have to define objects for indexing first.
    in order to do that try the following from SES_ADMIN menu:
    goto ->customizing -> Business Objects and Indexes
    there you have to create new entries for your objects: define objects in folder "Setting for Business objects" and then for added entries goto "Settings for Object Types" and define according parameters. After that the objects must be visible.
    this must help

  • How to make specific objects visible when a droppable area is occupied

    Hi,
    At the moment I am trying to create a interactive animation in which when the user drops a symbol in a certain area, a layer that is hidden then becomes visible.
    What I mean by this is that when the user drops one of the cards at the bottom of the screen in to the blank white space that is on the stage, another band member, (who is initially hidden) then appears. At the moment I have it set up so that when the user double clicks one of these empty white spaces the band member appears, but this is just to test the function. I am confused as to how I can get this to work only when the 'droppable' or blank space is filled.
    Any help would be fantastic and attached you will find an image of the situation
    Thanks

    Thank you very much for uploading that example, I just took a look and noticed this section:
    // set up the droppable to accept each draggables
    for (i=0;i<droppableEl.length;i++){
      sym.$(draggableEl[i]).addClass('C'+i);
      sym.$('.C'+i).draggable({
      revert: 'invalid'
      sym.$(droppableEl[i]).droppable({
      accept:'.C'+i,   // use class for accept
      drop: handleDropEvent
    So here if I have understood correctly you are defining each draggable object, (fruit) as class 'C', and each droppable area to accept 'C'?
    Going off that, as you mentioned before I should be defining each card as a 'class', and then making sure that the droppable areas accept that specific 'class' - which in turn, when dropped in the area should show each band member? Would this be doable through a simple 'Show' command in that case?
    My apologies if I am getting this completely wrong, and I really appreciate your help so far!
    EDIT:
    Apologies, forgot to mention that my draggables are working. I will attach an image of my code example for one of the cards now:
    Card code:
    Hiding all band members on composition ready:
    As you can see, at the moment I have the band members to 'Show' when I double click, (just as a test). However I need them to show when there is a 'draggable' in 'droppable' space.

  • Inconsistent view object result set  (REPOST ... no response since 23/07/2002)

    (1)In JSP front-end, I have the following code:
    <%
    ComUtil c = new ComUtil();
    String sAppConfig = c.getAppConfigStr();
    %>
    <jbo:ApplicationModule id="am" configname="<%=sAppConfig%>" releasemode="Stateless" />
    // A datatag is put here to print out a combo box for user selection with all places defined in table
    <MyTagLib:PrintSelectForAllPlaces strTagName="v_CheckPlace" strAmId="am" blnDisplayHyphen="false" />
    <jbo:ReleasePageResources />
    (2) The ComUtil.getAppConfigStr() code is as follows:
    // Configurations parameters
    String _cfPkg = "MyPkg"; // Configuration package name
    String am = cfPkg + ".MyAppMod"; // Fully-qualified application module name
    String _cf = "MyPkgAppModLocal"; // Configuration name for connection info
    String IP_ADDR = "xxx.xxx.xx.xxx"; // x stands for number
    String SID = "MySid";
    String PORT = "xxx"; // x stands for number
    /** Connection string used by front-end JSP for Jbo to obtain configuration name for
    an application module **/
    public String getAppConfigStr () {
    // Create an instance of the application module by name, using local mode
    String sAppConfigStr = am + "." + cf;
    return sAppConfigStr;
    (3) My data tag code:
    public class PrintSelectForAllPlaces extends TagSupport {
    public int doStartTag() {
    ViewMyPlacesRowImpl r = new ViewMyPlacesRowImpl();
    ComUtil c = new ComUtil();
    ApplicationModuleRef amRef = Utils.getAMRefFromContext(pageContext, strAmId);
    ApplicationModule am = amRef.useApplicationModule();
    JspWriter out = pageContext.getOut();
    try {
    ViewObject vo = am.findViewObject("ViewMyPlaces");
    if (vo != null) {
    vo.executeQuery();
    int j = 0;
    out.println("<select name=" + strTagName + " " + strActionList + ">");
    if (blnDisplayHyphen) {
    out.println("<option value = '' selected>--</option>");
    while (vo.hasNext()) {
    r = (ViewMyPlacesRowImpl)vo.next();
    String sPlaceCode = (String)r.getPlaceCode();
    String sPlaceDesc = (String)r.getDescription();
    out.print("<option value = '" + sPlaceCode + "' ");
    System.out.println("sPlaceCode: " + sPlaceCode);
    if (strDefaultValue != null) {
    if (strDefaultValue.length() > 0) {
    if (sPlaceCode.equals(strDefaultValue)) {
    out.print("selected");
    out.print(">");
    out.print(sPlaceDesc);
    out.println("</option>");
    out.println("</select>");
    } else {
    out.println("View object not found! ");
    } catch (JboException je) {
    je.printStackTrace();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    return SKIP_BODY;
    My question:
    - When i run my jsp, sometimes 2 rows are retrieved, sometimes 3 row are retrieved, sometimes all are retrieved, which can be simulated by 'Refreshing' the jsp page. I feel quite upset as this affects my whole application seriously. Would anyone give me any idea about my case?
    (I have tried to re-make and re-compile the project; synchronizing my table structure; and also tried vo.clearCache(); but still no use. Moreover, The retrieved resultset supposed to be a reference table which will not change frequently, which means that caching is not serious affected.)
    My case is quite urgent to me. In case of any ideas, please don't hesitate to let me know.
    Thanks a lot for your replies!

    Dear Shailesh, would you please give me some guidelines for how to generate diagnostic outputs for BC4J? I don't know how to run the function, which may be very helpful for debugging. ^v^
    Regarding the problem I mentioned, more details are listed as follows:
    1. My mentioned table has 5 rows in total.
    2. My expected result set has 4 rows, which is filtered by the Query statement:
    - SELECT PLACE_CODE, PLACE_DESC FROM PLACES WHERE DISPLAY_FLAG = 'Y';
    3. Why I know the retrieved row is not equal because the program code line in my first post for this topic:
    System.out.println("sPlaceCode: " + sPlaceCode) is embedded in the loop within while (rs.hasNext()). Sometimes the output like this:
    sPlaceCode: PLACE1
    sPlaceCode: PLACE2
    sPlaceCode: PLACE3
    Sometimes like this:
    sPlaceCode: PLACE1
    sPlaceCode: PLACE2
    4. It is in random behavior.
    The situation has been improved after I have 'Test' the BC4J view, that I have navigated all records. Then, the time of displayed all expected records has been increased. Such a mystery ... What I am feeling worried is that, I can't navigate all the time for my reference tables ~~~ besides, it still shows the same problem until now.
    My Requests:
    1. Please give me the guidelines for generating the diagnostic output.
    2. Please help to investigate my mentioned problem.
    Thanks so much for your help and replies!

  • Authorization object for "set TECO" and "undo TECO"

    We want to control the authorization for "set TECO" and "undo TECO",but we can't find relevant Authorization object. Is there any Authorization object  for these two functions? If there's no Authorization object for them ,then how can we achieve the same result? Thank you very much!

    Hi,
    Under one user ID the auth object B_USERSTAT will have the authorization key in which user will be responsible to change the TECO user status.
    One user will not have any authorization key under B_USERSTAT Auth_Object.
    Hope it's will give you help.
    Regards,
    Vishal Kr. Sharma

  • How to specify warehouse in item object using set GL Method by Warehouse

    Hi all,
    </p>
    I have a sdk to import item master from excel using item object. In general setting, the default warehouse was not set. Therefore, when the program creates the item master, it will first set GL Method by Item Level in order to take in the warehouse code from the excel file and after the item master created, sdk will change the set GL Method from item level to warehouse using object cos customer wants item to manage by warehouse. This sdk was working fine until recently it upgraded to 2007 whereby the change of set GL Method is no longer available using object except thru B1 interface. 
    </p>
    Does anyone know any workaround?
    </p>
    The below is my sample coding.
    </p>
    <pre>
                Dim RetVal As Long
                Dim errCode As Long
                Dim errMsg As String
                Dim dr As System.Data.DataRow
                Dim objRows As DataRow() = dtHeader.Select
                If objRows.GetUpperBound(0) >= 0 Then
                    For Each objDataRow In objRows
                        oITM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
                        oITM.ItemCode = objDataRow("Item")
                        oITM.ItemName = objDataRow("Descr")
                        oITM.ItemType = SAPbobsCOM.ItemTypeEnum.itItems
                        oITM.ItemsGroupCode = objDataRow("ItmGrp")
                        oITM.IssueMethod = objDataRow("IssMthd")
                        oITM.SalesItem = objDataRow("SlsItem")
                        oITM.InventoryItem = objDataRow("InvItem")
                        oITM.PurchaseItem = objDataRow("PurItem")
                        oITM.ManageSerialNumbers = objDataRow("ManageSerial")
                        oITM.ManageBatchNumbers = objDataRow("ManageBatch")
                        oITM.CostAccountingMethod = SAPbobsCOM.BoInventorySystem.bis_FIFO
                        oITM.ManageStockByWarehouse = SAPbobsCOM.BoYesNoEnum.tYES
                        oITM.InventoryUOM = objDataRow("InvUom")
                        oITM.PurchaseUnit = objDataRow("PurUom")
                        oITM.PurchaseItemsPerUnit = objDataRow("PerPurUnit")
                        oITM.SalesUnit = objDataRow("SlsUom")
                        oITM.SalesItemsPerUnit = objDataRow("PerSlsUnit")
                        oITM.ShipType = objDataRow("ShipTyp")
                        oITM.Properties(1) = objDataRow("StdPart")
                        oITM.Properties(2) = objDataRow("FabPart")
                        oITM.UserFields.Fields.Item("U_Materials").Value = objDataRow("Material")
                        oITM.UserFields.Fields.Item("U_Treatment").Value = objDataRow("Treatment")
                        oITM.UserFields.Fields.Item("U_ProdType").Value = objDataRow("PrdTyp")
                        If objDataRow("Manufacturer") <> String.Empty Then
                            oITM.Manufacturer = objDataRow("Manufacturer")
                        End If
                        oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_ItemLevel
                        'Get detail
                        Dim oRows As DataRow() = dtDetail.Select("LineNo = " & objDataRow("LineNo") & "")
                        If oRows.GetUpperBound(0) >= 0 Then
                            For Each dr In oRows
                                With oITM.WhsInfo
                                    .WarehouseCode = dr("Whs")
                                    .RevenuesAccount = "_SYS00000000209"
                                    .ExpensesAccount = "_SYS00000000003"
                                    .SalesCreditAcc = "_SYS00000000209"
                                    .PurchaseCreditAcc = "_SYS00000000003"
                                    .Add()
                                End With
                            Next
                        End If 'oRows
                        RetVal = oITM.Add()
                        'Check for error
                        If RetVal <> 0 Then
                            oCompany.GetLastError(errCode, errMsg)
                            Throw New Exception("[Import Item Master]: " & errCode & "-" & errMsg)
                        End If
                        'Change GLMethods from ItemLevel to Warehouse
                        If oITM.GetByKey(objDataRow("Item")) = True Then
                            oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_WH
                            If oITM.Update() <> 0 Then
                                oCompany.GetLastError(errCode, errMsg)
                                Throw New Exception("[Update Item Master]: " & errCode & "-" & errMsg)
                            End If
                        End If
                    Next
                End If 'objRows</pre>
    </p>
    Regards,</br>
    Cherine

    Hello,
    This code is working on 2007. What is the error message you get when you change the G/L method by WH?
    Try it to change in SAP B1 GUI  an item G/L Method tp WH which has been added via your code , I think settings of G/L Account is missing.....
    And check that the Addd all warehouse is not checked in the System Settings.
    Regards,
    J.

  • Global object visible for all sessions in WebDynpro application

    Hello everybody,
    in a normal java web application you have the possibility
    to put an object into the servlet context.
    This object is visible for all sessions(e.g. some configurations or global settings for the
    web application).
    Now my question:
    Is there a possibility in a WebDynpro application to put such an object into a "global context" visible for all sessions?
    So I am looking for a container in WebDynpro which has
    the same behaviour like the servlet context in a web application.
    Thank you for your ideas an suggestions.
    Greetings
    Anton

    Hi Anton,
    To make an Variable Global ,you have define variable at various levels based on Usage.
    1)Ex: If you want to define Variable between two different Components . when A component is embedded into B Component then you have to define at Component Interface level and Mapping has to be Defined.
    2) If you want to make Variable to be used within the component among the Iviews ,then you can define at Component Controller or Custom Controller and Mapping has to be defined at Iview Level.
    3) If you want to use Variable between two Webdynpro Iviews then you have define the eventing mechanism to pass the values among the EP Webdynpro Iviews.
    Hope this answer helps you.
    Thanks
    Madhan

  • Tray Menue - Visibility Setting is ignored

    Hi @ all,
    i want to hide a tray menu. It contains a visibility property which can be set by a checkbox or bind to boolean context attribute (afaik it's not wdui_visibility..it's wdy_boolean). Unfortunately the menu appears in euch case of setting..even if visibility flag is manually unchecked in its properties.
    Its possible to hide the menuitems, but impossible to hide the root icon. ?!?!
    Any idea? Thank you in advance!

    Hi,
    If you want to make it visible or invisible
    1.Create an attribute of type WDY_BOOLEAN
    2.Bind it to the visibilty Property of the tray.
    3.Based on your condition make it invisible(ABAP_FALSE) or visible(ABAP_TRUE)
    DATA lo_nd_user_view TYPE REF TO if_wd_context_node.
      DATA lo_el_user_view TYPE REF TO if_wd_context_element.
      DATA ls_user_view TYPE wd_this->element_user_view.
    navigate from <CONTEXT> to <USER_VIEW> via lead selection
      lo_nd_user_view = wd_context->get_child_node( name = wd_this->wdctx_user_view ).
    get element via lead selection
      lo_el_user_view = lo_nd_user_view->get_element(  ).
      lo_el_user_view->set_attribute(
        EXPORTING
          name =  `VIEW_READONLY`
          value = abap_true ). "VISIBLE
      lo_el_user_view->set_attribute(
        EXPORTING
          name =  `VIEW_READONLY`
          value = abap_FALSE). "INVISIBLE
    PRIYA

  • Gray object is set to overprint

    When I try to run the preflight on a PDF/X-4: 2008 I get a warning/error message that a "Gray object (black below 96%) is set to overprint (l match on 1 page).  This has been a recurring error even though the paragraph style (picture caption) and font in question were set for 100% Black (CMYK). I thought it was a glitch with the font, so I changed that font to a new one, different size (but maintaining the same physical size on the page so I wouldn't have to readjust every page.) I assumed (hoped) that when the original font was no longer embedded in the file, the error would disappear. NOPE! It just changed the font that the error is related to, abandoning the caption font and identifying a font in a size that is not on the page as the culprit. The main text on the page is Georgia, size 11. There is no size 10 anywhere on the page. I have checked the text letter by letter and find no Georgia, size 10. Nor can I find any letters in the text that are less than 100% black. It appears that the error is determined to remain even though it points to absolutely nothing in the file. Can I assume that this will not cause the printer to reject the file when it is submitted for online, digital printing? 

    I want to let you know that I finally found the offending character in the InDesign file. You will recall how, after I decided to replace the caption fonts with a different font because somewhere hidden in the captions must have been a character of less than 100% black, that suddenly, another offender showed up in the main text font--one that had not been identified before. Today, the preflight Snap window showed me the location--something it consistently refused to do with the caption font. It was a blank space after a period which had font attributes assigned. No doubt the fault of a gremlin since nowhere in the body text had there ever been any text sized at 10 points or at less than fully black. I deleted it and HOORAY! all preflight features are announcing "No problems." Again, thanks for the great help at this forum. You are indispensible!!

  • Getting object from Set

    Hi guys, first post, needless to say im a student :].
    Here's my problem:
    Firstly i create an ArraySet as follows: SetADT myDeckOfCards = new ArraySet();I then add 52 "playing cards" to the set like so : myDeckOfCards = CreateCards(myDeckOfCards, "Hearts");The CreateCards method creates objects of type Card and adds them to the Deck set.
    The Cards class has three values: type, value and suite.
    Now my problem is I need to remove cards and then gain access to their attributes.
    I thought i could go:
    Card myNewCard = Card();
    myNewCard = myDeckOfCards.removeRandom();...but this has an error 'incompatible types'. If i assign the randomCard to an object is works fine but then i don't have access to the Card methods.
    How would I get the Cards stored in myDeckOfCards as Card objects and not just Objects?
    I tried casting but had no luck there either.
    Any help would be much appreciated, I realise this is probably something really stupid ><.
    Thanks
    Endo
    Edited by: EnduranceMan on Nov 26, 2008 3:47 PM

    Doh!
    Just got it working, my casting syntax was a bit off. Until next time :]

Maybe you are looking for

  • Abap dump error

    Hello The problem we are facing is.. We have installed the recent patch in order to get TAN included in Form 16 and it is working fine in r/3 but in ESS it is throwing dump error. The error states : Error in Abap 4 statement when processing an intern

  • How to view all pages of a multi-page HTML email in Mac Mail 5+ (Lion to Mavericks)?

    In previous versions of Mac Mail (up to that included with Snow Leopard, Mail 4), it was possible to scroll through all pages of a multi-page HTML email, like that send from the Tivoli Storage Manager reporting system. Since Lion, that has not been p

  • Should I defragment disk after deleting BootCamp ?

    1. I made a mistake - installed Windows on Mac via Boot Camp (Now I know that I won't need Windows anymore). 2. Then I deleted Windows and restored Boot Camp via BootCamp assistant. Hopefully. 3. To restore the normal boot speed I did PRAM reset (Tur

  • Help! OS 10.3 looping in bootup process

    First off, I am a newbie when it comes to setting up an OS X installation. I've been working in OS 10.3 for a while, currently using OS 10.3.9 at work, and have familiarity with the environment. What I'm not familiar with is getting started, and that

  • Stop music playing in one swf when another swf starts

    Hello Flash developers please help me here. On my main SWF Home  File i have 2 swf files are loaded into my (main home swf)  and everything is runing smooth BUT the problem is when i want to  watch the video the music is still playing i have to click