How to read the comment field of the Leave of absence Workflow.

Hi,
I have attached a custom Workflow template  to the
Standard class "CL_HRASR00_WF_PROCESS_OBJECT" and  event "TRIGGERED" for my Personal leave of absence approval.
During the Workflow step, once the approval goes to the final approval step and it is there in the Benifit Administrator's inbox (Portal) for approval, the Benift Admin is having an option of Withdrawing the process(Withdraw Process button). After filling the comments field, once he clicks this withdraw button the standard class "CL_HRASR00_WF_PROCESS_OBJECT" event "WITHDRAWN" gets triggered and it calls a separate workflow.
I need to capture this comment in the new Workflow but not able to do the same.
Can anyone let me know how can I do this. The event container does have any parameter to pass this value to the workflow container. And since the Step_Object GUID also changes I am unable to read it in the second workflow.
Looking for some real help as this has become critical for the project.
Thanks is andvace.

Hi All,
Thanks for your reply Trevor, but I guess you misunderstood my question. What I am not looking for is not the absence data. Basically I need to capture the comments put in by the Benifit administrator in the Leave of absence application form (Personal or Maternity/child care ), incase when he goes for withdrawing the Application submitted by the Employee.
To elaborate it functionality step by step...
1. An employee logs on to portal and submits a LOA application with a few mandatory field ( Commencing date,Returning Date, Reason).
  This kicks of a Workflow say WF1 attached to
ABAP Class- CL_HRASR00_WF_PROCESS_OBJECT,  Event- TRIGGERED.
2. Then after executing a few tasks to retrive data it goes to the Manager for approval. Once the manager appoves it goes to the Benifit Administrator.
3. The Benifit Administrator can approve the application or has an option of withdrawing it.
4. In case the Benifit Administrator goes for Withdrawal, after putting some comments in the form, it triggers the Event-WITHDRAWN of ABAP Class-CL_HRASR00_WF_PROCESS_OBJECT.
5. This event in turn starts a new Workflow WF2.
6. In this Workflow WF2 I need to pull in the comments put in by the Benifit Admin.
How can I pull this comment?

Similar Messages

  • How to insert a sev lines in the comments field for the Nc detail report?

    Hi,
    I have tried to send in comments in the Nc log via soauip interface to SAP, but i'm only managing to get all the text in one long line. Is it possible to divide the text to several lines?
    Br,
    Mattias

    Sandeep is correct. I don't have time to tell you the correct query, but mine is something like this based on Sandeep's information:
    SELECT rsh.receipt_num
    FROM   rcv_transactions      rcvt,
           po_lines_all          pla,
           rcv_shipment_headers  rsh
    WHERE  rcvt.shipment_header_id   = rsh.shipment_header_id
    AND    rcvt.PO_LINE_ID          = pla.PO_LINE_ID
    AND    pla.item_id              = (select distinct inventory_item_id
    from mtl_system_items
    where segment1 = '1216107-2')

  • IPhoto still won't make web pages using the comments field

    I am someone who makes use of the comments field in iPhoto. I don't edit the title, because I thought it edited the photo file name (perhaps only in earlier iPhoto versions). Unfortunately, the Apple's tools for making a web page from iPhoto '08 seem to still use the title field only and not the comment field. That means that I have to edit all titles (to blank or a proper title) if I just want to show an annotation on just a few photos in a web page. At least the comments field defaults to blank, so I normally use it, along with the Better HTML plugin to make web pages, http://www.geeksrus.com/software/betterhtmlexport/
    Now, the web pages produced by Apple are now as good as and even better than the BHTML templates, and I'd like to use them. But this problem with the comments means I can't quickly convert my old photo albums to something that makes nice web pages using my annotations with the iPhoto tools.
    Does anybody know of any solutions to this problem? E.g. a script to copy the comments field to the title field?

    I know what you mean. I can't believe that after so many versions of iPhoto that have supported publishing of some sort that such a basic and obvious feature still hasn't been implemented. It can't take that much effort to add. I'd rather have that than the new (and IMHO completely useless) "Events" feature. Speaking of which, does anyone know if there is a way to turn it off? It's annoying the heck outta me. I hate it.

  • How can I make the comments field appear when the operator is debugging a test?

    When a test is being written the comments field is being utilized for information relating to what the test is doing and how to solve certain problems that arise. It is basically a quick place for the technician to look at when they are attempting to debug a board. However it appears when you view the sequence files these are off to the right side of the screen but when running the debug engine and the technician sets a break point then these comments are no longer visible to the user off to the right of the screen. Is there any way to have it include the comment in the data displayed when tracing through a test step by step. The technician can double click on each step but it would be alot mor
    e user friendly and timly if these could be displayed just to the right of the execution flow column.

    Hello John,
    I assume you are talking about the sequence editor. Unfortunately, there is currently no way to view the comments associated with a step inside of the execution display window (i.e during run-time). If you are using the operator interface, then you may extract the comment associated with a step and post a custom UI message that contains this information. The operator interface can then be modified to respond to this UIMessage and update its display accordingly.
    To post a UIMessage with this data, you must first obtain a PropertyObject reference to the step you are trying to extract the comment from. Then use the "Comment" property of the PropertyObject class to obtain the comment value.
    Unfortunately, the Sequence Editor discards all custo
    m UIMessages, and you will have no way of viewing the comment using the above method.
    Hope this helps.

  • How is the comments field populated in RCV_SHIPMENT_LINES?

    I am working for a client who is using OPM extensively. When we create the internal requisition, create the internal sales order and perform the reveive, the comments field in RCV_SHIPMENT_LINES is populated with OPM:<delivery detail ID>. This functionality is working fine in 11i. We are no working on R12 upgrade for the client. In R12, the comments field is populated as NULL in RCV_SHIPMENT_LINES. I would like to know whether this is the seeded functionality in 11i. If so, what is changed in R12. Please let me know.

    I figured it out.  I have to change the Leave Codes field to visible and not read-only. Then close Form Editing.  I can then get to the field and from there I can copy the field entry over to Word to edit it.  Then copy it back in to the Leave Code field, go back to Form Editing, and put it back to Hidden and Read-only.  It was so easy once I knew the trick  :-)  Of course.

  • How do I search the comments field in iTunes 11

    How do I search the comments field in iTunes 11 for windows

    I was suggesting you untick it.
    New search behaviour
    Old search behaviour
    Thinking that the old behaviour might prove more fruitful.
    If that doesn't help can you post a screenshot that shows what you're doing and why you think you're getting the wrong results?
    tt2

  • Needed: Script to copy Photo album name into the comments field for pix

    I was never in the habit of applying anything to photo comments, but gave my albums a desriptive name so I knew what they were. Now I wish I had because album titles are not searchable. I'm wondering if anyone knows how to create an Automator workflow or Applescript that could take the Album Name and apply it to the comments field for each picture in the album. I have over 25,000 pictures and quite a few albums. I've started to do it manually for each album but would love to find a quicker way to accomplish this.
    Thanks.

    This should do the trick for you:
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "iPhoto"
    set theAlbums to (every album)
    repeat with thisAlbum in theAlbums
    set thisAlbumName to the name of thisAlbum
    set thePhotos to (every photo of thisAlbum)
    repeat with thisPhoto in thePhotos
    set comment of thisPhoto to thisAlbumName
    end repeat
    end repeat
    end tell</pre>
    FYI, it will step through every album; get its name; and then step through every photo in the album and change the comments to the album's name.
    I recommend that you make a back-up before proceeding!

  • Strange "code" in the Comments field when playing songs

    When I play some songs (probably 80% of my archive) iTunes generate some strange code in the Comments field. This is quite annoying, since I use the field to write additional info about the song, artist, location, whatever.
    Examples of such codes:
    " 00000244 00000000 000010B3 00000000 00022325 00000000 000057AD 00000000 00004E37 00000000"
    " 0000014C 00000151 00000551 00000580 0001119E 0001119E 00003C73 0000379B 0001D4D7 0001D4D7"
    and so on...
    How can I stop this generation of random numbers and letters in the comments field?
    null

    Ick.... Well, maybe you're right. I also turned off "let itunes keep things organized" at about the same time. Between turning off sound check, itunes organizing, and the WMP settings, I have never seen it happen again.
    I still think it was WMP, as I only open WMP rarely to listen to web clips and I noticed it had happened to some tracks I had not played in itunes for years, and it happened right after that WMP update. I'd had the sound check and itunes organization thing on for years.
    One thing we can agree on, it was totally random. No rhyme or reason to it, and I even noticed that it didn't even affect all the tracks on some albums.
    I just turned sound check back on, only on my Mac, because that is just my backup copy of files. We'll see if it hits again.
    edit-(it's determining sound volume on x of 393, weird, I have over 27000 tracks in my library)
    Message was edited by: Katrina S.

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • How can I format a field in the form creator?

    How can I format a field in the form creator? It's putting the same text in all the fields within a table. I want each field within the table to have different text. As soon as you click out of the table, all the text is the same.
    I even changed the fields from a text box to a drop-down list so a person can make their selection, which will be a quantity from 0-9. There are two of these such fields. You make your selection in each, click off the table and both fields show whatever I selected in field 1. The original Qty I selected in the bottom field was a 5 but it changed it to whatever is in the top field on it's own. I've added a screen shot.

    This behaviors usually happens when you create the fields but  a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field  "company name" printed in each and every page of a multi-page form document.
    Go to the properties fields of each field and make sure  to assign unique form field  names.

  • Making the comments field Required in the Workitem

    Hello,
    I have a GP Application wherein the initiator fills out a form which goes to the Approver using Visual Approval Callable Object.........now when the approver opens the workitem he sees the information entered by the initiator and a comments field at the bottom......we want to make this field required for them.......how can we achieve this.....while creation of the Visual Approval Callable Object i see the comments as a output parameter with the 'Is Required' checkbox option....but it is disabled and does not allow you to select it......Please help...
    Any help would be highly appreciated...
    Regards,
    Anil

    Hi Anil,
    Standard Visual Approval CO doesnt work like that.
    Either you can create your own CO.
    OR
    i can suggest you as follows, but it is making little complicated process.
    1. Create one Action with Business Logic callable object, which will check for Comment EQ space or not and have 2 different states.
    a. If Comments is blank, Go back to Approval Action
    b. If Comments is entered, Proceed for further actions.
    2. Set this action as target for Approval Action.
    Hope this helps you.
    Thanks,
    Tejaswini

  • How to enable the comment option in the pdf file

    Hi,
    How to enable the comment option in the pdf file using acrobat sdk[IAC, javascript],
    Give me idea on this to automate.
    If not leave it.
    Regards,
    jkrishnanvenkat

    jkrishnanvenkat,
    I can also do this from Acrobat Pro. Click Comments - Enable for Commentingand Analysis in Adobe Reader. This can not be done through the DSK or JavaScript.
    Gregory

  • Problems with the 'Comments' field in iTunes

    First, sorry for my english (I'm danish).
    I've read a lot of threads here and everywhere else, but can't find a solution for my exact problem. I use Windows Vista and the newest version of iTunes.
    Most of my mp3 songs (35.000) are put directly in album folders to the folder 'D:My Music from another computer via a USB drive and the songs already have id3 tag information on them.
    I then add the albums to iTunes and most of my tag information is now updated in iTunes. Names, Artists, Genre, Year, everything is okay. By the way the songs have ID3v2.3 tag information. I see that in my Mp3tag v.2.42 application.
    But the problem is with the 'Comments' field:
    Those tags (originally put to the songs directly in the proberties of the song in Windows Explorer) will simply not transfer to iTunes 'Comments' field. And if I write something in the iTunes 'Comments' field this will not show up in the fields properties in windows Explorer. It looks like the 'Comments' fields in iTunes and in the proberties in the song are not connected at all!?
    I then found out, I could let iTunes convert the ID3 codes, but nothing happens except from when using v. 1.0 or 1.1, because then the comments tag are transferres, but unfortunately all the tags will only show 30 characters!!!
    And there's also a different story:
    A few albums though are put directly on my computer by using iTunes to import the CD. These songs have ID3 v.2.2 tags, so I guess iTunes import files in that format?
    And here it's a little different story. If I put comment data directly to the file proberties in Windows Explorer (after the CD's been imported to iTunes), the comments will show up in iTunes, but only as several 0 and 1 digits! On the other hand, if I put information directly in iTunes 'Comments' field it wil show up correctly in the file proberties! But it's only a few songs/albums that are handled that way.
    Well, bottom's line, I want to see my comments tags (which are allready there in the song's proberties) when I browse my music in my folders in Windows Explorer and I want to see the exact same comments if I go to browse my music in iTunes. That should not be a problem ... but it is not ...
    Can I please get a solution or at least an explanation, and hopefully in not too tecnical terms.

    I, too, hope someone will answer this! I am hoping to catalog my entire CD collection in iTunes and I want to include the storage box number somehow, thinking that "comments" would be a good place to do so. If I cannot do that I'll try to find a program other than iTumes to do it. Does anyone have any suggestions on this topic? ...perhaps I need to open a new thread?
    THANKS!
    Doug

Maybe you are looking for

  • ABAP report to run other ABAP reports dynamically

    Hi there, I'm looking for an standard SAP or commercial solution ABAP Report that completely or partially meet the following requirements: The report must start ABAP reports on the system and write the result in files on the SAP server.        * The

  • Error message: "Safari cannot open thepage because the server cannot be found"

    Trying to open rte player on an iPad Mini, from the UK, but Error message: "Safari cannot open the page because the server cannot be found" is displayed. Am able to open other web pages. Only appears to be this website. Please help. Thanks in advance

  • Problem with call accounting

    hi, my AS5300 logged a call was able to authorize, then stop accounting/originate was recived and then call was billed. but in a minute another stop accounting/originate was recieved with the same user-name and Called Station ID, but with different h

  • Mail Service Keeps Stopping For No Reason

    Hi There everyone. Over the past few days my Mail Service keeps stopping. Not giving any particular error, the only clue is this log message:- Jan 6 13:12:39 server master[371]: exiting on SIGTERM/SIGINT Is that helpful? I can start the service again

  • I've lost all my help files

    Hi, the other day when I started up LabVIEW I got an error saying it had to install a runtime engine, no idea why this happened but I fixed it by reinstalling my drivers.  Anyway since I did that I've lost all my help files.  The context help works f