SCOPE OF IS OIL

Hi  SAP Consultants*
I am a certified SD consultant with one year of experience in India, and looking for a career in SAP  in Saudi Arabia,
As a value addition, I have an ideas of taking crash course in IS Oil (Down Stream)
Experts, I want your expert opinion?
Where I can have quality IS OIL training in India?
Expecting your valuable opinion
Regards
Rafeeque

Hi Rafeeq
Unfortunately nobody teaches IS Oil in India and it needs to be learned only by practice. Though SAP / SIEMENS/GENOVATE conduct some corporate courses but again they are for specific people.
My suggestion will be to go the below SAP help link & start reading:
[http://help.sap.com/saphelp_oil472/helpdata/en/67/bfa73ad9ccf101e10000000a11402f/frameset.htm]
Prepare a group of similar minded people who are willing to learn SAP IS oil and start practicing.
btw..you are in which city ? If you are in Bangalore, I can suggest the name of a couple of people wo can teach you IS Oil.
Cheers !!
Ajay

Similar Messages

  • Scope issue?

    Folks, I have a question on scope (or at least I think it is a scope question.
    Here is what I want to do. In my game class (that manages the turns and picks a winner), I want to create either a SmartPlayer or a DumbPlayer object. Both are children of Player. My first run at this ended with a scope issue which, through your suggestions, I solved. I made some changes to the code and got past it.
    (code below) I created an Interface PlayerInt which has the required methods (I know in this simple program, I don't need an Interface, but I am trying to learn about them and inheritance, and other things. ).Then I defined a Player class, and SmartPlayer and DumbPlayer. Player has the private name variable and a setter to set the name properly. In the constructor for SmartPlayer and DumbPlayer, I call setName("the name").
    When I run the game, I declare Player computer and then instantiate a either a SmartPlayer or DumbPlayer object and assign it to Player. Howver, computer.name is null. I don't understand why it is not being set.
            Player computer = null;
            if (generator.nextInt(2) == 0){
                  computer = new SmartPlayer();
            } else {
                 computer = new DumbPlayer();
            } Thanks, in advance. Oil.
    relevant code below:
    public interface PlayerInt {
        public int takeTurn (int stones);
        public void setName(String theName);
        public String getName ();
    public class Player implements PlayerInt {
        public String getName () {
            return name;
        public void setName (String theName) {
            name = theName;
         public int takeTurn(int stones){
             return -1;
        private String name;
    public class DumbPlayer extends Player {
        public void DumbPlayer () {
            setName("Dumb Player");
    * Take a random number of stones that are less than or equal to 1/2 pile.
    * PlayerInt must take between 1 and 1/2 stones. At 3 or less, can only take 1 stone and comply with rules.
    * @param stones this is the number of stones in the pile.
    * @return returns the number of stones taken.
        public int takeTurn (int stones) {
            Random generator = new Random();
            int stonesTaken = 0;
            if (stones > 3) {
                stonesTaken = generator.nextInt((1 + stones)/2);
            } else {
                stonesTaken = 1;
            return stonesTaken;
    public class SmartPlayer extends Player {
        public void SmartPlayer() {
            setName("Smart Player");
         * PlayerInt takes a turn based on rules.
         * PlayerInt takes enough stones to make the pile 1 power of 2 less than 3, 3, 7, 15, 31, or 63 and less than 1/2 the pile.
         * If the pile is already 3, 7, 15, 31, or 63, take a random stone.
         * @param stones the number of stones left in the pile.
         * @return the number of stones taken.
        public int takeTurn (int stones) {
            int halfstones = stones/2;
            int stonesToTake = 0;
            switch (stones) {
                case 1:
                case 2:
                case 3:
                    stonesToTake = 1;
                    break;
                case 7:
                case 15:
                case 31:
                case 63:
                    Random generator = new Random();
                    stonesToTake = generator.nextInt(1 + halfstones);
                    break;
                default:
                    if (stones > 3 && stones < 7){
                        stonesToTake = stones - 3;
                    } else if (stones > 7 && stones < 15) {
                        stonesToTake = stones - 7;
                    } else if (stones > 15 && stones < 31) {
                        stonesToTake = stones - 15;
                    } else if (stones > 31 && stones < 63) {
                        stonesToTake = stones - 31;
                    }else if (stones > 63) {
                        stonesToTake = stones - 63;
            return stonesToTake;
    public class Game {
        // Let player choose to play smart vs dumb, human vs computer,
        //human vs dumb, or human vs smart.
        public void playGame() {
            Pile thePile = new Pile();
            Random generator = new Random();
            int turn = generator.nextInt(2);
            HumanPlayer human = new HumanPlayer();
            boolean foundWinner = false;
            String winner = "";
            int stonesTaken;
    // declare parent
            Player computer;
    // instantiate and assign a SmartPlayer or DumbPlayer object to Player reference.
            if (generator.nextInt(2) == 0){
                  computer = new SmartPlayer();
            } else {
                 computer = new DumbPlayer();
            if (turn == 0) {
    // Should print out either "Smart Player" or "Dumb Player"
                System.out.println(computer.getName() + " took the first turn. There are " + thePile.getNumberOfStones() + " stones in the pile.");
            } else {
                System.out.println("You take the first turn. There are " + thePile.getNumberOfStones() + " stones in the pile.");
            while (!foundWinner) {
                if (turn == 0) {
                    stonesTaken = computer.takeTurn(thePile.getNumberOfStones());
                    thePile.takeStones(stonesTaken);
                    System.out.println(computer.getName() + " took: " + stonesTaken + " stones.");
                    turn = 1;
                } else {
                    thePile.takeStones(human.takeTurn(thePile.getNumberOfStones()));
                    turn = 0;
                if (thePile.getNumberOfStones() == 0) {
                    if (turn == 0) {
                        foundWinner = true;
                        winner = human.getName();
                    } else {
                        foundWinner = true;
                        winner = computer.getName();
            }// end while
            System.out.println("The winner is " + winner + ".");
    }

    To be honest. I'd keep both interface and abstract class.
    But instead of using a reference to the abstract class use the interface instead.
    So
    PlayerInt player = null;
    //later
    player = new DumbPlayer();This is actually the "correct" way of doing this. So basically any code that uses the PlayerInt does not actually need to know what implementation is being used. In your example this is not important since you initialize it yourself but imagine you had an APIthat exposed the computer player with a method like this...
    public PlayerInt getComputerPlayer()Then other code can use this method to get a PlayerInt implementation. It won't know which one, and it won't care. And that's why this is flexible and good. Because you can add new implementations later.
    The Player abstract class is actually hidden away from most code as an implementation detail. It's not great to use abstract classes as reference types because if you want to create new implementations later among other things you've boxed yourself in to a class heirarchy. But abstract classes are good for refactoring away boilerplate code, as you have already done here. There's no point in implementing get/setName over and over again so do as you have here, create an abstract class and stick the basic implementation there.
    Anyway all this is akin to why it is preferrable (uj slings and arrows aside) to do things like
    List<String> list = new ArrayList<String>();All you care is that you have a List (interface), you don't care what implementation (ArrayList) nor do you care that there is an abstract class (or two) that ArrayList extends.

  • Pre-configured Solution for Small And Medium Downstream Co's for Oil & Gas

    Hello Experts,
    Pl advise if we have Pre-configured Solution for Small And Medium Downstream Co's for Oil & Gas.?
    Any link or material for reading, please let me know.
    Background - We are working on the scope to finalise processes for Small And Medium Co's for Downstream business in ECC 6.0.
    Also advise how many and what kind of processes are involved related to P2P, Order to Cash and Finance.
    Regards
    Vinod Chincholkar

    Hi Vinod,
    i hope you can find the details in this link,
    you can download the sloution overview brochure...
    http://www.sap.com/industries/oil-gas/small/index.epx.
    Best Regards
    Satish

  • Reg.SAP Oil & Gas Certification

    Hi all,
    I need all your suggestion.
    I am looking to do SAP IS Oil & Gas Certification.Rightly I am working as SAP PP Consultant.I have good domain experience of 5 years in manufacturing industry covering all Functions but maximum experience in Production and I have 2.5 years experience in SAP PP Module & SAP Businessone.
    Rightly I am interested in doing SAP IS Oil & Gas certification.I want to know from you all that howz the Job scope for SAP IS oil & Gas.Is my decision of doing Oil & Gas certification for my sort of Experience will be useful or not.Since the Cost involved for certification is huge without knowing the scope doing certification wonu2019t help.
    If my decision is right means which module of IS Oil & Gas is optimum to do Certification(Such as PRA,Upstream Downstream) and how much effort to be taken for it.Is it easy or difficult to do certification for my experience.
    I am in India.I am aware of that only Bharat Petroleum is Conducting course & certification for SAP Oil & Gas and its also only for Primary & Secondary Distribution.
    Please give your valuable suggestion.
    Thanks in Advance,
    M.Badrinarain.

    Hi ,
    There`s a certification called TIOG10 - Oil & Gas Business Processes. You can find the details of the course & schedules
    here : http://www.sap.com/services/education/certification/globaltabbedcourse.epx?context=%5b%5b%7cTIOG10%7c%7c%7c082%7cG%7c%5d%5d%7c
    Regards, Jerin.

  • Excise Duty (IS-OIL) - Invoice verification and accounting ED

    Hello experts,
    I have a case in my importation process with excise duty (IS-OIL). I have the following scenario: Purchasing Ed free material and receive it in ED paid Storage Location. So I use Handling type 00 and Valuation type TAX in the PO excise duty item data. I woul like to kwon Which is the standard process for the invoice verification of the excise duty cost when the handling type is 00 and the valuation type TAX?. And How can I do the invoice verification (MIRO) if there is not a specific line in the purchase order history for the excise duty cost?
    I have another case in the accounting of movement type 301 (transfer posting between 2 plants). The accounting posting is the following:
    Examle:
    Account                       Transaction
    1. STOCK FUEL          S                    BSX (Stock account)
    2. STOCK FUEL            H             BSX (Stock account)
    3. STOCK EXCISE DUTY     S             SVO (ED Account)
    4. EXCISE DUTY FUEL           H             ZZP (ED Account)     
    The problem is that the 4th account must be STOCK EXCISE DUTY ACCOUNT from SVO transaction.
    I would be grateful if someone could help me with these cases.
    Thank in advance.
    Pablo

    Dear Prashant,
    Thanks for reply, but i checked my excise cond types, in all conditions, cond cat is blank & cond class 'A' is maintained i.e. Discount & Surcharge.
    My problem is that, my excise value is not got posted in net receivable value in accounts. This problem arise, when we make sales order, Net Value field doesn't pick excise there & while invoicing, it post only the base value & rounding off adjustments at header level. I don't know, from where this Net Value field in sales order is picking the value but my problem will solve if my grand total value(base valueexciseedu cess+higher edu cess) will pass to Net Value field while making sales order. Kindly help.

  • What deterimes the amount of data in a waveform from a TDS 1012 scope

    Hello,
       What determines the amount of data that is in a waveform that comes out of a TDS 1012 scope? I am assuming that I will have to look at the driver vi to determine the commands sent to the scope to figure it out. I am in a situation that I need to have the y axis to have a high resolution, that results in very little data being collected from the scope.
    Regards,
    Kaspar
    Regards,
    Kaspar

    Hello,
        The amount of data that comes out of the TDS 1012 scope is determined by the data start (DATaTARt)  and data stop (DATaTOP)  commands that are defined on page 58 (2-38) in the  346 page programming manual for the scope. I found of that the data start was not set to 1, which is the beginning of the data.
        I also had a very low level signal on channel that was all most unreadable by the scope that caused me to think that I was not getting all of the data.
    Regards,
    Kaspar
    Regards,
    Kaspar

  • IMPOSTOS PIS E COFINS DE IS-OIL NAO ESTAO INDO PARA O XML DA NFE

    Prezados,
    Estamos em um projeto de IS-OIL, SAP Release EHP5 S.P. 05, e nos apareceu o seguinte problema nos testes da NF-e.
    O PIS e COFINS estao configurados atraves das condicoes OI1A e OI1B, TAX GROUP OI1A e OI1B respectivamente, que faz com que na nota fiscal estes impostos sejam estatisticos.
    Acontece que na funcao standard J_1B_NF_MAP_TO_XML, quando passa por um imposto estatistico com RECTYPE = 2 e com TAX GROUP diferente de PIS e COFI, nao aceita e nao leva os valores.
    Pesquisamos por alguma nota na SAP, mas nao encontramos.
    Algum de voces ja passou por este problema, podem nos ajudar por favor?
    Antecipadamente agradeco,
    Diogenes L. Souza

    Prezados,
    Eu abri um chamado para a SAP a respeito desse problema, e depois de tentarem resolver o problema inclusive criando uma OSS NOTE especifica para o assunto, nao deu certo e a resposta final da SAP eu reproduzo abaixo :
    unfortunately I do not have such great news.
    I have just received the information from our LPM that SAP do not
    support industry specific conditions to be exported to the XML.
    The recomendation is that the customer implement the necessary
    modifications himself or look for a LPM and create a new development
    request.
    Saying this, you have to undo the modifications created by note 1671892
    and close this message
    Entao, diante dessa resposta, o jeito e desenvolver algo, ou solicitar o desenvolvimento caso haja tempo habil.
    Obrigado a todos,
    Diogenes

  • Accessing message out of scope

    Hi all,
    I have a message "Message_A" constructed inside the scope shape and being sent to the send port. Now when any exception occurs i need to log the details to the database. I have an exception handler with the expression in the construct message as
    below
    Excep_message(FILE.ReceivedFileName)=Message_A(FILE.ReceivedFileName);
    I received the error "use of unconstructed message 'Message_A'" when compiling the project. For this error i constructed the message "Message_A" before the scope shape as below.
    Message_A=null;
    Message_A(BTS.Operation)="Operation";
    Then i was able to compile the project without any error. When i deployed and the application exectued i got the below error.
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Ibox.UNEDIFACT.COPARN.Orchestration.CoparnOrchestration_AEJEA(3f2f8342-08cd-6b69-c647-d13dc48b24ad)'.
    The service instance will remain suspended until administratively resumed or terminated.
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: 5bbb4a82-19ae-48bc-8bc0-b8c992088c68
    Shape name: ConstructMessage_1
    ShapeId: a849f763-3f7f-4bc3-bea2-9887fc3c7415
    Exception thrown from: segment 1, progress 10
    Inner exception: The part 'part' of message 'Message_A' contained a null value at the end of the construct block.
    Exception type: NullPartException
    Source: Microsoft.XLANGs.Engine
    Target Site: Void ConstructionCompleteEvent(Boolean)
    The following is a stack trace that identifies the location where the exception occured
       at Microsoft.XLANGs.Core.Part.ConstructionCompleteEvent(Boolean fKillUnderlyingPart)
       at Microsoft.XLANGs.Core.XMessage.ConstructionCompleteEvent(Boolean killUnderlyingPartWhenDirty)
       at Ibox.UNEDIFACT.COPARN.Orchestration.CoparnOrchestration_AEJEA.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    Kindly assist why the null error is being raised even when i have assigned the Message_A with a value.
    Regards, Vivin.

    You assigned Message_A with a null value, that's where the null error is raised! 
    To assign Message_A with a value you will need to execute a mapping or assign it with a variable that contains a xmlDocument if your Message_A is a generic message.
    Another question: why do you want a null Message_A on your messagebox? Is that the required behavior?
    Be sure to also check following blog by Paole, it contains everything you need to know about processing and creating xlangmessages:
    http://blogs.msdn.com/b/appfabriccat/archive/2010/06/23/4-different-ways-to-process-an-xlangmessage-within-an-helper-component-invoked-by-an-orchestration.aspx
    Glenn Colpaert - Microsoft Integration MVP - Blog : http://blog.codit.eu

  • What is the scope of implicit loop variables?

    Hi,
    I'm facing some strange error from the ABSL editor (syntax checker).
    In ABSL the loop variables are implicit and don't have to be declared in the head section of the script.
    My question now is simple: How is the scope/visibility of such loop variables specified ?
    There's a complete code snippet below.
    In line no.9, there's the first time use of implicit loop variable 'task_inst'.
    Because of type inference, it will be typed as MasterDataWanneBe/Tasks (which is my own BO type).
    In line no.20, I want to use the same variable name in a different loop, outside the parenthesis/scope of the first first use.
    Now the ABSL syntax checker complains about incompatible types (see code snippet)
    Thus the type inference should result in the, (lets say 'local') type Project/Task, which is the one I was querying for.
    To me it looks like, that loop variables implicitly get a global scope (hopefully bound to this ABSL file only).
    I would like to see the scope/visibility of loop variables restricted to the parenthesis.
    In other words only inside the loop.
    Hint
    I heard (from little sparrows), that local variable scoping is not possible because of underlying
    generated ABAP code. If so, than it would be helpful to print warnings, in case of types are compatible
    but used in different scopes. Think about the unintended side effects.
    import ABSL;
    import AP.ProjectManagement.Global;
    var query_tasks;
    var query_tasks_param;
    var query_tasks_result;
    foreach (empl_inst in this.Employees) {
         foreach (task_inst in empl_inst.Tasks) {
             //   ^^^^^^^^^  first time use
              task_inst.Delete();
    // ===========================================================================
    query_tasks = Project.Task.QueryByResponsibleEmployee;
    query_tasks_param = query_tasks.CreateSelectionParams();
    query_tasks_result = query_tasks.Execute(query_tasks_param);
    foreach (task_inst in query_tasks_result) {
          // ^^^^^^^^^ Error: 4
          // The foreach loop variable is already inferred to an incompatible type:
          // Node(MasterDataWanneBe/Tasks). Expected Node(Project/Task)

    Yes, variable declarations in ByD Scripting Language indeed have (snippet) global visibility. In the FP 3.0 release the variables can be declared anywhere in the snippet (not only in the beginning, as with FP 2.6), however still not within code blocks, i.e. within curly braces ({}). Therefore variable name shadowing is still not supported and because of the global visibility of variables they cannot be reused for a different type, later in the same snippet. This is because of the statically typed nature of ByD Script, despite the type inference convenience.
    Kind regards,
    Andreas Mueller

  • How to get a parameter from each request in a session scope BackingBean

    While calling my JSF page, I pass an id as parameter in the URL, and in the Backing bean I retrieve it from the request.
    On each request I need to get the id and populate the page accordingly.
    But I am forced to create my Backing Bean in session scope b'cos otherwise ValueChangeListener method does not work properly.
    So where and how do I get the id on each request?
    Pls. help

    What you can do is create it in the request scope like this:
    <managed-bean>
          <managed-bean-name>personBean</managed-bean-name>
          <managed-bean-class>
            com.PersonBean
          </managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
           <managed-property>
                 <property-name>id</property-name>
                 <property-class>java.lang.Long</property-class>
              <value>#{param.id}</value>
          </managed-property>
    </managed-bean>And then in the page use a hidden field to set the id in case of a postback (validation error):
    <h:inputHidden id="id" value="#{personBean.id}"/>Does that help you?
    Thomas

  • Getting bean from request scope

    Hi,
    I am new to JSF and unfortunately I am running into a problem that I am not entirely sure about. I look in other forums and what I am doing looks right but I am not getting the desired result.
    In my faces-config.xml file I have a managed bean defined as follows:
    <managed-bean>
        <managed-bean-name>LogIn</managed-bean-name>
        <managed-bean-class>lex.cac.tables.RefUsers</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>I then have a log on page with a form which contains a user name and password field. The tags are defined as
    <h:inputText immediate="false" value="#{LogIn.username}" /> (for username) and
    <h:inputSecret immediate="false" required="true"
                                   value="#{LogIn.password}" /> (for password)
    When I submit the form the web app navigates to a jsp page which attempts to do validation against a database.
    The first step though is retrieving the object which is suppose to be in request scope.
    I attempt the following but I get back null which causes a NullPointerException. Why can't if find the bean?
    ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
    Map params         = ec.getRequestParameterMap();
    params.get("LogIn");  //null is returned hereWhat am i doing wrong? Can someone please help.
    Thanks in advance,
    Alex.

    Something like that:
    FacesContext fc = FacesContext.getCurrentInstance();
    RefUsers LogIn = (RefUsers)fc.getApplication().createValueBinding("#{LogIn}").getValue(fc);
    String username = LogIn.getUsername();
    String password = LogIn.getPassword();

  • Session scope managed bean is not instantiating?

    We have the need to use a session bean (rather than pageFlowScope) in our application.  But it looks like the session beans are not being instantiated at run time like other beans are.  I created a simple test case to verify.  One bean, named "MySessionBean", defined in the task flow as Session scope, then referenced in a view with an input text box, value:  #{sessionScope.MySessionBean.value1}. When I run the application,  I just get PropertyNotFoundException, Target Unreachable, 'MySessionBean' returned null.
    If I simply change the bean to use pageFlowScope, everything works fine.   I have debug code in the bean constructor, and it never gets called.   Is there some other step I am missing to have ADF instantiate the session bean?

    No luck, I tried it in both adfc-config.xml, and faces-config.xml.  I also tried moving the call to my view, from my bounded taskflow, into the adfc-config unbounded task flow, and then I ran that instead.  Still got the same error.    Here is my code from the the last round of tests with the view called in the main adfc-config.xml unbounded taskflow:
    adfc-config.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
          <view id="testView">
                <page>/testView.jspx</page>
          </view>
          <managed-bean id="__2">
          <managed-bean-name id="__5">MySessionBean</managed-bean-name>
          <managed-bean-class id="__4">test.MySessionBean</managed-bean-class>
          <managed-bean-scope id="__3">session</managed-bean-scope>
        </managed-bean>
    </adfc-config>
    testView.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:inputText label="Label 1" id="it1"
                          value="#{sessionScope.MySessionBean.value1}"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    MySessionBean.java:
    package test;
    public class MySessionBean {
        private String value1="Hello World";
        public MySessionBean() {
            super();
        public void setValue1(String value1) {
            this.value1 = value1;
        public String getValue1() {
            return value1;

  • ASA Migration of DHCP Scope to a Server

    Hello All,
    We migrated the DHCP scope from the ASA to a MS DHCP server with this configuration:
    group-policy BV-SSL1 internal
    group-policy BV-SSL1 attributes
    no address-pools value remotepool4 remotepool2 remotepool3
    no intercept-dhcp enable
    dhcp-network-scope 10.180.49.0
    exit
    tunnel-group BVVPN10 general-attributes
    no address-pool remotepool2
    no address-pool remotepool3
    no address-pool remotepool4
    dhcp-server 10.182.14.55
    exit
    tunnel-group BV-SSL general-attributes
    no address-pool remotepool2
    no address-pool remotepool3
    no address-pool remotepool4
    dhcp-server 10.182.14.55
    exit
    no vpn-addr-assign aaa
    no vpn-addr-assign local
    vpn-addr-assign dhcp
    This is running good, until we used all 254 addresses that was specified in the dhcp-network-scope.
    My question is should i have specified dhcp-network-scope none to allow for all 3 scopes can be used to hand out IP addresses for the remote users?
    Thanks,
    Kimberly

    Okay, that's at least a good start. Can you monitor the ULS logs while you attempt to browse to the site to see what form of error(s) you're getting?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Problem with scope in DESTINATION_APP

    Experts --
    I am using a Default logic file to move data from FINANCEDETAIL cube to FINANCE.
    *DESTINATION_APP=FINANCE
    *SKIP_DIM=LINEITEMDETAIL
    *WHEN Entity
    *IS *
    *REC(EXPRESSION=%Value%)
    *ENDWHEN
    *COMMIT
    My problem is with the logic's scope.  When I post to FINANCEDETAIL for JAN it posts to FINANCE only for JAN.  That is normally correct, but in this case I want it to post from detail to ALL months within the year--even if FINANCEDETAIL has not changed.
    I have added XDIM_MEMBERSET TIME=%MyTime% (i.e. all months).
    I added a line to the logic *DESTINATION TIME=%MyTime%
    I can tell from DebugLogic.log that all of the months are part of my original query.  Records to be posted, however, are only months that have actually changed.
    Documentation suggests that I need to put this logic within a *RUNLOGIC?  Is that the right track?
    Thanks...Marv

    Hi Halomoan--
    Thanks for responding.  I am using BPC version 5.1.
    Here is my logic in all it's gory detail.
    BPC is actually working as it is supposed to.  It is sending back data from DETAIL that has changed.
    I want it to send back ALL the time series monthly data for selected Account/Entity--even though it appears it has not changed in DETAIL (I have a problem in that FINANCE may be out of synch with FINANCEDETAIL).
    *CALCULATE_DIFFERENCE 0
    *MEMBERSET(%MyDetail%,"Descendants([DETAIL].[AllLineItems],999,leaves)")
    *XDIM_MEMBERSET DETAIL=AllLineItems,%MyDetail%
    *MEMBERSET(%MyTime%,"Descendants([TIME].[2009.Total],999,leaves)")
    *XDIM_MEMBERSET TIME=%MyTime%
    *DESTINATION_APP=FINANCE
    *DESTINATION TIME=%MyTime%
    *SKIPDIM=DETAIL
    *RENAME_DIM DATASOURCE=DATASRC
    *ADD_DIM DATATYPE=AVG
    *ADD_DIM INTCO=NON_INTERCO
    *WHEN DEPARTMENT
    *IS *
         *REC(EXPRESSION=%VALUE%)
    *ENDWHEN
    *COMMIT

  • Problem with beans in session scope

    Hello,
    I developped a website using JSP/Tomcat and I can't figure out how to fix this problem.
    I am using beans in session scope to know when a user is actualy logged in or not and to make some basic informations about him avaible to the pages. I then add those beans to an application scope bean that manages the users, letting me know how many are logged in, etc... I store the user beans in a Vector list.
    The problem is that the session beans never seem to be destroyed. I made a logout page which use <jsp:remove/> but all it does is to remove the bean from the scope and not actualy destroying it. I have to notify the application bean that the session is terminated so I manualy remove it from its vector list.
    But when a user just leave the site without using the logout option, it becomes a problem. Is there a way to actualy tell when a session bean is being destroyed ? I tried to check with my application bean if there are null beans in the list but it never happens, the user bean always stays in memory.
    Is there actualy a way for me to notify the application bean when the user quits the website without using the logout link ? Or is the whole design flawed ?
    Thanks in advance.
    Nicolas Jaccard

    I understand I could create a listener even with my current setup Correct, you configure listeners in web.xml and they are applicable to a whole web application irrespective of whether you use jsp or servlets or both. SessionListeners would fire when a session was created or when a session is about to be dropped.
    but I do not know how I could get a reference of the application bean in >question. Any hint ?From your earlier post, I understand that you add a UserBean to a session and then the UserBean to a vector stoed in application scope.
    Something like below,
    UserBean user = new UserBean();
    //set  bean in session scope.
    session.setAttribute("user", user);
    //add bean to a Vector stored in application scope.
    Vector v = (Vector)(getServletContext().getAttribute("userList"));
    v.add(user);If you have done it in the above fashion, you realize, dont you, that its the same object that's added to both the session and to the vector stored in application scope.
    So in your sessionDestroyed() method of your HttpSessionListener implementation,
    void sessionDestroyed(HttpSessionEvent event){
         //get a handle to the session
         HttpSession session = event.getSession();
          //get a handle to the user object
          UserBean user = (UserBean)session.getAttribute("user");
           //get a handle to the application object
          ServletContext ctx = session.getServletContext();
           //get a handle to the Vector storing the user objs in application scope
            Vector v = (Vector)ctx.getAttribute("userList");
           //now remove the object from the Vector passing in the reference to the object retrieved from the Session.
            v.removeElement(user);
    }That's it.
    Another approach would be to remove the User based on a unique identifier. Let's assume each User has a unique id (If your User has no such feature, you could still add one and set the user id to the session id that the user is associated with)
    void sessionDestroyed(HttpSessionEvent event){
         //get a handle to the session
         HttpSession session = event.getSession();
          //get a handle to the user object
          UserBean user = (UserBean)session.getAttribute("user");
           //get the unique id of the user object
           String id = user.getId();
           //get a handle to the application object
          ServletContext ctx = session.getServletContext();
           //get a handle to the Vector storing the user objs in application scope
            Vector v = (Vector)ctx.getAttribute("userList");
           //now iterate all user objects in the Vector
           for(Iterator itr = v.iterator(); itr.hasNext()) {
                   User user = (User)itr.next();               
                    if(user.getId().equals(id)) {
                           //if user's id is same as id of user retrieved from session
                           //remove the object
                           itr.remove();
    }Hope that helps,
    ram.

Maybe you are looking for

  • Trying to get gnome-main-menu-svn (SLAB) installed from AUR

    Having soem troubles installing gnome-main-menu-svn (SLAB) installed from the AUR using yaourt. After getting all the dependencies figured out, there still seems to be problems. Here is what I have so far: $ yaourt -S gnome-main-menu-svn ==> Resuming

  • Delivered Quantity...?

    Hi All, I have a field description which is belongs to sales: delivered quantity. In which table this field is available. Pls let me know. Akshitha.

  • Experience with maintaining GL Account Master Accounting Notes

    Looking for someone with experience maintaining Accounting Notes (i.e. detailed descriptions of a GL Account definition and usage guidelines).  We do not want to maintain these at the Company Code level but at the Chart of Accounts level.  We have no

  • Syntax Error In Javascript Popup Window

    I'm wondering if anybody can help me out here with a curious bit of code. I'm using GoLive 9 to generate Javascript popup windows. They seem to work fine, but when I check the syntax I get these errors: Line 22 Unexpected PCDATA Line 24 The Correspon

  • Where can  i  find infomation where  i can understand  those tables

    Hi:     Where can  i  find infomation where  i can understand  those tables like as /BI0/*** in the master data/text in the infoobject tab page.     or who can tell me the use of these tables.    thanks!