Changing JFMAIN based on data

Hi,
I've been really struggling to get this working for a few days and near the point of giving up!!
I'm using output designer 5.4 and I'm trying to change jfmain for the whole document based on data in the file, so if the field type is A, then set it to JFMAIN_A and if it's B, set it to JFMAIN_B. I've nearly got it working by at the top of JFPREAMBLE (just below ^FILE DOCVAR:JFPREAMBLE_1 DICTIONARY) putting the following two lines.
^page JFMAIN_A
^define group:SWITCHPAGE @_$_.@(IF("@TYPE."=="A","\pageJFMAIN_A\field$POSITION\subformHEADER.","\pageJFMAIN_B\fiel d$POSITION\subformHEADER.")).
The only problem with this is that it always prints a page with just the elements (two graphics logos) of JFMAIN_A then prints the report with the correct JFMAIN, either A or B.
If I don't do the
^page JFMAIN_A
It never changes the JFMAIN.
I've tried loads and loads of different permutations of this but nothing works.
Any help would be massively appreciated.
Mike

Hi there,
Not sure if this will help.
Keep the two foundation pages as JFMain and JFMain_B. By default the central server looks for JFMain for the first page.

Similar Messages

  • How to schedule the webi report based on data changes in the report data

    Hello,
    I want  to schedule a webi report based on data change in a column in the report.
    The scenario is something like below:
    1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
    I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
    Anybody done this before.
    Thanks
    Gaurav

    Hi,
    May be these links can help you:
    http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
    SEM-BCS: Load from data stream schedule
    Attribute Change Run

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • How to trigger change documents based on inbound-idoc?

    Hi experts,
    Currently I'm working in on a project where I have to create an interface based on IDOCS. This is an interface for two SAP-HR systems.
    If there are made changes in the dialog (gui) by a user, there will be created a change document, which can be displayed by report RPUAUD00. For the inbound-interface based on idocs it's important that there will also be created a change document in the system based on this idoc. We have tested this, but no change document is created.
    Can anybody help me to solve this problem: "How to create a change document based on the inbound-idoc?"
    Thanks in advance.
    With kind regards,
    Roy

    Thanks for responding. First, I like the idea of defining an event, but I'm still stuck with how to trigger it. I looked at dynamically registering events, and maybe doing something where a click on the graph control registers an event for key presses on the vi. I'd still have to figure out out to terminate the key press event. Unfortunately, (actually it's a feature I like..) there are a number of different ways to complete typing in a scale change. I routinely use ctr-enter (habit from working on a laptop), though enter works fine, and clicking somewhere else is probably the most common method. I am not that familar with User Defined Events, so I may be overlooking something obvious here.
    The graphs are a Bode Plot, with a seperate graph for RPM vs Phase Lag, and RPM vs Magnitude. I want them to always be plotted on the same x-axis. The plot is generated when the user doubleclicks on a dataset. After that, it's just the user looking at it. They can change the axis without any new data being generated.
    Thanks,
    Chris

  • Change start of cycle date in maintenance plan

    Dear Experts,
    We would like to change start of cycle date in maintenance plan. Iwe have rescheduled the plan but the start of cycle date remains the same.
    could you please confirm, whether it can be changed. The requirement is because of some Mt plan created with future start date in production (Year-2020) and we want to correct the same.
    Thanks

    Don,
    To determine the next maintenance call date you need to tell the system when the last maintenance call occured
    Example:
    You want the next call date on the 1 June based on a six month cycle. Therefore the last maintenance date would have been 1 January (assuming key date scheduling).
    In your case you need to RESTART your single-cycle plan on the 1 January and the system then calculates the next maintenance calls.
    PeteA

  • Changing colour based on cells for ALV in Web Dynpro ABAP

    Hi,
    I have a requirement where I need to change the font color for some cells of ALV in Web Dynpro ABAP. I am able to change the font color for whole row or whole column but need to know how to change it based on cells.
    My output should be something like the picture attached to this discussion. The coloumns/cells where I need the font colour can change for different rows, based on some internal condition.
    Please let me know how to achieve this...... Thank you.
    - Divya Posanpally

    Hi Divya,
    Your requirement can be achieved as below
    Create an attribute for each column of alv i.e. COLOR_F1, COLOR_F2, COLOR_F3...... COLOR_F10 of type WDY_UIE_LIBRARY_ENUM_TYPE in the context node which holds the color value
    Now while configuring ALV, set the field name of semantic color for each column as below
                   data lv_color_fld_name type string.
                   data lo_text_view type ref to cl_salv_wd_uie_text_view.
              loop at lt_columns into ls_column.
              concatenate 'COLOR'  ls_column-id into lv_color_fld_name separated by '_'.
              lo_text_view ?=  ls_column-r_column->get_cell_editor( ).    
              if lo_text_view is bound.
              lo_text_view->SET_SEMANTIC_COLOR_FIELDNAME( value = lv_color_fld_name ).
              endif.
              endloop.
    Set the color based on the condition
             loop at lt_data into ls_data.
                        if ..... "your condition here.
                        ls_data-color_f1 = cl_wd_text_view=>e_semantic_color-NEGATIVE.
                        ls_data-color_f2 = cl_wd_text_view=>e_semantic_color-POSITIVE.
                        elseif...... " another condition
                        endif.
              endloop.
    Note: You can optimize the code as per your requirement
    Hope this helps you.
    Regards,
    Rama

  • Session Facade and Access to a Non SQL Based Persistent Data Store

    Hi,
    We are currently using jDeveloper 10.1.3.5 and Oracle Application Server 10.1.3.5. We develop all our applications as Java portlets using Oracle PDK and they are exposed through Oracle Portal.
    In our environment, the persistent data is stored on a combination of an Oracle database and a non SQL based persistent data store.
    The way we access the non SQL persistent data store is by posting a URL and receiving an XML document back in response. This mechanism is used both for enquiry and update of the persistent store.
    We have to create a new XML schema for each entity that we need to access and there are software changes on both our environment (Java) and the non SQL based persistent data store.
    In an attempt to shorten development times we are looking to start using ADF faces and EJB3.
    We have downloaded the SRDemo tutorial and made it work but there are some challenges.
    1. The SRDemo seem to have a very minimal implementation of a business layer. From what I can see, it is essentially some straightforward wiring between database attributes and their viewable representation. Is there a demo/tutorial containing a bit more meat in the business layer that you are aware of?
    2. Given our non SQL based persistent data store, how would you go about implementing EJB3 for such scenario. Is it recommended at all? How would you go about integrating the rest of the application (business layer and representation layer) to data arriving from such source?
    3. SRDemo is not intended to be exposed as a portlet. Is there a tutorial that we can use incorporating JSR168, ADF Faces and EJB3 in the same application? I also understand that there is a JSF-JSR168 bridge available. Can you provide some pointers here? Where can we find it? Would we be able to use it in jDeveloper 10.1.3.5?
    Regards

    Matt,
    The only way to associate an "x-axis" with a signal in the Write Data VI would be to feed it waveforms, which are constrained to use time as the x-axis unit. There is really no way around this, so in my opinion, the best solution for you would be to use the "rows are channels" conversion and write the frequency and amplitude values to the file independently. Then when you read the file in DIAdem, take the two channels and build a graph out of them there.
    Regards,
    E. Sulzer
    Applications Engineer
    National Instruments
    E. Sulzer
    Applications Engineer
    National Instruments

  • Change of PO Delivery Date

    Hi All,
    We have this user requirement. User wants to change the delivery date of aged  purchase orders raised. If the purchase order is more than three months old, then they are reevaluating the delivery date.
    Is it possible to change the delivery date for the purchase orders for which GR and invoice is already done. i find this field to editable in all the purchase orders but if i change, the delivery date converts back to original one and it is not getting changed.
    Please help.
    Thanks,
    Nisha

    We have this user requirement. User wants to
    change the delivery date of aged  purchase orders raised.
    If the purchase order is more than three months old, then they are reevaluating the delivery date.
    Is it possible to change the delivery date for the
    purchase orders for which GR and invoice is already done
    If it is partiially GR & invoiced,then enter add fresh delivery schedule date for open GR qty.
    i find this field to editable in all the purchase orders
    You statement itself answers question.
    but if i change, the delivery date converts back to original one
    and it is not getting changed.
    Based on planned delivery time mentioned in info record/ material master dellivery date is calculated.

  • Alert based on date

    I have a list of SSL certificates and their expiration dates.  I created a column that calculates the date 45 days before the expiration and then a view that only shows those items where the (expiration - 45) > Today.
    I then set an alert for any changes to items in that view.  However, I don't get an alert for items that pop into the view...I guess because the item itself did not change.  Is there a way to send an alert based on date? 
    My SharePoint enviroment is locked down so I can't create custom workflows or connect via Designer.

    Thanks for the idea.  I don't guess it will work as the only option I have when enabling the expiration feature is to delete the item. 
    So far, the best idea I have is a weekly calendar reminder to go look at the view for expiring certificates.
    Before setting the policy you need to go to workflow settings and add a disposition workflow to the list so it is available as an option when you Enable Expiration in the Information Policy Settings.
    After you set the expiration policy to start your workflow, set up an alert on the workflow tasks list you associated with the disposition workflow.
    - Xenox G.

  • Email customers based on data in a webapp

    Hi all
    A question - Is BC capable of emailing customers based on data in a webapp that was submitted by that customer?
    Thanks

    Like send a different workflow given the choice one makes on a form. If so then yes. You will need to use a little jQuery to make it work right.
    http://helpx.adobe.com/business-catalyst/partner/create-workflow-notification.html#id_2285 7
    Basicly you would set it up so that when you get the data you want you would select the right workflow in the background.
    Or just change the text on the dropdown and let them choose that way.
    <select name="WorkflowList">
    <option value=ID1>Option One</option>
    <option value=ID2>Option Two</option>
    <option value=ID3>Option Three</option>
    </select>
    OR --- I'm way off and you require a different solution?

  • How do we can change the last done dates of Planned operation by EM orders?

    Hi colleagues
    i defined four opertions for one equipment as performance based or time based plans and scheduled it for next month. then we received a EM notification for mentioned equipment. we iisued order for EM notification and  maintenance opertor carried out the orders but while he doing the EM process , he did two opertion of preventive maintenance from mentioned plan.
    we can add mentioned operations in EM orders as operations but the question is that after we confirm the EM orders and enter the actual dates , and it seems that the last done dates of assigned two operations must be change in PM plans.!
    Is there any solution for it or not?
    Thanks
    Akbar

    Hi Carlos
    thanks for ur attention
    actually i want change the last done dates of some opetions in my scheduled maintenance orders by assigning them to EM orders as operations.
    for example:
    i received a EM orders with this description : oil leakage from sight glass of hydraulic pumps
    in the proceesing of EM order , i will eliminate the leakage and also change the oil of pump .
    the changing the oils is the one of our shecduled Maintenance plan that is it would be called on next month.
    in the confirmation of EM order , i will add this operation from equipment task list ( change the oil) and enter the dates and another data.
    it's obvious that mentioned opertion should not be schedule on next month and according to it's package sequence , the new date for changing the oil must be 3 month later form the date that we entered on EM order.
    Thanks
    AKBAR

  • Can the case be changed while uploading the data or after uploading ????

    hi all ,
    can u pls help me ???  can the case of the data in a itab be changed while running the program? the data is uploaded to an internal table and then based on loop at that itab the conditions will evaluate to give the result.... but the problem is like wen the data is given in small letters the worste(last)  condition is executing even the data satisfies the condtion which is not supposed to happen. this is due to case sensitive problem ...can u pls help me ....can the case be changed while uploading the data r after uploading ????

    this is the itab declaration ..
    data: begin of it_input occurs 0 ,
           tra          like tstc-tcode,
         end of it_input.
    and then from the uploaded data the prog should check wheather it is having any userexits or not ...
    here comes the code...
    sort it_input by tra.
    delete adjacent duplicates from it_input  .
    loop at it_input.
               it_itab-sno = sy-tabix.
      select single * from tstc where tcode eq it_input-tra.
    if sy-subrc eq 0.
        select single devclass from tadir into v_devclass
                 where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
             if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
             move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
           if sy-subrc = 0.
            select single * from tstct where sprsl eq sy-langu and
                                            tcode eq it_input-tra.
                      if not jtab[] is initial.
               loop at jtab.
                    select single modtext from modsapt  into str
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                    it_itab-tra        = it_input-tra.
                    it_itab-i_obj_name = jtab-obj_name.
                    it_itab-i_modtext = str.
                    append it_itab.
                    str = ''.
               endloop.
              endif.
            else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'No user Exit exists'.
                     append it_itab.
            endif.
          else.
                    it_itab-tra        = it_input-tra .
                    it_itab-i_obj_name = ' '.
                    it_itab-i_modtext = 'Transaction Code Does Not Exist'.
                     append it_itab.
          endif.
    endloop.

  • Any tools to rollback schema change and map new data to old schema?

    What is the best way to rollback a schema change, but preserve the data that is in the new schema?
    We are updating an application for a customer, however the customer would like to rollback to the old application if after a few days they run into a critical problem.
    The application schema is changing - not a lot, but a number of tables will have extra columns.
    To rollback, one would have to re-create the original schema and load data into it from the updated schema.
    I thought that the Migration toolkit/workbench might have been able to do this for Oracle --> Oracle migrations, but it appears to only support non-Oracle Database migrations to Oracle.
    Are there any oracle tools in say OEM or elsewhere that can handle data transformations?

    Kirk,
    You are correct, the focus of the Oracle Migration Workbench is on non Oracle databases.
    I am not aware of a tool that can automatically do what you want, but it should be possible to do what you want. Depending on the version of Oracle they are running, it is now possible to drop columns for example. Your approach would be based on the nature of the changes. Have you looked into the OEM Change Management pack?
    http://www.oracle.com/technology/products/oem/pdf/ds_change_pack.pdf
    You might also post you message to Database General forum.
    Donal

  • Attribute Change Run VS Master data activation

    hello guys
    I just want to know whats the difference between 'Attribute Change Run' and Master data Activation...For me,both seem to serve same purpose.......in which scenarios do we use them?
    Thanks and Regards
    S

    Hi S,
        Although they seem to be the same there are differences.
    Master Data activation.: When you load master data, they are loaded as D or M versions. Check the table as /BI0/P<infoobject tech name> , you will see different versions, if you have not activated your master data yet.
    Note : If you are checking for SAP standard objects, drop the 0 eg table for 0MATERIAL would be /BI0/PMATERIAL.
    When you activate master data, all D and M versions of records get transferred into A or active versions. So after activation, you should not find anything other than A versions.
    ACR: The use of an ACR is two fold. 1st use is that it performs the same action as a master data activation automatically.
    The 2nd function, is that it realligns the aggregates for the changed attributes
    let me give you an example.
    You have an aggregate based on material group which is an aggregate of material.
    Consider that you have a material X which initial belonged to group A.
    The aggregate would look like this
    Material Material Group Keyfigure
    X                  A                      100
    Now you change the material group of the same material as B
    The aggregate would not change automatically....ie it would still be X A 100
    To realign the aggregate,you use an ACR. After running an ACR, the aggregate would look like
    X B 100
    Hope this helps.
    Regards.

  • Help reqd on Changing the Valid from "date"  for both BOM & Routing

    Hi all...
    Pls advise me how to do the changing of Valid from "date"....
    Is there any process in CC01 or ECM???....
    pls reply me in detail step format (step by step analysis)....
    I wrongly created in CS01 and CA01 as 05.10.2007 as my valid from date instead of 01.10.2007.....
    How to change to my actual one......
    I dont know how to change it exactly.....as im beginner in SAP...pls take this into consideration...and post ur replies imm.
    Pls reply me in detail....will be rewarded at the end while closing this issue.
    thanks & regards
    sankar

    Dear Sankarbabu,
    IF there's no setting for Date Check in OS54 - Engineering Change Management
    Control Data,then you can create a change number with past dates,and also to
    use the same one for changing BOM.
    Tell me one thing you are saying you want to use ECM.Was the earlier one
    created without BOM was created without an ECN?
    See already if you have created your BOM with an ECN,then remove the date
    check setting which I have mentioned in OS54.
    Now goto T code CC02 ,enter the Change number and give the valid from date as
    01.10.2007.
    After that check in CS03 whether this date(01.10.2007)is getting reflected or not.
    I'm sure this will solve your problem.
    Regards
    Mangal

Maybe you are looking for

  • Sync durable process:

    Hello, I have read all available documents, but still have some questions related to difference between different BPEL processes, especially Sync transient and Sync durable .. Does Oracle support Sync durable? If yes how do we develop a Sync durable

  • Downloaded trial ok but can't open?

    Hi, I sucessfully downloaded ps cs6 trial version to my external hard drive but now can't find how to start program? There are plenty of folders and subfolders...listed under photoshop CS6 folder but I can't seem to find the .exe file to start up? Ha

  • Samsung 840 Evo incredibly slow in MacBook Pro 2011

    I just got a brand new 250GB Samsung 840 Evo SSD and put it in my MacBook Pro. The drive is incredibly slow. OS X install took hours, and it takes over a minute to boot up. Even small tasks like clicking a button take several seconds to process. I ha

  • No Vision on Airplay from ipad2

    Airplay and iPad2 will stream sound but not vision to Apple TV 3, iPhone4 works fine but not ipad and all software is up to date WT?

  • Strange behaviour on X (XkbLayout related?) [SOLVED]

    Alright, so... Both problems emerged after the updates from the last few days. Problem 1. When I start X, my keyboard layout is probably "us" for a while instead of "fi", which it should be (right from the beginning!) according to my xorg.conf. I'll