Information message in the workflow

Hi Experts,
We are using an Information message ...message of type I inside a method in the leave request workflow.
message i001(ztest1) with lv_pernr where ztest1 is teh message class.
We are using this after a User Decision step....when the user clicks on the successful button, a messaage should just pop up telling him to run the RPTARQPOST program.
When we executed and tested the same, it is not working.
I just wanted to know whether we can put an Information Message inside the method and can this be used in the workflow.
Is there something that we have missed out.
Awaiting your response,
Cheers,
Belinda Clarke

Hi,,
If you test your code directly in SE24 does it work? If not, then it will not work in workflow either. If yes, then you probably need to set the advance with dialog checkbox in your user decision step (in SWDD).
In general I would stay that your solution is not the most elegant one. I would consider any another solution than putting an information message into a (separate?) step in workflow? Can you just instruct the users to execute the report? Can you write the message to the user decision directly. Can you launch the report directly in the step (instead of asking the user to run it). There are multiple better ways to do this, if you just told what you want to achieve or what the users need to do.
Regards,
Karri

Similar Messages

  • How to display the information message in the end in BDC

    Dear All,
    I have been submitting a BDC for FB01, in a dialog program of mine.
    The BDC gets executed successfully but it does not display the 'Documnet No....generated' information message in the end.
    I have even written the following code in the BDC, after call transaction, to accomplish this, by assigning the value of genno (variable) to sy-msgv1, but it's not working.
    call transaction 'FB01' using bdcdata1 mode 'E'.
      message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      genno = sy-msgv1.

    Hi,
    try this its easy .
    create an internal table e_report for sucess with the fields you want to display .like the same for F_tab for failure .
    so finally u will be having the success record in e_report and the failure in f_itab.
    call transaction 'FB09' using bdcdata MODE 'N' MESSAGES INTO IT_ERROR.
    IF sy-subrc eq 0.
      E_report-status = 'Sucessfully Updated'.
      e_report-belnr = itab-belnr.
      e_report-year = fiscalyear.
      APPEND E_report.
    else .
       F_tab = itab.
       F_tab-year = fiscalyear.
       F_tab-status = 'FAILED'.
       APPEND F_tab.
    finally print this
    sort e_report by  belnr ascending.
    LOOP AT E_report.
        at FIRST .
           WRITE:/'**********SUCCESSFUL RECORDS ARE **********'.
           FORMAT COLOR 6.
           WRITE:/ 'Document Numer',20 'Year',35'Status',54 ''.
        ENDAT.
        FORMAT COLOR 3.
        write:/ E_report-belnr,20 E_report-year ,35 E_report-status.
        FORMAT COLOR OFF.
       at LAST.
         write:/ 'Total No.Of Successful Records:',sy-tabix.
         FORMAT COLOR OFF.
       ENDAT.
       RESERVE 20 LINES.
    ENDLOOP.
      IF F_tab is initial.
           FORMAT COLOR 1.
           WRITE:/ ' NO Errored Files'.
           FORMAT COLOR OFF.
      ENDIF.
    WRITE:/ SY-ULINE.
    new-PAGE.   " to display in a  new page
    sort f_tab by  belnr ascending.
    LOOP AT F_tab.
        at FIRST .
           WRITE:/'**********FAILED RECORDS ARE **********'.
           FORMAT COLOR 6.
           WRITE:/ 'Document Numer',20 'Year',35'Status',54 ''.
        ENDAT.
           FORMAT COLOR 5.
           WRITE:/ f_tab-belnr ,20 F_tab-year, 35 F_tab-status.
        at LAST.
         write:/ 'Total No.Of Failed Records:',sy-tabix.
        ENDAT.
    ENDLOOP.
    ENDIF.
    if they want to display in the excel sheet pass the internal table to the F.M.
    plz motivate me.
      by rewards.
    thanks
    vinoth

  • Information message when the job gets completed

    Hi,
      In foreground if i click a button a background job is scheduled.Now my need is when the job gets completed i need to inform the user that the job got completed.How to get that information message once it gets completed.Plz help

    check sy-subrc value after completion of the job.....
    if sy-subrc = 0.
        message i398(00) with 'You have succeeded'.
    endif.

  • How do I display an informative message to the user on Oracle Forms?

    I have been asked to create a database trigger to fire when a user tries to update a column with existing data in it. If the column however has no data in it then the user can update the column with a value.
    I tried using the RAISE_APPLICATION_ERROR technique but somehow no message shows up on the frond end of the form when a user tries to update a column with existing data in it. The rest of the trigger works fine. It does not allow a user to update a column with existing values in it, yet it allows user to update column with no values in it.
    My problem is displaying a message that reads like this :''Column value must must be 100 "
    Here is parts of my code.
    CREATE OR REPLACE TRIGGER trigger_name
    IF :NEW.ATTRIBUTE2 IS NOT NULL AND :NEW.ATTRIBUTE2 <> NVL(:OLD.ATTRIBUTE2, :NEW.ATTRIBUTE2) THEN
    RAISE_APPLICATION_ERROR(-20002, 'Column value must must be : ' || :OLD.ATTRIBUTE2);
    END IF;
    Now i have tried this the syntax below. It does bring up a message on the front end of the form but it is not the message i have in mind.
    IF :NEW.ATTRIBUTE2 IS NOT NULL AND :NEW.ATTRIBUTE2 <> NVL(:OLD.ATTRIBUTE2, :NEW.ATTRIBUTE2) THEN
    FND_MESSAGE.set_name('FND', 'Column value must
    be '|| :OLD.ATTRIBUTE2);
    FND_MESSAGE.set_token('MSG', 'r21_AP_INVOICES_TRIGGER()
    exception: ' || SQLERRM);
    FND_MESSAGE.RAISE_ERROR;
    END IF;
    Does anyone has any idea?
    thx

    Unfortunately I do not have access to the Form properties. I was only asked to write a trigger to prevent a user from updating a field with data in it, and displaying a message saying that the user cannot update such a column when the user tries to update such a column.
    I know that changing the form properties might be an easier option, but unfortunately i have to everything with the help of a trigger
    Message was edited by:
    user644929

  • Error Message in the workflow to get MultiCamera sequence..\..\Src\Sequence\LinkContainer.cpp-245

    im new here, Need help...!!

    Hi Mark
    I see the Problem not in the diffrent frame rates, i see the problem in this case in the files, i have 4 Cam Clips, 3 Clips have the same durations, one came from a sony XDCAM with 2 Memcard Slots, and i get from this camera 2 files a 60 min. total 120 min both...same duration like the other 3 clips.
    if i take onli one of this both clips a 60 min. i have no problem to make a mc clip, if i take both 60 min clip the pp get off with the error message pp-245
    if i make a mistake....pls help me to get the full 120 min. mc clip to edit, thanks
    konrad
    from switzerland

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Information Messages while creation of the sales order thru EDI 850

    Hello All,
    I am trying to create a Sales Order using EDI 850. When i am doing the same i am getting the information messages and the Sales Order is not created and the IDOC is in 51 status. I am using the ORDERS05 Idoc Type.
    Following are some of the messages i get:  1. Oldest of open items overdue; 2. Document Complete 3. ISO Country code not found.
    some are valid message and i have already fixed them. But when i create the sales order manually it gives me the sales order number even though i get the information messages.
    Please let me know is there any setting that i have to make for EDI process to counter the information messages.
    Thank You,
    Suresh

    whats the final message you got? that will give you what is the issue.
    in you look at IDOC_INPUT_ORDERS, it does some basic validations first, and collect those errors in ERRTAB and set the status to 51. for manual reprocessing of the IDOC, it doesnt care about those pre validations, and goes directly into VA01 processing

  • OAI Event is not reading the workflow queue

    I'm creating the workflow event using iStudio (created automatically by iStudio) with the following information:
    Item Type: OAI Process Bundle: EDWARD
    Internal Name: I_EDWARD_PAATRANSACTION_OAI_V1
    Display Name: Receive Request EDWARD.PAATransaction:IN
    Description: OAI Event
    Event Action: Receive
    Event Filter: oai.edward.paatransaction.oai_v1.receive_request.oai_v1
    Cost: 0.0
    I also create the event subscription for oracle.apps.wf.event.agent.create, oracle.apps.wf.event.event.create, and oracle.apps.wf.event.subscription.create and put the following information:
    System: WFLOWDEV.MAXIMUSBC.CA
    Source Type: External
    Event Filter: oracle.apps.wf.event.subscription.create
    Source Agent: <blank>
    Phase: 1
    Status: Enabled
    Rule Data: Key
    Rule Function: WF_EVENT_FUNCTIONS_PKG.RECEIVE
    Workflow Item Type: EDWARD
    Workflow Process Name: PAATRANSACTION
    Out Agent: <blank>
    To Agent: [email protected]
    Priority: Normal
    Parameters: <blank>
    I can see that the interconnect OAI Hub is putting a message into the WF_IN queue but the event does not dequeue the message and run the process.
    So, I don't know if I'm missing anything here or there is something wrong with my configuration.
    Can anyone help me please?
    Thanks,
    Edward

    Edward,
    I am basing this reply on the OAI build I have on my laptop, which is an Oracle 9iAS Integration build, however I do not think that it has changed since.
    Before you do this, it is always a good idea to add the "OAIHeader" objects to the Common View.
    1. Under "Common Views", expand the "Business Objects" and find your Business Object (e.g. MY_BO)
    2. Under the "Events", expand the "Events" to find your event (e.g. MY_EVENT)
    3. Highlight you event (MY_EVENT), Right-click on your mouse, and choose "Edit". This will bring up the "Edit Event" window.
    4. Choose "Add". This will create a new line.
    The 'Name' will be blank.
    The 'Type' will be "String".
    The 'Owner' will be blank.
    The 'Array' will be blank, and
    The 'Default' will be 'NULL'.
    5. On the 'Type' value ("String"), click on the value "String". This will bring up a pop-up list.
    6. From this list, select "Data Type..."
    7. Now click once anywhere in the "Edit Event" window. This will bring up a "Common Data Types" window.
    8. Scroll down, find and highlight the the name "OAIHeader". Press 'OK'
    9. Now back in the 'Edit Event' window, you will notice that the type is "OAIHeader".
    10. Now give the "Name" (currently still blank) a value. Give it the name "OAIHeader" too.
    11. Press 'OK'
    12. You will now see that the Event now has "OAIHeader" information. Some of these values will be of interest and of use later.
    The actual values for "EventName, EventVersion" etc. will be added to the data of the message at Runtime.
    *** TIP: I always do the above exercise first for every Business Object event I create. Once I've included the 'OAIHeader', I then add all of the actual other message attributes to the message afterwards. ***
    Create Content Based Routing Rules
    In this example, I am going to route a message from a sending DB Adapter (DBAPP1) to the Workflow Adapter (WORKFLOW). Then once the message has been passed to the Workflow, it will be passed to the receiving DB Adapter (DBAPP2).
    1. In iStudio, under the "Design" tab, expand the "Enabling Infrastructure".
    2. Under "Content Based Routing", find your Business Object.
    e.g. MY_BO
    3. Expand the Business Object, and then expand the "Events" to find your event.
    e.g. MY_EVENT
    4. On the Event (MY_EVENT), highlight it, then right mouse click. Choose Edit.
    5. A window will pop-up called "Content Based Routing: MY_EVENT"
    6. Hit the "New" button.
    7. Expand the message structure (MY_EVENT), and find the 'OAIHeader' node.
    8. Expand the "OAIHeader" node, and select (highlight) the "SendingApplication" attribute.
    9. Press 'Next'. This will move you onto the next screen.
    10. From the drop-down list, choose the "==" Operator. Press 'Next'.
    11. Enter a Value in the box. Since my sending application is "DBAPP1", type in "DBAPP1". Press Next.
    12. Since I have completed the "source" CBR rules, check the "Condition Complete" radio button, and Press 'Next'.
    13. Now in the next screen, select "WORKFLOW". Now press 'Finish'.
    Perform the same as above, this time routing the message from the "WORKFLOW" adapter to your receiving adapter (e.g. 'DBAPP2'). If the Workflow message does not have the 'OAIHeader' information in it's structure, once again refer to the above and add it in.
    Once you have completed all of your CBR configuration, use "File > Push Metadata" to send this new message structure and CBR rules to your adapters (DBAPP1, WORKFLOW and DBAPP2).
    HTH,
    Yan

  • Extra header appearing in the Workflow emails sent

    We are getting some extra header message in the email notifications which are sent by the workflow mailer.
    This extra header message is only visible in the email notification which is sent to the concerned person via internet.
    When we try to see this same message from the workflow screens, Then this extra header information is absent.
    We are confused about this irregular behaviour .
    example of the extra header message is below..........
    Oracle Workflow Notification
    ______________________Start of Response Template______________________
    Response Template for NID[4442/1823303307@wf]
    To submit your response, reply to this message, including this response
    template with your reply. Copy and paste from this message if
    necessary
    to obtain an editable copy of the template. Insert your response value
    between the quotes following each response prompt.
    RESULT: ""
    Approve
    Reject
    ______________________End of Response Template_______________________
    -------------AFTER THIS WE CAN SEE THE ACTUAL MESSAGE----------
    Is there any setting in the workflow which has to be changed??
    Thanking you in anticipation.

    I tried removing that response message from the message template.. Now it is giving an error, no messages are being sent..
    Is is possible that I can attach the FYI template for the response template, i.e. change the default message template associated with that process.
    The reason being that we dont want the user to respond from the message but from the screen, hence we want to remove that response part from the message.. so can we use the FYI template for a response message?

  • Want to show an information message in PA30 screen

    Hi ABAP gurus,
       For Infotype9000,subtype RHUB(newly configured) ,I want to show an information message in PA30 initial screen for operations 'Create','Copy' and 'Delete'. For that , I have used a BADI (hrpad00infty) , written code in PBO method of the BADI.
    The problem is this, we cannot show the message in PA30 screen,else it is showing a pop-up dialog box (information msg. is missing in the dialog box) in the next screen.
    Our Requirement:
      1. For the above mentioned operations , we want to show the information message in the PA30 initial screen.
    Please post your valuable comments.

    Hi
    What you're trying to do is not really obvious for someone that's familiar with  the usual USER-EXITs and BADIs in HR but there's a possible workaround using the BADI HR_F4_GET_SUBTYPE and its GET_SUBTYPE_TEXT method for your 9000 IT
    METHOD if_ex_hr_f4_get_subtype~get_subtype_text.
    *SUBTY  Importing Type  SUBTY
    *PERSNR Importing Type  PERNR_D
    *TCLAS  Importing Type  TCLAS
    *BEGDA  Importing Type  DATUM
    *ENDDA  Importing Type  DATUM
    *LANGU  Importing Type  SPRSL
    *MOLGA  Importing Type  MOLGA
    *FLT_VAL  Importing Type  INFTYPA
    *STEXT  Exporting Type  SBTTX
      FIELD-SYMBOLS <rp50g> TYPE rp50g.
      ASSIGN: ('(SAPMP50A)RP50G') TO <rp50g>.
      IF sy-subrc EQ 0.
        IF <rp50g>-infty EQ '9000' AND
           <rp50g>-subty EQ 'RHUB'    AND
         ( sy-ucomm      EQ 'INS'  OR
           sy-ucomm      EQ 'COP'  OR
           sy-ucomm      EQ 'DEL' ).
          MESSAGE i398(00) WITH 'Your message'.
        ENDIF.
      ENDIF.
    ENDMETHOD.

  • How can i find the messages in the log

    I want to see the all the error/information messages in the message log (buffer) , how can i view them? is there any table or function module for that?
    I'm trying to delete  error/information  messages before a user can see on the screen in the sales order creation process.
    Hope I'm clear with my question !
    Edited by: aday rao on Oct 30, 2009 6:41 PM

    There are few messages creating confusion the  users regarding a creditcard authorization we want to delete them .
    Here is the scenario ....
    we have a custom program in which
    Creating the order using FM      CALL FUNCTION 'BAPI_SALESDOCU_CREATEWITHDIA'
    once the order is created and saved we display the same saved order for the user with code below ...
    set parameter id 'AUN' field SALESDOCUMENT.
    call transaction 'VA03' and skip first screen.
    But in between the order  save and siaply , creditcards authorization program will kick in the background  if it has some errors , these errors are displayed in my VA03 screen initial screen.  I'm planning to remove them from the log .

  • BDC Recording doesn't proceed after Information Message

    Hi,
    I need to upload Vendor Master Data. I've recorded a BDC transaction and I came across an Information message in the final stages of the transaction.
    The activity I recorded after the information message is saving the transaction. However hen I processed the recording it stops at the place where  the Information message popped up.( though the SAVE action( okcode =UPDA) is recorded). Spo each time I need to Save manually though I recorded it.
    How can I make the recording to proceed even after the Information message is displayed( Note: Information message is not seen when processing the recording).
    Any immediate inputs in the regard will be of great help.
    Regards,
    Siva

    Rich,
      Thanks for your reply.
      The real scenario is like this.
      There is an error before the Information message expecting a Tax code value which we need to live with. During recording we fill the required field where the error occured and proceed by pressing ENTER. All these are recorded. The Information Popup is very next screen after pressing ENTER. So I beliecve all these were recorded and still it is not executing the final SAVE Process.
    A piece of code for your reference.
    ('KNVI-TAXKD' is the place where error occured. We entered a value and proceed with ENTER key.)
    The point to be noted is though the OK Code is there for SAVE (=UPDA)it is not getting saved. Please resolve this if you could able to.
    perform fill_bdc_data using:
                 'X'      'SAPLWR09'        '0320',
                  space    'BDC_CURSOR'      'KNVI-TAXKD',
                  space    'BDC_OKCODE'      '/00',
    <b>              space    'KNVI-TAXKD'      '0'.</b>
    perform fill_bdc_data using:
                  'X'      'SAPMF02K'        '0310',
                  space    'BDC_CURSOR'      'LFM1-WAERS',
                  space    'BDC_OKCODE'      '/00'.
    perform fill_bdc_data using:
                  'X'      'SAPMF02K'        '0320',
                  space    'BDC_CURSOR'      'RF02K-LIFNR',
    <b>              space    'BDC_OKCODE'      '=UPDA'.</b>

  • Information message in USEREXIT_XKOMV_BEWERTEN_END

    Hi,
      We have a logic that displays an information message in the user exit USEREXIT_XKOMV_BEWERTEN_END . There is an IDOC output that  gets triggered with timing 4 when the order is saved, and the processing FM of this output ( standard code) calls pricing(which invokes the pricing procedure and triggers the code in  USEREXIT_XKOMV_BEWERTEN_END0.
    When the mesage is issued it causes the update to terminate.
    Are information messages also forbidden in modules called in V1 mode?
    Regards,
    Hari.

    Hi,
    I think it will work for deliveries tooo..
    My requirement is to update the delivery through the Inbound IDOC user exit custom segment value....
    after exporting the value in IDOC user exit and importing the value in this user exit to update the value in delivery ...
    so i need parameters to export and import ..what do you say it could be ?
    regards
    Vishnu

  • Impossible to generate information message with 'RRMS_MESSAGE_HANDLING'

    Hello
    I would like to generate Informative message once the variable screen is available for user entry.
    The message from FM (see code beloe) is generated once the query result is up.
    IF step = 2.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'ZBW'
    I_TYPE = 'I'
    I_NUMBER = '022'
    If put RAISE no_REPLACEMENT  then execution stops and system generates an error.
    Thanks

    Hi,
    Use the following Code, don't write in between Case and EndCase, after ENDCASE you write code for I_STEP = 3.
    See PDF
    https://websmp203.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    Re: send message from EXIT_SAPLRRS0_001
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'I'                     " It will through Warning Message
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE no_replacement.
                      ENDIF.
             ENDLOOP.
          ENDIF.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'E'
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE Again  " It won't allow user untile he/she give correct values
                      ENDIF.
             ENDLOOP.
          ENDIF.
    Re: message at the variable screen
    Re: Query doesnt stop at IF I_STEP = 3.
    Thanks
    Reddy

  • How to give a status or information message on BSP page screen.

    Hi BSP gurus
    I have a search button on the screen , If user click on search button then system search for the suppliers, If no suppliers found then i need to show a status or information message.
    I am new to BSP , Could you please help me by telling the way how to give status or information message on the screen.
    Many thanks and regards
    Sandeep Sharma

    Hi,
    Search in SDN thre are many wikis posted on how to dispaly messages.
    Here is an example to [Message DIspaly|https://wiki.sdn.sap.com/wiki/x/CIHvB ]
    Hope this helps you
    Regards,
    Rajani

Maybe you are looking for