Dynamic characteristics scenario

Hi experts,
Im facing a problem figuring out the best way to do this. In ECC I have data with this structure
Msg class; No Msg; Char_name; char_value; numeric_value
ZSOMETHING;1;POSTING_DATE; 01.01.2009     
ZSOMETHING;1;SOME_RATIO_1; 9.5
ZSOMETHING;1;ANOTHERCHAR; hello     
I need to build a model in BI based on this structure. I can store this in a DSO, but the problem comes when I have to do a filter based on these characteristics. If I need a query that brings me all the values of SOME_RATIO_1 when the posting date equals 01.01.2009, I would do a filter that would look like this:
char_name = POSTING_DATE
char_val = 01.01.2009
But the problem is that I am bringing just that record, the value of SOME_RATIO_1 is not included on this filter since is in a different record. I know I can do some transformation magic and change the way this is stored, and put the value of the posting date in a 0CALDAY, the problem is that I need to do different filters based on an unknown number of this characteristics, and I have to show different ratio values.
I hope you can help me find the best way to do this.
Thanks in advance.

Hi Daniel.
You need to transform your data into a list-format, but for that you need to know what characteristics you are getting in the char_name field, fx for your example, you know that you are getting 3 chars for your ZSOMETHING Msg_class and Msg_number 1. So, with this knowledge you can build a DSO to resemble the structure:
Msg_class  Msg_number Posting_data  Some_ratio_1 Another_char  Numeric_Value
You then have to transform the data in a load using a routine.
The problem with this approach is that you have to know for sure that you are getting the same characteristics for all records. If you can guarantee that, then you can re-structure the data. If not you would have to create a DSO with all of the possible chars coming in and then transform the data into this structure in a routine...
So, it can be done, but you will need a good abap'er
regards
Jacob

Similar Messages

  • Trouble with Dynamic Calc Scenario

    We have built a dynamic Calc scenario in our first 11.1.2 Planning environment that works fine in web forms; Forecast vs Prior Forecast Version. However, when we created our second environment the dyanmic scenario is now causing errors with the web forms. I am getting the generic Data form is invalid, check log for details.
    I have isolated the problem to this one scenario. We have three other dynamic scenarios on the form and they work fine.
    The formula on the scenario below which is not working does reference another dynamic scenario (Prior Forecast Version, which is working).
    Forecast vs Prior Forecast (Scenario not working)
    "Forecast" - "Prior Forecast Version";
    Prior Forecast Version works fine and here is that formula:
    if (@ISMBR("Final"))
    "Forecast"->&FcstPF;
    elseif (@ISMBR("Final_Jul"))
    "Budget"->"Final";
    else
    @PRIOR("Forecast", 1, @RELATIVE("Version", 0));
    endif;
    The Prior Forecast Version is before the Forecast vs Prior Forecast in the outline.
    I have checked the formulas and settings on each one and they are the same in both environments. We used LCM to build the second environment.
    Any suggestions on where to look next?
    I am not finding anything in the planning logs that seems to help, do I need to turn on auditing first to get information from the planning logs when you get the generic Check Planning Log for Details message?
    Thanks.

    I haven't check the essbase log but will do so. I thought I checked the correct planning log, but looking at the path I was using, I might have been looking for the log in the wrong place. I was using the path from the troubleshooting guide but it was the diagnostic logs and maybe that is only the correct one when we have auditing turned on.
    Help on the path to the correct planning log would be great. I was looking in middleware/user_projects/epmsystem1/diagnostics/logs
    Thanks.

  • Is this dynamic caching scenario possible with reverse proxy?

    I'm considering using the Sun System Java Web Server as a reverse proxy in front of other SSJWS's running a java webapp. I'm creating a dynamic site where most of the pages change only occasionally. I'm wondering if the follow "dream compression/caching" scenario is possible:
    - Origin web servers have a set of high traffic dynamic pages that change only occasionally. Other pages (could be partition in subdirs) should not be cached.
    - These dynamic pages set cache and expires headers allowing browser and proxies to cache the content--say for hours or days. It's ok if users see a slightly stale page within this expiration period.
    - Reverse proxy caches these pages as if they were static files. They also create gzipped versions on the fly and cache those. When requests comes in for these specific pages, they are served straight from proxy cache (either compressed or uncompressed depending on request header.)
    - When the expiration date is reached, reverse proxy requests fresh pages from the origin server, creates a compressed version, and only servies these pages from cache.
    - A certain set of pages shouldn't be cached and will have appropriate headers. They will probably also be in different subdirectories.
    Is it possible to use the reverse proxy as a self-updating cache this way? (And it it possible to proactively invalidate the cache. Let's say I change a page on the origin and I want the proxy to refresh that cached page right away.)
    Thank you,
    Armando

    I see. Thank you, this is very helpful.
    I've take taken a look at Web Proxy 4. It seems it can do much of what I'd like. One downside I see is that it seems to be quite a big tool with all of the forward proxying features that I don't need. I just need a transparent reverse proxy/cache, so it would have been nice if the reverse proxy provided by Sun Web Server offered some of the caching features of Web Proxy 4.
    Does Web Proxy 4 share code with Web Server? I haven't any seen any buzz, blogs, etc about it as I have with Sun Web Server. I see it now has a "modern HTTP core" and such but is performance on par with Web Server? (There are no trumpeted world records, and I don't see any architecture details, such as the ability to leverage event ports on Solaris...)
    It looks like Web Proxy 4 can be configured as a reverse proxy to do sticky load balancing, caching with interval checks, and on the fly gzip compression. Can it: cache both a compressed and uncompressed version of the content? Run other filters on the content before caching, such as the sed content trip filter? I haven't really seen anything out there that can do all that. If this is possible, then Web Proxy 4 deserves more buzz!
    If anyone has any good or bad experience using Web Proxy as a reverse proxy, I'd love to hear it!
    Cheers!
    Armando

  • Dynamic Decision Scenario

    Hi all,
    Does anybody recommend some tutorial/document that explains good practices to solve problems like situation bellow ?
    File Adapter (Outbound) -> PI -> RFC (Inbound) *
    Z_SOMETHING
    Depending of a value that came of File Adapter I will need to call the RFC on different environments. The RFC is identical on all environments, I just need to route the call depending a condition. I'm ith doubt about the most efficient practice to it.
    Best regards

    >
    Isaias Cristiano Barroso wrote:
    > Hi,
    >
    > Initially, I'm thinking about create different Communication Channels. In your opinion, this is the best option?
    >
    > Best regards
    That is the way it is normally done..

  • Can't copy Dynamic Scenario

    I have one dynamic calc scenario that uses some logic that if a stored date value is less than a certain other value, return the value in another Scenario otherwise nothing. The calc seems to work find when I retrieve in a spreadsheet, but it won't copy to another scenario.<BR><BR>The reason I want to copy it is that I can't get it to aggregate in the dynamic scenario, it just returns the value from the original scenario.<BR><BR>Any ideas?<BR><BR>Malcolm

    Hi @martin1946 
    What happens when you try to scan from the glass? Do you get an error message on the front panel?
    Perhaps the paper sensor in the document feeder is detecting a page thus when you try to copy from the front panel it try's to pull from the document feeder. If this is the case, use the following document to clean the document feeder; An 'Original Jam: Clear jam, and then press OK' Message Displays for HP Photosmart Premium Fax All-i....
    I know the title of this document and the instructions are intended for a jam in the document feeder, but the solutions offered will help with the paper sensor too.
    If this is not the issue, and I have misunderstood anything, please post back with as much detail you can to help me better understand. Thanks.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • [JPA-Newbie] -- JPA 2 for dynamic/custom entity types (database schemas)?

    Dear forum members:
    Still being new to JPA and having worked through the JPA2 spec as well as a good Apress book for learning the JPA concepts, I am currently wondering if my current, rather dynamic application scenario can be realized in JPA 2 in an easy way.
    The simplified app scenario is like the following:
    Suppose there should be a JEE6 web app that allows endusers to publish articles. There is a generic "Article" type with some common/default attributes such as
    - author : String
    - pubDatetime : String or own.DateTime
    - title, subtitle, articleText : String
    Additionally, a privileged group of endusers should be able to enhance this generic "Article" type by custom attributes during runtime (i.e., dynamically) and via a web interface. Additional attributes could be
    - articleTopic : ArticleCategoryEnum
    - rating : Float
    - comments : List<String>
    I guess the intention should be obvious and btw. not uncommon.
    My remaining main question basically is:
    * How could such a scenario be implemented in JPA 2 the best way?
    Due to the topic's importance importance for me, I'd be very grateful for any help or other productive tips/hints.
    Thank you very much in advance.
    - Sebastien

    See,
    http://www.eclipse.org/forums/index.php?t=msg&th=205349&start=0&S=6619f8634cb716a45f2bdaf577719d00

  • Dynamic file name using FTP adapter

    I was trying the dynamic filename scenario taking help from Michal's blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2664. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    If I check the 'adapter specific properties' in both sender and receiver file adapter,then in output I am getting the output filename as same as input filename without using the UDF.
    When I used the UDF in mapping,it had absolutely no effect. I am not clear what is the use of the UDF. please let me know where to use the UDF and how to use it.
    Thanks
    Smith

    1. In the mapping program that you are using populate the filename coming from the source into the target in any of the fileds.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time.You can get dynamic filename in UDF in msg mapping....just in ID in comm channel select adapter specific attributes -> filename.....then whatever dynamic name you will create in UDF will be the target filename.....
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the <b>required classes of the mapping API by using a mapping runtime constant.</b>
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.

  • Dynamic select

    hi to all,
            i am working in the dynamic select scenario. i want to select the fieldnames  from the tables dynamically using report editor as per the requirement as new to abap can some one please help me out and also kindly mention the table name for example DD03L.
    Thanks,
    Devi

    Hi priya...
    I am sure about its may help you....please mention if you solve your questions..
    REPORT  ZNKS_TEST19.
    *TABLES : SFLIGHT.
    type-pools : slis.
    data : it_tab  type table of SFLIGHT,
          wa_tab  like line of it_tab.
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid,
          g_exit type c,
          ispfli type table of spfli.
    parameters :
                carrid  type SFLIGHT-CARRID,
                connid  type SFLIGHT-CONNID,
                date  type SFLIGHT-FLDATE,
                price  type SFLIGHT-PRICE.
    data l_where(100) occurs 0 with header line.
    start-of-selection.
      perform data_retrivel.
      perform build_fieldcatalog.
      perform display_alv_report.
    form build_fieldcatalog .
      fieldcatalog-fieldname   = 'CARRID'.
      fieldcatalog-seltext_m   = 'carrid'.
      fieldcatalog-col_pos     = 0.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'CONNID'.
      fieldcatalog-seltext_m   = 'connid'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FLDATE'.
      fieldcatalog-seltext_m   = 'date'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PRICE'.
      fieldcatalog-seltext_m   = 'price'.
      fieldcatalog-col_pos     = 3.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
       fieldcatalog-fieldname   = 'CURRENCY'.
      fieldcatalog-seltext_m   = 'currency'.
      fieldcatalog-col_pos     = 4.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
       fieldcatalog-fieldname   = 'PLANETYPE'.
      fieldcatalog-seltext_m   = 'planetype'.
      fieldcatalog-col_pos     = 5.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    form display_alv_report .
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = gd_repid
          i_callback_top_of_page  = 'TOP-OF-PAGE'  "see FORM
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = fieldcatalog[]
          i_save                  = 'X'
    *      IS_VARIANT              = G_VARIANT
        tables
          t_outtab                = it_tab
        exceptions
          program_error           = 1
          others                  = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    "DISPLAY_ALV_REPORT
    form data_retrivel .
      if carrid is not initial.
    append 'CARRID = carrid' to l_where.
    endif.
    if connid  is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'CONNID = connid' to l_where.
    endif.
    if date  is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'FLDATE = date' to l_where.
    endif.
    if price is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'PRICE = price' to l_where.
    endif.
    select * from sflight into corresponding fields of table it_tab
    where (l_where).
    endform.                    " DATA_RETRIVEL
    form top-of-page.
    *ALV Header declarations
      data: t_header type slis_t_listheader,
            wa_header type slis_listheader,
            t_line like wa_header-info,
            ld_lines type i,
            ld_linesc(10) type c.
    * Title
      wa_header-typ  = 'H'.
      wa_header-info = 'Z  report'.
      append wa_header to t_header.
      clear wa_header.
    * Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      concatenate  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) into wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = t_header.
    endform.    
    // Dynamic Selection
    Thanks and Regards ,
    Niraj Sinha

  • DATACOPY from Dynamic Calc Member not working

    Hello,
    I have a BR to Copy from one Scenario to another. I let the user chose the Scenario via RTP. When they chose a dynamic calc scenario no data is copied.
    Here is the Rule
    SET CREATENONMISSINGBLK ON;
    SET COPYMISSINGBLOCK ON;
    FIX(Dec, "Daten brutto", "Daten_brutto_P_M")
    DATACOPY [TEBIT_COPY_Year_Source]->[TEBIT_COPY_Scenario_Source]->Final TO [TEBIT_COPY_Year_Target]->[TEBIT_COPY_Scenario_Target]->Version_1;
    ENDFIX
    I fix on some specific Members an then copy from a specific Year->Scenario combination the Final Version to another Year->Scenario combination Version_1. Doing this with a store Scenario works, with a dynamic calc Scenario it doesnt.
    Thx for your Help.

    Kevin,
    Unfortunately, I think this is the way it works. DATACOPY will not copy dynamically calculated members to stored members.
    Although it is not in the DATACOPY Tech Ref documentation, that's the way it works.
    Here are some older threads on the "other" board:
    http://www.network54.com/Forum/58296/thread/1184768427/DATACOPY+Help
    http://www.network54.com/Forum/58296/thread/1054220911/Datacopy+Problem
    You are going to have to come up with another way of copying the Scenario by summing the members into the target Scenario. It can be a pain because you're going to have to mind the creation of the blocks. SET CREATEBLOCKONEQ will be your friend on this one.
    Regards,
    Cameron Lackpour

  • Testing Dynamic Actions

    Hello,
         I had created a dynamic action for a custom infotype 90X9 in which I am comparing a field(FIELD1) if it is initial i am maintaining a record in 90Y9 infotype.
        Through PA30 I created a NULL entry for the FIELD1 for a employee (EMP1) for infotype 90X9 and then I checked 90Y9 hoping that maintained value in dynamic action will fill the infotype 90YP, But this had not happend.
         Is this the correct way to TEST it? Please suggest a TEST method if it is wrong method to test this dynamic action scenario.

    Hello
    You know what is the most interesting thing about your test case? You are trying to copy the NULL value between infotypes. Well, is the test case not working only for NULL values or all values?
    Can you also mention following about your dynamic action?
    Infotype:
    Subtype:
    Field Name:
    Function Character:
    Sequence Number:
    Indicator for Step: 
    Variable Function Part:
    Thanks
    Anand

  • Passing INLCUDE name dynamically

    Hi,
    Is there any way of passing the INCLUDE name dynamically?
    Scenario is as follows
    Requirement is to consolidate approx 6 enhancements (user exits) of the same name from 6 different systems into 1system . Objective is to put each of the code in an INCLUDE and then call the relevant INCLUDE based on some data maintained in a z-table
    Z-table would have entries like this
    Scenario      Include
    S1                I1
    S2                I2
    S3                I3
    Hence final enhancement code should read the entry from z-table and accordingly pass the relevant INCLUDE name
    INCLUDE <include name from z-table>
    Valuable suggestions are needed.
    Poonam

    Hi Poonam,
    <li> Create one function group.
    <li> Write your 6 includes code in 6 function modules. function module is nothing but include in Function group.
    <li>Try to give importing and exporting parameters are same.
    <li>Try the below way.
    REPORT ZTEST_NOTEPAD.
    DATA: BEGIN OF IT_FUNC OCCURS 0,
            NAME TYPE RS38L-NAME,
          END OF IT_FUNC.
    "Build your it_func with function modules.
    LOOP AT IT_FUNC.
      CALL FUNCTION IT_FUNC-NAME "You can call fm dynamically
        EXPORTING
          DAY_IN            = IMPORTING
          LAST_DAY_OF_MONTH = EXCEPTIONS
          DAY_IN_NO_DATE    = 1
          OTHERS            = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDLOOP.
    Thanks
    venkat.O

  • How to add a dynamic menu to the Portal?

    Dear all,
    I am restructuring the company's Intranet on which I plan to put a left-side vertical menu. On the menu, most links are accessible to all Intranet users except some KPI (key performance indicators) links which are only accessible to managers.
    I am evaluating a third-party dynamic menu builder so called "Sothink DHTML Menu" which is javascript based and provides features for connecting to database via JDBC in jsp.
    For static menu scenario, "Sothink DHTML Menu" is perfect for Oracle Portal in the sense of easy development and deployment.
    For dynamic menu scenario, if I really want to use "Sothink DHTML Menu", I need to put the codes in jsp file and then place the jsp file on the Portal page. Here is the tutorial http://www.sothink.com/product/dhtmlmenu/store/jspdb/jspdb.htm
    I still can't figure out how to do that. Can any experts here tell me how or suggest other alternatives for generating a dynamic menu on Portal?
    Thanks
    George (HK)

    Hi
    I also use SoThink menus in Oracle Portal, but for static menus (I upload them in the HtDocs of Apache and then refer to them with an URL Item).
    In my previous version of Portal I also had to display some kind of dynamic menus, some parts should only be visible to some users/groups. But I didn't use Sothink at this moment but "DHTML Menus" from an other company.
    Starting from an example and using their libraries I wrote my own menu in javascript. In this .js I wrote some functions
    - 1 that document.write(s) the start of the menu and the public part of the menu
    - 1 that document.write(s) the reserved part of the menu
    - 1 that document.write(s) the last part of the menu.
    Then in a navigation page I defined 3 regions, each region contains some jscript code that launchs the function/menu part of the same range. And I used the item level security to set right access to the second region/menu part.
    It worked fine, I just had to add some /* at the end of region 1 ent */ at the beginning of region 2 to remove the HTML code Portal writes between the regions.
    But it was very time consuming if your menu changes often.

  • Using Dynamic Link for projects cut in Premiere and effects in AE.. Rendering Question..

    Hello,
    So this baffles me. I've been working a lot in Premiere CC lately with ProResHQ green screen material. I send the sequence or individual clips using After Effects by right clicking on the clip in Premiere and selecting Create After Effects Composition...
    So I do my thing and when it comes time to render, I select render from IN to OUT in Premiere and wait. Now here's my question. If I select render in Premiere, it will be very sluggish until I click on the After Effects icon in my dock which brings the app to the foreground again. For some reason, this will dramatically accelerate my render speeds in premiere after I re-select the AE app. Why is this doing this?
    I'm using a new Mac Pro trashcan tower 3.5 clock speed. 64GB ram. Dual D700 graphics card. I am using a USB3.0 drive for my editing and the internal drive on the tower for the scratch. I'm getting a Lacie 1TB little bigdisk thunderbolt2 that will be my prime scratch and video location for future stuff.
    Thanks for your help -
    R

    Generally speaking, there is no 'one & only' proper workflow. Just keep in mind the following:
    - not all effects and transitions are properly translated when travelling from PrPro to AE;
    - in Dynamic Link scenario PrPro communicates with AE projects via single instance of headless AE, which creates a bottleneck. See this good old thread on Dynamic Link workflow, pay attention to Todd's comments;
    - since AE allows to set a DI as a proxy to dynamically linked comp, with reasonable amount of dynamically linked comps in PrPro project you can enjoy the best of both worlds, instantly switching between a DI and dynamically linked comp back and forth with no needs to replace anything in PrPro timeline. Test on your own with which amount of dynamically linked comps setting DIs as proxies still work. For my rig test 30 min sequence built out of 935 dynamically linked comps, which are just source footages in their own comps, hence, the equivalent to rendered DIs set to proxies, takes around 27 hours to render, while 30 min sequence built out of the same 935 source footages renders in real time.

  • Finding out which scenario configuration is used

    Hi all,
      is there a way to find dynamically which scenario configuration is been used? I have multiple scenario configurations for the same application and I will like to know at the header level (i.e. in header.jsp) which scenario the app was called with (e.g. which was the value of scenario.xcm at runtime.) Thanks.

    Hi,
    May i know which app you are talking about.
    If you are talking about IPC then, you can generate the trace of the Product Configuration web page and in the source code you get, you can see which scenario was chosen.
    If you are talking of ISA, then you can either see this in the URL that launches the app or in the XCM setting page, which scenario has been set to the default one.
    Let me know in case you need more info.
    Regards,
    Kunal

  • How to speed up Dynamic Link? What Hardware will improve this?

    I'm currently using AE and PP CS6 with Dynamic Link and rendering out in Media Encoder is very slow. I am not using my computers full power, only about 25% CPU and half of ram. What other components could speed this up? SSD? Rendering on GPU?

    In Dynamic Link scenario PrPro communicates with dynamically linked compositions via a single instance of headless AE, which, in turn, creates a bottleneck. You can't improve that with your hardware, you need to change your workflow: when you finish your work in AE, render a digital intermediate and replace your dynamically linked comp in PrPro timeline with that DI. See this good old thread in PrPro Forum, pay attention to Todd's comments.

Maybe you are looking for