Smartform - Event on Sort End

Hi frnds,
i am sending the internal table of PO's list from driver prog to smartforms. here smartform is displaying all the PO's in one lay out. i need each PO should come separately. means....when new PO start it should start in new page(first). for this i am trying to use EVENT ON SORT END in main window -> tables Node -> Data tab -> sort criteria. when clicked this check box one event is coming with EBELN event on sort end. here i am not able to create COMMAND under this.
pls suggest me where i did wrong.
Regards,
Balu

Hi..,
U use table in the Main loop right !!..
there in DATA tab, below u can find the  <b>SORT CRITERIA</b>.  there u give VBELN field name and select the radio button <b>EVENT ON SORT END</b>(the second radiobutton). then u will get a node after table <b>Main area node</b>..
Right click on that node and select <b>Create> flow logic> Command</b>..
In this way u can create a command !!
regards,
sai ramesh

Similar Messages

  • Smartform Event on sort begin

    Dear All,
    I am getting the following error while applying EVENT ON SORT BEGIN/END in smartforms.While executing the program the following error is getting displayed.
         Internal error: (FORM = TAB_APPEND_OTF_TO_TABLE,
         ID = READ, RC =  0)
    Please advice how to solve this problem.
    Regards,
    Rubin Luke.

    Hi Rubin,
    I have got the same problem within a SmartForm, where I want to start on a new page when another material starts (in my case it is a new Purchase Order item).
    I added a command for "starting new page" in my SmartForm (within the "Main" area) - and I am getting exacly the same message "Form TAB_APPEND_OTF_TO_TABLE does not exist".
    I definitly can say that it has got to do with this new command, because without it, the problem does not appear and I get my document printed out.
    UPDATE:
    After a couple hours testing I found out, that the problem is within the type of table you are using in the SmartForm. The "new Page" does not work with tables like a kind of "Tables with Events". The new page is possible to use and it works, when I used the "Table with Calculations".
    Regards from Germany,
    Daniel
    Edited by: Daniel Deutsch on Aug 5, 2011 6:04 PM

  • Unable to insert program lines in event sort begin and sort end

    Hello friends,
    I am developing a smartform where in I have to print subtotal for every currencies. So I am unsing the sort criteria option and giving the WAERS in 'Data' tab of the Table . And I select 'Event on Sort Begin' which creates a node in the tree under the table. And I need to clear the total variable in this event so that for every new currency, the total is reset. But I am unable to create a program lines here. When I right click and under  flow logic, only Loop and Command options are available. I am using ECC 6.0 . Kindly help me in achieving the solution.
    Thanks & regards,
    Ratheesh

    Hi Sripaleshwar,
    I tried that.. I am able to create a program lines when I right click on the table. But it always gets placed outside the table node. When I try to drag it also to under the sort begin event node, it says 'Unable to insert program lines at the selected position'. Basically for my logic to work , it has to execute this program lines when the sort begin event occurs.
    regards,
    ratheesh

  • The new event are created when i import photo in the top. Before they where put in the end. All my event are classified. Where i can set the event at the end ? Thank's.

    The new event are created when i import photo in the top.
    Before they where put in the end.
    All my event (around 600) are classified on the top the old and a the end the new.
    Where i can set the event at the end ?
    Thank's.

    View menu  ==> sort events
    LN

  • Is there a way to enter an event time in Calendar as a reminder for me and NOT have Calendar erase it in the info as it reads it into the event start and end times?

    Calendar can recognize and derive event start and end times from the text description entered.  However, when it seizes on a time (start and/or end) and automatically enters it as the start and/or end time, it also (sigh) deletes the time from the text.  I enter the times as reminders for me, how can one prevent them from being deleted by Calendar??

    I am having the same darn problem. I really dislike this auto feature in Calendar.
    Can anyone help us please?

  • HT2513 iCal string of events repeat and end on a given date?

    Is there a way to have any given string of events repeat and end on a given date?
    Example, I have a different training regiment for each day leading up to an event/date and then will have the same training regiment again leading up to another event. I want each day's training regiment to show up as an event per day... but don't want to have to post each days repeat string of training prior to each event... and they don't nessecarily repeat monlthy or regularly... I want to set an end date and all the training fill in from that date backwards. Is this possible??

    Does this work any better? New-jobtrigger requires a datetime object.
    $csv6=Import-Csv D:\Lzero\Coll_Schd\Dependent_List.csv
    foreach($cs in $csv6)
    {$sys=$cs.CI
    [datetime] $schd=$cs.RebootSchedule
    $user="Domain\username"
    $paswd=ConvertTo-SecureString -String "P@ssWord" -AsPlainText -Force
    $Credential=New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $user,$paswd
    Register-ScheduledJob -Name System_Restart -ScriptBlock {
    Restart-Computer -ComputerName $sys -Force -wait} -Trigger (New-JobTrigger -At $schd -Once) -ScheduledJobOption (New-ScheduledJobOption -RunElevated) -Credential $Credential

  • Photo sort in an event. Why, once in an event, view, sort, by title, is the event not saved that way.

    Hi,
    Have driven myself bonkers trying to sort this out. I'm scanning old pix, their creation date will be the date they are scanned. I put them into an event and needless to say they are all out of order. No probs, once in the event you are given the option to sort by date, title etc. So having put them in already numbered I use the sort by title. It works until you leave iphoto, when you return they are out of order, it seems to default to Date. So, I use the batch adjust to adjust date/time and it works but only seems to work if the whole of the event is done this way.
    We recently celebrated our 60th B'day, pix taken on 4 different cameras, one with an incorrect date time setting have proved very difficult to sort. Despite altering the date time from the poorly set camera to achieve correct time order it will not get into order. Do you have to change every pix time in an event to get proper results? We like the way events are shown (pic) rather than the list with Albums. Also our kids bought us an Apple TV which we really like and for us ol' Duffers the pix presentation of the events is for us far more pleasing. I've read several similar threads here and it would appear I'm barking up the wrong tree as, if I've read it correctly events are always going to default to Date. Any help much appreciated.... thanks Victa

    In iPhoto '11 you set the event sort under the event meno ==> sort events. Unless you have a problem it will stay thay way until you change it either using the sort events command or changing it to manual by manually moving an event (which I have accidentally done from time to time requiring me to reset my desired sort)
    Your question 2 is not clear. As noted events are sorted by the oldest photo in the event
    You next comment makes no sense at all
    As to telling Apple how to implement their software, this is certainly not the place to do that. This is strictly a user to user forum and Apple is not here. Frankly as a consumer you need to pick products you like and use them. Do you try to tell Sony what they should do with their TVs? GM what to do with cars? Etc. if you like the product use it. Millions do and as a result of their decisions Apple is the largest company ever. If you don't like the product then don't use it. If you really are so much smarter than Apple then start your own company and put them out if business with your brilliant products
    LN

  • ATV and Photo App: Event based sorting disappeared

    With the new update to the new Photo app, I can no longer view my photos from my TV (via my Apple TV) sorted by "events."  Everything is sorted only by the actual folders the pictures are in, and since most of my photos are in the iPhotos Library "file" I can't sort these in any useful way.
    Please fix this so that I can view the photos using the events based sorting method, which is how I have been organizing my photos for the last several years in iPhoto.  Thank you.

    Thanks for the reply.  I went to iTunes --> Files --> Home Sharing --> Choose Photos to Share...and was able to click on the share "Photos" option from the pull down menu.  This wasn't there yesterday so looks like there was an update in the meantime. 
    The problem is that the photos are shown in chronological order, so it's a pain to scroll all the way down to get to the more recent photos.  Hopefully Apple will fix this soon, like the way they had it in iPhotos.

  • Raise event at the end of process chain

    Gurus,
    I would like to raise an event at the end of my process chain run.  I need this event to schedule a file extract using RSCRM_BAPI.
    How do we raise an event at the end of process chain?
    Regards,
    -Sonny

    1) First create an event in SM62. Lets say ur event name is ZTEST and event param is also ZTEST.
    2) Then In SE8 ---> Create a program say 'ZPROGRM' as follows.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZTEST'.
    EVENTPARM = 'ZTEST'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
    EXPORTING
    I_EVENTID = EVENTID
    I_EVENTPARM = EVENTPARM.
    3) Include this 'ZPROGRM' at the end of ur PC
    Regards,
    R.Ravi

  • Events not sorted alphabetically on Classic iPod

    In June 2008 I bought a 160GB iPod and synced the iPod from my Macbook Pro that I bought in March. All my 2500 iPhoto photos were in titled events and sorted alphabetically on the event name.
    When I first synced the iPod via iTunes, the events were also in the same alphabetical order on the event name in the iPod. I have synced the iPod many times over the summer and fall and the events on the iPod have remained in that order.
    A few days ago, I did a Software Update on my Macbook Pro and one item was a new version of iTunes (8.0.2). The next time I synced my iPod, the event names were no longer in alphabetical order. I added more photos and synced again but the event names were still out of order.
    I did an iTunes Restore to erase the iPod and restore the current iPod software. That didn't help.
    Any idea how I can get the iPod event name order to match the alphabetical event name order in iPhoto?
    Thanks

    Hello GasMan333,
    Congratulations on your your new MacBook Pro!  With iTunes Match, songs may be matched at a higher quality:
    All the music iTunes matches plays back at 256-Kbps iTunes Plus quality—even if your original copy was of lower quality.
    iCloud: iTunes Match
    http://support.apple.com/kb/PH2588
    The higher quality songs are convenient to have on a computer, but with an iPod, there is a space limitation to consider.  You can choose to have these songs sync over at a lower bit rate to be able to fit more songs onto the iPod.  Check out the following featured discussion for steps:
    How do make songs take up less space on my iPod?
    https://discussions.apple.com/thread/3782747
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • ALV: Issue with double  click event after sorting the ALV

    Hello Experts,
    I have an internal table that populates an ALV grid. When the user doubleclicks a row, my method HANDLE_DOUBLE_CLICK returns the e_row-index value from the ALV Grid. I use this index value to read the internal table, then retrieve additional data.
    My problem is the user may sort the ALV grid before double clicking on a line. If this happens my internal table is not sorted to match the ALV grid, so reading the internal table with the e_row-index value returns the wrong information.
    When the double click event occurs, is it possible to capture the value in column 1 instead of a value for e_row-index?
    There is one more paramter in HANDLE_DOUBLE_CLICK for row id.   It is coming blank in debugging .  what is the purpose of this parameter and how i can make use of it ?
    Regards
    Vivek

    Hi,
    I am Posting The Code Which Uses Double Click Event.
    And This Code will provide the total information to you.
    REPORT  ZALVGRID_PG.
    TABLES: SSCRFIELDS.
    DATA: V_BELNR TYPE RBKP-BELNR.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: IRNO FOR V_BELNR.
    PARAMETERS: P_GJAHR TYPE RBKP-GJAHR.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA: WA TYPE ZALVGRID_DISPLAY,
          ITAB TYPE STANDARD TABLE OF ZALVGRID_DISPLAY.
    DATA: IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    DATA: GRID TYPE REF TO CL_GUI_ALV_GRID.
    DATA: L_IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    DATA: L_TREE TYPE REF TO CL_GUI_ALV_TREE_SIMPLE.
    TYPE-POOLS: SLIS,SDYDO.
    DATA: L_LOGO TYPE SDYDO_VALUE,
          L_LIST TYPE SLIS_T_LISTHEADER.
    END-OF-SELECTION.
    CLASS CL_LC DEFINITION.
      PUBLIC SECTION.
        METHODS: DC FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID IMPORTING E_ROW E_COLUMN.
    ENDCLASS.
    CLASS CL_LC IMPLEMENTATION.
      METHOD DC.
        DATA: WA1 TYPE ZALVGRID_DISPLAY.
        READ TABLE ITAB INTO WA1 INDEX E_ROW-INDEX.
        BREAK-POINT.
        SET PARAMETER ID 'BLN' FIELD WA1-BELNR.
        CALL TRANSACTION 'FB02'.
      ENDMETHOD.                    "DC
    ENDCLASS.
    DATA: OBJ_CL TYPE REF TO CL_LC.
    START-OF-SELECTION.
      PERFORM SELECT_DATA.
      IF SY-SUBRC = 0.
        CALL SCREEN 100.
      ELSE.
        MESSAGE E000(0) WITH 'DATA NOT FOUND'.
      ENDIF.
      INCLUDE ZALVGRID_PG_STATUS_0100O01.
      INCLUDE ZALVGRID_PG_LOGOSUBF01.
      INCLUDE ZALVGRID_PG_SELECT_DATAF01.
    INCLUDE ZALVGRID_PG_USER_COMMAND_01I01.
    ***INCLUDE ZALVGRID_PG_STATUS_0100O01 .
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'AB'.
    *  SET TITLEBAR 'xxx'.
      IF IDENTITY IS INITIAL.
        CREATE OBJECT IDENTITY
        EXPORTING
          CONTAINER_NAME = 'ALVCONTROL'.
        CREATE OBJECT GRID
        EXPORTING
          I_PARENT = IDENTITY.
        CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
             I_STRUCTURE_NAME              = 'ZALVGRID_DISPLAY'
          CHANGING
            IT_OUTTAB                     = ITAB.
        CREATE OBJECT OBJ_CL.
        SET HANDLER OBJ_CL->DC FOR GRID.
        ENDIF.
        IF L_IDENTITY IS INITIAL.
          CREATE OBJECT L_IDENTITY
          EXPORTING
            CONTAINER_NAME = 'LOGO'.
          CREATE OBJECT L_TREE
          EXPORTING
            I_PARENT = L_IDENTITY.
          PERFORM LOGOSUB USING L_LOGO.
          CALL METHOD L_TREE->CREATE_REPORT_HEADER
            EXPORTING
              IT_LIST_COMMENTARY    = L_LIST
              I_LOGO                = L_LOGO.
          ENDIF    .
    ENDMODULE.                 " STATUS_0100  OUTPUT
    ***INCLUDE ZALVGRID_PG_LOGOSUBF01 .
    FORM LOGOSUB  USING    P_L_LOGO.
      P_L_LOGO = 'ERPLOGO'.
    ENDFORM.                    " LOGOSUB
    ***INCLUDE ZALVGRID_PG_SELECT_DATAF01 .
    FORM SELECT_DATA .
      SELECT RBKP~BELNR
             RBKP~BLDAT
             RSEG~BUZEI
             RSEG~MATNR
             INTO TABLE ITAB
             FROM RBKP INNER JOIN RSEG
        ON RBKP~BELNR = RSEG~BELNR
        WHERE RBKP~BELNR IN IRNO
        AND RBKP~GJAHR = P_GJAHR.
    ENDFORM.                    " SELECT_DATA
    ***INCLUDE ZALVGRID_PG_USER_COMMAND_01I01 .
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'CANCEL'.
           EXIT.
           ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Warm Regards,
    PavanKumar.G
    Edited by: pavankumar.g on Jan 19, 2012 5:30 AM

  • Ical events re-sort themselves in month view.

    We have 50 clients, all running ical on snowleopard, and all connecting to a server running OSX server 10.6.4.
    On the clients, especially ones with busy calendars, when you edit an event on any day, other events will shift and re-sort themselves. All day events at the top will switch places, one above the other.
    This is a problem for busy users. They will end up clicking on the wrong event since the sort just happened as they move their mouse pointer and went to click.
    Sometimes it's on a completely different day that the re-sort takes place. i.e. I click on an event on monday the 20th, make a note or change, and when I close the event window, I'll see two or three events on other days flip-flop.
    This is happening on multiple clients, various macs, so it's not related to one bad install. Users are starting to complain.
    Has anyone else seen this?

    Yes--this is driving me crazy!
    Anyone have any advice?
    Message was edited by: Jason P.

  • How do I sort photos the way I want them to appear within an Event? Sort Manually is always grayed out. SAR

    Keep trying but sort manually stays grayed out. All I want to do is sort photos within one event the way I want them to appear.

    It's like iTunes:
    You can view an music album on iTunes and there are all the tracks. The hit single, the annoying filler that they stuck on, all there.
    Or you can create a Playlist of just the singles, or tracks from various albums that work together well, or just your favourite tracks from different artists and so on.
    In iPhoto: the Event has all the photos taken at that time. So, all 812 photos you took at the Wedding. All there.
    An Album allows you to just use the 50 best ones, and possibly group them with 12 from the Rehearsal and five others from the day after. Just the best shots. Or bunch all the photos of the groom from birth to today, or all the photos of the bride and her dog. Or whatever. Really, the limit is your imagination.
    Like Playlists in iTunes, images in an iPhoto album are simply referenced from the Library. So a photo can be in any number of albums and use no extra disk space.
    Then, once you couple your imagination with metadata...
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 50k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • IOS 8 Photos App - Events Album Sort Order is Screwed

    Hi,
    When I sync my photos (that are grouped into Events) from my Mac iPhoto Library, to my iPhone and view them in the iOS 8 Photos App, all the events are no longer sorted in order - they used to be sorted chronologically in 7.1.
    To try and find the event photos that you are looking for is now impossible.
    Does any one known how to fix this or is it a regression bug that they have introduced with iOS 8?
    Rgds
    Gary

    This is such a cluster-f*ck.  I was stunned when I found the change to iOS 8 brought this mixed up order of my events from my iMac's iPhoto.  Having them in Events by month/year was the only way I could keep a reasonable handle on where everything is.  This is completely unacceptable from Apple.
    Then again, it seems from what I read around the Internet, those of us using iPhoto as our managing software AND using it to sync pics to our i-devices are a clear and dwindling minority.  Maybe Apple just didn't think it important enough to bother, but they need to fix this. 
    What would have been completely helpful and awesome with iOS 8 would be the importing of keywords (and descriptions, but at least keywords) for those of us syncing from iPhoto.  I can understand why Apple wouldn't have done so years ago (memory onboard our i-devices), but today there's no reason for this.  Those tiny, tiny bits of data should come over with the photos to make them searchable by keyword.  I'd care less about the Events being out of order if I could search by keyword on my iPhone or iPad. 
    Come on Apple... we have enough storage space to make this happen.

  • List of found events changes sort order when pasted from clipboard

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

    when I find a set of events in iCal, the list appears in the window at the bottom of the page in the correct sort order when sorted by date, title or type. When I then copy that list to the clipboard and paste it into another program (Pages, MacJournal, TextEdit) the sort order changes.
    I work mostly in English, but my macbookpro keyboard is German, so I assume the problem is with the language settings. I've tried changing the system preferences for language and sort order, and that changes the sort order, but it doesn't get it right.
    Anyone have any ideas?
    Thanks

Maybe you are looking for

  • XP sp 2 will not install

    I have copy of XP 2002 with service pack 2. When I try to install is with bootcamp I get an error message D:\1386\asma Error Data Error Cyclic Redundancy check. When I click "OK" Windows reboots. I have tried with two original XP CDs. Any ideas how t

  • HT204053 how to setup icloud on my iphone

    how to setup icloud on my iphone

  • White screen? Resetting doesn't work

    I've tried resetting like a million times! Still nothing, my screen is still white. I have the 160GB. I won't restore because thats over 24,000 songs gone. I dropped it today on the pavement, it wasn't even a hard drop. Can someone tell me how to fix

  • Installing Acrobat  Reader 8.1.2 with Vista 64bit

    Hi I'm trying to install Adobe Acrobat reader on vista 64bit, but after install the Acrobat Reader 8.1.2 takes over all of the Vista desk top and windows apps. I've searched for workarounds and found none, I cant be the only person with this problem,

  • Manually change Code of Central Person in Org Structure

    HI gurus, Any idea for this? Thanks in advance