Main window twice

Hi.
I have requirement to print main window twice. Please help me out.
1) In my script i make two main windows like MAIN 00, MAIN 01.
2) In MAIN 00 i have ELEMENT 525 and 525-n( i am created). This two available in MAIN 02 also.
3) In my Driver Program, I have two WRITE_FORMS for each ELEMENT.
But i didnt get data twice.
Regards.
Sreenu Valeti

Hi Sreenu ,
   Since you want 2 main windows you have selected Main 00 and Main 01 .
1 . Now in script Align the 2 windows properly i.e see that they do not over lap on each other .
2 . Use the Statement NEW-WINDOW to trigger a new Main Window .
3 . Now call the elements of the other Main Window .
Hereu2019s a sample(in Script) ,
Element-525
Element-525n
NEW-WINDOW
Hope it helps !
Regards ,
Amuktha .

Similar Messages

  • [Urgent] How to Print Main Window Twice ??

    Hi Everyone,
    I am making a Prenum Check which has
    1 Main Win 00 : Invoiced Item Lines for the Check Payment
    2 Check Window: A Check to be printed
    3 Main Win 01 : Copy of Main Win 00
    The Main Window has Line Items of the Payment Invoices for Vendor, which can flow across multiple pages.So I cannot use NEW-WINDOW. I cannot make the changes in SAP Program. Please help me sorting out this issue with some small PERFORM Code which will copy contents of current main window and print it back in new window on the same page.
    Please Help me....
    Thanks in Advance.
    Regards,
    Abhsihek B.

    HII
    HAVE ALOOK AT THE CODE
    TABLES : KNA1 , T005T.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    DATA : BEGIN OF ITAB OCCURS 0,
           KUNNR LIKE KNA1-KUNNR,
           NAME1 LIKE KNA1-NAME1,
           LAND1 LIKE KNA1-LAND1,
           LANDX LIKE T005T-LANDX,
           END OF ITAB.
    DATA : V_LANDX TYPE T005T-LANDX.
    DATA : IT_STEXT TYPE TLINE OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT KUNNR NAME1 LAND1 FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE
    ITAB WHERE KUNNR IN
    S_KUNNR.
      LOOP AT ITAB.
    SELECT SINGLE LANDX FROM T005T INTO (V_LANDX) WHERE LAND1 = ITAB-LAND1.
        ITAB-LANDX = V_LANDX.
        MODIFY ITAB INDEX SY-TABIX.
      ENDLOOP.
        CALL FUNCTION 'OPEN_FORM'
         EXPORTING
         APPLICATION                       = 'TX'
         ARCHIVE_INDEX                     =
         ARCHIVE_PARAMS                    =
         DEVICE                            = 'PRINTER'
         DIALOG                            = 'X'
           FORM                              = 'Z50653_PAGE1'
           LANGUAGE                          = 'E'
         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.
        CALL FUNCTION 'START_FORM'
         EXPORTING
           ARCHIVE_INDEX          =
           FORM                   = 'Z50653_PAGE1'
           LANGUAGE               = 'E'
           STARTPAGE              = 'PAGE1'
           PROGRAM                = ' '
           MAIL_APPL_OBJECT       =
         IMPORTING
           LANGUAGE               =
         EXCEPTIONS
           FORM                   = 1
           FORMAT                 = 2
           UNENDED                = 3
           UNOPENED               = 4
           UNUSED                 = 5
           SPOOL_ERROR            = 6
           CODEPAGE               = 7
           OTHERS                 = 8
        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 ITAB.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             ELEMENT                       = ' '
            FUNCTION                       = 'SET'
            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.
         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.

  • SAPSCRIPT Main Window Issue

    I need to print the contents of the main window twice in the same page at different places.I searched the forum but I did not get any relevant thread with a solution.
    Can anyone help.
    Thanks
    Nancy

    I've put two main windows on the same page.
    Since it is  a main window we cannot rename it, so the name of both the main windows is "main".
    When i call it using the function module "write_form'  from the driver program only the first instance of the main window is called, if there is an overflow ( that is the data doesn't fit into the first main window ) it goes to the second instance of the main window and prints the rest of the data in the second instance of the main window.
    But this is not my requirement.
    I want the same data to be replicated in both the main windows.
    Not the first half of the data in the first main window and the second half in the second instance of the main window.
    I think I've made my requirement more clearer.
    Thanks
    Nancy

  • First Record is repeated twice in main window of script

    Dear All,
    I am developing a Script form, which contains 3 windows Header,Main and Footer. My Problem is that in Main window
    the first record is repeated twice and the remaining all records
    are ok. I am unable to solve this issue of stopping the duplicate
    first record. Your response might be helpfull to me.
    Regards,

    I came across this prob today too.
    I did some digging, maybe it is something with the window type, this prob only occurs when the type of the window is continuious, and it is only possible for the main window to be set to the continuious type.
    The only way, as far as I know, is that you can put those your wanna print in a text element. And by doing so, the prob is gone. But, do pay attention to those are not continuious type windows, and remember that they are variable. The content of the windows like those, are only kept until the next write_form is called to repaint the window content and any content of the ex-window would vanish without a trace. And if you also put the content of the variable windows in a text element, there will be some format confusion getting in the way.
    That is all I got, But I still have no idea about the course.

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • SAP Script need to display main window two times on single page.

    Hello Guru's,
    So here is my requirement, we need to print check. We are using F110_PRENUM_CHCK and linked with driver prog RFFOUS_C. We have Letter size paper with three sections,
    1. Check
    2. Voucher Section (containing table of element 515, 525 and 530) 515: Heading, 525 : Regup-Belnr, Regup-XBLNR, Regud-Wrbtr.
                                                                                    530: Regup-SGTXT
    3. Voucher Section (As a receipt for bank itself) : contains same data as 2nd section.
    I tried several things reading all the previous post over here in SDN.
    1. Created Z form created two instances of main window it results just single display of table (voucher section) in section two and not in third.
    2. I also tried pasting two times same code in single main window which gives only last item line for the table.
    3. Created z driver program made changes in Write_form added control form for element 515 that does results in showing element 515 on both the location.
                CALL FUNCTION 'CONTROL_FORM'
                  EXPORTING
                    command   = 'NEW-WINDOW'
                  EXCEPTIONS
                    unopened  = 1
                    unstarted = 2
                    OTHERS    = 3.
                CALL FUNCTION 'WRITE_FORM'
                  EXPORTING
                    element = '515'
                  EXCEPTIONS
                    window  = 1
                    element = 2.
    3. For Element 525 and element 530 is not acting same. In the prog 525 = hlp_ep_element. And there are many write_form for this. I tried pasting each and every place same kind of code. It doesnt work. what it do it gives me three pages of output repeating every thing twice and weirdly.
    I am need this to be done as I already took so much time solving nothing is working.
    Please give me the exact location where to paste this code so I can have two times data of main window.
    Or is there any other way to do this....Any way will be good for me as long as it shows two times data in the form.
    The data is table.

    Hi Manju,
    I create a new window (no main) but does not run, please can you tell me what should I do to make it work.
    Best regards.
    Robert.

  • Problem With Smartform Main window

    Dear All,
    I have a requirement in which I need to print a PO using Smartforms.
    In this requirement we need to check a flag, and based on the flag we need to call the subsequent pages.
    if the Flag is set then I need to print the first page 2 times and after these two pages Terms and conditions page would come.
    In the main window of first page i have put a contition check for this flag.If the condition is true I am calling the First page as Next page and if the condition is not true the Last page(T&C) is called.
    now, the issue is when the condition is true means when I need to  call the first page twice then the very first page of the output is coming fine but when the same page is printed again the item details are not getting printed also the last page is not coming in this case.
    please help.
    Thanks in advance.
    regards,
    Shweta

    When you are calling first page again (as Second page) based on your flag, it will copy the only the content of all windows except main widow.
    To solve your issue, Put the same loop again in the mainwindow with condition which is used for trigerring second page.(Repeat page).
    Regards
    Afsal

  • 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.

  • Totals in Main Window

    Hi All,
    I want to display the totals of cases,eaches and weight in the last page of the main window.
    I am using Bottom and Endbottom to display the totals.
    I am using the following code in the main window.
    IF &page& eq &sapscript-formpages&
    Bottom
    Endbottom.
    ENDIF
    But the total is printing on each page of the main window.
    It displays the total for that page and adds that amount to the next items on the next page and display the totals.
    I want the whole sum of all the items to be displayed in last page main window.
    I also tried using &nextpage& eq 0
    Please solve my answer.
    Thanks

    Thanks for your reply. Here is the code if the line editor.
    SFORMZMTOCOLL02
    HFORMZMTOCOLL02
    OLANE
    HEADFORM      ZMTOCOLL02      SAP                                                   DEF EPrint transfer order list                         ZMTOCOLL02              00029AGANGULY    46C 20041220120018RCHALASA    640 2006103116381413200072 E0                                                                                100
    LINE/:FORM CPI 10; LPI 6; TAB-STOP 1 CH; START-PAGE FIRST;
    LINE/:FORM FORMAT LETTER LANDSCAPE; PARAGRAPH L; RDI; RDIDEV;
    LINE/:PARAGRAPH B ALIGN BLOCK; LINE-SPACE 1 LN; FONT-SIZE 28;
    LINE/:PARAGRAPH L LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L0 LINE-SPACE 0.80 LN;
    LINE/:PARAGRAPH L1 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L2 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L3 LINE-SPACE 0.80 LN;
    LINE/:PARAGRAPH L4 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L5 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L6 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L8 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH L9 LINE-SPACE 1 LN;
    LINE/:PARAGRAPH LC LINE-SPACE 0.80 LN;
    LINE/:PARAGRAPH LH LINE-SPACE 1 LN;
    LINE/:PARAGRAPH LT LINE-SPACE 0.80 LN;
    LINE/:PARAGRAPH LV LINE-SPACE 1 LN;
    LINE/:PARAGRAPH LX LINE-SPACE 0.80 LN;
    LINE/:PARAGRAPH L TAB 1 36 CH LEFT;
    LINE/:PARAGRAPH L0 TAB 1 1 CH LEFT; TAB 2 16 CH LEFT; TAB 3 46 CH CENTER;
    LINE/:PARAGRAPH L0 TAB 4 57 CH CENTER; TAB 5 62 CH LEFT; TAB 6 65 CH LEFT;
    LINE/:PARAGRAPH L0 TAB 7 72 CH LEFT; TAB 8 96 CH RIGHT; TAB 9 100 CH CENTER;
    LINE/:PARAGRAPH L1 TAB 1 38 CH LEFT; TAB 2 75 CH LEFT; TAB 3 90 CH LEFT;
    LINE/:PARAGRAPH L2 TAB 1 40 CH LEFT; TAB 2 90 CM LEFT;
    LINE/:PARAGRAPH L3 TAB 1 1 CH LEFT; TAB 2 16 CH LEFT; TAB 3 46 CH CENTER;
    LINE/:PARAGRAPH L3 TAB 4 57 CH CENTER; TAB 5 62 CH LEFT; TAB 6 65 CH LEFT;
    LINE/:PARAGRAPH L3 TAB 7 77 CH CENTER; TAB 8 91 CH CENTER; TAB 9 100 CH CENTER;
    LINE/:PARAGRAPH L4 TAB 1 5 CH LEFT;
    LINE/:PARAGRAPH L5 TAB 1 40 CH LEFT; TAB 2 42 CH LEFT; TAB 3 46 CH LEFT;
    LINE/:PARAGRAPH L5 TAB 4 57 CH LEFT;
    LINE/:PARAGRAPH L6 TAB 1 5 CH LEFT; TAB 2 7 CH LEFT; TAB 3 40 CH LEFT;
    LINE/:PARAGRAPH L6 TAB 4 42 CH LEFT; TAB 5 46 CH LEFT; TAB 6 57 CH LEFT;
    LINE/:PARAGRAPH L6 TAB 7 75 CH LEFT;
    LINE/:PARAGRAPH L8 TAB 1 20 CH LEFT; TAB 2 42 CH LEFT; TAB 3 55 CH LEFT;
    LINE/:PARAGRAPH L9 TAB 1 20 CH LEFT;
    LINE/:PARAGRAPH LC TAB 1 1 CH LEFT; TAB 2 15 CH LEFT; TAB 3 30 CH LEFT;
    LINE/:PARAGRAPH LC TAB 4 56 CH LEFT; TAB 5 74 CH CENTER; TAB 6 83 CH CENTER;
    LINE/:PARAGRAPH LC TAB 7 90 CH CENTER; TAB 8 97 CH CENTER; TAB 9 101 CH CENTER;
    LINE/:PARAGRAPH LH TAB 1 18 CH LEFT; TAB 2 26 CH LEFT; TAB 3 31 CH LEFT;
    LINE/:PARAGRAPH LT TAB 1 1 CH LEFT; TAB 2 15 CH LEFT; TAB 3 30 CH LEFT;
    LINE/:PARAGRAPH LT TAB 4 56 CH LEFT; TAB 5 74 CH CENTER; TAB 6 83 CH CENTER;
    LINE/:PARAGRAPH LT TAB 7 90 CH CENTER; TAB 8 97 CH CENTER; TAB 9 101 CH CENTER;
    LINE/:PARAGRAPH LV TAB 1 3 CH LEFT; TAB 2 23 CH LEFT; TAB 3 34 CH LEFT;
    LINE/:PARAGRAPH LV TAB 4 55 CH LEFT;
    LINE/:PARAGRAPH LX TAB 1 1 CH LEFT; TAB 2 16 CH LEFT; TAB 3 46 CH CENTER;
    LINE/:PARAGRAPH LX TAB 4 57 CH CENTER; TAB 5 62 CH LEFT; TAB 6 65 CH LEFT;
    LINE/:PARAGRAPH LX TAB 7 72 CH LEFT; TAB 8 96 CH RIGHT; TAB 9 100 CH CENTER;
    LINE/:STRING B BOLD ON;
    LINE/:STRING BC FONT COURIER; FONT-SIZE 12; ULINE ON; MARK OFF; BARCODE BC_EANH;
    LINE/:STRING BD FONT COURIER; FONT-SIZE 72; ULINE ON; MARK OFF; BARCODE ZBC_EANH;
    LINE/:STRING H BOLD ON;
    LINE/:STRING HD FONT COURIER; FONT-SIZE 14; BOLD ON;
    LINE/:STRING U ULINE ON;
    LINE/:WINDOW CUST_WIN TYPE VAR;
    LINE/:WINDOW DETAIL_A TYPE CONST;
    LINE/:WINDOW DETAIL_F TYPE CONST;
    LINE/:WINDOW FUSS TYPE VAR;
    LINE/:WINDOW KOPF TYPE VAR;
    LINE/:WINDOW LAST_3 TYPE VAR;
    LINE/:WINDOW MAIN
    LINE/:WINDOW PICKLOC TYPE VAR;
    LINE/:WINDOW SHP_INST TYPE VAR;
    LINE/:PAGE FIRST NEXT FIRST;
    LINE/:PAGE FIRST MAIN 0 1.97 CH 7.70 CM 27 CM 21.97 LN;
    LINE/:PAGE FIRST WINDOW CUST_WIN 10 CM 3 CM 11 CM 2 CM;
    LINE/:PAGE FIRST WINDOW DETAIL_A 1.97 CH 6 CM 27 CM 4 LN;
    LINE/:PAGE FIRST WINDOW DETAIL_F 1.97 CH 6 CM 27 CM 26.69 LN;
    LINE/:PAGE FIRST WINDOW FUSS 78.74 CH 40.87 LN 28.74 CH 8.27 LN;
    LINE/:PAGE FIRST WINDOW KOPF 1.97 CH 0.94 LN 27 CM 12.76 LN;
    LINE/:PAGE FIRST WINDOW LAST_3 24 MM 14 MM 29 MM 15 MM;
    LINE/:PAGE FIRST WINDOW PICKLOC 19 CM 0.50 CM 7 CM 5 CM;
    LINE/:PAGE FIRST WINDOW SHP_INST 1.97 CH 40.87 LN 76 CH 8.27 LN;
    END
    HEADFORM      ZMTOCOLL02      SAP                                                   TXT EPrint transfer order list                         ZMTOCOLL02              00029AGANGULY    46C 20041220120018RCHALASA    640 2006103116381413200468 E0                                                                                100
    LINE/:FORM TEXT 'Print transfer order list';
    LINE/:PARAGRAPH B TEXT 'Paragr.blocked';
    LINE/:PARAGRAPH L TEXT 'Paragr.flush left';
    LINE/:PARAGRAPH L0 TEXT 'Flush left 1st item line';
    LINE/:PARAGRAPH L1 TEXT 'Flush left header 1st line';
    LINE/:PARAGRAPH L2 TEXT 'Flush left bar code';
    LINE/:PARAGRAPH L3 TEXT 'Flush left 1st item line';
    LINE/:PARAGRAPH L4 TEXT 'Flush left heading 2';
    LINE/:PARAGRAPH L5 TEXT 'Flush left 2nd item line';
    LINE/:PARAGRAPH L6 TEXT 'Flush left 3rd item line';
    LINE/:PARAGRAPH L8 TEXT 'Paragr.footer line';
    LINE/:PARAGRAPH L9 TEXT 'Paragr."Repeat Print"';
    LINE/:PARAGRAPH LC TEXT 'Line Item heading';
    LINE/:PARAGRAPH LH TEXT 'Header data HU elements';
    LINE/:PARAGRAPH LT TEXT 'Line Item heading-2nd line';
    LINE/:PARAGRAPH LV TEXT 'Data of packaging';
    LINE/:PARAGRAPH LX TEXT 'Flush left 1st item line';
    LINE/:STRING B TEXT 'Bold';
    LINE/:STRING BC TEXT 'Bar code EAN-128';
    LINE/:STRING BD TEXT 'Bar code EAN-128 22 mm';
    LINE/:STRING H TEXT 'Character sequence highlighted';
    LINE/:STRING HD TEXT 'Form Heading';
    LINE/:STRING U TEXT 'Character sequence underlined';
    LINE/:WINDOW CUST_WIN TEXT 'Customer Window';
    LINE/:WINDOW DETAIL_A TEXT 'Detail headers';
    LINE/:WINDOW DETAIL_F TEXT 'Detail Box Frame';
    LINE/:WINDOW FUSS TEXT 'Footer text';
    LINE/:WINDOW KOPF TEXT 'List header';
    LINE/:WINDOW LAST_3 TEXT 'Last_3';
    LINE/:WINDOW MAIN TEXT 'Main window';
    LINE/:WINDOW PICKLOC TEXT 'Pick Location Barcode';
    LINE/:WINDOW SHP_INST TEXT 'Shipping Instructions';
    LINE/:PAGE FIRST TEXT 'First page';
    LINE/WDETAIL_A
    LINELC,,Storage,,<B>Material No.</>,,Material Description,,Batch,,Target Qty,,
    LINE= UOM,,T.O. #,,,,STYPE
    LINELC,,Bin,,NDC,,,,SLED,,Cases,,,,
    LINE/*
    LINE/*
    LINE/*,,<b>Material No.</>,,Material Description,,Batch,,S.Item,,,,STYPE,,
    LINE/*Storage,,Target Qty.,,UOM
    LINE/*,,NDC,,,,SLED,,Stk.Cat.,,,,,,Bin,,Cases
    LINE/WDETAIL_F
    LINE/:BOX HEIGHT '1.7' LN
    LINE/*The top line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '2.0' CH YORIGIN '13.5' LN
    LINE/:SIZE WIDTH '104' CH HEIGHT '0' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '2.0' CH YORIGIN '17' LN
    LINE/:SIZE WIDTH '104.0' CH HEIGHT '0' LN
    LINE/:BOX FRAME 10 TW
    LINE/*The bottom line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '2.0' CH YORIGIN '40' LN
    LINE/:SIZE WIDTH '104' CH HEIGHT '0' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 1st vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '2.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 2nd vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '15.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 3nd vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '30.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE*
    LINE/*The 4th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '57.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 5th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '69.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 6th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '82.0' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE/*
    LINE/*The 7th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '88.00' CH YORIGIN '13.50' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE*
    LINE/*The 8th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '100.00' CH YORIGIN '13.5' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE*
    LINE/*The 9th vertical line
    LINE/:POSITION PAGE
    LINE/:POSITION XORIGIN '106.00' CH YORIGIN '13.5' LN
    LINE/:SIZE WIDTH '0' CH HEIGHT '26.5' LN
    LINE/:BOX FRAME 10 TW
    LINE*
    LINE/WCUST_WIN
    LINE/:DEFINE &W_NLPLA& = &LTAP-NLPLA&
    LINE/:DEFINE &W_NAME1& := ' '
    LINE/:DEFINE &W_NAME2& := ' '
    LINE/:DEFINE &W_STRAS& := ' '
    LINE/:DEFINE &W_ORT01& := ' '
    LINE/:DEFINE &W_REGIO& := ' '
    LINE/:DEFINE &W_PSTLZ& := ' '
    LINE/:DEFINE &W_KUNNR& := ' '
    LINE/:PERFORM F_CUST_ADRC IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_NLPLA&
    LINE/:CHANGING &W_NAME1&
    LINE/:CHANGING &W_NAME2&
    LINE/:CHANGING &W_STRAS&
    LINE/:CHANGING &W_ORT01&
    LINE/:CHANGING &W_REGIO&
    LINE/:CHANGING &W_PSTLZ&
    LINE/:CHANGING &W_KUNNR&
    LINE/:ENDPERFORM
    LINE* Customer No.: &W_KUNNR&
    LINE* &W_NAME1&
    LINE* &W_STRAS&
    LINE* &W_ORT01&, &W_REGIO& &W_PSTLZ&
    LINE/WPICKLOC
    LINE/*>> Define Input and output variables used in different Performs calls
    LINE/:DEFINE &W_LGNUM& := &LTAK-LGNUM&
    LINE/:DEFINE &W_LGTOR& := &LTAK-LGTOR&
    LINE/:DEFINE &W_VBELN& := &LTAK-VBELN&
    LINE/:DEFINE &W_TANUM& := &LTAP-TANUM&
    LINE/:DEFINE &W_OUT_LINE1_BC& := ' '
    LINE/******************************************************************
    LINE/*>> THIS PERFORM CALL IS USED TO GET THE BAR CODE FOR PICK PROCESS
    LINE/*>> Input - Door for warehouse number
    LINE/*>> Input - Sales and distribution document number
    LINE/*<< Output - Line 1
    LINE/******************************************************************
    LINE/:PERFORM F_PICK_PROCESS_BC IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_LGNUM&
    LINE/:USING &W_LGTOR&
    LINE/:USING &W_VBELN&
    LINE/:USING &W_TANUM&
    LINE/:CHANGING &W_OUT_LINE1_BC&
    LINE/:ENDPERFORM
    LINE/*<< End of F_PICK_PROCESS_BC  perform cal>>
    LINEL2
    LINEL2
    LINEL2
    LINEL2
    LINEL2
    LINEL2<BD>&W_OUT_LINE1_BC&</>
    LINEL2
    LINEL2
    LINEL2
    LINE/WSHP_INST
    LINE/:DEFINE &W_NLPLA& = &LTAP-NLPLA&
    LINE/:DEFINE &W_PRINT& := ' '
    LINE/:DEFINE &W_VSBED& := ' '
    LINE/:DEFINE &W_VTEXT& := ' '
    LINE/:DEFINE &W_SDABW& := ' '
    LINE/:DEFINE &W_BEZEI& := ' '
    LINE/:DEFINE &W_LINE1& := ' '
    LINE/:DEFINE &W_LINE2& := ' '
    LINE/:DEFINE &W_LINE3& := ' '
    LINE/:DEFINE &W_LINE4& := ' '
    LINE/:DEFINE &W_LINE5& := ' '
    LINE/:PERFORM F_SHIP_INSTRUCTIONS IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING    &W_NLPLA&
    LINE/:CHANGING &W_PRINT&
    LINE/:CHANGING &W_VSBED&
    LINE/:CHANGING &W_VTEXT&
    LINE/:CHANGING &W_SDABW&
    LINE/:CHANGING &W_BEZEI&
    LINE/:CHANGING &W_LINE1&
    LINE/:CHANGING &W_LINE2&
    LINE/:CHANGING &W_LINE3&
    LINE/:CHANGING &W_LINE4&
    LINE/:CHANGING &W_LINE5&
    LINE/:ENDPERFORM
    LINE/:IF       &W_PRINT& NE ' '
    LINE* Shipping Conditions   : &W_VTEXT& &'('W_BEZEI')'&
    LINE/:IF &W_LINE1& NE ' ' OR &W_LINE2& NE ' ' OR &W_LINE3& NE ' ' OR &W_LINE4& NE ' ' OR &W_LINE5& NE ' '
    LINE* Shipping Instructions :
    LINE*     &W_LINE1&
    LINE*     &W_LINE2&
    LINE*     &W_LINE3&
    LINE*     &W_LINE4&
    LINE*     &W_LINE5&
    LINE/:ENDIF
    LINE/:ENDIF
    LINE/WKOPF
    LINE/EKOPF
    LINE/:BITMAP 'Z_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 100
    LINE/*L
    LINE/*L
    LINE/*L
    LINEL ,,<HD>TRANSFER ORDER COLLECTIVE</>
    LINE/*>> Define Input and output variables used in different Performs calls
    LINE/:DEFINE &W_LGNUM& := &LTAK-LGNUM&
    LINE/:DEFINE &W_LGTOR& := &LTAK-LGTOR&
    LINE/:DEFINE &W_VBELN& := &LTAK-VBELN&
    LINE/:DEFINE &W_TANUM& := &LTAP-TANUM&
    LINE/:DEFINE &W_OUT_LINE1_BC& := ' '
    LINE/******************************************************************
    LINE/*>> THIS PERFORM CALL IS USED TO GET THE BAR CODE FOR PICK PROCESS
    LINE/*>> Input - Door for warehouse number
    LINE/*>> Input - Sales and distribution document number
    LINE/*<< Output - Line 1
    LINE/******************************************************************
    LINE/:PERFORM F_PICK_PROCESS_BC IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_LGNUM&
    LINE/:USING &W_LGTOR&
    LINE/:USING &W_VBELN&
    LINE/:USING &W_TANUM&
    LINE/:CHANGING &W_OUT_LINE1_BC&
    LINE/:ENDPERFORM
    LINE/*<< End of F_PICK_PROCESS_BC  perform call>>
    LINEL1Door: &W_OUT_LINE1_BC&,,
    LINE/*IF &LTAK-LGTOR& NE ' '
    LINE/*Door: &LTAK-LGTOR&
    LINE/*ENDIF.
    LINEL1Delivery Number: &LTAK-VBELN&
    LINEL2
    LINEL2
    LINEL2
    LINEL2<BC>&LTAK-VBELN&</>,,
    LINE/:IF &LTAK-LGBZO& NE ' '
    LINE= &LTAK-LGBZO&
    LINE/:ENDIF
    LINE/WLAST_3
    LINE/:DEFINE &LAST_3& = ' '
    LINE/:PERFORM LAST_3 IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &LTAK-VBELN&
    LINE/:CHANGING &LAST_3&
    LINE/:ENDPERFORM
    LINEB &LAST_3&
    LINE/WFUSS
    LINE/EFUSS
    LINEL1&RLDRU-WIEDR&  WHS: &LTAK-LGNUM&
    LINE/
    LINE/
    LINE/
    LINE/
    LINE/
    LINE/
    LINE/*>> Define Input and output variables used in to Performs call
    LINE/:DEFINE &W_PAGE_FROM& = ' '.
    LINE/:DEFINE &W_PAGE_TOTAL& = ' '.
    LINE/:DEFINE &W_PAGE_FLAG& = 'N'.
    LINE/:DEFINE &TOT_CASE& = ' '.
    LINE/******************************************************************
    LINE/*>> This perform call is used to Get Consolidated Page No.
    LINE/*>> Input - Reference No., Delivery Document No.
    LINE/*<< Output - Page No., Total Page No., Page Flag
    LINE/******************************************************************
    LINE/:PERFORM F_PAGE_NO IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &LTAK-REFNR&
    LINE/:USING &LTAK-VBELN&
    LINE/:CHANGING &W_PAGE_FROM&
    LINE/:CHANGING &W_PAGE_TOTAL&
    LINE/:CHANGING &W_PAGE_FLAG&
    LINE/:ENDPERFORM
    LINE/*<< End of F_PAGE_NO  perform cal>>
    LINE/*
    LINE/*PERFORM F_TOTALS IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/*USING &W_MATNR&
    LINE/*USING &W_NSOLM&
    LINE/*CHANGING &TOT_CASE&
    LINE/*ENDPERFORM
    LINE/*IF &W_PAGE_FROM& EQ &W_PAGE_TOTAL&
    LINE/*<B>DELIVERY TOTALS</>
    LINE/*<B>CASES:&TOT_CASE&</>
    LINE/*<B>EA,,,,,,:</>
    LINE/*<B>WEIGHT:</>
    LINE/*ELSE
    LINE/*
    LINE/*
    LINE/*
    LINE/*
    LINE/*
    LINE/*ENDIF
    LINE/:IF &W_PAGE_FLAG& EQ 'Y'
    LINEL1&LTAK-BDATU&  Page &W_PAGE_FROM(C)& of &W_PAGE_TOTAL(C)&
    LINE/:ELSE
    LINEL1&LTAK-BDATU&  Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
    LINE/:ENDIF.
    LINE/WMAIN
    LINE/*************************************************************************
    LINE/** Caution: Elements KOPF_TA, KOPF_HU, KOPF_TITLE will be print only    *
    LINE/**          on the first page of TO                                     *
    LINE/**          KOPF_HU must be in Window MAIN because of variable number   *
    LINE/**                  of lines.                                           *
    LINE/**          KOPF_TA and KOPF_TITLE have the same structure as           *
    LINE/**                  window KOPF. -> Changes must maintain twice         *
    LINE/*************************************************************************
    LINE/EKOPF_TA
    LINE/:IF  &LTAP-VLBER& EQ '001'
    LINE/:DEFINE &W_VLTYP& := &LTAP-VLTYP&
    LINE/:ELSE
    LINE/:DEFINE &W_VLTYP& := &LTAP-VLBER&
    LINE/:ENDIF
    LINE/EKOPF_HU
    LINE/:IF  &LTAP-VLBER& EQ '001'
    LINE/:DEFINE &W_STYPE& := &LTAP-VLTYP&
    LINE/:ELSE
    LINE/:DEFINE &W_STYPE& := &LTAP-VLBER&
    LINE/:ENDIF
    LINE/EKOPF_TITLE
    LINE/*
    LINE/EMAIN
    LINE/*>> Define Input and output variables used in different Performs calls
    LINE/:DEFINE &W_MAKTX& := &LTAP-MAKTX&
    LINE/:DEFINE &W_MATNR& := &LTAP-MATNR&
    LINE/:DEFINE &W_OUT_LINE1& := ' '
    LINE/:DEFINE &W_OUT_LINE2& := ' '
    LINE/:DEFINE &W_CASEQTY& := ' '
    LINE/:DEFINE &TOT_CASE& := ' '
    LINE/:DEFINE &TOT_EA& := ' '
    LINE/:DEFINE &TOT_EA& := ' '
    LINE/:DEFINE &W_PAGE_FROM& := ' '
    LINE/:DEFINE &W_PAGE_TOTAL& := ' '
    LINE/:DEFINE &W_PAGE_FLAG& := 'N'
    LINE/:DEFINE &W_NSOLM& := &LTAP-NSOLM(T)&
    LINE/:DEFINE &W_TANUM& := &LTAP-TANUM&
    LINE/:DEFINE &W_BRGEW& := &LTAP-BRGEW&
    LINE/******************************************************************
    LINE/*>> This perform call is used to Warp the Material description
    LINE/*>> Input - Material description
    LINE/*<< Output - Line 1 ,Line2
    LINE/******************************************************************
    LINE/:PERFORM F_WORDWRAP_MAKTX IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_MAKTX&
    LINE/:CHANGING &W_OUT_LINE1&
    LINE/:CHANGING &W_OUT_LINE2&
    LINE/:ENDPERFORM
    LINE/*
    LINE/*<< End of F_WORDWRAP_MAKTX  perform cal>>
    LINE/**********************************************************************
    LINE/*This perform call is used to fetch the International Article Number(NDC)
    LINE/*From MARA table passing material number as an input parameter
    LINE/*>> Input - Material number
    LINE/*<< Output - International article number
    LINE/**********************************************************************
    LINE/:PERFORM F_GET_NDC IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_MATNR&
    LINE/:CHANGING &W_EAN11&
    LINE/:ENDPERFORM
    LINE/*
    LINE/*<< End of F_GET_NDC perform call >>
    LINE/*********************************************************************
    LINE/*This perform is used for Case Quantity Conversion
    LINE/*From MARA table passing material number as an input parameter
    LINE/*>>Input - Material number
    LINE/*<<Output -Case Quantity
    LINE/*********************************************************************
    LINE/:PERFORM F_GET_CASE_QUANTITY IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_MATNR&
    LINE/:USING &W_NSOLM&
    LINE/:CHANGING &W_CASEQTY&
    LINE/:ENDPERFORM
    LINE/*<< End of F_GET_CASE_QUANTITY  perform call >>
    LINE/*********************************************************************
    LINE/*>> Page break by Source Storage Type
    LINE/*>> Driver program will return item data sorted by Source Storage Type
    LINE/*
    LINE/*IF  &LTAP-VLBER& EQ '001'
    LINE/*IF        &PAGE& NE 1
    LINE/*IF     &W_VLTYP& NE &LTAP-VLTYP&
    LINE/*DEFINE &W_VLTYP& := &LTAP-VLTYP&
    LINE/*ENDIF
    LINE/*ENDIF
    LINE/*ELSE
    LINE/*IF        &PAGE& NE 1
    LINE/*IF     &W_VLTYP& NE &LTAP-VLBER&
    LINE/*DEFINE &W_VLTYP& := &LTAP-VLBER&
    LINE/*ENDIF
    LINE/*ENDIF
    LINE/*ENDIF
    LINE/*
    LINE/*<< End of code " Page break by Source Storage Type
    LINE/*****************************************************************
    LINE/*<< Print item details
    LINE/******************************************************
    LINELT,,&LTAP-VLPLA&,,<B>&LTAP-MATNR&</>,,&W_OUT_LINE1&,,&LTAP-CHARG&,,
    LINE= <B>&LTAP-NSOLA(C)&</>,,&LTAP-ALTME&,,   &LTAP-TANUM&,,,,
    LINE/:IF  &LTAP-VLBER& EQ '001'
    LINE  &LTAP-VLTYP&
    LINE/:ELSE
    LINE  &LTAP-VLBER&
    LINE/:ENDIF
    LINE/*>>Next line
    LINELC,,&LTAP-NLPLA&,,&W_EAN11&,,&W_OUT_LINE2&,,&LTAP-VFDAT&,,&W_CASEQTY&,,
    LINE= CS,,,,,,
    LINE/:IF  &LTAP-NLBER& EQ '001'
    LINE  &LTAP-NLTYP&
    LINE/:ELSE
    LINE  &LTAP-NLBER&
    LINE/:ENDIF
    LINE/*
    LINE/:PERFORM F_PAGE_NO IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &LTAK-REFNR&
    LINE/:USING &LTAK-VBELN&
    LINE/:CHANGING &W_PAGE_FROM&
    LINE/:CHANGING &W_PAGE_TOTAL&
    LINE/:CHANGING &W_PAGE_FLAG&
    LINE/:ENDPERFORM
    LINE/*
    LINE/*IF &W_PAGE_FROM& EQ &W_PAGE_TOTAL&
    LINE/:PERFORM F_TOTALS IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_MATNR&
    LINE/:USING &W_NSOLM&
    LINE/:CHANGING &TOT_CASE&
    LINE/:ENDPERFORM
    LINE/*
    LINE/:PERFORM F_TOTALS_EA IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_MATNR&
    LINE/:USING &W_NSOLM&
    LINE/:CHANGING &TOT_EA&
    LINE/:ENDPERFORM
    LINE/*
    LINE/:PERFORM F_TOTALS_WEIGHT IN PROGRAM ZMSPERFORMS_TRANSFER_ORDER
    LINE/:USING &W_TANUM&
    LINE/:USING &W_BRGEW&
    LINE/:CHANGING &TOT_WT&
    LINE/:ENDPERFORM
    LINE/*
    LINE/:IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&
    LINE/:PROTECT
    LINE* <B>,,,,DELIVERY TOTALS</>,,
    LINE/ <B>,,,,CASES:&TOT_CASE&</>
    LINE/ <B>,,,,EA:&TOT_EA&</>
    LINE/ <B>,,,,WEIGHT:&TOT_WT&LBS</>
    LINE/:ENDPROTECT
    LINE/:ENDIF
    LINE/*
    LINE/*,,<b>&LTAP-MATNR&</>,,&W_OUT_LINE1&,,&LTAP-CHARG&,,&LTAP-TAPOS&,,S,,
    LINE/*&LTAP-VLTYP&,,&LTAP-VLPLA&,,<b>&LTAP-NSOLA(C)&</>,,&LTAP-ALTME&
    LINE/*,,&W_EAN11&,,&W_OUT_LINE2&,,&LTAP-VFDAT&,,&LTAP-BESTQ&,,D,,
    LINE/*&LTAP-NLTYP&,,&LTAP-NLPLA&,,&W_CASEQTY&,,CS
    LINE/
    LINE/<<************* End of "Print item details********************>>
    LINE/*
    LINE/*>> Define variable to store Source Storage Type
    LINE/:IF  &LTAP-VLBER& EQ '001'
    LINE/:DEFINE &W_VLTYP& := &LTAP-VLTYP&
    LINE/:ELSE
    LINE/:DEFINE &W_VLTYP& := &LTAP-VLBER&
    LINE/:ENDIF
    LINE/*End of definition
    LINE/*
    LINE/*
    LINE/ESERIAL
    LINE/*
    LINE/EPACKAGING
    LINE/*
    END
    ACTVSAP
    E
    The last Text Elements SERIAL and PACKAGING are not used.
    I need the total of the CASES, Eaches and Weight to be displayed in the last page either in the main window or in the footer.
    Thanks,

  • App store doesn't work (freezes, "Main window NIB load started 2min"...)

    My log:
    -------------------------------------------------------- Begin --
                 System Version 10.9.2 (Build 13C64) "App Store" Version 1.3 (201.4)
    Mar 23 21:13:44 Lap App Store[98261]: FRStoreViewController: Using process-per-webview model for identifier primary
    Mar 23 21:14:14 Lap App Store[98261]: CKClientDispatch: Timeout occurred invoking selector storeFrontID on class StoreClientController with object (null) (four times)
    Mar 23 21:15:44 Lap App Store[98261]: APAppDelegate: Main window NIB load started 120.2284(two minutes???) seconds after launch
    Mar 23 21:15:45 Lap App Store[98261]: FRStoreViewController: Store state changed to splash (loading)
    Mar 23 21:16:15 Lap App Store[98261]: CKClientDispatch: Timeout occurred invoking selector isValidWithInfo: on class BagController with object {
                  bagType = 1;
    Mar 23 21:16:45 Lap.local App Store[98261]: CKClientDispatch: Timeout occurred invoking selector primaryAccount on class AccountStore with object (null)
    I tried to delete the temporary files directory and the caches, change the permissions, run AppStore application with root previlegies, delete preferences, reboot system, etc. Some problem
    Ther're 2 user in system. This problem only with my account. Under other user - all is fine.
    I do not want to reinstall the system or work under other account.

    Hi, thanks again.
    I reinstalled Lion (using Recovery), but the problem remains. Even worse, Apple Software Update didn't work any more. As soon as I selected something for installation (e.g. iTunes), the progress bar would show but then it used to freeze forever (internet connection was fine). I tried several times after reboot.
    The I tried a hard shutdown (holding the power key pressed), and after that, the app store was working (very slowly) and i could also install the software updates.
    However, after a normal reboot, the app store didn't work any more.
    I repeated this twice with the same result: the app store works after a hard shutdown, but not after a normal shutdown+reboot.
    Any suggestions?

  • Subtitles under main window duplicating if not enough space

    Hi Gurus!
    In one of my smartforms I ahve a table node to display customer
    discounts .Whats happening is that
    when there is not enough space on
    the main window on teh first page
    it just prints the subtitles at the end of main window
    on teh firat page and then goes to the
    next page and again prints the subtitles there follwed
    by the deatils of teh window, means its duplicating
    the subtitles if it dosent find much space on
    the first page and then
    again goes to next page and again prints the subtitles
    thus doing it twice.How do I prevent this from happening.
    This table under the main window
    is not under a folder though. I tried putting it in
    a folder and putting that table under
    that folder , but page break section
    remain greyed out, I am not sure how to
    activate the page break for that.
    Or is theer another way of doing it?
    Thanks.. help would be geratly appreciated.
    Thanks

    Hi,
    I believe you have the subtitles in the header of the table and also in the body of the table node.
    Please make sure you use the subtitles in the header of the table node and check the events in the events tab 'At start of the table' and 'At page Break' ( this will be displayed in the next page start ).
    Regards,
    Ram

  • SapScript  'MAIN' Window without 'Text Element'

    Why is it, if we run 'MAIN' Window without defining 'Text Element'(/E), it displays the contents twice.. The same doesn't happens with other 'Variable' windows..

    Hi Main window is different from Var window.
    Var window will call only once .
    But main window it will call many times, it will go to Driver program and come back to populate the data.
    for Clear info debug and see.
    regards
    vijay

  • I have used Lr many years without problems. Now it is inpossible to edit . Can not see the editing in main window only in the small thumbnail. Suddenly it is not possible to import  raw-files from my Linux camera ( it worked earlier)

    Editing mode does not work. I can not follow de editing in the main window. I cah see it in the thumbnail.

    From your description of the problem, I suspect that you have a standalone license but have downloaded and installed the CC update. Or, it's the other way around. In either case, you need to install the right version.

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • Two main windows in smartform or two loops in one main window?

    Hello All,
    I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
    and in between these two data i want one template to be printed for item data .
    Smartform is giving me error if i use two main windows
    if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
    scenario is
    header data****
    **item header**
    item data****
    Pls comment....
    Regards,
    Sunny

    As main window can only be one, so try it this way:
    Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
    MAIN_WINDOW
        TEXT1                                     " first header
        LOOP1                                    " header table
            TEXT2                                 " header data
            TEXT3                                  " Second header
            LOOP2                                " item table with where condition
                TEXT4                             " item data
    With luck,
    Pritam.

Maybe you are looking for