Last Viewed Video or Last viewed item

When I go to a website that I have logged into in the passed
it tells me that my last viewed video or my last viewed item, how
is this done through PHP if I want to make the same
functionality?

Usually it's just a database field tied to the user keeping
track of
online activity. Could be a field in the main user table with
the last
activity stored, or a relational table tracking all recent
activity and
showing the one with the most recent timestamp.
Not sure what you're asking on the specifics though - depends
on your
database structure, what exactly you're tracking, how the
login account
are managed, etc.
AdonaiEchad wrote:
> When I go to a website that I have logged into
in the passed it tells me that my last viewed video
or my last viewed item, how is this done through
PHP if I want to make the same functionality?

Similar Messages

  • View Items in OBPM 10GR3

    Does anybody know how to bring the last initiated process instance to be seen first in the worklist views in OBPM 10GR3?
    By default, the last initiated worklist item is posted at the end and one has to scroll down all the way to the last initiated item.
    How can we bring that to the front?

    Enter in the Workspace Administrator, go to the presentations option, take the presentation associated to your inbox, typically default_instances take the column "received" and put to sort by this column choosing descending.
    HTH

  • How do I see the TOC when I "View Item"

    Hello,
    I know this is simple, but I am a total Robo newb.
    I have created the TOC and pages and then linked those pages to the TOC.
    When I click "View Item", all I see is the page without any TOC.
    What preview option should I use that will show me the TOC along with the pages that are linked to it?
    Thanks!
    Jeff

    Hello again
    Wow... lots of questions! I'll do the best I can to respond to these.
    I don't know what we are publishing to yet.  I think we are going to design our FAQ with Robo and then place that HTML on one of our web pages.  Is that possible and which view option is best for this purpose?
    Certainly a FAQ is possible. However, that would sound more like a single page. RoboHelp can certainly create a single page that you could copy and splice into a larger web site, but I'm not sure why one would want to do that. Tools like RoboHelp come into their own when creating a large body of information that needs to be organized using a Table of Contents and information easily found via an Index and by searching.
    Unfortunately I'm unclear on what is meant by asking which view option is best. Perhaps you aren't 100% sure about why folks use RoboHelp and what it does. Apologies in advance if you knew any of this, but here goes.
    You use RoboHelp to combine many ingredients (HTML Topic pages, Images, etc) into a "dish" that is served to users. That "dish" may be in the form of a system known as WebHelp, FlashHelp, Microsoft HTML Help, Multiscreen HTML 5 or other. What you create depends on what your audience needs or wants. If most are using iPads or Android tablets, you likely want Multiscreen HTML 5. If most are using Desktop or Laptop PCs, you may want WebHelp. But again, if all you are wanting is a single HTML page that presents a list of FAQs, RoboHelp is definitely overkill.
    Frankly, I prefer the look of the WebHelp view because the Multiscreen HTML 5 view has strange colors.  I don't see any color or skin options for Multiscreen.  How can I change colors in Multiscreen HTML 5?
    Well, that one is a bit tricksy not only to answer, but to pull off once you know how! To begin making changes to the Multiscreen HTML 5 layout, you need to click View > Pods > Project Set-up. Then expand the Screen Layouts folder. Then expand the layout of interest. You should see a layout for the Table of Contents, the Index, the Glossary, etc. Right-click and choose Edit. And that's where the REAL fun begins. (cough)
    Bottom line is that this area is most definitely NOT for the faint of heart or for folks unfamiliar with CSS and whatnot. In other words, editing is a wee bit on the daunting side. I'm so so hoping that it will be easier in the next version!
    I have a few test projects open for testing purposes.  For one project, under "Single Source Layouts", when I right click Multiscreen HTML 5, it shows a "View with Browser" option, but when I do the same thing on another project, I do NOT see "View with Browser" option under Multiscreen HTML 5.   Why is this happening?
    Well, it's unfortunately difficult to say what may be going on without seeing the projects first hand. As I indicated earlier, Multiscreen HTML 5 is the new kid on the block and as such, is a bit convoluted. For example, let's say you managed to sort all the colors and icons and whatnot for one layout. Before you generate your output, you must now ensure you edit the properties of the Multiscreen HTML 5 layout and map the layouts to the profiles. So possibly this bit is missing. I'm not sure.
    Lastly, when I view view the project the first book is always open by default.  How can I make all books closed by default when viewing?
    In any given project, there is a topic that is known as your Default Topic. It's quite simply the first topic presented to the user when the help system is opened. Typically, topics presented in the Topic pane also synchronize to the Table of Contents. So if your Default Topic is inside a book of the TOC, POOF! The book will be expanded showing where the matching topic is. One way to ensure the books are closed is to nominate a topic that isn't in the TOC structure as the Default Topic. You do this by manipulating the properties of the Single Source Layout.
    Hopefully that was both understandable and helpful... Rick

  • How to store/view items in a server folder

    I have been searching for a way to store/view items in a folder on my sharepoint server.  Basically at work we have sharepoint setup and one of the pages shows documents that reside in a folder on the sharepoint server.  If I add a file to that
    folder and refresh the web page it will show up in sharepoint.  That is what I am trying to accomplish in my personal sharepoint installation.  I have a folder...(let's call it C:\Media) which contains some small home videos.  I simply want
    to point sharepoint to that folder and display it's contents for use.  As it stands now it appears the files are stored in a database because I am unable to track them down.  I have searched for a solution online to no avail and obviously it is possible
    because it is functions perfectly on my company's sharepoint.  

    SharePoint stores all files in the Content Database, or Remote Blob Storage (but RBS is less common). You must use SharePoint APIs in order to access files in the Content Database or RBS (accessing them directly places your database in an unsupported state).
    What your company may be doing is using a Content Viewer Web Part to display the location of a file share within a SharePoint page. This isn't a very flexible solution, so there are 3rd parties that have filled this space, proxy'ing requests between SharePoint
    and a back end file share, e.g. http://www.avepoint.com/sharepoint-connector-docave/.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Create a list style with unique space after the last list item?

    I should start by saying that I'm a web designer and therefore extremely used to using CSS for type setting to the point that I now become frustrated when going back to the print world
    So here's what I'm trying to achieve:
    - I want to create a list style for bullet lists
    - I want there to be 3pt space after and space before paragraph breaks
    - I want there to be 9pt space after the entire list (or last list item)
    I can't for the life of me figure out how to do this short of overriding the space after amount on the last item each time I use my style.

    Hi supportneeder
    Welcome to the forum.
    Try this link:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=179&mforum=iworktips ntrick
    Pay attention to how +"styles work by example"+. Form up the list levels the way you want them and then select them to make the list style.
    Personally I can't help remarking on the obtuse behavior of programmers that they manufactured all the problems on the internet and only now, more than a decade later, patch together "solutions" they struggle to implement due to the legacy of all the awful standards we never needed to have in the first place.
    Peter
    btw The last list item is always a problem in typesetting. Usually you deal with it by having a particular style for that or the paragraph afte,r all of which can take multiple forms.

  • How can I return to the last selected item in a dialog box

    In OS 9 using Dreamweaver (for example) when I was adding images to a document, each time I added one the dialog box would return to the last selected image and I could just arrow down to the next in the list, add it (exiting the dialog box) and then repeat the process until I had added all the images in the folder. Now, using OS 10.4, after I add an image, and return to the add image dialog box it goes to the first item in the folder list instead of the last selected item. this really slows the process down, and when I'm adding 100 items or so, it's a real drag. I figure there has to be a way to get the dialog box to return to the last selected item, but I don't know what it is. Help!

    sorry, that is not what I want to do.
    I want to return to the initial state before I quit the app.
    Actually, I want to return to the intial state after I click a row in a table the second time.
    Sorry, I didn't say clearly.

  • List view item display time is taking too much

    Hi,
         I am working in a sharepoint2013 project. In our project , list view item display time is taking too much in IE8 sp2013 64 bit environment. Can anyone help me to resolve this issue?
    Thanks,
    Nabhendu

    Hi Nabhendu,
     We had something similar with our SP2013 and IE8 32-bit. It seems that IE8 was in Compatible mode which make it IE7, which is unsupported by SP2013 due to HTML5.
    Issue : List view especially datasheet view which has been moved from ActiveX to HTML5 had very slow response on SP2013 and IE8 32-bit.
    Resolution : Try Chrome and see if its CSS/Masterpage or SP2013 issues performance issue.
    We deployed masterpage and css which was used in our SP2007 site with minor changes, but later we figured out that we need to make major changes in order to work with IE8 and SP2013.
    Try Indexing Columns.
    check how many look up columns are used.
    Hopefully that may help you..
    Thanks,
    Parth
    Thanks and Regards, Parth

  • ECT List View Web Part displaying incorrect data when View Item

    I have a External Content Type which pulls data from a stored procedure. The stored procedure has 1 parameter - the users logon id. The data retrieved is a list of meetings with start date time, end date time, location, subject, etc. From this ECT there
    is an External List which displays all data correctly.
    There is 2 pages within the site and its subsites that have list view web parts which display a subset of the info from the external list. When the user clicks a specific meeting to display the complete info on the meeting, the wrong information is displayed,
    it always displays the info for the 1st meeting in the list. So, I displayed the BDC Identity field on the list and this field is identical for all the rows since the key for the ECT is the username and hence not unique.
    I've spent all day trying to finding a way to resolve this and have come up empty. I've tried to find a way to make the BDC Identity field to be unique, using Business Data View web part, Data View web part, and nothing.
    The user needs to be able to click the My Meetings url header on the above pages to see a full list of their meetings so I need the external list. Any ideas how to make the BDC Identity field unique or how to get the View Item on the List View web part to
    work correctly?

    Sorry, I do not understand what you mean.
    I resolved the non unique BDC Identity problem by simply adding the row # to the Username in the stored procedure so the BDC Identity fields on the list records are now unique (although they're really long ie. __bk44003500070057003700560027000200140037003700f600360096001600470056003300,
    __bk44003500070057003700560027000200140037003700f600360096001600470056004300 etc). Not sure how it generates the BDC Identity?
    I still see the same behaviour when you select a meeting to display the details. It always displays the 1st record in the list.
    I added code to the DispForm to display the ID when the page loads and the BDC Identity from the record and verfied that they do match.
    I can add another parameter to the stored procedure and just return the row # in that field. What do you mean by make the identifire as Identity in operations?

  • Create a tab view item in obj-c for use in applescript studio

    I'm making an application with applescript studio. I want to be able to add tab view items to a tab view at the press of a button. The problem I have is applescript studio doesn't allow me to create a new tab view item. So I'm thinking I can create the tab view item using objective-c, pass that to my applescript, then add it to my tab view.
    In applescript I plan to use the following call methods to first create the tab view item object, and then add it to my tab view. The objective-c code which is called from the first line in the applescript code is below that. When I run my code I'm getting an error saying newTVI is not defined... so maybe you can see my error! Be kind to me because I'm new to objective-c and I'm sure that's where my problem lies. Anyway, I'd appreciate any help.
    ==Applescript calls to create and add a new tab view item
    set newTVI to call method "returnNewTabViewItem" of class "makeNewTabViewItem"
    call method "addTabViewItem:" of objMainTV with parameter newTVI
    ==Objective-c code to create the tab view item
    ==makeNewTabViewItem.h==
    #import <Cocoa/Cocoa.h>
    @interface makeNewTabViewItem : NSTabViewItem
    NSTabViewItem *newTVI;
    -(NSTabViewItem *)returnNewTabViewItem;
    @end
    == makeNewTabViewItem.m==
    #import "makeNewTabViewItem.h"
    @implementation makeNewTabViewItem
    -(NSTabViewItem *)returnNewTabViewItem
    newTVI = [[[NSTabViewItem alloc] initWithIdentifier:nil] autorelease];
    return newTVI;
    @end

    Please, any ideas?

  • Strange problem with Outlets and Collection View Items

    This is a strange issue. I am using XCode 3.2.2 and I am building a Collection View. To do this I have a non-document based application that uses Core Data.
    *Collection View Item Class*
    I created a new class that inherits NSCollectionViewItem and built it to have an outlet to the Label.
    *Collection View Item NIB*
    I created a Empty NIB for my Collection View Item. To the NIB I added a Custom View object and set the Class Identity to NSBox. I then added a Label to the new NSBox. I changed the File Owner to the new class and connected the "view" outlet to the new NSBox and the Label to the label outlet.
    *Main Menu NIB*
    I added a new NSCollectionViewItem object to the Main Menu NIB and set the Class Identity to the new class mentioned above. I then set the NIB Name to the name of the NIB mentioned above. In the window I added a NSCollectionView then set its Item Prototype to the new NSCollectionViewItem object I just configured. This is the typical way to set up a collection view with its item in a different NIB.
    *Back to the problem*
    Everything seem to work well except that in the setRepresentativeObject in the Collection View Item class when it attempts to set the Label to a value. Nothing happens. When I check closely I find that the Label is coming back nil. It is properly linked. I deleted everything and rebuilt the collection view item and relinked everything without success.
    *How I made it work but not happy with it*
    I have finally made this work by simply putting the line "[self view];" just before I attempt to run "[label setStringValue:name];". If I remark out the "[self view];" the label returns nil. I have a note near the line to make it easier to spot. It seems that I should not need to access the superclass's "view" accessor just to access one of view's subviews. Is this a bug or have I written this wrong?
    The Collection View Item code is below. Any help is appreciated.
    Thanks,
    Rob
    #import <Cocoa/Cocoa.h>
    #import "PersonManagedObject.h"
    @interface PersonSelectionViewItem : NSCollectionViewItem {
    NSTextField *label;
    #pragma mark Finalizers
    - (void)dealloc;
    #pragma mark Outlets
    @property (nonatomic, assign) IBOutlet NSTextField *label;
    #pragma mark Instance Methods
    - (void)configureKeyValueObserving;
    - (void)removeKeyValueObserving;
    #pragma mark Overrides
    - (void)setRepresentedObject:(id)representedObject;
    - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context;
    @end
    #import "PersonSelectionViewItem.h"
    @implementation PersonSelectionViewItem
    #pragma mark Finalizers
    - (void)dealloc{
    [self removeKeyValueObserving];
    [super dealloc];
    #pragma mark Outlets
    @synthesize name;
    #pragma mark Instance Methods
    - (void)configureKeyValueObserving{
    PersonManagedObject *person = (PersonManagedObject *)[self representedObject];
    [person addObserver:self forKeyPath:@"lastNameFirstName" options:0 context:NULL];
    - (void)removeKeyValueObserving{
    PersonManagedObject *person = (PersonManagedObject *)[self representedObject];
    [person removeObserver:self forKeyPath:@"lastNameFirstName"];
    #pragma mark Overrides
    - (void)setRepresentedObject:(id)representedObject{
    [super setRepresentedObject:representedObject];
    NSString *personName = (NSString *)[representedObject valueForKey:@"lastNameFirstName"];
    [self view]; //<---Without this line the "label" variable 2 lines down will be nil.
    if (personName) {
    [label setStringValue:personName];
    [self configureKeyValueObserving];
    - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{
    if ([keyPath isEqualToString:@"lastNameFirstName"]) {
    [[self label]setStringValue:[object valueForKey:@"lastNameFirstName"]];
    } else {
    [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
    @end

    I think you must be correct. I just ran into the problem again in yet another NIB. It was in the setRepresentedObject method. I simply put in the same line "\[self view\]" just before I needed to set the value of the view component and it worked again. If it is the same in other components I guess I just need to pay attention to it. Thanks for the information.
    Message was edited by: Cycles4Fun

  • Additional field in view "item overview" VA01

    Hi,
    I want to add an additional field to the view "item overview" (SAPMV45A Screen 4900).
    It's the field vbap-knuma_ag and it's actual not included in tab control of Screen 4900.
    How can I do that ? 
    Is that a modification ?

    Hello Mr. Schöpferle,
    have you received any feedback or have you found a solution on your own?
    I have exactly the same request and I do need to avoid a modification.
    Thank you
    Karin

  • Final total cannot appear when the last line item reached the page end

    Hi All,
    My report included 2 pages. Problem is the final total cannot appear when the last line item reached the page end. (page 2)
    final total will appear on the middle of last page (page 3) when i comment (type    = 'BOTTOM').
    Below is the program.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = 'X'
          form     = 'ZBOTM_VOUCHER'
          language = sy-langu.
      sort itab by vblnr.
      LOOP AT itab INTO wa_itab.
        move wa_itab-vblnr to reguh-vblnr.
        move wa_itab-lifnr to reguh-lifnr.
        move wa_itab-rbetr to reguh-rbetr.
        reguh-rbetr = reguh-rbetr * -1.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window  = 'MAIN'
            element = 'DETAIL'.
        t_rbetr = reguh-rbetr + t_rbetr.
        AT LAST.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              window = 'LINE'.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element = 'TOTAL'.
              type    = 'BOTTOM'
              WINDOW  = 'MAIN'.
        ENDAT.
    Thanks.

    Hi,
    Where should I include the code for bottom?
    How to open text editor?
    Thanks.
    Edited by: Alice8 on Feb 7, 2011 9:09 AM

  • Only the last line item is shown in main window...

    Hello Experts,
    I created a custom form for the standard checque program RFFOUS_C. Now, in my MAIN window, I
    called a subroutine in a custom program which loops through the line items but the problem is
    only the last line item is being shown. I tried using CONTROL_FORM to create a new line
    but it does not work. Note that I did not customize RFFOUS_C since it is being used by
    multiple companies. Below is my code:
    SAPSCRIPT:
    510-C
    Begin of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    DEFINE &LTYC_XBLNR& = ''
    DEFINE &LTYC_BLDAT& = ''
    DEFINE &LTYC_SGTXT& = ''
    DEFINE &LTYC_DMBTR& = ''
    PERFORM WRITE_LINE_ITEMS IN PROGRAM Z9999RFI_Z2574FFI_RA
    USING &REGUH-LAUFD&
    USING &REGUH-LAUFI&
    USING &REGUH-XVORL&
    USING &REGUH-ZBUKR&
    USING &REGUH-LIFNR&
    USING &REGUH-VBLNR&
    CHANGING &LTYC_XBLNR&
    CHANGING &LTYC_BLDAT&
    CHANGING &LTYC_SGTXT&
    CHANGING &LTYC_DMBTR&
    ENDPERFORM
    PROTECT
         &LTYC_XBLNR&     &LTYC_BLDAT&     &LTYC_SGTXT&     &LTYC_DMBTR&
    ENDPROTECT
    End of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    PROGRAM:
    IF gt_regup[] IS NOT INITIAL.
        CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION                       = 'TX'
    *         ARCHIVE_INDEX                     =
    *         ARCHIVE_PARAMS                    =
    *         DEVICE                            = 'PRINTER'
    *         DIALOG                            = 'X'
             form                              = lcc_z2574ffi_ra
    *         LANGUAGE                          = SY-LANGU
    *         OPTIONS                           =
    *         MAIL_SENDER                       =
    *         MAIL_RECIPIENT                    =
    *         MAIL_APPL_OBJECT                  =
    *         RAW_DATA_INTERFACE                = '*'
    *         SPONUMIV                          =
    *       IMPORTING
    *         LANGUAGE                          =
    *         NEW_ARCHIVE_PARAMS                =
    *         RESULT                            =
           EXCEPTIONS
             canceled                          = 1
             device                            = 2
             form                              = 3
             OPTIONS                           = 4
             unclosed                          = 5
             mail_options                      = 6
             archive_error                     = 7
             invalid_fax_number                = 8
             more_params_needed_in_batch       = 9
             spool_error                       = 10
             codepage                          = 11
             OTHERS                            = 12.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        LOOP AT gt_regup INTO lw_regup.
          m_line_items 'LTYC_XBLNR' lw_regup-xblnr.
          m_line_items 'LTYC_BLDAT' lw_regup-bldat.
          m_line_items 'LTYC_SGTXT' lw_regup-sgtxt.
          m_line_items 'LTYC_DMBTR' lw_regup-dmbtr.
          DELETE ex_output WHERE value IS INITIAL.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             element                        = '510-C'
             function                       = 'APPEND'
    *         TYPE                           = 'BODY'
             window                         = 'MAIN'
    *       IMPORTING
    *         PENDING_LINES                  =
           EXCEPTIONS
             element                        = 1
             function                       = 2
             type                           = 3
             unopened                       = 4
             unstarted                      = 5
             window                         = 6
             bad_pageformat_for_print       = 7
             spool_error                    = 8
             codepage                       = 9
             OTHERS                         = 10.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDLOOP.
        CALL FUNCTION 'CLOSE_FORM'
    *       IMPORTING
    *         RESULT                         =
    *         RDI_RESULT                     =
    *       TABLES
    *         OTFDATA                        =
           EXCEPTIONS
             unopened                       = 1
             bad_pageformat_for_print       = 2
             send_error                     = 3
             spool_error                    = 4
             codepage                       = 5
             OTHERS                         = 6.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.

    Hi,
    Write the at last event in the program and check if it works
      At last.
           CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc  0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Regards,
    Sravanthi

  • Full Control User Cannot View Items in a List

    Hi All,
    User wants to view items on 2 lists (List A/List B)
    I went ahead and inherited permissions the lists from the top level site.
    Lists A and B say Manage Exceptions because all the items in the list are unique items. 
    After all permissions were inherited I gave both user "full control". I hopped on to their account, and navigated the site and found out that when I click View All Site Content, I see both lists and the item count next to each list (indicating
    that there are items in List A/List B. When I click either list however, there are no items being displayed.
    Seems to me it has a lot to do with the unique items. How do I make all the unique items inherit parent permissions. When I try to do it, it makes me edit each item one-by-one. 

    Hi,
    Please firstly verify that the problematic user account has no sufficient permission on unique items. You could check item permission via Item’s “Share With” > Advanced > Check Permission:
    If you need to grant permission on all items to a user group in bulk, here is an article about granting a specific permission level to a single group for all uniquely secured items in a list:
    http://www.insource.com/sharing-with-sharepoint/
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Printing in only last line item printing in main window

    Hi All,
    My requiremnet is to print same data in two blocks for F110 payment cheque
    Iam using 2 main windows to print same data if block exceeds it will go to next page
    iam calling the windows as shown below
    CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window   = 'MAIN00'
            element  = hlp_ep_element
            function = 'APPEND'
          EXCEPTIONS
            window   = 1
            element  = 2.
        IF sy-subrc EQ 2.
          err_element-fname = t042e-zforn.
          err_element-fenst = 'MAIN00'.
          err_element-elemt = hlp_ep_element.
          err_element-text  = text_525.
          COLLECT err_element.
        ENDIF.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window   = 'MAIN01'
            element  = hlp_ep_element
            function = 'APPEND'
          EXCEPTIONS
            window   = 1
            element  = 2.
        IF sy-subrc EQ 2.
          err_element-fname = t042e-zforn.
          err_element-fenst = 'MAIN01'.
          err_element-elemt = hlp_ep_element.
          err_element-text  = text_525.
          COLLECT err_element.
        ENDIF.
    Iam getting only last line item printing in main window
    Please provide the inputs.
    Thanks,
    Kamalakar.
    Please use code tags.
    Edited by: Rob Burbank on Nov 25, 2011 11:51 AM

    Hi,
    My requirement was to print same block twice in cheque printing of F110.
    I have used the function module  'WRITE_FORM_LINES' to print more than one line item in secondary window in the script .
    fill the Lines internal table as shown below.
    Example :
        lines-tdformat = 'TM'.
        CONCATENATE regup-xblnr ',,' w_date ',,'  w_bsak-sgtxt ',,' w_gross ',,' w_dis ',,'
        w_net INTO lines-tdline.
    APPEND lines.
    CALL FUNCTION 'WRITE_FORM_LINES'
          EXPORTING
           function                       = 'APPEND'
           header                         =  header_t
           type                           = 'BODY'
           window                         = 'MAIN01'
        IMPORTING
          FROMPAGE                       =
          PENDING_LINES                  =
          TABLES
            lines                          = lines
         EXCEPTIONS
           function                       = 1
           type                           = 2
           unopened                       = 3
           unstarted                      = 4
           window                         = 5
           bad_pageformat_for_print       = 6
           spool_error                    = 7
           codepage                       = 8
           OTHERS                         = 9
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.

Maybe you are looking for

  • A pop up window asking for my password?

    Ever since I changed the admistrators password, this stupid window keeps popping up. I've searched everywhere and it's driving me crazy LOL All I do is cancel it (hit the red circle)but it keeps coming back. any ideas? It says that Safari is asking f

  • Document number disrepencies for the same Document Type

    Dear All, I found an issue with Document number range with document type SA wherein last month document posted starts with 1431..... and in current month document posted starts with 1400..... how can this be possible?  NOTE: The same document number

  • I do I turn the microphone back on for Skype?

    I accidentally declined the microphone for Skype. When I go into my settings privacy and microphone Skype does not show up. How can I correct this and turn the microphone back on for Skype?

  • CS 5.5 ME: upgrade possible to CS 6 (without ME)?

    Can I upgrade from the ME Design Premium Suite 5.5 to CS6? As I read, CS 6 is capable of setting Arabic and other right to left languages. But I did not buy this ME product from Adobe, so I am not sure if upgrade is possible.

  • How should i develop my p2p streaming system

    i have tried some way as following to develop in half year. But it still not works as i wish. h1. 1. h3. main idea: Use jmf RTP api to link each peers. h3. implement: RTPManager( transmitter) ---> RTPManager (receiver ) receiver create a merged Clone