Implement a normal insert process in an interactive report

Hello,
I want to implement a normal insert process for an interactive report. For which I have created an pl/sql anonymous block with the process. This process will be fired when I click the create button of the New record insert region.
insert into table_name(YR_MO,STATUS,UPDATED_DT,ID) values
(to_char(sysdate,'YYYYMM'),:P1_STATUS,sysdate,:P1_ID);
YR_MO is my primary key column in tha table.
For inserting purposes I have created a separate (New record insert) region, with the items P1_STATUS and P1_ID amd a create button.
Within the interactive report, i have a button Create_New when I click this button the New record insert region should open up and in that region, i have the items P1_STATUS,P1_ID.
My problem is when I click the Create_New button within the interactive report, the records are getting inserted. I dnon't understand what might be the problem, because the insert process should be fired when i click the create button within the New record insert region but it is firing when I click the create_new button.
Can anyone help me out with this issue.
Thanks,
Orton.

Does the insert process fire on a specific request only? And do the two buttons have different request values (names)?

Similar Messages

  • Please, Wait - Processing Icon - for Interactive Report Query

    Is there a way to use the built in animation that displays a "busy or processing" animation when using an Interactive Form with a live dynamic query?
    For example, I built an Interactive Report using a query. However, I would like to display to the end user an animation while they wait for the query to load the updated data.
    I notice when interacting with the Interactive Report, there is an animation that displays when using filters, sorts and searching for data. How can I use this built in animation when querying data to build the report on initial load?
    Any direction on this is appreciated.
    Thanks in advance!
    Jason

    Hello Jason,
    Take a look at this thread to see if it answers your question.
    "Please Wait" message
    Thanks,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • Public / Sharing of Interactive Reports

    The new Interactive Reports are a great feature that will be extremely helpful for both our development team and our users. However, currently when a user saves an interactive report, there's no way to share it with other users or to make it a public report that can be viewed by everyone. This is because the report is saved with the user's name and can only be viewed by that particular user. This really limits the usefulness of the interactive reports. For example, we would like to enable our power users, administrative users, and even regular end users to be able to create and modify reports and share them with others. In addition, our company has several hundred Crystal reports that we would like to replace with interactive reports. However, if our development team creates all of these as interactive reports (using the “Save Report” feature, not as separate pages), there is no way to make them public so that all of our users can then access them. I've read several requests in this forum for this type of enhancement. I've also read that the apex team intends to implement this sharing feature soon. In the meantime, I've figured out a work-around. This work-around saves and retrieves all interactive reports using a generic, fictitious user name. Using the Page Sentry Function under the Authentication Scheme, we switch the APP_USER to a generic, fictitious user only for the interactive report pages, and set APP_USER back to the original, correct user on the other pages. Here's the code I'm using in the Page Sentry function:
    declare
    c owa_cookie.cookie;
    begin
    if :app_page_id in (1,51,52) then
    APEX_CUSTOM_AUTH.SET_USER('REPORT_USER');
    else
    c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    APEX_CUSTOM_AUTH.SET_USER(c.vals(1));
    end if;
    return true;
    end;
    This code will set the APP_USER to "REPORT_USER" on pages 1, 51, and 52. Therefore, when interactive reports are saved or retrieved on these pages, they will use the user named "REPORT_USER" regardless of the user that actually logged into the application. This concept can also be expanded to limit certain reports to certain users (or groups of users) by calling a custom function in the database.
    I tried using the SET_USER code within a page process (PL/SQL anonymous block), and although it changed the APP_USER, it did not affect the interactive report. I assume this is because the interactive report “does its thing” prior to the firing of the processes on a page. However, the Page Sentry function apparently fires earlier in the sequence (before the interactive report processing).
    This will make the interactive reports much more useful for our company and I hope it will be useful to some of you as well.
    Darrin

    Scott-
    Thanks for the feedback. I tried both the Session Verification Function and the VPD attribute and neither one accomplished the goal. The VPD attribute PL/SQL code apparently fires too late in the process, so although it changed the APP_USER, it had no affect on the interactive report. And the Session Verification Function had adverse affects on the authentication. So rather than mess around with the security settings in the application, I came up with a different work-around.
    Here's the new work-around.
    On the interactive report page I created a page process (PL/SQL anonymous block) and set the process point to "On Load - Before Header". For the process I entered the following pl/sql code:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where ID = :REPORTID
    and session_id is null;
    end;
    This code changes the application user in the underlying interactive report table. It sets the user to the current APP_USER only for the report being viewed. Therefore, when the interactive report processing happens, it thinks the report is for the current APP_USER and renders the report just fine. It also saves any changes to the report back to the base report so other users can view the modifications as well.
    I have the tab feature turned off on my interactive reports. Instead I have another page that lists all the interactive reports. When a user clicks one of the reports in the list, I set the REPORTID variable and pull up the corresponding interactive report (that's why I'm using REPORTID in the where clause). For users that are using a tabbed approach, they may have to set the application user for all of the base reports (or figure out another way to determine which individual report tab is being viewed). If they were setting it for all the base reports, it would look like this:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where session_id is null;
    end;
    This solution isn't ideal when lots of users are hitting the same interactive report. It's possible that if two user attempt to load the same interactive report at the same time, the following might happen.
    1. User A triggers process to update underlying table
    2. User B triggers process to update underlying table
    3. User A triggers process to run interactive report (and therefore does not see the report because the report is now set to User B)
    4. User B triggers process to run interactive report (and sees report just fine)
    So the solution isn't ideal, but it's the best I could come up with until the apex team implements real report sharing. I've tested it with a handful of users and it's worked very well so far.
    Darrin

  • Interactive Report with additional search filters

    Hi all,
    I want to implement a functionality where I have an interactive report which comes with default Search / Filter option , but I also want to have additional filters which are drop-downs in this case and based on the values selected from the drop-down lists , report displays the values ! How can I implement this functionality where after selecting a value from the drop-down list and then further using interactive report filter to retrieve the results.
    Below is my SQL
    select * from Atoms_FULL
    WHERE (:P6_ANO IS NULL OR ANO = :P6_ANO )
    OR (:P6_ATYPENAME IS NULL OR ATYPENAME = :P6_ATYPENAME)
    When I implemented this , only the interactive report filters are working but not the customized filters WHICH ARE :P6_ANO AND :P6_ATYPENAME (Drop-down Lists)
    I hope I have made the question clear. Let me know if you need any more clarifications.
    Would really appreciate if anyone can help in this issue asap.
    Thanks,
    Rads

    What version of apex are you on?
    You have to set the session state of page items, this can be achieved by adding your items as comma seperated into the Page Items to Submit attribute, This attribute is available under Interactive Report region source, Dynamic Actions etc.
    Thanks,
    Vikram

  • Set header at runtime on Interactive Report

    I have an interactive report that displays twelve months across the report. The user can then choose a start year and month for the first column of the report. So, at runtime, I would like to populate the header with the appropriate year/month.
    On a regular report region, you can set the header using a Function returning colon delimited headings. I do not see this functionality on the interactive report. Am I overlooking something or is there another method where I can set the headers for these columns at runtime?
    Thanks,

    Andy,
    Thanks for the info. Unfortunately, I am having trouble implementing. When I place &P1_MONTH1. in my header, my header displays &P1_MONTH1. Hopefully, I am just implementing incorrectly. I am opening the Interactive Report and just entering &P1_MONTH1. in the Heading column for the appropriate column. Is this correct?
    NOTE: I placed the &P1_MONTH1. on a SQL Report and it worked. However, when trying to use on an Interactive Report it does not.
    Thanks,
    Edited by: Brian H on Feb 18, 2009 9:40 AM

  • How to implement the javascript and the  insert process ?

    Hi,
    In my application I have created one region with one text box and one button.
    On click of the button , first a javascript should run to validate the textbox value , if there is an error it should alert the user ,otherwise the insert process (I have written a PL/SQL block under processes in page processing) should get executed.
    when i tried to implement this only javascript is getting executed but the insert process is not executed...
    so how I should implement the above case?
    here i invoke the javascript in the URL Target as
    javascript:myfunction();

    hey hiiii,
    i have also tha same problem as mentioned by ANOO.
    and the button on which i m applying the javascript is "Create"
    i have written doSubmit('Create'); in my javascript code ,
    but after doing this the process named "Create" which is conditioned by this button is not being called...
    so what can i do now...

  • Process message not showing in Interactive Report

    I created a process (on subit after validations) in a interactive report that is run from a button in my region. The process inserts records into the database. The process runs fine and inserts the data, but I do not get any message when its done. I have a message set in the process 'Process Success Message' section. Am i missing something?

    Bob,
    Is the message in the success region static text or are you trying to display something like "55 rows updated"?
    I implemented a dynamic message for a custom process and had to define my own page item to hold the text value (e.g. P2_INSERT_SUCCESS). Then my PL/SQL anonymous block process computed a value for the item:
    :P2_INSERT_SUCCESS := insert_cnt || ' rows added.';Then I referenced it in the Success Message as:
    #P2_INSERT_SUCCESS#Hope this helps,
    Stew

  • Link column from an interactive report to insert a row in a tabular form

    Hi, I need your help, i'm new on APEX and i really need to make a "link column" from an "interactive report" to insert a row into a "tabular form".
    I mean that when you click the "link column" instantly create a new row in the Tabular form with the information of the linked row on the interactive report. Its something like that.
    I really appreciate your help.
    Ricardo Capuz

    Hi Ricardo,
    You can use the following code as per your requirement (this is just an example),
    (In this case IR report is in Page#1 and Tabular form is in Page#2),
    On Page#1, Create a hidden item (i.e 'P1_ID')
    IR Report query as like the below,
    select empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno,
    empno "copy"
    from empUse the below JS code in Page HTML Header section,
    function f_insert_row(pSub)
        $s('P1_ID',pSub);
        doSubmit('ADD');
    Edit  Report Attribute -> copy column -> Under Column Link
    Link Text: Select your column name (i.e. #EMPNO#)
    Target: URL
    URL: javascript:f_insert_row(#EMPNO#);
    Then create a process to insert like below,
    BEGIN
    insert into emp_test (select * from emp where empno=:P1_ID);
    END;Process condition as * Request=Expression1* in Expression1 as 'ADD'.
    At last, create a branch to Page#2, Check 'include process success message' and with the same condition as * Request=Expression1* in Expression1 as 'ADD'.
    Thanks,
    Lakshmi

  • Mixing of interactive report and classic report fails the RESET PAGINATION process.

    I have a tab page where i got 3 different reports REPORT_A (classic), REPORT_B(interactive)  and REPORT_C (CLASSIC) in the same alphabetic order. I have a reset pagination page process which will always fire (without any condition) when you visit the page via tab.
    The reset pagination process which exists in the before header stage is firing but not resetting the interactive report. It does affect the subsequent classic report REPORT_C as well. The REPORT_A would reset pagination fine since it exists before the interactive report. Is this a know bug in apex?
    I created a test demo application with exact steps to reproduce the problem. The steps are in the demo website itself.
    http://apex.oracle.com/pls/apex/f?p=56638
    U: testuser
    P: password
    Apex Version: 4.2.4.00.08
    In my real application i would have a dropdownlist in the page based on which I would filter the data. The dropdownlist will have a corresponding after-submit branch which will handle the reset pagination & RIR absolutely fine. But when we visit the website through tab the above problem would crash the page.
    I tried solutions like gReport.search('SEARCH') but that will fix only the interactive report, not the classic REPORT_C. That is just a hack anyway.
    Any ideas.?

    Ramani_vadakadu wrote:
    in classic report pagination need to be make it up max rows in APEX_SCHEMA(APEX_040200) itself. i was fixed this issue long back myself,but right now i don't remember which table! so please check the schema and track it.
    This makes very little sense to me. Please explain this in detail. Are you advocating making changes to APEX metadata by executing DML on tables in the APEX_040200 schema? Doing so will leave your APEX instance in an unsupported an possibly inoperable state.

  • Button on Interactive Report to fire a process using JavaScript

    I have a requirement to trigger a process from a button on an interactive report. One of the report columns has the triggering data allowed to make the process fire. The requirement is that the button says different things based on the value from another column in report.
    My button is an html button that when the process is allowed to run, is enabled and fires a javascript function. When the process is not allowed to run for the row where the button is placed, the button changes text, color and is disabled.
    The switching of the HTML button is working properly. The problem is that I am not able to grab the column value from the report to submit with the onclick() event.
    As best I can tell, there is not unique id tag on the report columns and the best that I am able to do is to apply one class to the button and another class to the column that contains the value that needs to be submitted on my onclick() event.
    I have considered using a link column that does a submit to a URL passing in the desired value but I would lose control of the appearance of my button.
    Does anyone have a suggestion?
    Thanks

    In debugging while clicking on back button for first time, I found that after 'Leave to screen 0' statement debugger goes to double click event of screen 100 and start processing from a statment written immediately after 'Call screen 200' statement.
    Yes, that's right. The processing will be continued from next stamtement after CALL SCREEN 200. But after the PAI will finish it shoud go to NEXT SCREEN which is 0.
    If that doens't work you can try leaving the screen 100 explicitly as well.
       CALL SCREEN 200. 
       LEAVE TO SCREEN 0.  "the processing will terminate screen 100 as well
    Try it out.
    Regards
    Marcin

  • To create a normal interactive report

    Hai All!
       i want to create a normal interactive report, in the basic list CARRID should be displayed with checkbox. the detail list should be displayed after selecting the checkboxes & clicking the pushbotton in application toolbar.
    plz help me to findout the solution.

    Hi smitha,
    Report z_sfpfli.
    *Data Declarations ...................................................
      Field String fs_spfli                                              *
    DATA:
      BEGIN OF fs_spfli,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       airpfrom LIKE spfli-airpfrom,       " Departure airport
       airpto   LIKE spfli-airpto,         " Destination airport
       deptime  LIKE spfli-deptime,        " Departure time
       arrtime LIKE  spfli-arrtime,        " Arrival time
      END OF fs_spfli.
    *Data Declarations ...................................................
      Field String fs_sflight                                           *
    DATA:
      BEGIN OF fs_sflight,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       date LIKE sflight-fldate,           " Flight date
       seatsmax LIKE sflight-seatsmax,     " Maximum capacity in economy
                                           " class
       seatsocc LIKE sflight-seatsocc,     " Occupied seats in economy
                                           " class
      END OF fs_sflight.
       Internal Table To Hold spfli Table Details                       *
    DATA:
      t_spfli LIKE
       STANDARD TABLE
         OF fs_spfli.
       Internal Table To Hold sflight Table Details                     *
    DATA:
      t_sflight LIKE
       STANDARD TABLE
         OF fs_sflight.
    DATA:
      w_checkbox TYPE c,
      w_lines    TYPE i,
      w_currentline TYPE i,
      w_last_line TYPE i.
    TOP-OF-PAGE.
      PERFORM top_flight_data.
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM top_sflight_data.
                          AT SELECTION-SCREEN EVENT                     *
    START-OF-SELECTION.
      PERFORM get_flight_data.
    *&      Form  TOP_FLIGHT_DATA
    This subroutine DISPLAY to_flight_data                             *
    There are no interface parameters to be passed to this subroutine.
    FORM top_flight_data .
      SKIP 2.
      FORMAT COLOR 5 ON.
      WRITE:
        /5(15) 'Airline Code'(010),
         (15) 'Flight Connection Number'(011),
         (10) 'Departure airport'(012),
         (10) 'Destination airport'(013),
         (10) 'Departure time'(014),
         (15) 'Arrival time'(015).
      FORMAT COLOR OFF.
      SKIP 2.
    ENDFORM.                    " TOP_FLIGHT_DATA
                          END-OF-SELECTION EVENT                        *
    END-OF-SELECTION.
      SET PF-STATUS 'MENU'.
      PERFORM display_flight_data.
    AT LINE-SELECTION.
      IF sy-lsind EQ 1.
        PERFORM get_sflight_data.
        PERFORM display_sflight_data.
      ENDIF.                               " IF SY-LSIND..
    AT USER-COMMAND.
      SET PF-STATUS space.
      CASE sy-ucomm.
        WHEN 'SELECTALL'.
          w_checkbox = 'X'.
          PERFORM modify_checkbox.
        WHEN 'DSELECTALL'.
          w_checkbox = ' '.
          PERFORM modify_checkbox.
        WHEN 'DISPLAY'.
          PERFORM get_sflight_data1 .
      ENDCASE.                             " CASE SY-UCOMM
    *&      Form  GET_FLIGHT_DATA
    This subroutine  retrieves necessary data from SPFLI                *
    There are no interface parameters to be passed to this subroutine.
    FORM get_flight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             airpfrom                      " Departure airport
             airpto                        " Destination airport
             deptime                       " Departure time
             arrtime                       " Arrival time
       FROM spfli
       INTO TABLE t_spfli.
    ENDFORM.                               " GET_FLIGHT_DATA
    *&      Form  DISPLAY_FLIGHT_DATA
    This subroutine DISPLAY necessary data from SPFLI                  *
    There are no interface parameters to be passed to this subroutine.
    FORM display_flight_data .
      LOOP AT t_spfli INTO fs_spfli.
        WRITE:
          /02 w_checkbox AS CHECKBOX,
            fs_spfli-carrid   UNDER text-010,
            fs_spfli-connid   UNDER text-011,
            fs_spfli-airpfrom UNDER text-012,
            fs_spfli-airpto   UNDER text-013,
            fs_spfli-deptime  UNDER text-014,
            fs_spfli-arrtime  UNDER text-015.
        HIDE:
            fs_spfli-carrid,
            fs_spfli-connid.
      ENDLOOP.                             " LOOP AT T_SPFLI INTO...
      w_last_line = sy-linno.
    ENDFORM.                               " DISPLAY_FLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA
    This subroutine  retrieves necessary data from SFLIGHT             *
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             fldate                        " Flight date
             seatsmax                      " Maximum capacity in economy
                                           " class
             seatsocc                      " Occupied seats in economy
                                           " class
      FROM sflight
      INTO TABLE t_sflight
      WHERE carrid EQ fs_spfli-carrid
      AND   connid EQ fs_spfli-connid.
    ENDFORM.                               " GET_SFLIGHT_DATA
    *&      Form  top_sflight_data
    This subroutine to Display to_sflight_data                         *
    There are no interface parameters to be passed to this subroutine.
    form top_sflight_data .
    SKIP 2.
      FORMAT COLOR 3 ON.
      WRITE:
        /1(15)  'Airline Code'(010)   LEFT-JUSTIFIED,
         15(15) 'Flight Connection Number'(011)   LEFT-JUSTIFIED,
         25(15) 'Flight date'(016)    LEFT-JUSTIFIED,
         38(17) 'Maximum capacity'(017) LEFT-JUSTIFIED,
         48(15) 'Occupied seats'(018) LEFT-JUSTIFIED.
      SKIP 2.
      FORMAT COLOR OFF.
    endform.                    " top_sflight_data
    *&      Form  DISPLAY_SFLIGHT_DATA
    This subroutine DISPLAY  necessary data from SFLIGHT                *
    There are no interface parameters to be passed to this subroutine.
    FORM display_sflight_data .
      LOOP AT t_sflight INTO fs_sflight.
        WRITE:
          / fs_sflight-carrid UNDER TEXT-010,
            fs_sflight-connid UNDER TEXT-011,
            fs_sflight-date UNDER TEXT-016,
            fs_sflight-seatsmax UNDER TEXT-017,
            fs_sflight-seatsocc UNDER TEXT-018.
      ENDLOOP.                             " LOOP AT T_SFLIGHT INTO...
    ENDFORM.                               " DISPLAY_SFLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA1
    This subroutine  retrieves necessary data from SFLIGHT
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data1 .
      DATA
         lw_checkbox TYPE c.
      DESCRIBE TABLE t_spfli LINES w_lines.
      DO w_last_line TIMES.
        w_currentline = 2 + sy-index.
        CLEAR:
          w_checkbox,
          t_spfli.
        READ LINE w_currentline FIELD VALUE
           w_checkbox   INTO lw_checkbox.
        IF sy-subrc EQ 0.
          IF lw_checkbox EQ 'X'.
            PERFORM get_sflight_data .
            PERFORM display_sflight_data .
          ENDIF.                           " IF LW_CHECKBOX..
        ENDIF.                             " IF SY-SUBRC..
      ENDDO.                               " DO W_LAST_LINE
    ENDFORM.                               " GET_SFLIGHT_DATA1
    *&      Form  MODIFY_CHECKBOX
    This subroutine  MODIFIES accordingly
    There are no interface parameters to be passed to this subroutine.
    FORM modify_checkbox .
      CLEAR w_currentline.
      WHILE w_currentline  LE w_last_line.
        READ LINE w_currentline.
        MODIFY LINE w_currentline FIELD VALUE w_checkbox FROM w_checkbox.
        ADD 1 TO w_currentline.
      ENDWHILE.                            " WHILE w_line LE w_last_line.
    ENDFORM.                               " MODIFY_CHECKBOX
    Regards,
    Sravanthi

  • Implementing Interactive Reports Sorts in Report Query

    My users love how the Interactive Reports work, especially being able to choose their sort fields. I have an Report Query that can use multiple sorts and many sort fields (chose from APEX page). Is it possible to implement this type of thing in the Report Query (without using decodes or dynamic SQL).
    I looked at the code being executed by Interactive Reports and can see the order by changing
    select
    null as apxws_row_pk,
    "CODE",
    "CITY_NAME",
    "STATE_CODE",
    "PK_ID",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    select "PK_ID",
    "CODE",
    "CITY_NAME",
    "STATE_CODE"
    from "#OWNER#"."ZIP"
    ) r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by "CODE"

    Ben, Not sure I follow.
    I'm passing in the column names of the order by's from my APEX page to the DB function. Right now I'm doing a huge case statement for each one.
    FUNCTION get_student_demographic (l_user in varchar2,
    l_owner in varchar2,
    l_report_order1 in varchar2,
    l_report_order2 in varchar2,
    l_report_order3 in varchar2,
    l_report_order4 in varchar2,
    SELECT (CASE l_report_order1
    WHEN '%null%' THEN ''
    WHEN 'LAST_NAME' THEN A.LAST_NAME
    WHEN 'FIRST_NAME' THEN A.FIRST_NAME
    ..... many more
    ELSE ''
    END ) report_order1,

  • Error when process an Interactive Reporting Query  - EPM 11

    Hi everyone...
    We are on EPM 11.1.2 working with Interactive Reporting
    I already submitted a SR with Oracle, with this problem that I describe on the next lines:
    If I open a document and then try to process the Query (Essbase/Oracle datasource). It throws the next error message…
    *[2018]: "Failed to acquire Data Access Service with data sources that match the specified OCE";*
    If try Again (like 1, 2, or 3 times) without close the document … then the query process responds without problem.
    If I try to process the query again (without close the document)… eventually it throws me the same error.
    Why sometimes makes the connection with the values configured and sometimes throws the error ?
    Any clue, about the origin of this problem... or some tests to discard some kind of configuration
    Note:
    - The connections are already configure in DAS, and in some time it works well
    - We have 2 DAS Services running on my environment (with the same values ) created at the beginning to work as a cluster.
    Regards
    Alberto Martínez

    Yes I did.
    I have written the code as given below. It is not working either. Can you please check my code.
    DATA:
          FM_NAME TYPE RS38L_FNAM,
          FP_DOCPARAMS      TYPE SFPDOCPARAMS,
          FP_OUTPUTPARAMS   TYPE SFPOUTPUTPARAMS.
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = fp_outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    EXPORTING
    i_name = 'ZHR_APPT'
    IMPORTING
    e_funcname = fm_name.
    Set form language and country (->form locale)
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'US'.
    fp_docparams-fillable = 'X'.
    call the generated function module
    CALL FUNCTION FM_NAME
        EXPORTING
          /1BCDWB/DOCPARAMS        = FP_DOCPARAMS
          T_HR                     = wa_emphr1
       IMPORTING
        /1BCDWB/FORMOUTPUT       =
        EXCEPTIONS
          USAGE_ERROR           = 1
          SYSTEM_ERROR          = 2
          INTERNAL_ERROR           = 3.
    Thx,
    John

  • What are the disadvantages of implementing APO- Demand Planning without improvements or cleaning up the MRP. in other words is DP implementation dependant on MRP process. Gurus please advise

    HI All. What are the disadvantages of implementing APO- Demand Planning without improvements or cleaning up the MRP. in other words is DP implementation dependant on MRP process. Gurus please advise

    Hi Amol,
    DP is the demand planning machine, here you estimate your forecast (future sales).
    The MRP is a supply planning machine, here you use estimate the replenishment.
    Both machines in a technical perspective are independent one each other. Now in a business perspective they are not: The problem that you will have if you don´t clean your MRP elements is not a problem in DP itself. I mean, you can have a very success implementation in DP, your forecast accuracy will be very good.. and you will get a very good forecast, but when the MRP run and estimate the replenishment, the effort that you made in DP will not be translated in good results and your planning situation will be still not good.
    Kind Regards,
    Mariano

  • Does anyone know how to insert an Articulate Engage interaction into a Captivate 2 project?

    I would like to insert an Articulate Engage interaction into
    a Captivate 2 project. And,er, that's it really. Does anyone know
    how to do it? When I try to insert the Articulate project as an
    animation, it functions fine in the preview screen, but once it's
    been inserted all I get is the loading screen.

    Hi again darren.winter
    If I were in your shoes, here is what I'd try. Place the
    content from Articulate in a specific folder. Then publish your
    Captivate to the same folder to ensure all files are there
    together. Then test. Obviously, this may work or it may fail. And
    just as obviously, if it works, you're done!
    If it fails, I think I'd try publishing my Captivate using
    different settings. Try publishing for different Flash versions.
    You might find that if you target Flash 6 it fails, but 7 or 8 may
    work.
    If the Flash version bit fails, are there some settings in
    Articulate that allow you to reduce the number of files that are
    required? For example, I know that when Captivate 2 came out, many
    folks had to scramble (and some still do) over the fact that it
    produced multiple output files. Some LMS' didn't like the fact
    there were typically two .SWF files to distribute. We then learned
    we could eliminate one of the .SWF files by turning off the
    borders. So I'm wondering if perhaps Articulate may have similar
    output options you could use.
    Hopefully something here helps... Rick

Maybe you are looking for