Smartform Pages Types

Hi ,
I need to print the same smarform on different page types
like A3 and A4.
I know its not possible to do it dynamically in a smartform
However my layout fits well on both types.
All i need is that the printer pick the right page type.
Can I defualt the SAP printer to a particular page type?

For printing smartform in different page format, you have to tell your driver program in advance which page format you are plannig to print... for doing this it is always a good to maintain a customize table and maintain the attribue A3 or A4, in your dirver program try to read this table, if A3 call A3 smartform if A4 call A4 smart form.. For this kind of typical requirement you have to create two different smartforms.
in smartforms i want to display one page in A4 and other in A3 size paper.
Regards,
SaiRam

Similar Messages

  • Smartform : How do i append o/p of  a report(ZA3C) as Smartform Pages

    Dear all
    I have three smartform pages with a Driver prog .
    Now i want 2 append the o/p of mere a report(not   SapScript) as smartform pages .
    I m trying 2 achieve that by the following BOLD part of my code .
      Throw some light on this
    Thnx in Advance
    Moni
    Have look at my code plz
    *Printing of Export Invoice, Packing List,Enclosure to Packing List & Case Marking in one SMART FORMS layout                                *
    REPORT ZSD_REP_MULTI_PRINT.
    TABLES :
        VBAK,
        VBAP,
        VBFA,
        LIKP,
        LIPS,
        KONV,
        t005t,
        KNA1,
        t001w,
        T001,
        ADRC.
    DATA: FM_NAME1  TYPE RS38L_FNAM,
          FM_NAME2  TYPE RS38L_FNAM,
          FM_NAME3  TYPE RS38L_FNAM,
          FM_NAME4  TYPE RS38L_FNAM,
          P_E_DEVTYPE TYPE RSPOPTYPE,
          P_JOB_OUTPUT_INFO TYPE SSFCRESCL OCCURS 2000 WITH HEADER LINE,
          T_OTF LIKE ITCOO OCCURS 0 WITH HEADER LINE,
          T_OTF2 TYPE SSFCRESCL OCCURS 2000 WITH HEADER LINE,
          P_OUTPUT_OPTIONS TYPE SSFCOMPOP OCCURS 0 WITH HEADER LINE,
          P_CONTROL_PARAMETERS TYPE SSFCTRLOP OCCURS 0 WITH HEADER LINE ,
          P_DOC  LIKE DOCS OCCURS 2000 WITH HEADER LINE,
          P_LINES LIKE TLINE OCCURS 200,
          P_BIN_FILESIZE TYPE I,
          P_LANGUAGE TYPE SFLANGU,
          P_BIN_FILE TYPE XSTRING,
          OK_CODE LIKE SY-UCOMM.
    DATA: T_ITEM   TYPE  ZSD_TABL_LITEM,
          WA_ITEM  TYPE  ZSD_STRUCT_LITEM,
          T_ADRS   LIKE  ZSD_STRUCT_ADRS  OCCURS 0 WITH HEADER LINE,
          MSLINES  LIKE  TLINE OCCURS 1 WITH HEADER LINE,
          TIDNO    LIKE STXL-TDID,
          TNAME    LIKE STXL-TDNAME,
          TOBJT    LIKE STXL-TDOBJECT,
          SSORD    LIKE VBAK-VBELN,
          TOT      LIKE VBAK-NETWR,
          WORD     LIKE SPELL,
          ITNO     LIKE VBAP-POSNR.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    PARAMETERS: P_DELNO LIKE  LIKP-VBELN OBLIGATORY,
                P_INVNO LIKE  VBRK-VBELN OBLIGATORY,
                P_DATE  LIKE  SY-DATUM.
    SELECTION-SCREEN END   OF BLOCK blk1.
    AT SELECTION-SCREEN.
      CLEAR T_ADRS.
      REFRESH T_ITEM.
      T_ADRS-INVNO = P_INVNO.
      T_ADRS-INVDAT = P_DATE.
      SELECT SINGLE VBELV INTO  VBFA-VBELV
                             FROM  VBFA
                             WHERE VBELN = P_DELNO
                               AND VBTYP_N = 'J'  .
      SSORD = VBFA-VBELV.
    *Exporter's  Address
      SELECT SINGLE BUKRS_VF INTO  VBAK-BUKRS_VF
                             FROM  VBAK
                             WHERE VBELN = VBFA-VBELV.
      SELECT SINGLE   ADRNR
                      INTO T001-ADRNR
                      FROM T001
                      WHERE BUKRS = VBAK-BUKRS_VF.
      SELECT SINGLE NAME1 STREET CITY1 POST_CODE1 COUNTRY
             INTO (T_ADRS-NAME1,T_ADRS-STREET,T_ADRS-CITY1,
                   T_ADRS-POST_CODE1, ADRC-COUNTRY)
             FROM  ADRC
             WHERE ADDRNUMBER EQ T001-ADRNR.
      SELECT SINGLE LANDX
                    INTO T_ADRS-COUNTRY
                    FROM T005T
                    WHERE     SPRAS = 'EN'
                          AND LAND1 = ADRC-COUNTRY.
    *Consignee Address & Buyer Other Than Consignee
      SELECT SINGLE KUNNR KUNAG INTO (LIKP-KUNNR, LIKP-KUNAG)
                                FROM LIKP WHERE VBELN = P_DELNO.
      IF LIKP-KUNNR = LIKP-KUNAG.
        SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
                  INTO (T_ADRS-CNAME1, T_ADRS-CNAME2, T_ADRS-CSTREET,
                        T_ADRS-CCITY,  T_ADRS-CPCODE, T_ADRS-CREGIO,
                        T_ADRS-CTELF1, KNA1-ADRNR)
                  FROM  KNA1
                  WHERE KUNNR = LIKP-KUNNR.
        SELECT SINGLE COUNTRY INTO  ADRC-COUNTRY
                              FROM  ADRC
                              WHERE ADDRNUMBER EQ KNA1-ADRNR.
        SELECT SINGLE LANDX
                    INTO T_ADRS-CCOUNTRY
                    FROM T005T
                    WHERE     SPRAS = 'EN'
                          AND LAND1 = ADRC-COUNTRY.
        T_ADRS-ONAME1   =  T_ADRS-CNAME1 .
        T_ADRS-ONAME2   =  T_ADRS-CNAME2 .
        T_ADRS-OSTREET  =  T_ADRS-CSTREET .
        T_ADRS-OCITY    =  T_ADRS-CCITY.
        T_ADRS-OPCODE   =  T_ADRS-CPCODE .
        T_ADRS-OREGIO   =  T_ADRS-CREGIO.
        T_ADRS-OTELF1   =  T_ADRS-CTELF1 .
        T_ADRS-OCOUNTRY =  T_ADRS-CCOUNTRY.
      ELSE.
        SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
                  INTO (T_ADRS-CNAME1, T_ADRS-CNAME2, T_ADRS-CSTREET,
                        T_ADRS-CCITY,  T_ADRS-CPCODE, T_ADRS-CREGIO,
                        T_ADRS-CTELF1, KNA1-ADRNR)
                  FROM  KNA1
                  WHERE KUNNR = LIKP-KUNNR.
        SELECT SINGLE COUNTRY INTO ADRC-COUNTRY
                              FROM  ADRC
                              WHERE ADDRNUMBER EQ KNA1-ADRNR.
        SELECT SINGLE LANDX
                    INTO T_ADRS-CCOUNTRY
                    FROM T005T
                    WHERE     SPRAS = 'EN'
                          AND LAND1 = ADRC-COUNTRY.
    *Buyer Other than Consignee
        SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
                   INTO (T_ADRS-ONAME1, T_ADRS-ONAME2, T_ADRS-OSTREET,
                         T_ADRS-OCITY,  T_ADRS-OPCODE, T_ADRS-OREGIO,
                         T_ADRS-OTELF1, KNA1-ADRNR)
                   FROM  KNA1
                   WHERE KUNNR = LIKP-KUNAG.
        SELECT SINGLE COUNTRY INTO  ADRC-COUNTRY
                              FROM  ADRC
                              WHERE ADDRNUMBER EQ KNA1-ADRNR.
        SELECT SINGLE LANDX
                    INTO T_ADRS-OCOUNTRY
                    FROM T005T
                    WHERE     SPRAS = 'EN'
                          AND LAND1 = ADRC-COUNTRY.
      ENDIF.
    *Other's Ref
      TIDNO = 'Z071'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-OREF = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Buyer's Order No  Ref
      TIDNO = 'Z023'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-BUYER = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Exporter Ref
      TIDNO = 'Z072'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-XPREF = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Pre-Carraige By
      TIDNO = 'Z074'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-PCRG = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Place Of reciept by Pre-Carraige
      TIDNO = 'Z073'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-PLPCRG = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Vessel/Flight No
      TIDNO = 'Z075'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-VFNO = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Port Of Loading
      TIDNO = 'Z077'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-PLOAD = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Port Of Discharge
      TIDNO = 'Z076'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-PDISG = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Final Destination
      TIDNO = 'Z070'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-FDEST = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    *Terms Of Delivery & Payment
      TIDNO = 'Z080'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-TERMS = mslines-tdline(50).
        EXIT.
      ENDLOOP.
    APPEND T_ADRS.
    *BODY SECTION FOR LINE ITEMS
      SELECT POSNR KWMENG VRKME WAERK
             INTO  (VBAP-POSNR, VBAP-KWMENG, VBAP-VRKME, VBAP-WAERK)
             FROM  VBAP
             WHERE VBELN = SSORD.
    *Mark/Case No
        TIDNO = '0002'.
        CONCATENATE SSORD
                    VBAP-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-MARKNO = mslines-tdline(40).
          EXIT.
        ENDLOOP.
    *Packing Type
        TIDNO = '0003'.
        CONCATENATE SSORD
                    VBAP-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-PACKTYP = mslines-tdline(40).
          EXIT.
        ENDLOOP.
    *Goods Description
        TIDNO = '0001'.
        CONCATENATE SSORD
                    VBAP-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-GDESC = mslines-tdline(40).
          EXIT.
        ENDLOOP.
    *Goods Quantity
        WA_ITEM-QTY = VBAP-KWMENG.
        WA_ITEM-VRKME = VBAP-VRKME.
    *Goods Rate
        SELECT SINGLE KNUMV INTO VBAK-KNUMV FROM VBAK WHERE VBELN = SSORD.
        SELECT SINGLE KBETR WAERS
                      INTO  (WA_ITEM-RATE, WA_ITEM-WAERS)
                      FROM  KONV
                      WHERE KNUMV = VBAK-KNUMV
                        AND KPOSN = VBAP-POSNR
                        AND KSCHL = 'PR00'.
    *Item Remarks
        TIDNO = 'ZREM'.
        CONCATENATE SSORD
                    VBAP-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
        LOOP AT MSLINES.
          WA_ITEM-REMARK = mslines-tdline(40).
          EXIT.
        ENDLOOP.
    *Goods Amount
        WA_ITEM-AMOUNT = WA_ITEM-QTY * WA_ITEM-RATE.
        WA_ITEM-WAERK = VBAP-WAERK.
        TOT = TOT + WA_ITEM-AMOUNT.
        ITNO = VBAP-POSNR.
        APPEND WA_ITEM TO T_ITEM.
      ENDSELECT.
      T_ADRS-TOT = TOT.
      CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
         AMOUNT          = TOT
         CURRENCY        = VBAP-WAERK
      FILLER          = ' '
         LANGUAGE        = SY-LANGU
       IMPORTING
         IN_WORDS        = WORD
       EXCEPTIONS
         NOT_FOUND       = 1
         TOO_LARGE       = 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.
    *Gross Wieght
      TIDNO = 'Z078'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-GWT = mslines-tdline(40).
        EXIT.
      ENDLOOP.
    *Net Wieght
      TIDNO = 'Z079'.
      TNAME = SSORD.
      TOBJT = 'VBBK'.
      PERFORM FINDTEXT.
      LOOP AT MSLINES.
        T_ADRS-NWT = mslines-tdline(40).
        EXIT.
      ENDLOOP.
      T_ADRS-TOT_WORDS = WORD-WORD.
      APPEND T_ADRS.
    START-OF-SELECTION.
      P_LANGUAGE = 'EN'.
      CALL   FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          I_LANGUAGE    = P_LANGUAGE
          I_APPLICATION = 'SAPDEFAULT'
        IMPORTING
          E_DEVTYPE     = P_E_DEVTYPE.
      P_OUTPUT_OPTIONS-XSFCMODE = 'X'.
      P_OUTPUT_OPTIONS-XSF = SPACE.
      P_OUTPUT_OPTIONS-XDFCMODE = 'X'.
      P_OUTPUT_OPTIONS-XDF = SPACE.
      P_OUTPUT_OPTIONS-TDPRINTER = P_E_DEVTYPE.
      P_OUTPUT_OPTIONS-TDDEST = 'LOHP'.
      APPEND P_OUTPUT_OPTIONS.
      P_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
      P_CONTROL_PARAMETERS-GETOTF = 'X'.
      P_CONTROL_PARAMETERS-NO_CLOSE = SPACE.
      APPEND  P_CONTROL_PARAMETERS.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = 'ZSD_REP_MULTI_PRINT1'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
          FM_NAME                  = FM_NAME1
       EXCEPTIONS
          NO_FORM                  = 1
          NO_FUNCTION_MODULE       = 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.
      CALL FUNCTION FM_NAME1
       EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = P_CONTROL_PARAMETERS
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        OUTPUT_OPTIONS             = P_OUTPUT_OPTIONS
        USER_SETTINGS              = 'X'
      IMPORTING
      DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            = P_JOB_OUTPUT_INFO
      JOB_OUTPUT_OPTIONS         =
      TABLES
        T_ADRS                     = T_ADRS
        T_ITEM                     = T_ITEM
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
      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 P_JOB_OUTPUT_INFO-OTFDATA INTO T_OTF.
        APPEND T_OTF.
      ENDLOOP.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = 'ZSD_REP_MULTI_PRINT2'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
          FM_NAME                  = FM_NAME2
       EXCEPTIONS
          NO_FORM                  = 1
          NO_FUNCTION_MODULE       = 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.
      CALL FUNCTION FM_NAME2
       EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = P_CONTROL_PARAMETERS
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        OUTPUT_OPTIONS             = P_OUTPUT_OPTIONS
        USER_SETTINGS              = 'X'
      IMPORTING
      DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            = P_JOB_OUTPUT_INFO
      JOB_OUTPUT_OPTIONS         =
      TABLES
        T_ADRS                     = T_ADRS
        T_ITEM                     = T_ITEM
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
      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 P_JOB_OUTPUT_INFO-OTFDATA INTO T_OTF.
        APPEND T_OTF.
      ENDLOOP.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = 'ZSD_REP_MULTI_PRINT3'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
          FM_NAME                  = FM_NAME4
       EXCEPTIONS
          NO_FORM                  = 1
          NO_FUNCTION_MODULE       = 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.
      CALL FUNCTION FM_NAME4
       EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = P_CONTROL_PARAMETERS
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        OUTPUT_OPTIONS             = P_OUTPUT_OPTIONS
       USER_SETTINGS              = 'X'
      IMPORTING
      DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            = P_JOB_OUTPUT_INFO
      JOB_OUTPUT_OPTIONS         =
      TABLES
        T_ADRS                     = T_ADRS
        T_ITEM                     = T_ITEM
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
      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 P_JOB_OUTPUT_INFO-OTFDATA INTO T_OTF.
        APPEND T_OTF.
      ENDLOOP.
    <b>*for capturing the o/p pages from ZPL3 and consolidating into table T_OTF to get single PDF
    SET PARAMETER  ID: 'AUN' FIELD SSORD ,
                       'APO' FIELD ITNO.
    CALL TRANSACTION 'ZPL3' AND SKIP FIRST SCREEN.
    IF SY-SUBRC NE 0.
       MESSAGE E001(ZQOTBANK).
    ENDIF.
    IMPORT (T_OTF2) FROM  MEMORY ID 'MEMID'.
    LOOP AT T_OTF2-OTFDATA INTO T_OTF.
        APPEND T_OTF.
    ENDLOOP.</b>
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      EXPORTING
        USE_OTF_MC_CMD               = 'X'
      ARCHIVE_INDEX                =
    IMPORTING
        BIN_FILESIZE                 = P_BIN_FILESIZE
    TABLES
        OTF                          = T_OTF
        DOCTAB_ARCHIVE               = P_DOC
        LINES                        = P_LINES
    EXCEPTIONS
       ERR_CONV_NOT_POSSIBLE        = 1
       ERR_OTF_MC_NOENDMARKER       = 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.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        BIN_FILESIZE                    = P_BIN_FILESIZE
        FILENAME                        = 'C:\SD6.pdf'
        FILETYPE                        = 'BIN'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
       FILELENGTH                      = P_BIN_FILESIZE
      TABLES
        DATA_TAB                        = P_LINES
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *&      Form  FINDTEXT
          text
    FORM FINDTEXT.
      REFRESH mslines.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = tidno
          language                = sy-langu
          name                    = tname
          object                  = tobjt
        TABLES
          lines                   = mslines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      DELETE mslines WHERE tdline IS INITIAL.
    ENDFORM.                    "FINDTEXT

    Hello,
    You can find out the Spool Request w.r.t the Program by FM RSPO_FIND_SPOOL_REQUESTS.
    This Spool Request could be converted to PDF by FM CONVERT_ABAPSPOOLJOB_2_PDF.
    P.S.: The Import parameter 'NO_DIALOG' in FM CONVERT_ABAPSPOOLJOB_2_PDF is to be initial. You will be getting a Popup seeking the Path and name of the file to be created. This is because you can direct the Spool list to be created in the same PDF file by appending it into earlier created SSF/SAPScript PDF outputs.
    I hope this helps you.
    Regards, Murugesh AS

  • How do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    how do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)
    == This happened
    ==
    Every time Firefox opened
    == a few months ago
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name Firefox
    Version 3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Adblock Plus 1.2 true
    Adobe DLM (powered by getPlus(R)) 1,6,2,49 true
    AVG Safe Search 9.0.0.825 true {3f963a5b-e555-4543-90e2-c3908898db71}
    AVG Security Toolbar 4.504.019.002 true avg@igeared
    Fasterfox 2.0.0 false
    Forecastfox 0.9.10.2 true {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}
    Java Console 6.0.05 true
    Java Console 6.0.03 true
    Java Console 6.0.07 true
    Java Console 6.0.11 true
    Java Console 6.0.13 true
    Java Console 6.0.15 true
    Java Console 6.0.17 true
    Java Quick Starter 1.0 true [email protected]
    Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
    NoScript 1.9.9.77 true {73a6fe31-595d-460b-a920-fcc0f8843232}
    Java Console 6.0.19 true
    Java Console 6.0.20 true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar 0
    browser.history_expire_days 0
    browser.history_expire_days.mirror 180
    browser.places.importBookmarksHTML false
    browser.places.importDefaults false
    browser.places.leftPaneFolderId -1
    browser.places.migratePostDataAnnotations false
    browser.places.smartBookmarksVersion 2
    browser.places.updateRecentTagsUri false
    browser.startup.homepage_override.mstone rv:1.9.2.3
    extensions.lastAppVersion 3.6.3
    general.useragent.extra.microsoftdotnet ( .NET CLR 3.5.30729)
    keyword.URL http://au.yhs.search.yahoo.com/avg/search?fr=yhs-avg&type=yahoo_avg_hs2-tb-web_au&p=
    network.cookie.prefsMigrated true
    places.last_vacuum 1272511429
    print.print_bgcolor false
    print.print_bgimages false
    print.print_command
    print.print_downloadfonts true
    print.print_evenpages true
    print.print_in_color true
    print.print_margin_bottom 0.5
    print.print_margin_left 0.5
    print.print_margin_right 0.5
    print.print_margin_top 0.5
    print.print_oddpages true
    print.print_orientation 0
    print.print_pagedelay 500
    print.print_paper_data 0
    print.print_paper_height 11.00
    print.print_paper_size -134744073
    print.print_paper_size_type 1
    print.print_paper_size_unit 0
    print.print_paper_width 8.50
    print.print_printer Lexmark 4200 Series
    print.print_reversed false
    print.print_scaling 1.00
    print.print_shrink_to_fit true
    print.print_to_file false
    print.printer_Lexmark_4200_Series.print_bgcolor false
    print.printer_Lexmark_4200_Series.print_bgimages false
    print.printer_Lexmark_4200_Series.print_command
    print.printer_Lexmark_4200_Series.print_downloadfonts true
    print.printer_Lexmark_4200_Series.print_edge_bottom 0
    print.printer_Lexmark_4200_Series.print_edge_left 0
    print.printer_Lexmark_4200_Series.print_edge_right 0
    print.printer_Lexmark_4200_Series.print_edge_top 0
    print.printer_Lexmark_4200_Series.print_evenpages true
    print.printer_Lexmark_4200_Series.print_footercenter
    print.printer_Lexmark_4200_Series.print_footerleft &PT
    print.printer_Lexmark_4200_Series.print_footerright &D
    print.printer_Lexmark_4200_Series.print_headercenter
    print.printer_Lexmark_4200_Series.print_headerleft &T
    print.printer_Lexmark_4200_Series.print_headerright &U
    print.printer_Lexmark_4200_Series.print_in_color true
    print.printer_Lexmark_4200_Series.print_margin_bottom 0.5
    print.printer_Lexmark_4200_Series.print_margin_left 0.5
    print.printer_Lexmark_4200_Series.print_margin_right 0.5
    print.printer_Lexmark_4200_Series.print_margin_top 0.5
    print.printer_Lexmark_4200_Series.print_oddpages true
    print.printer_Lexmark_4200_Series.print_orientation 0
    print.printer_Lexmark_4200_Series.print_pagedelay 500
    print.printer_Lexmark_4200_Series.print_paper_data 1
    print.printer_Lexmark_4200_Series.print_paper_height 11.00
    print.printer_Lexmark_4200_Series.print_paper_size -134744073
    print.printer_Lexmark_4200_Series.print_paper_size_type 0
    print.printer_Lexmark_4200_Series.print_paper_size_unit 1
    print.printer_Lexmark_4200_Series.print_paper_width 8.50
    print.printer_Lexmark_4200_Series.print_reversed false
    print.printer_Lexmark_4200_Series.print_scaling 1.00
    print.printer_Lexmark_4200_Series.print_shrink_to_fit true
    print.printer_Lexmark_4200_Series.print_to_file false
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_bottom 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_left 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_right 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_top 0
    privacy.clearOnShutdown.cookies false
    privacy.clearOnShutdown.offlineApps true
    privacy.cpd.cookies false
    privacy.item.offlineApps true
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 3
    security.warn_viewing_mixed false
    security.warn_viewing_mixed.show_once false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-getplusplusadobe16249
    *Office Plugin for Netscape Navigator
    *Adobe PDF Plug-In For Firefox and Netscape
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r45
    *iTunes Detector Plug-in
    *Garmin Communicator Plug-In 2.8.1.0
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Java(TM) Platform SE binary
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    How do I fix this problem ...javascript (cid) applications.

  • Creating a new page type or editing an existing one?

    whenever i create a new document, i select blank page then under page type list several diffent page types. i would like to edit an existing one or create a custom one. for example, every time i create a new document i have to clear out the code and type the following...
    <?php
    require_once('classes/class.layout.php');
    $layout = new Layout;
    $layout->page_title = 'This can be different each page';
    $layout->render_header();
    $layout->render_footer();
    ?>
    i tried to create a template but it always wants editable regions and i don't want it to be stuck using that system. i would like the above code to be typed out every time i create a new document. is this possible? do i have to edit some kind of system file that's xml or js? i'm using CS5 and i'm on a mac.

    this is exactly what i was looking for! thank you murray! i created my own Page Type and it shows it. all you have to do is add your custom document type.
    inside the DocumentTypes folder you will find the MMDocumentTypes.xml file. this file contains all of the default dreamweaver document types: html, asp, php, asp.net, etc. you can add your entries here, just use the same structure. it's safer not to modify it but create your own. so i created a CustomDocumentTypes.xml file. i just used camel-case to keep the file names consistent. according to documentation, dreamweaver checks this directory and uses the settings it reads off the xml files. so as long as it's a well formed xml file, it will try to read it. if not, it will ignore it.
    next i created my default page in the NewDocuments directory. i restarted dreamweaver and there it was.

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can not build a template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Custom Page Type

    Is there a way of hiding the Category and Keyword base attributes on a custom page as there is when creating a Custom Item Type?
    Is it possible to create a page template from a custom page? I just get "Error while copying page. (WWC-44262)
    (WWC-00000)" when trying this on Portal 9.0.2.3.
    I can create custom pages using wwsbr_api.add_folder but I don't think there is a way to associate a UITemplate with the resultant pages by amending one of the parameters. Can I use the information held in WWTMP_ALL_TEMPLATES to update whatever table associates the UItemplate with the folders/pages - if so which table is it? (I have now attached a template itself linked to a UITemplate to the page group but when you attach a template you lose the right to amend the page areas).

    Kendra,
    Sorry for the late reply but the forums were down yesterday.
    It is not a good practice to update the Portal tables directly. In this case, if the custom page type is identical to a standard page then the manual update should work. That means the custom page type should have no custom attributes or procedures. The custom attributes and procedures can be added to the page type later.
    There are other ways to solve this problem. You can use page parameters to accomplish the same thing - just define the page parameter, set a default value, and make the parameter non-customizable. If you have a group of pages that have the same attributes, you can define the parameters in the page template and all the pages will inherit the values. Using page parameters is no more work than updating attributes in a custom page type, and it is easier for portlets to get access to the parameter values than to look up page attributes.
    You can also use the function WWPRO_API_PARAMETERS.GET_VALUE('_pageid',p_reference_path) in a PL/SQL portlet to get the value of the portal pageid. You can then query a custom table that cross-references the page id's with the display attributes that you would like the page to use. If you are using Java portlets there are other techniques for parsing the page URL (in the PDK or even generic JDK functions) to get the pageid.
    Finally, we will continue to support custom page types. However, for this requirement I would recommend using page parameters instead (you may have other needs for custom page types, however).
    Regards,
    Jerry
    PortalPM

  • How to get an option to create a page type as "Report and Form"

    Hi,
    When creating a new application, APEX 2.1 gives an option to select a page type as "Report and Form". Once we have already created an application, how to get the same option?
    Thanks,
    Hozy

    Got it thanks.
    I'm still not able to make the search/go and reset buttons work. When I use to create these pages at the time of application creation, these use to come as default. Any clue on it?

  • How can i know total number of lines in a smartform page?

    Hello All,
    1. How to find the total number of lines that can be printed on a smartform page?
    2. Need to determine the current line on which the text is goint to printed
    Depending upon the no of lines left for printing i need to call a new page explicitly?
    Answers will be rewared...
    Thanks and Regards,
    Josin George
    Edited by: Bhuvaneswari Mathuraiveeran on Jan 1, 2009 1:02 PM

    hi ,
    I think u have to decide no of lines by trial error menthod only ...
    u can use SY-TABIX  to decide , which line its printing ...
    hope its helps .....

  • Smartform page numbering

    Hi experts,
    I am displaying notification numbers in the ALV format. when the user selects few of the notification numbers and click on display button it should display the notification details using smartform.
    I have to trigger a new page for every notification number.
    I had problem in numbering the smartform pages.
    For example if the user selects 3 notification numbers say 1st one takes 3 pages, second one takes one page and third one takes 2 pages then i have number the pages as below.
    1st notif:1of 3,2 of 3,3 of 3.
    2nd notif:1 of 1.
    3rd notif:1 of 2,2 of 2.
    Please give me some suggestion.
    Thank you.
    Regards,
    Bharat Kalagara.

    hi ,
    in the driver program based on on a check on notification number call smartform , and now in smartform where u are printing page number make that window as a final window , this will help in calculating total no of pages now create a text element and write &sfsy-page(3cz)& of &sfsy-formpages(3cz)&.
    hope this helps you !!!
    regards,
    prashanti

  • Assigning parameters to custom page types

    I am creating a custom portlet that displays a banner at the top of a page. The banner that the portlet displays is dependant on the value of a parameter being passed into it. So for example if I set the parameter to equal 'finance' it would display a banner specific to the finace department e.t.c. The idea of this approach is that we only have to create one template (rather than one for every department).
    I do not want users who create pages to have to go into every page they create and manually set the parameter values for their specific department. (within page properties > parameters). Instead I wish to create some custom page types that have pre-defined parameters set against them. My question is - Is it possible to assign parameters to custom page types (preferably as a hidden field so users cant accidently change it) and if so how? If not does anyone know a better way of doing it?

    You can't do this with parameters, but you can do it with custom page type attributes. Set default values for the attributes and have the portlet query the WWSBR_FOLDER_ATTRIBUTES view to get the values (or you could just check the page type in WWSBR_ALL_FOLDERS and not use an attribute at all).
    To get the pageid that you'll need for the query, use the function WWCTX_API_PARAMETERS.GET_VALUE('_pageid',p_reference_path).
    Regards,
    Jerry
    PortalPM

  • Best way to store info for Yellow Pages-type site?

    I'm working on a site that is similar in concept to a "Yellow
    Pages"-type setup, where you have a bunch of business listings with
    each of them able to customize their own profile.
    Each business will be able to save standard things like its
    tel, fax, address, description, etc. There would also be a list of
    specific checkboxes for each business, such as "Delivery
    Available", "Open 24 Hours", "Now Hiring", etc. Also, businesses
    with multiple locations will be able to save these locations with
    their own specific tel, address, and other info. Lastly, they will
    be able to customize their listing to match their corporate look.
    Whereas the searches will of course be database driven, I'm
    having trouble deciding which of the following ways to display a
    specific business information on their actual specific profile
    pages.
    Database-only: Everytime any info
    about a business is needed, it's pulled via a database call.
    XML: Create a single XML file for
    each business (named after its ID) with all of the business info
    and styles, load it, and pull from there.
    Hybrid: Use database calls for the
    business' text information, but create a CSS stylesheet named after
    the business' ID for use in the business profile's layout.
    Which of these would be most efficient and have the least
    server impact?

    I apologize - I should have clarified the XML and hybrid
    options. Let me do that:
    The customer's information will be stored in a database. When
    they go to edit their information, the editors will populated from
    the database. However, once they hit "save" the site will write an
    XML file with that information. If they update again, that same
    file is overwritten.
    Now, everytime someone visits their profile, the profile's
    characteristics and info are pulled from that XML file. The intent
    is to take a load off the DB so it can perform better for searches,
    updates, and other truly dynamic features for the site. My feeling
    is that there's no need to hit the database for the company
    profiles since it's information that would normally change pretty
    infrequently. For up-to-the-minute information (news, search
    results, forums, etc.), however, i would continue to do direct
    database calls via cfc's or whatever.
    My basic question is: what is easier for CF to do: 1) Parse
    an existing static XML document or 2) query and pull the
    appropriate info from a live database?
    Keep in mind that this site will eventually have thousands of
    businesses and a lot of activity outside of their profiles (event
    schedules, news, reviews, etc.).

  • Sparse templates (when adding page types)

    I'm not sure if this has already been posted in the forum, but I discovered it as I dealt with the growing number of templates, v1.1 templates, and custom templates that my iWeb now has. Also helps stub out the v1.1 'Blank' page type for older custom templates.
    When adding templates to iWeb, iWeb seems to like it's TemplatesInfo.plist to contain EVERY page type for EVERY template. However, as I'm developing a new template, I sometimes like to have just a few page types defined... or, sometimes I create a simple template for a simple site that only has a couple of page types.
    So, when I am defining the new entries for each template within a page type, I specify a bogus filename (I use "Unavailable.webtemplate") for any entry where I don't have that page type / template combination. For example, if my "DogDays" template only has a Welcome and Blog page type, then in every other page type the DogDays template's entry will use the bogus filename.
    Pictures help make this much more clear, so here's a page that I posted to remind me how to add a new page type... I use the bogus "Unavailable.webtemplate" in the example:
    http://web.mac.com/dovinci/iWeb/dovinci/New%20Page%20Types.html
    It also shows what the "page picker" in iWeb looks like.
    Mac Mini, PowerBook, MacBook Pro   Mac OS X (10.4.6)  

    Hi,
    The design for a calendar date box is determined by the "formRegionBody" class style (at least according to theme 12). You, therefore, need to update this.
    In theme 12 ("Blue"), this is defined in the css as:
    .formRegionBody {
    font-size:12px;
    font-weight:normal;
    color:#285577;
    background-color:#D7DFE6;
    border-left:1px solid #BFBFBF; border-top:1px solid #BFBFBF;
    border-right:1px solid #FFFFFF;border-bottom:1px solid #FFFFFF;
    You can either update the css or add the above in a style tag on your calendar page (adjusting the colours as required).
    Regards
    Andy

  • Missing? : File- New- Blank Page- Page type (CSS)- Layout is empty!!

    Hello-
    I am just learning Dreamweaver CS3 and I'm wondering if something has gone missing on my installation, or if this is how it's supposed to work...
    If I do File -> New -> Blank Page (then choose CSS in the Page Type window pane) ...  I then find there are no items in the Layout pane for CSS (whereas, under HTML and some others there are lists of items, though others, such as XML, in the list do have items listed.  In all, I think about 1/2 are empty, 1/2 are populated)
    I've attached a screen shot to clarify this!
    Is CSS supposed to be empty, or has something gone missing?  I have the book "Dreamweaver CS3 The Missing Manual" but don't find this referenced.
    Thanks for the help!
    -Ron

    ron_on_adobe wrote:
    Z-
    So, if I understand correctly, the CSS "blank pages" will only become populated as I begin to create CSS styles, and it's normal for this to be an empty pane until then?
    You are correct, there is nothing inside of that pane and no, nothing will populate that window, even if you do create css styles  :-)
    When you create a stylesheet, it will be listed in the CSS panel on the right of the working document, it will not go into that CSS pane at all.
    Good to see you looking 'under the hood', it means you are willing to learn everything you can about Dreamweaver.
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • How to change page type after the fact

    In the application builder, I click on an application and choose Details in View.
    I get the list of pages I have in my app.
    The page type column has:
    Interactive Report
    Navigation Form
    Dynamic HTML
    DML Form
    Chart
    Report
    How do I change this column after a page has long been created?
    Specifically, I want to the change "Dynamic HTML" to something else.
    Why?
    Because on this particular page, tabs do not work (error: page not found).
    Buttons created among a regions items do not work (same error, page not found).
    I need to use tab and buttons to go from this page to other pages.
    And I am suspecting the page type may have something to do with my problem.
    Thanks in advance for any pointers.

    Thanks for your consideration!
    For my current app, a clinical management system,
    I'd like to have, say, 1000 items.
    (For other applications I am thinking about, but have no time,
    nor expertise for now, I'd need millions of items,
    each corresponding to a pixel of a graphic.)
    Who cares if the current computers are too slow?
    How about make it a parameter that can be changed
    per app or per apex installation, and default to 100?
    Some forms can be broken up logically, as people have helpfully suggested,
    and I did follow that advise on some pages.
    But other forms cannot be. People have put a lot of thought on designing
    those forms, they are government or legal standards (or at least something more important
    than computer performance), and people have been trained
    with those original forms.
    Consider the hoops I have to jump through to get more than 100 items
    on a page I am currently working on:
    Generate the items (INPUT type="text" and INPUT type="checkbox") using PLSQL
    lots of htp.p('<INPUT ...>').
    a JavaScript function to collect all the values on the page
    and make up an XML string. submits this string to an application
    process, and application process parses the XML string and does insert or update.
    Another JavaScript to populate the items based on the current values of a row,
    using an application process to retrieve the columns of a row.
    There are about 150 items on this particular page.
    All these are ok, because I was aware of the restriction of 100.
    And because I wanted to generate my own HTML to mimic the original
    form anyway.
    Then things started to go weird.
    I need buttons to go back to another page. and I use tabs.
    Buttons to go back from this page,
    when a button is created with "Create a button in a region position",
    it works fine.
    When a button is created with "Create a button displayed among this region's items",
    it does not work, and I get HTTP 404, https://.../apex/wwv_flow.accept, page cannot be found.
    But I need a button to work like the one created with "Create a button in a region position",
    but displayed like the one created with "Create a button displayed among this region's items".
    This is still not too bad. I saw the difference between the two kinds of buttons.
    I copied the HTML code for the button "Create a button in a region position",
    and used a display only item to create a Back button where I wanted:
    '<table class="t15Button" cellspacing="0" cellpadding="0" border="0"><tr><td class="t15L"><img src="/i/themes/theme_15/button-l.gif"/></td>'||
    '<td class="t15C">Back</td>'||
    '<td class="t15R"><img src="/i/themes/theme_15/button-r.gif"/></td></tr></table>'
    Here P145_BACK holds the page number to which I want this page to go back to.
    Then I noticed that the tabs did not work any more. same error, page not found.
    That's is when I got a little frustrated and posted for help on the forum.
    Then I begin to undo my steps, and
    by lucky accident, I noticed that, if none of the checkboxes is checked,
    the tabs work fine. If at least one is checked, I get this error, page not found.
    My current solution is to add a function of my own in the doSubmit(B) function in file apex_3_1.js,
    which unchecks all checkboxes (o.checked=false).
    And now, from this page of about 150 items,
    the tabs are ok, and I have a button that is similar to one
    created with "Create a button displayed among this region's items", except I created myself
    using HTML.
    I think this trick of using a custom function in doSubmit(), that unchecks or even hides
    INPUT type="text" items (o_div.style.visibility = "hidden"; o_div.style.display = "none";)
    should work in general. this function is only invoked when the user clicks the tab,
    or buttons among a region's items.
    Somebody said regarding restrictions on drugs or sex.....
    you will not make people stop, you just make it harder or more expensive.
    Same here and many other things, a restriction is just making things harder.
    People will try to get around it.
    Now that I have a solution, and I am aware of the problem, I'll calm down and
    go back to my own thing for now.

Maybe you are looking for

  • Looking for some good text effects type plugins for CS5 or CS5.5

    I have a website that I am updating and I wanted to create some really cool text effects. The effects are something that I want to create in After Effects to give it the movie effect with sounds, etc. What I'm looking for is some add-on software that

  • Moving content from iPhoto library to external hard drive

    I recently copied my iPhoto library to an external hard drive. I've just updated some albums and created new albums. What's the easiest way to move this new content to my hard drive without having to copy and move the entire iPhoto library again?

  • Adobe Download Manager won't uninstall - causing blue screen crash

    Brand new PC, Windows 7, worked fine for couple of days until I installed Flash Player 10 Active X - now the operating system continually crashes around after 5 mins each time I reboot. Error message "problem starting C:\ProgramFiles(x86)\NOS\bin\get

  • Port Replicator vs Docking station. What's the difference?

    I've just received a port replicator for my T410, and I find that I can't lock the Thinkpad to the unit. I presume THIS is the difference between a replicator and a dock.... Is that true? However, looking at the description of the port replicator, it

  • Out of order packets via LWAPP?

    I am capturing packets on a wireless client ftp'ing a file from a server. It's showing that there are a lot of out of order packets. Although, the file received is fine, I'm worried that it'll affect voice packets later on. I'm using Wism with Lightw