How to auto refresh planning application -- using ABAP Class?

Hi
I have written few planning functions and attached them in one single planning sequence. One of the planning function in this sequence is de-activate data slice checkmark in planning modeler. If I execute this planning function indiviually then it works great however when I use this function in sequence then second function in row doesnot identify changes made by first function(data slice inactivate) and thus throws errors.
At the same time, if I refresh my planning session and re-execute the planning sequence then it does works as REFRESH activates the changes done by first function (de-activate data slice).
I am wondering if there is any ABAP class that can trigger this auto refresh in background else some other method to do this auto refresh ?
Please let me know if you have any thoughts on this one.
Thanks and happy holidays
Al
Edited by: Al Gon on Dec 21, 2007 3:56 AM

Hi Al,
The planning fn to deactivate was ineffective in a sequence was because the sequence which executes the functions does it on the data in the buffer and not actually on saved data, while your deactivation would work on the data after its saved.
You could perhaps run that function separately from the others in the sequence and save the data first and then perform your "deactivation" function.
Merry Christmas
Aby

Similar Messages

  • Refresh Planning application using batch client

    Hi All,
    I'm trying to refresh the planning application using batch client and I'm not winning so far.
    This is what I have in my script.
    Execute Deploy
    Parameters(ApplicationName, InstanceName, Refresh Outline)
    Values('MyAppName', 'MyInstanceName', 'True');
    Error: [Line 8] The application name MyAppName is invalid for instance with name MyInstanceName.
    This is what I had earlier:
    Execute Deploy
    Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, Refresh Outline, ClearAll, CheckIntegrity, waitforcompletion, purgeTransactions, escapeValidateRules, deployOption)
    Values('MyAppName', 'MyInstanceName', 'MyApplicationServe', 'Default Application Group', 'True', 'false', 'false','true', 'False', 'true', 'AppView');
    Error: 2010-09-01 14:17:29,406 ERROR Unable to delete application MyAppName due to following reason: Cannot Deploy the Application, It is already deployed.
    Any Ideas?
    Thanks

    I changed 'Execute Deploy' to 'Execute Redeploy' my script ran successfully

  • How to redeploy planning application using EPM System Configurator

    Hello All
    Can you please let me know how to redeploy planning application using EPM system Configurator.
    I am applying a patch to ver 11.1.2.0 and i need to redeploy the planning app as one of the steps.
    Thanks

    Run the EPM configurator, expand planning and select "Deploy to Application Server", if it is a distributed environment and planning is not on the same server as the WebLogic admin server you will need to start the Admin Server
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to upload data into IT0000 using ABAP-HR program

    Hello,
    I'm required to upload data into multiple infotypes [IT000, 0001, 0002, etc] using single input text file. Can anyone able to guide me, how to upload data into IT0000 using ABAP program ?
    Thanks in advance.
    Regards
    Prabhakar.
    Message was edited by:
            Prabhakara Muthyal

    Example code for HR_MAINTAIN_MASTERDATA to COPY IT0002
    DATA: INT_0002_FINAL TYPE STANDARD TABLE OF PA0002 WITH HEADER LINE.
    DATA: VALUES        LIKE PPROP OCCURS 10 WITH HEADER LINE,
    RETURN        LIKE BAPIRETURN1,.
    LOOP AT INT_0002_FINAL.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-PERNR'.
          VALUES-FVAL  = INT_0002_FINAL-PERNR.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-BEGDA'.
          VALUES-FVAL  = INT_0002_FINAL-BEGDA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-ENDDA'.
          VALUES-FVAL  = INT_0002_FINAL-ENDDA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-nachn'.
          VALUES-FVAL  = INT_0002_FINAL-NACHN.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-gblnd'.
          VALUES-FVAL  = INT_0002_FINAL-GBLND.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-vorna'.
          VALUES-FVAL  = INT_0002_FINAL-VORNA.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-rufnm'.
          VALUES-FVAL  = INT_0002_FINAL-RUFNM.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-name2'.
          VALUES-FVAL  = INT_0002_FINAL-NAME2.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-inits'.
          VALUES-FVAL  = INT_0002_FINAL-INITS.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-famst'.
          VALUES-FVAL  = INT_0002_FINAL-FAMST.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-gbdat'.
          VALUES-FVAL  = INT_0002_FINAL-GBDAT.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-sprsl'.
          VALUES-FVAL  = INT_0002_FINAL-SPRSL.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-anzkd'.
          VALUES-FVAL  = INT_0002_FINAL-ANZKD.
          APPEND VALUES.
          VALUES-INFTY = '0002'.
          VALUES-FNAME = 'P0002-natio'.
          VALUES-FVAL  = INT_0002_FINAL-NATIO.
          APPEND VALUES.
    * maintain master data
          CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
            EXPORTING
              PERNR           = INT_0002_FINAL-PERNR
              ACTIO           = 'COP'
              BEGDA           = INT_0002_FINAL-BEGDA
    *         ENDDA           = INT_0002_FINAL-ENDDA
              SUBTY           = SPACE
              NO_ENQUEUE      = SPACE
              DIALOG_MODE        = '0'
              TCLAS              = 'A'
            IMPORTING
              RETURN1         = RETURN
            TABLES
              PROPOSED_VALUES = VALUES
    *         MODIFIED_KEYS   =
            EXCEPTIONS
              OTHERS          = 1.
          IF RETURN IS INITIAL.
            WRITE:/' Done....'.
          ELSE.
            WRITE:/   RETURN-ID, RETURN-TYPE, RETURN-NUMBER, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2, RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
          ENDIF.
          CLEAR VALUES.
          REFRESH VALUES.
        ENDLOOP.

  • How to load new planning application in EPM 11.1.1.2-DIM ESSBASE ADAPTER

    how to load new planning application in EPM 11.1.1.2-DIM ESSBASE ADAPTER

    If you trying load metadata into planning using DIM then have a look here :- http://www.oracle.com/technology/obe/hyp_fp/DIM_Planning/OBE_Dim_Planning.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to reference a Planning Application in Workspace

    Hello,
    I've developped several Planning applications.
    But when I open workspace / Applications / Planning, (with an admin user)
    I only see one Planning application. So I want to know how to reference a Planning application in Workspace ??
    Thanks for your help
    Best regards

    Some details :
    My Planning applications seems to works correctly. Essbase is Okay. Shared services is okay too but the Workspace is out (and with it Financial Reporting Studio).
    Before that problem, In the configurator, I've deleted all Planning clusters except one (Default). I've selected Re-associate Clusters and Applications and I've successfully re-Associate all Planning Application to Default Cluster. Then I've Activated Cluster Default.
    But Anyway, Since I've deleted Planning Clusters my Workspace doesn't work anymore.
    I've a doubt: I've tried to redeploy Workspace (Configurator / Hyperion Foundation / Workspace / Deploy to Application Server and Configure web Server.
    It doesn't work because it says that Workspace already exists :p.
    Anyway I'm surprised about something : To access Workspace we use the 19000 port but In Configuration we I try to deploy it I see it is on the 45000 port. If I click on advanced / Setup a little window open "Set up Logical Address". And it is writtend Edit Default Cluster : gl-dev-budget : 45000 meanwhile when (still in Configurator) I open Planning / Manage Planning Cluster the server port is 8300 ??
    Is someone can helps me ?
    Thanks
    Best regards

  • How to auto login to facebook using "chrome.exe or default browser" .

    how to auto login to facebook using "chrome.exe or default browser" .

    Please see the Facebook API for information on automating Facebook.  If you have a specific VB question, please create a new post which includes detail about your application and the specific problem you
    are having.  There is not enough information here to make this a VB question we can assist with.
    Moving to off-topic.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • How to upload an excel file using ABAP.

    Hi,
    Can anyone please help me in understanding how to upload an excel file using ABAP.
    Thanks!!

    http://diocio.wordpress.com/2007/02/12/sap-upload-excel-document-into-internal-table/
    check the link
    TYPES: Begin of t_record,
    name1 like itab-value,
    name2 like itab-value,
    age   like itab-value,
    End of t_record.
    DATA: it_record type standard table of t_record initial size 0,
    wa_record type t_record.
    DATA: gd_currentrow type i.
    *Selection Screen Declaration
    PARAMETER p_infile like rlgrap-filename.
    *START OF SELECTION
    call function ‘ALSM_EXCEL_TO_INTERNAL_TABLE’
    exporting
    filename                = p_infile
    i_begin_col             = ‘1′
    i_begin_row             = ‘2′  “Do not require headings
    i_end_col               = ‘14′
    i_end_row               = ‘31′
    tables
    intern                  = itab
    exceptions
    inconsistent_parameters = 1
    upload_ole              = 2
    others                  = 3.
    if sy-subrc <> 0.
    message e010(zz) with text-001. “Problem uploading Excel Spreadsheet
    endif.
    Sort table by rows and colums
    sort itab by row col.
    Get first row retrieved
    read table itab index 1.
    Set first row retrieved to current row
    gd_currentrow = itab-row.
    loop at itab.
      Reset values for next row
    if itab-row ne gd_currentrow.
    append wa_record to it_record.
    clear wa_record.
    gd_currentrow = itab-row.
    endif.
    case itab-col.
    when ‘0001&#8242;.                              “First name
    wa_record-name1 = itab-value.
    when ‘0002&#8242;.                              “Surname
    wa_record-name2 = itab-value.
    when ‘0003&#8242;.                              “Age
    wa_record-age   = itab-value.
    endcase.
    endloop.
    append wa_record to it_record.
    *!! Excel data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
    loop at it_record into wa_record.
    write:/     sy-vline,
    (10) wa_record-name1, sy-vline,
    (10) wa_record-name2, sy-vline,
    (10) wa_record-age, sy-vline.
    endloop.

  • In ecatt - how to check at database level using ABAP

    Hi,
    How to check at database level using ABAP in Ecatt tool.
    say,for example I want to check a particular sales order is invoiced or not ,at the database level and if it is invoiced I have stop proceeding to invoicing of that sales order number.
    Could anybody suggest on this with an example?
    thanks.

    Hi,
    you can use the command GETTAB to access single db records.
    Full specified or partitial specified keys can be use at GETTAB. It will return always only one record, also if a couple could match your selection.
    For more advanced scenarios you can also use eCATTs Inline ABAP. In a block between the commands ABAP. ENDABAP. you can code ABAP statements, e.g. SELECT ... INTO TABLE ...
    eCATT script parameters of type 'V' defined in that script using ABAP/ENDABAP will be transfered into the ABAP block and back to script after ABAP perform.
    Best regards
    Jens

  • How to generate new perner number using Abap Code in pa0002. what is the fu

    how to generate new perner number using Abap Code in pa0002. what is the function Module used.

    hi
    define internal number ranges for ur implementation then when u run PA 40  do not input any employee number , system will generate the employee number automatically.
    Regards
    sameer

  • How to use ABAP Class to modify Web Query Result ??

    Hi all !
    We are using Web Templates to display our Query.
    What I would like to do ( and seems a really important issue for our users! ) is to have a "PAGE BREAK" everytime the value of a charateristics change in the report
    For Example :
    -Page 1-
    Division     Project
       A               1
                        2
                        3
    -Page 2-
    Division     Project
       B               1
                        2
                        3
    and so on....
    I read threads about using ABAP CLASS but no example what so ever...
    We are presently under BW 3.1 but are considering upgrading to 7.0 by the end of the year so if there is a solution to my problem on either version i'd like to know.
    If anyone has any information about how I can do this it would be most appreciated
    Thx
    JB.

    Hi Yong,
    Ravi is right, first check the blogs by Jocelyn, and if you still have specific questions you can ask them. I have used ABAP classes in workflow and I know Mike Pokraka tries to use classes exclusively.
    Regards,
    Martin

  • How-to trigger a process chain using ABAP?

    Does anybody know how to trigger a process chain using ABAP code?
    Any help would be appreciated!
    Thanks
    Ioan

    Hi Ioan,
    try this in your ABAP:
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            eventid         = 'Your Event'
            eventparm       = 'START'
            target_instance = ' '
          EXCEPTIONS
            OTHERS          = 01.
    and schedule your process chain, waiting for 'Your Event'.
    regards
    Siggi

  • How to delete Hyperion Planning member using ODI

    Hi All,
    Anyone know how to delete Hyperion Planning member using ODI? And how to update account type on Hyperion Planning Using ODI?
    e.g.:
    I have a member with account type Saved Assumption, and I need to change to Revenue, but it cannot change. But if I change to Expense, it can. So what's wrong with the mapping?
    This is my csv file for update a member on Hyperion Planning.
    Parent,Account,Default Alias,Operation,Data Storage,Two Pass Calculation,Account Type,Time Balance,Skip Value,Data Type,Exchange Rate Type,Use 445,Variance Reporting,Source Plan Type,Aggregation,Member Formula
    Account,Statistics,,Update,,,,,,,,,,,,
    Account,Meal,,Update,Store,,Expense,,,,,,,,,
    Account,Test1,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
    Account,Test2,,Update,Never Share,,Revenue,Average,None,Non-currency,none,,,Consol,~,
    Account,Test3,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
    Thanks in advance.
    Regards,
    Sumardi
    Edited by: Sumardi Wijaya on Mar 31, 2009 10:57 PM

    Hi,
    To delete a member you use the Operation column, the following values can be used.
    Update – This is the default and is used if not populated, it Add, updates, moves the member being loaded.
    Delete Level 0 - Deletes the member being loaded if it has no children
    Delete Idescendants –Deletes the member being loaded and all of its descendants.
    Delete Descendants –Deletes the descendants of the member being loaded, but does not delete the member itself.
    Does the member you trying to change to Revenue have a variance reporting set to "Expense" as it will need to be set to "Non Expense"
    Also in your interface you can add logging options in the IKM, this maybe will give a clearer indication where your problem lies.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • Failed to migrate EPMA planning application using LCM

    Hi all,
    I'm working on exalytics migration for planning application(Windows->Linux,EPM 11.1.2.2).
    I have successfully completed classic application migration. But for the EPMA planning application, when importing metadata,it failed with the following message:
    Error in migrating artifact, "/Application Metadata/Planning Applications/pln1/Local Dimensions/Account".
    Couldn't determine the column delimiter for the ads file being imported. When import EPMA planning application using LCM, it failed with: Couldn't determine the column delimiter for the ads file being imported
    ===========================================================================
    Reproduced Step:
    @ From the source environment, creat EPMA planning application ,and login to
    Shared Services console
    1- Export the Application Metadata to the file system - AppMetadata (EPM
    Architect -> Application Metadata -> Planning Applications)
    2- Shared Services -> Native Directory -> Assigned roles -> Application
    3- Application Groups -> Application Name
    From the Destination Environment
    4- Setup a datasource ready for the new application.
    5- Copy the filesystem file to the following folder in destination
    environment Hyperion\Common\import_export
    @ 6- Login to Hyperion Shared Services and import the filesystem AppMetadata
    created earlier, it failed with error:
    Error in migrating artifact, "/Application Metadata/Planning
    Applications/pln1/Local Dimensions/Account".
    Couldn't determine the column delimiter for the ads file being imported
    Could you please help to take a look, and tell me if I missed any step or there is any known issue for this kind of migration?
    Thanks,
    Xinying

    Thankd for your response.
    About the ads file, from log, it should be under /home/oracle/Oracle/Middleware/user_projects/epmsystem1/tmp/xxx/completexx.ads, but seems it was deleted, I can't find it.
    I checked file "/home/oracle/Oracle/Middleware/user_projects/epmsystem1/import_export/admin0/EPMA-EPM Architect/resource/Application Metadata/Planning Applications/pln1/Local Dimensions/Account", delimiter is "|".

Maybe you are looking for

  • HT1373 One of my albums will no longer play in iTunes. How can I fix this?

    It appears in iTunes, but the songs will not show up. I can listen to it via iTunes on a different computer.

  • HP Pavilion dv6000 Webcam no longer even on the list of devices.

    Hey, the day i bought my laptop i updated my drivers as my webcam was not working with MSN. i did so and it then stopped working all together. I forgot about this and now, several months later i went back to try and fix the issue and cant even find t

  • Interactive PDF crashes Acrobat 9

    Has anyone experienced interactive PDFs causing Acrobat 9 to crash? The PDF was created using the Interactive PDF preset in InDesign CS5. The file contains buttons, SWF animations, and videos. The file is about 300MB, mostly from the embedded videos.

  • Accessibility PDF using Acrobat 8

    Hi Dudes, I am srinath - Newbie from India, for past two months im struggling with Accessibility Pdf. One of my serious error is after backgrounding some elements (running head at top of all pages) suddenly they got disappeared, but still those conte

  • Archiving XI-Messages

    I want to begin to delete and archive messages to shrink the database-space. the documentation says, that there this works only for messages, which are produced after the customizing of the intrefaces is done. But i think, there must be simply a flag