Passing Messages after Submit in Input Schedules

All,
I have a scenario where I would like to send messages to the user after they submit data from Input Schedule. This is very similiar to how we receive error messages when we submit entries to a parent node. My scenario is this: When users submit data, I always write data to a particular version and run thru from BADI logic for validations. If it passes the validation, I move the data to a final version or else, I would like to display the messages due to which the data is not posted to final version. Currently, I have a BADI written in default logic. Whenever I write messages to ET_MESSAGES, it appends it to the log and I do not see it on the screen. I tried raise exception using CX_UJR_EXCEPTION, but the text id is 32 characters so it displays only the first error message. In my case, if I reject 10 entries, I would like to provide info on all these 10 entries.
Ideally, I would like to write entries similiar to ET_ERROR_RECORDS (table) in UJR_WRITE_BACK but I do not see a similiar logic for UJ_CUSTOM_LOGIC. Has anyone done this before? Any input is appreciated.
Thanks in advance.

This is because excel still stores the values internally in the original format. It just formats the data for the display. So you need to enter the data value correctly in the cells.
The other alternate would be to have the numbers sent from another evdre where number are multiplied by 1000 from the input cells.
Hope this helps.
Badrish

Similar Messages

  • Prompt "Thank you" message after submit

    Hi folks,
    I would like to prompt the user with the "Thank you for submitting your information to us" message after the form has been submitted appropriately to the server.
    1. I don't have PostSubmit event, how can I do it without
    2. I also want to make sure that the form processing in the server-side was OK, how can I send back to the form some flag that say it that the server did it's job good or not.
    Actually I want to do it as a transaction.
    Any idea?
    Thank you,
    Yair Nevet

    You can return a reply from the server after it recieves the submission (no different than a web page). Typically you will send it back as soon as the data is recieved on the server, that way the user can move on if there are any problems with processing. You can wait until after the transaction runs but if there are any issues with the transaction (think hanging or system not  responding) then the user gets no feedback at all. Most people will send back a message indicating that the server recieved the transmission and will use a different means of communication for exception handling (think email).
    Just my 2 cents worth.
    Paul

  • How to change action message after submit

    Please advise.
    I'm new to APEX and Oracle for that matter. I've got a form that is being displayed with no data after pressing a <CREATE> button from interactive report(Page 1).
    I fill in the data and when I press <Save Changes> button from Page 2, internally the data is processed on insert and a trigger assigns a new Serial Number. When the screen branches back to same page, all data keyed goes away and is ready for my next add. However, what I would like is to be able to show the new serial number in the action message which defaults to "Action Processed". I'd like to be able to post the serial number followed by "added successfully".
    The item on the screen is P2_SERIALNUMBER and the database column is SERIALNUMBER. The serial number is created by a trigger, therefore the P2_SERIALNUMBER is just a disabled text fiield saving state.
    in the submit process, I tried setting an alert script where the current default message("Action processed") is, referencing the P2_SERIALNUMBER item but I don't think the new serial number generated from the trigger is populating the item.

    Thanks for the expeditious reply Matt.
    Apparently, did not work. I have a dozen or so fields for update on this page(2). There is an autonumber PK called PROBLEMID(hidden on form as item P2_PROBLEMID). The field I want displayed in the action message is P2_SERIALNUMBER. I tried returning the value to a secondary key on the ARP screen and tried using the message you gave me, but upon pressing <Submit Changes> button it just echoed back the message you gave me literally with no data substitution for the argument &P2_SERIALNUMBER. I also tried an alert statement in the message field using <script>alert(html_getElement('P2_SERIALNUMBER').value + " added successfully")</script>. What I got back after pressing the <Submit Changes> button is an alert message that said "false added successfully". So I don't know if the code is wrong or that nothing is getting sent back to item P2_SERIALNUMBER(defined as text field with state) and therefore returned it "false". Any more ideas would be gladly appreciated.

  • Message after submit report

    Hello all,
    I have a program that submits a report. This report sends the output to the spool. When the process executes the submit command I get the following message:
    Spool request (number &) created without immediate output.
    I need the spool request number for further processing. Does anybody know how to get the message and the spool request number at runtime? Kind of like the messages we get with a call transaction into the message table. By the way, the message is NOT available in the system structure SY(SYST).

    Here is what I've done in the past. 
    1) in the submitted program,  export the sy-spono to a memory id.  This should be the very last statement of the program.
    2) in the calling program,  after the SUBMIT statment, import the spool number into memory id.
    3) do what ever you need to do with the sy-spono.
    Regards,
    Rich Heilman

  • Capture message after SUBMIT report

    I have called submit report like below in  RFC function module .
    submit rfitemap
                  with kd_lifnr in r_it_lifnr
                  with x_apar   eq abap_true
                  with x_merk   eq abap_true
                  with x_norm   eq abap_true
                  with x_opsel  eq abap_true
                  with x_park   eq abap_true
                  with x_shbv   eq abap_true
                  exporting list to memory and return.
    how to capture  or skip  error or information populated by submit program ?
    As the function module is a RFC function module, the FM is called from some SMDL program  .  Once the program executes  submit statement
    is giving system failure exception and giving message like 'No connection with development system'.
    Instead of giving messages populated in return table ,the SMDL program returns "NO connection"  message.
    How to display the message from return table ?

    Hello Kachana,
    You can try like mentioned in the below thread with JOB OPEN, submit your program, JOB CLOSE and read the job log to get the messages raised during the submit program.
    How do I capture error/information messages and Output of a report using SUMBIT statement, when called in a function mod…
    Regards,
    TP

  • Getting the messages after SUBMIT report

    Hi,
    I have a requirement, wherein I'll SUBMIT a report(Report A) through a background job. I also have a custom table, which will have the job information (JOBNAME, JOBCOUNT).
    Now, I want to have a separate control report(Report B) which will read the custom table for the job information and will output the results of the report A submitted through the job. How can this be achieved?
    Also Is there any way, through which I can get the messages raised by the report A using the job information in report B?
    Thanks in advance.
    Sujit.

    Hi,
    I have a requirement, wherein I'll SUBMIT a report(Report A) through a background job. I also have a custom table, which will have the job information (JOBNAME, JOBCOUNT).
    Now, I want to have a separate control report(Report B) which will read the custom table for the job information and will output the results of the report A submitted through the job. How can this be achieved?
    Also Is there any way, through which I can get the messages raised by the report A using the job information in report B?
    Thanks in advance.
    Sujit.

  • Activate the EVDRE Builder after developing a Input Schedule

    Hello Everyone,
    Heading 2: I had a quick question about EVDRE.
    Say U open a Builder using the EVDRE and select an Account in the Row and the Time in the column expansion.
    After going thru some modification and formatting you realise that you need to also add the sort range and the Number of expansions for the Row and the column has to be increased to 3X 2 from 1X1.
    Is there a way to open the builder again on the same sheet that we are developing rather than manually adding the expansions using the traditional copy paste method.
    Thank you and Best Regards,
    Shankar Ayapilla

    Hi,
    As per my understanding you wanted the ROW and COL., expansions to be added in the template without going
    outside, I mean going to EVDRE builder is it correct?  If so you can copy the Exapansion 2 and paste adjusent to it,
    but make Expansion 3 and change the Dimension as per your requirement similarly for Expansion 4 and set the
    memberset as per your requirement and click Expand All and Refresh it.  Then it will work.
    I hope this may help you.
    Raghu B.S.

  • Never ending "unknown time remaining"  message after submit

    Has anyone reached a satisfactory resolution on this issue w/ compressor. What do apple's techs have to say about it? It's not like apple to force their users to deal with major bugs and not chime in on the situation. This is more like the sort of garbage that I always here windows users complaining about.

    Ok, no resolution from within Compressor exists as far as I can see. Here is what I suggest you do...
    Compressor is the biggest pain in the but on the Suite, I don't see it as a conflict that can be solved with FCP Suite, it exists between OS and Program, so having said that I will say this, every time I have an issue with compressor (Which is quite often). I throw my hands up, grab my OS disk, do an Archive and Install. This resets the OS AND FCP Suite. Of course you have to every freaking update again. But it resets everything from the ground up and badaboom, new install of FCP Suite like new. You will have to put your user license back on too. You will have to tell your OS disk to custom install, meaning, you only need essential programs installed not language, etc. etc. The whole process will take about and hour and half, depending on your net speed to update...
    But sometimes "I got no fight as long as any man does what he's told...."

  • Endless "Waiting" message after Submit

    I've been having no luck getting Compressor to compress anything today. I left it processing a job overnight, and could not get it to come out of Sleep this morning, so had to restart. Ever since, no matter what quicktime movie I import, and no matter what compression settings I apply to it, it just hangs, with no "time remaining" readout. It just says "Waiting."
    I tried trashing Compressor (and the plist files) and reinstalling, and it has made no difference. I'm on Compressor 3.5.2.
    Thanks for any advice.

    Thanks for that advice. I discovered a different solution last night... Compressor - Reset Background Processing. For some reason, the job that I had left it doing overnight got corrupted, and Compressor was constantly trying to redo it, even though I had cancelled it and cleared the History. I thought clearing the History was the same as clearing the job queue, but apparently not.

  • Auto submit input text doesnt show message after enter

    I have a page in jdeveloper 11 an input text with the attribute autosubmmit=true...
    When I write error entrance in the inputtext and press enter, the message is shown and the alert is given. but if I press enter again, the alert message disappears.
    What can I do For this message not to disappear?
    islam.

    Thanks for your reply. I don't know why there is another topic from me, but it is already solved
    Input text components become blank after Submit button clicked

  • Custom Measure - Unable to Submit Data Using Input Schedule

    We have an application that requires storage of data on a job-to-date basis.  To accommodate this, the application was changed to a YTD application and 3 custom measures were added:
    JTD (base data)
    YTD_JOBS (offsets current period against last month of prior period)
    PERIODIC_JOBS (offsets current period against prior period)
    Everything is working and the measures resolve to the correct values.  The system also completes logic (advanced and dimension) properly.  Data may also be submitted through an Import process. 
    However, we are unable to submit data using an input schedule.  We consistently get a "no data to refresh" error message.  When the same schedule is used in the older, periodic version of the application, the submission works as expected.
    I suspect the problem is the naming of the custom measures is the root cause.  I have been unable to find documentation (BPC 5.1M) related to custom measures for 5.1.  Any help resolving this issue and/or tracking down custom measures documentation for v5.1 is much appreciated.
    Cheers,
    Jeff

    Joost,
    I believe what you are describing is the root of the issue.  The application is set to YTD as the data input type both in the web admin section and in the database table.  The problem is that JTD is the input member for this application -- we are loading job-to-date values instead of year-to-date.
    It seems that BPC does not understand JTD as a "base level" measure fort the input method.  I have not been able to find a table in the database that defines PERIODIC and YTD.  My hope was to add JTD to the settings. 
    Unless someone else has made something like this work, I suspect that I'll have to use YTD as the ID of the base member and restructure the custom measures.  We did not start this way since the user community thinks in terms of JTD data.

  • Catching message errors after submit

    Is there any way to catch message after submitting report?
    I mean any type of message, i.e. E,S,I and so on. And if it's possible, I need to suppress them. Maybe this can work with help of the system calls?

    HI Vitaly,
    You can try the 'SUBMIT VIA JOB' option and then read the job log and/or spool for any messages. Here is a rough code.
      DATA: l_jobcount LIKE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
                jobname          = 'MYTESTJOB'
           IMPORTING
                jobcount         = l_jobcount
           EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                INTO i_return_messages-message.
        i_return_messages-type = 'E'.
        APPEND i_return_messages.
        CLEAR i_return_messages.
        EXIT.
      ENDIF.
      SUBMIT zbwm_sap_to_dsc_enr_rel_notice
        WITH p_relno = release_nbr
        USER sy-uname VIA JOB 'MYTESTJOB'
      NUMBER l_jobcount AND RETURN.
      CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
                jobcount             = l_jobcount
                jobname              = 'MYTESTJOB'
                strtimmed            = 'X'
           EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                INTO i_return_messages-message.
        i_return_messages-type = 'E'.
        APPEND i_return_messages.
        CLEAR i_return_messages.
      ENDIF.
    After this, you will have to check if the job has completed or not(in a loop). To do that you can call the function module SHOW_JOBSTATE. This will tell the status of the job. Once the job status is 'FINISHED' or 'ABORTED', you can then call another function module BP_JOBLOG_READ to read the job log.
    But again, you will have parse through the text to identify the message type, number, message text etc.

  • Drop Down list in BPC Input Schedule

    Hi all,
    In an input schedule I need to have some values "controlled", and allow to give a value only among a list of specific values. So I came up on the idea to builld it using cell "validation" feature of native Excel, just like I have been able to find in [this thread|Re: Regarding the Function.......] (by the way, great the hint about using name's ranges for being able to define the list in a different sheet than where it is being used).
    So, I need to achieve one more thing. Let's say that the values I must include in the list are not numerical values, but alphanumerical, so I must combine in the schedule the alphanumerical value with the numerical value it represents. I have played around with excel and BPC formulas for quite a while already but cannot get it to work. Anybody has implented it?
    Regards,
    Rafael
    PS: I get to define the drop down list of values in a cell and get it to write the corresponding numerical value in another cell referenced by a EvSND, but this only works in one direction (the cell does not get updated when I change the current view for example).

    Hi Rafael,
    I've done something similar.
    In one cell I've put a drop down list, using Excel's data validation. The members in the list are human-readable text values, so the user can select one of these descriptive values.
    In a second cell, these text values are transcoded into numeric values, thanks to function VLOOLUP. This cell is in the data range of an EvDRE expansion area, so when the user saves data the numeric value gets written to the back-end.
    In a 3rd cell I fetch the numeric value currently saved on the server, via an EvGET.
    In a 4th cell, I transcode that value into the corresponding text value, using another VLOOKUP function.
    Finally, I've used function AFTER_REFRESH to read the content of the 4th cell, and set the value of the drop-down cell to that value. The VBA instruction to do the latter thing is something similar to:
    ActiveCell.FormulaR1C1 = <the value of the 4th cell>
    This way, the drop-down entry selected by default after refreshing data is the value currently stored on the server.
    However I still miss something. I've set the Excel validation only in the 1st cell of the 1st row, and I want that the EvDRE expansion copies the validation to all other cells in all rows resulting from expansion. But this does not happen! Validation is not copied during expasion.
    How's that? Everything else is copied--values, formats, formulas. Why validation is not copied?
    * UPDATE
    I've solved this issue. The solution is described here:
    http://scn.sap.com/thread/3209213
    Rafael Moreno wrote:
    Hi Ethan,
    yes, you are right, with VLOOKUP you get the information I want, but only in ONE direction. By "one direction" I mean that I can get in the cell with the VLOOKUP the text I want by reading a (numerical) value from a different referenced cell. But I would also need to be able of changing value in that same cell (by picking up one of those text values from a drop down list) and having the corresponding numerical value written on the referenced cell. Can you see the difference?
    In few words, I would need a cell to read and write a value (just as the raw EvSND allows), but converting the numerical value into its corresponding text value.
    Regards,
    Rafael
    Message was edited by: Davide Cavallari

  • Bpc input schedule does not show all data

    Hello gurus, i have i question, a bout the following situation:  i am using SAP BPC 7forNW , and i am creating an input schedule , it has account and entity, so i  capture several values and then send data, and then appears  a message , like this "all values were sent ,zero failed."
    But, at the end, only a few of the sent values are shown, several of them disappear with no pattern, and in BI7 all of them appear correctly
    What can i do in order to show all  of the values that were caprtured in that input schedule?
    Best regards

    Hi,
    The easiest thing you can do is that just remove some of the data from excel cell and "Refresh and expand" the Input schedule after you send the data to see whether you get the data correctly.
    Sometime refresh more than once and see you get the data.
    Optimise the application as well.
    Hope it helps
    Raman

  • How to build dynamic input schedule from version

    Hi experts,
    I want to create an input schedule based on my category selection which will allow users to enter data to budget part but changing the actual part is prohibited.
    For example I have category member which is 2010-09-1. This means I am working on 2010 Budget which has 9 periods of actual and 3 periods of forecast and 2011 Budget. In my input schedule I would have 24 months from 01.2010 to 12.2011 and I will copy actual to budget for the first 9 months but I do not want users to change first 9 months actual data from input schedule.
    What solution can you propose for this in BPC NW ?
    Regards,
    ergin

    Hi Ergin,
    From the description you have provided, I guess you will have the TIME dimension in the Column. The CATEGORY would be set to 2010-09-1, lets suppose. In this case, the first 9 columns should be locked for any changes. For this, you need to use the Data Validation technique, which is native to Excel.
    select an empty cell, lets say D1. in this cell, you should fetch the value "2010-09" from the version "2010-09-1". If the version is changed to "2010-10-1", the cell D1 will be automatically updated and will show "2010-10". In the column, in the row just above the Time dimension, write a formula to fetch the year and monthnum property of the Time member. Lets say, the time dimension members are displayed in the cells E4 to AB4 (24 columns for 24 months). In the cell E2, you can write the formula, =EVPRO("application name",E$4,"YEAR")&"-"&EVPRO("application Name",E$4,"MonthNum"). This will return 2010-01 in the cell E2 for the member 2010.JAN. Similarly, for 2010.FEB, the cell should display "2010-02". We will keep the formula in E2 only. After the expansion, the formula also will be expanded for the other cells.
    Select the first data cell of the EVDRE report. Open Data Validation. In the Settings Tab, in the Formula field, write =D1>E$2. Then go to the error alert tab and choose the style as stop and give some title and message. This would typically mean that if value of D1 (in this case 2010-09) is not greater than E2 (in this case 2010-01), then the error message will be displayed, when we try to enter values in these cells. And it will not allow to enter any value.
    Once the EVDRE is expanded, this data validation will be copied into all the other data cells. So, in this way, the enter input schedule can be kept dynamic.
    Hope this helps.

Maybe you are looking for

  • Return Order Creation with Multiple Lines not possible - 7.0 to EHP3

    Hi Experts, We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3. While we select multiple line items from the external reference billing document and Create a return order, th

  • My drag and drop feature is not working

    How do I enable my drag and drop feature when it has stopped working?

  • Update of  Extension Manager 6.0.7.

    I try to install the adobe extension manager for CS6 after I have downloaded it, but appear this message : Update of i Extension Manager 6.0.7. Installation was not successful . Codice errore: U44M1P7. I tried to use Adobe Support Advisor but this pr

  • EA6200 slows down over time and needs reboot

    Anyone with a EA6200 notice it slowing down after about a week of use?  I just replaced my e2000 with a EA6200 and its runs very well for about a week.  After about a week I notice it slows down.  Pages start loading very slow on all of my devices on

  • Where can I change the System properties permanently

    Instead of System.setProperty("name","new-value"); to change the system properties in run-time. How can I change it in a config file? Where is it? Thx.