Inside Customer_function, container is loaded automatically

Hi Experts
I encounter a strange issue, can't figure it out.
Basically I load inbounding idoc to create a new Sales Order.
1. I load Idoc A to create sales order A in WE19, after SO A creation, I keep it on WE19 initial screen.
2. Then I create another session and the same to load idoc B to create Sales order B.
3. During Sales Order B createion, I debug it, outside customer-function EXIT_SAPLVEDA_001, internal table container xe1edpt2 is initial which is cleard by system program for every Idoc loading.
    But don't know why once it is inside customer-function EXIT_SAPLVEDA_001, Idoc A's corresponding data is loaded into xe1edpt2 automatically, and of course when my code is reached in EXIT_SAPLVEDA_001, Idoc A and Idoc B's data are all in xe1edpt2.
I guess it must be related to memory, but I don't know the reason:
1. Before program reach EXIT_SAPLVEDA_001, xe1edpt2 is initial.
2. there is no local xe1edpt2 in  EXIT_SAPLVEDA_001, it is global container.
3. When program reaches EXIT_SAPLVEDA_001, last Idoc's data will be automatially loaded into table xe1edpt2.
This is really strange. Is there anybody encounter this issue before? What is the reason?
Regards
Derek

hi Derek,
bit of a longshot, but a guess from me is
(SAPLXVED)xe1edkt2  is filled with the previous IDOC data
(SAPLVEDA)xe1edkt2  is empty
The programs SAPLVEDA and SAPLXVED do not share the data one with other
so that clearing/refreshing the internal table xe1edkt2 in the standard
coding (SAPLVEDA) does not lead to clearing/refreshing the table in the
customer-specific coding (SAPLXVED).
To solve the problem you have to clear/refresh this table in the
customer coding (SAPLXVED) by yourself.
Hope this helps
Paul Q

Similar Messages

  • Bookmark Loading automatically in Safari

    Help needed, whenever I launch Safari, the bookmarks opens and I have to hit DONE to get rid of it to type in the address bar or search in Google. Is there any way to stop this bookmark loading automatically. Its frustrating!

    Thanks for your reply. 
    I have it working now.  I compared the code to another working example and saw that the only difference was that the xml file was not contained in a subdirectory.  Once I placed the xml file in the same location as the SWF and changed the code accordingly, the file loaded.  Weird.

  • Index.html pages in local sub-directories will not load automatically when sub-directory name entered into address field, followed by a forward-slash

    I am in the process of designing a website-on-a-CD. In order to make things easier for my clients, I decided to organize this site into local sub-directories with an index.html page in each one. However, when I try to enter the local sub-directory name, followed by a forward-slash, the index page does not open automatically. Instead, I get a raw directory listing that includes the index.html file, and anything else that is present within it. I would like to know if there is any way to force this page to load automatically within Firefox from a local storage medium as it would load from a web-server.

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • Hi! I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no. There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks

    Hi!
    I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no.
    There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks
    The url is sometingh like this (this is correctly loaded, but it could be longer)

    Firefox should have problems with long GET data appended to an URL (long would be over 64k).<br />
    If there are problems then it is possible that an extension is the cause of that.
    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]]

  • Centering an image inside its container

    Hi,
    I have been placing several images with text on a web page on which I have been using CSS3 to float the images either left or right so that my text wraps around the image.
    Now, at the bottom of this same page, I want to add a wider image that I do not want to wrap text around.  I just want the image to centered on my page (or in its container I guess I should say, which is a div).
    If anyone could tell me the best way to do this, I would greatly appreciate it.
    Thanks in advance,
    Paul

    Thank you Ken,
    I created the .clearing rule as you suggested and added the <hr class="clearing" /> after the end of the paragraph that wraps around my second (and final) floated image.
    After the <hr class="clearing" />, I have my image reference for the image I want to be centered inside its containing DIV as follows....
    <hr class="clearing" />
    <p><img src="Images/pk_38_41_43.jpg" alt="Membrane Casting Line" width="612" height="367" class="center"/></p>
    ...the class="center" is a class I created where I set the left and right margins to "auto", hoping that this would do the job.  This didn't work.  My image appears all the way to the left.  If you can give me a hint what I should do to get it centered, I'd really appreciate it.
    Thanks again for your help,
    Paul

  • IllegalStateException: ADFv: Not inside a container

    When accessing our UI application from multiple client sessions(browsers), we often get this exception while collapsing/expanding tree nodes. The issue happens only when we add new children to the node. Any idea what this exception is?
    [2009-10-07T04:25:12.312-07:00] [AdminServer] [WARNING] [ADF_FACES-00009] [oracle.adf.view.rich.component.fragment.UIXRegion] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IGiji9r37E7TrIaASY1An6lJ00006Z,0] [APP: oam_admin] [arg: /lhp/lhp.jsff] [arg: /oracle/am/security/taskflows/navigationtree/leftpane/Lhp.jsff] [arg: /oracle/am/security/taskflows/navigationtree/leftpane/Lhp.jsff] Error processing viewId: /lhp/lhp.jsff URI: /oracle/am/security/taskflows/navigationtree/leftpane/Lhp.jsff actual-URI: /oracle/am/security/taskflows/navigationtree/leftpane/Lhp.jsff.[[
    java.lang.IllegalStateException: ADFv: Not inside a container.
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.exitContainer(FacesCtrlHierBinding.java:672)
    at oracle.adfinternal.view.faces.model.FlattenedTreeCollectionModel.getRowIndex(FlattenedTreeCollectionModel.java:109)
    owIndex(FlattenedTreeCollectionModel.java:109)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils$1.getRowIndex(TreeRendererUtils.java:552)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRenderer._handleRowDelete(TreeRenderer.java:1171)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRenderer._handleDataFetch(TreeRenderer.java:989)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRenderer.encodeAll(TreeRenderer.java:231)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)

    Hello! Take a look at this thread
    Recursive tree issue
    This may help

  • When i visit a web page then log out...when i open firefox to visit another webpage, the previous one loads automatically. Why? How do I turn this off?

    When I visit a website, close Firefox, then reopen Firefox to go to another website, the previous one loads automatically. Why? How do I turn this off?

    Change the startup setting:
    Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" or "Show a blank page"

  • Standard variant of SAP query is loaded automatically

    Hi!
    I have created SAP query and standard variant via SQ01.
    When I run my query (via transaction) values of variant are loaded automatically in a selection screen and in my case I need empty selection screen at the beginning and values should appear in a selection screen only after choosing a variant, but not before this.
    Probably it is something about attributes of variant? Any ideas?
    <b><REMOVED BY MODERATOR></b>
    Mindaugas.
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    What type of custom transaction code did you create?
    Was Dialog Transaction or Report Transaction?
    For your purpose, you can create with dialog transaction with specifying program name and screen number. If you want to execute with specific variant then choose report transaction.
    Regards,
    Ferry Lianto

  • Load automatically in a Cube (Bi 7.0)

    Hi,
    I have a push mechanisms which put data in a DataSource... how can I load automatically data to the ODS and Infocube which are connected... I mean
    DataSource-->ODS-->Cube
    I am working in Version BW 7.0
    Thanks
    FedeX

    Hi FedeX,
    In addition to process chains, Real-Time Data Acquisition  may help you to meet your requirement. I don't have idea on the setting for this as i m not using the NW2004s BI system since 6months.
    Please refer these links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3f/c56642ea59c753e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/52/777e403566c65de10000000a155106/frameset.htm
    Regards,
    BVC

  • Getting Not inside a container with tree (key attributes defined)

    Hello,
    I'm building an ADF tree with a recursive entity based query:SELECT ProjectIndicators.ID_COMPONENT AS ID_COMPONENT_KEY,
           ProjectIndicators.ID_PROJECT AS ID_PROJECT_KEY,
           ProjectIndicators.THE_VALUE,
           , res.ID_COMPONENT
           , res.ID_PROJECT
           , res.ID_MAIN_COMPONENT
    from PROJECT_INDICATORS_BA ProjectIndicators
    SELECT Project.Id_Project
           , Component.Id_Component
           , Component.Id_MAIN_COMPONENT
    FROM ...
    WHERE ... and Project.Id_Project = :Bind_IdProject
    ) res
    WHERE ProjectIndicators.Id_Project (+) = res.ID_PROJECT
          AND ProjectIndicators.Id_Component (+) = res.ID_COMPONENTNote there's a *:Bind_IdProject* peremeter inside a subquery.
    Queried data is:ID_COMPONENT_KEY     ID_PROJECT_KEY     THE_VALUE     ID_COMPONENT     ID_PROJECT     ID_MAIN_COMPONENT
                                                   1064             1003     
                                                   1065             1003             1064
                                                   1353             1003             1066
    1646                     1003                             1646             1003             1065
                                                   1586             1003             1066
                                                   1587             1003             1066
    1605                       1003              11             1605              1003             1065
    1625                       1003                          1625             1003             1065
                                                   1845             1003             1065
                                                   1846             1003             1845 ID_COMPONENT_KEY and ID_PROJECT_KEY are primary keys of PROJECT_INDICATORS_BA. THE_VALUE is a filed I need to edit (in case a row is null, a new row would be created on runtime).
    ID_COMPONENT and ID_MAIN_COMPONENT is a recursive relationship. ID_PROJECT is a foreign key.
    The recursive view link is
    Source            Destination
    IdComponent   IdMainComponent
    IdProject         IdProject
    Query
    (:Bind_IdComponent = ID_MAIN_COMPONENT) AND (:Bind_IdProject = ID_PROJECT)So I build a treetable on my page and the first (root) level looks fine. I can disclose a row and see the second level.
    But when I try to disclose any second level row I get java.lang.IllegalStateException: ADFv: not inside a container.
    Funny is that I can do "right click - disclose all" on any row, and I will see an entire tree without any errors.
    Seems, this messae should signal that there is no PK defined in the View Object, but here is prmary key definition:  <AttrArray Name="KeyAttributes">
        <Item Value="IdComponentKey"/>
        <Item Value="IdProjectKey"/>
      </AttrArray>Tricky is that the tree must show some records where primary keys are null. But still "disclose all" button works fine.
    I also tried a key like:  <AttrArray Name="KeyAttributes">
        <Item Value="IdComponentKey"/>
        <Item Value="IdProjectKey"/>
        <Item Value="IdComponent"/>
        <Item Value="IdProject"/>
      </AttrArray>But that only shows me a root level, no child records.
    Any help wpuld be appreciated.
    Thanks.
    ADF 11.1.2.1
    Found kinda workaround adding NVL to keys:
    SELECT nvl(ProjectIndicators.ID_COMPONENT, 0) AS ID_COMPONENT_KEY,
           nvl(ProjectIndicators.ID_PROJECT, 0) AS ID_PROJECT_KEY, And yet it works... but that seem to deliver me some DML troubles.
    Edited by: ILya Cyclone on Apr 25, 2012 4:54 PM

    Hello,
    I'm building an ADF tree with a recursive entity based query:SELECT ProjectIndicators.ID_COMPONENT AS ID_COMPONENT_KEY,
           ProjectIndicators.ID_PROJECT AS ID_PROJECT_KEY,
           ProjectIndicators.THE_VALUE,
           , res.ID_COMPONENT
           , res.ID_PROJECT
           , res.ID_MAIN_COMPONENT
    from PROJECT_INDICATORS_BA ProjectIndicators
    SELECT Project.Id_Project
           , Component.Id_Component
           , Component.Id_MAIN_COMPONENT
    FROM ...
    WHERE ... and Project.Id_Project = :Bind_IdProject
    ) res
    WHERE ProjectIndicators.Id_Project (+) = res.ID_PROJECT
          AND ProjectIndicators.Id_Component (+) = res.ID_COMPONENTNote there's a *:Bind_IdProject* peremeter inside a subquery.
    Queried data is:ID_COMPONENT_KEY     ID_PROJECT_KEY     THE_VALUE     ID_COMPONENT     ID_PROJECT     ID_MAIN_COMPONENT
                                                   1064             1003     
                                                   1065             1003             1064
                                                   1353             1003             1066
    1646                     1003                             1646             1003             1065
                                                   1586             1003             1066
                                                   1587             1003             1066
    1605                       1003              11             1605              1003             1065
    1625                       1003                          1625             1003             1065
                                                   1845             1003             1065
                                                   1846             1003             1845 ID_COMPONENT_KEY and ID_PROJECT_KEY are primary keys of PROJECT_INDICATORS_BA. THE_VALUE is a filed I need to edit (in case a row is null, a new row would be created on runtime).
    ID_COMPONENT and ID_MAIN_COMPONENT is a recursive relationship. ID_PROJECT is a foreign key.
    The recursive view link is
    Source            Destination
    IdComponent   IdMainComponent
    IdProject         IdProject
    Query
    (:Bind_IdComponent = ID_MAIN_COMPONENT) AND (:Bind_IdProject = ID_PROJECT)So I build a treetable on my page and the first (root) level looks fine. I can disclose a row and see the second level.
    But when I try to disclose any second level row I get java.lang.IllegalStateException: ADFv: not inside a container.
    Funny is that I can do "right click - disclose all" on any row, and I will see an entire tree without any errors.
    Seems, this messae should signal that there is no PK defined in the View Object, but here is prmary key definition:  <AttrArray Name="KeyAttributes">
        <Item Value="IdComponentKey"/>
        <Item Value="IdProjectKey"/>
      </AttrArray>Tricky is that the tree must show some records where primary keys are null. But still "disclose all" button works fine.
    I also tried a key like:  <AttrArray Name="KeyAttributes">
        <Item Value="IdComponentKey"/>
        <Item Value="IdProjectKey"/>
        <Item Value="IdComponent"/>
        <Item Value="IdProject"/>
      </AttrArray>But that only shows me a root level, no child records.
    Any help wpuld be appreciated.
    Thanks.
    ADF 11.1.2.1
    Found kinda workaround adding NVL to keys:
    SELECT nvl(ProjectIndicators.ID_COMPONENT, 0) AS ID_COMPONENT_KEY,
           nvl(ProjectIndicators.ID_PROJECT, 0) AS ID_PROJECT_KEY, And yet it works... but that seem to deliver me some DML troubles.
    Edited by: ILya Cyclone on Apr 25, 2012 4:54 PM

  • Executors inside a container

    Hi. I need to use ExecutorService inside my application.
    Application is targeted to intensive usage and I want to take advantage of Java SE 5 concurrency.
    How can I use Executors inside Web container? Can I create ExecutorService and put it to ServletContext?
    How can I use Executors inside EJB container? Can I put it to JNDI?
    Is there any restrictions or special conditions to do this?

    Frank,
    Thanks, wasn't sure what extra information to provide but I'm running 11.1.1.3.0 of JDeveloper. If I create a two level tree data contol that works fine. When I add the third level I get the error yet I can navigate through the data control using the business components browser and the structure seems fine. I've tried two separate two level data controls; the first with the top two levels of the tree, the second with the bottom two levels of the tree. Both work fine but when I combine them into a single data control, then I get the error.
    One of the problems I have is not knowing what the error means, so I have no idea what to start looking at to determine what to do to try to remedy it.
    George

  • When restoring a session, tabs won't load automatically. How do I fix this?

    This happens every time I restore my session: whenever I restore my session, instead of loading each tab automatically like it's supposed to do, it only loads the tab I'm on & SOME of the others, so I have to go to each tab (a lot of them) and then the pages load. This is extremely frustrating and is such a waste of time! How do I get EVERY tab to load automatically? This has been driving me nuts! Please help! Thanks. Also, it STILL happens in Safe Mode (I tested that in December). I also have my settings correct (says for the browser to load tabs automatically. Please help!

    Please update to Firefox 18.0.2 [[Update Firefox to the latest version]]
    Then go to Firefox > Options > Tabs, and uncheck "Don't load tabs until selected"

  • Handle "Enter" inside Custom Container

    Hi all,
    I am having 4 to 5 fields in my module pool screen and at the same time i am having a custom container wherein, there is editable ALV.
    Here in editable ALV, i am having an editable field called dealer code.When i enter dealer code in editable ALV and press enter
    my dealer name and dealer address in editable ALV [inside Custom Container] should get populated.
    But when the cursor is inside the custom container [in that editable field] none of my screen events[Module pool events]
    are getting triggered [Hence my values are not getting populated.When the cursor is outside the custom container all my module pool events are working fine, hence values are getting populated....
    Is there anyway to handle this???
    I am using OOPS Editable ALV inside a custom container...
    Waiting for your repiles...

    Hello,
    You have to implement events in order to handle your ALV, take a llok to this PDF:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Take a look on section EVENT BASED ADDITIONAL FUNCTIONALITIES->Making ALV Grid Editable
    Bye!!
    Gabriel P-

  • [Solved] Decrypt files securely inside lxc container.

    Hi, this is my first question, I've been using Arch for 5 years now, thanks for all your hard work!
    I'm trying to setup an lxc container to securely view encrypted files(gpg keys encrypted with cryptsetup and a loopback device), I've done so already using cryptsetup, the only issue is that after I decrypt the device from inside the container, it is available from the host as /dev/mapper/name and I can mount it and view it's contents.
    Is there any way to set cgroups to deny host and allow lxc container to access this device, maybe I can change /dev permissions so only root on host can access? I would prefer that not even root on host can access it but I know I'm asking too much, I can do this with qemu or other VMs but there is a lot of overhead.
    If you happen to know of any way I can access files from inside lxc container but block access to host even if it is after mounting the device, I would like to hear you out.
    I'm running an archlinux host and archlinux lxc container with grsecurity-pax enabled.
    Feel free to ask any questions if it's not clear .
    Thank you for your time, and kudos for your great work with this distro.
    Last edited by freetoken (2014-09-18 07:57:46)

    Progress!
    $ ls -la /dev/mapper/name
    lrwxrwxrwx 1 root root 7 Sep 16 09:21 /dev/mapper/name -> ../dm-0
    $ ls -la /dev/dm-0
    brw-rw---- 1 root disk 254, 0 Sep 16 09:21 /dev/dm-0
    $ rm /dev/mapper/name
    $ rm /dev/dm-0
    voila!
    The device is still there but it's not visible and user would need to have root permissions to run mknod and restore dm-0.
    Also very interesting read about cgroups for anyone interested: https://www.kernel.org/doc/Documentatio … groups.txt
    I'm wondering if there is any damage from doing this, since the data is backed up I guess I don't care too much and will test it for a while.
    If anyone has any ideas or knows some cool feature I'm missing let me know.
    Will mark as solved in 24 hours after more testing and in case something unexpected happens.

  • Where can i set a "signature line" to load automatically on text messages?

    where can i set a "signature line" to load automatically on text messages?   I notice there'a a default ("sent from my ipad"), but where can I edit that?

    This is not user settable option in iMessage on iPad.

Maybe you are looking for

  • Connecting new iPod Classic, old PB G4 without USB2.0

    This may be an old question at this point, but I just recieved a new iPod Classic and wish to connect it to my PB G4 through a connection faster than USB1. What is the most reliable high speed connection available? Powered PCMCIA USB2.0 card? Firewir

  • GR cancellation question

    Hello All, We are working in classic scenario Server 5.5 with GR in SRM. The business case is like this: An user created a GR in SRM for more quantity than PO, the invoice is posted in R/3 now its been realized mistake. Can now the invoice be reverse

  • Officejet 5740 from mac OS 10.5.8

    I just purchased an Officejet 5740.  I set it up as a network printer using  a Windows 7 laptop.  I have been able to print from the laptop and from a Windows 7 desktop but I have not been able to find a driver to install the printer to my wife's MAC

  • Possible to reset DLM?

    Hi there, I know the DLM is automatic but a couple months ago i was forced to reset the router daily for HTTPS websites to work correctly. Because of this my speeds and latency have taken a dive and i believe DLM has kicked in and throttled me as it

  • Pop up menu moves from browser to browser

    How do I fix this problem? I the pop up menu I made keeps moving depending on what browser I open it with when I am done. What can be done about this? Is there a way to anchor the menu so that it is in the same place regardless of what it is opened i