Smartform PO Output

HI Experts.
               From last few days i was wondering for the right answer for this question. I have a PO and in that I have a table. Table is in main window. Below the main, I have couple of windows at bottom of page, displaying company address, Registration. Based on PO No. there would be many records in table. My requirement is that, If there are 10 records then company address and Registration window should display on 1st page below window. And if there are more that 10 records then company address and Registration window should shift to next page and on 1st page, now it display maximum 15 records and the rest shif to next page.
I have one more problem. on second page, table header is not showing.
Kindly help me out for thses problems. I appritiate.
Khan.

Hi,
have you checked that you declare the next page in the general attributes of page 1 ??
In the case of the footer, the window has the folder Conditions, where you can declare a condition for printing the footer. You can create a subroutine in the Global Definitions for checking the number of records in the table and you save the number in a variable. Later on, in Conditions you tell SmartForms whether the variable is from 1 to 10, then the footer should be printed.
Hope it helps.

Similar Messages

  • Consequences of adding and smartform to output type in nace

    Dear experts,
      I have one doubt . I want to link one smart form to output type EF   ie purchase order. When I am saving it system  is asking for customizing requests. I am doing this in development system to check the functionality of one smartform. Because we dont have any IDES System to test. Well I want to what are the consequences of adding an smartform to output type in nace. Whether it wil reflect in quality system  without transporting the request. After testing can i remove that smartform which is attached to output type EF. Please confirm.

    No replies .

  • Assigning SMARTFORMS to output types in SPRO

    Hi,
    I have created a test smartform and smartstyle, generated a function module, and temporarily put some code in a custom "test" program to ensure it is working, and it does (note calling the compiled version of the smartform function module name, by getting it's name from SSF_FUNCTION_MODULE_NAME) and all executes correctly.
    Could anyone tell me however how I assign the smartform to execute from standard SAP via output type configuration in SPRO in SD as an example. Do we still need to specify a print program name and form routine to execute in configuration, just like SAPscript works ? I notice there is a field available for a smartform name, but then how would "whatever standard SAP is calling the smartform" know what parameters to pass into my generated function module for the smartform ? Also, does this have anything to do with the field "layout module" which is directly above the smartform field ?
    Here's what I have tried: I entered the custom Z test program I created, entered the form routine name of this program which simply calls directly the function module for the smartform. (Now the smartform field in configuration is redundant) The standard SAP SAPscript print option window appears when I execute my SD transaction, and then the output option window appears which comes standard with the smartform function module call. As the smartform field in configuration is redundant going this method, I think I am going completely on the wrong route. Can someone help ?
    Thanks,
    Graham.

    Hi Satish,
    Yes we already have this, and it works with the following issue:-
    1) The default output controller window for print options which normally appears for SAPscript pops up.
    2) The default output controller window for print options which normally appears for SMARTFORM output (looks slightly different to window in 1) appears also.
    IMPORTANT: If I take out the name of the SMARTFORM in the "Smartform text box" it makes no difference and still works as above. This is because my driver/print program and subroutine is calling the function module to call the smartform, so it already knows which smartform to execute.
    It is like the standard SD configuration is thinking my print program is for a SAPscript which is why I get both 1 and 2 above. Note: the SMARTFORM does output.
    Thanks,
    Graham.

  • Print Check box in smartform standard output

    Hi All,
    My requirement is to print a checkbox in the smartform output page. Somehow i came to know that in Web properties of the text node , we can choose a checkbox. But i am not able to figure out how it is to be implemented or what are the steps to create a checkbox.
    Kindly help me on this.

    hi
    Re: How to create checkbox in smartforms??
    Re: Regarding usage of checkbox in smartforms
    reward if useful
    Sathish. R

  • Smartforms PO - output type external send - for purchase order

    Dear
    I want to define a specific output type  for example ZPOM, with medium 'External Send'. The communication Strategy is SMTP (MAIL).
    The configuration of the Processing Routine is the following:
    Program: - FM06P
    Form Routine: ENTRY_MEU
    SMARTFORM: Z_MM_PURCHASEORDER.
    When we create this mesage in the PO, no mail is send. There is also no processing log available.
    Is it possible to use the same smartform with print program that is used for Medium 'Print Output' for medium 'External Send'?
    Best regards
    Luc

    What you need to do is to create in SPAD Output device for E-mail ( in the Host Spool Access Method define M:E-Mail to Receiver/Owner) and then in the 'Print Output' assign this device.
    Hope this helps.
    Thanks,
    Naveed

  • Smartform XML output stored in which table?

    Hi Folks,
    I wanted to know the  table where SAP stores the XML output of a Smartform...
    If not tables , please let me know where the output is stored....
    Thanks
    Reddy

    Hello Reddy,
    I suppose you are you calling Smartform execution with this kind of call (more or less):
    CALL FUNCTION v_fm_name
         EXPORTING
           ARCHIVE_INDEX                                   = s_archive_index
           ARCHIVE_INDEX_TAB                         = s_archive_index_tab
           ARCHIVE_PARAMETERS                    = s_archive_params
           CONTROL_PARAMETERS                  = s_control_param
           MAIL_APPL_OBJ                                   = s_mail_appl_obj
           MAIL_RECIPIENT                                  = s_mail_recipient
           MAIL_SENDER                                      = s_mail_sender
           OUTPUT_OPTIONS                              = s_output_options
           USER_SETTINGS                                 = 'X'
           LV_SALES                                               = p_sales
           LV_PADDR                                             = v_address_num
           LV_ADRNR                                             = v_adrnr
           LV_EQUNR                                             = v_equnr
           LV_SERNR                                             = v_sernr
         IMPORTING
           DOCUMENT_OUTPUT_INFO             =  s_doc_output_info
           JOB_OUTPUT_INFO                            =  s_job_output_info
         EXCEPTIONS
           FORMATTING_ERROR                        = 1
           INTERNAL_ERROR                              = 2
           SEND_ERROR                                      = 3
           USER_CANCELED                               = 4
           OTHERS                                                  = 5.
    You can get the document XML in the IMPORTING parameter JOB_OUTPUT_INFO, for example to download the XML document you can do something like this:
         LOOP AT s_job_output_info-xsfdata INTO xsf_line.
              l_line = xsf_line.
              APPEND l_line TO l_table.
         ENDLOOP.
         CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                   filename                        = 'C:\temp\test.xml'
              TABLES
                   data_tab                        = l_table.
    I am not sure the data is stored internally in any databse table (in addition to be return in the JOB_OUTPUT_INFO parameter).

  • Chinese/Japanese characters not appearing on smartforms PDF output

    Hi,
    The print preview of the Smartforms output layout is correctly displaying the characters of native/local languages like Chinese, Japanses etc.....but when i try to print this output, it is printing the junk characters.
    Whereas the same printer is able to print the Chinese, Japanese characters when printed from MS Word.
    So this issue is occurring only when printing from SAP.
    In spool i could see the Chinese/Japanese characters appearing correctly, whereas when i try to convert it to PDF using program RSTXPDFT4, the PDF is again showing junk characters replacing the chinese characters.
    Thanks!

    This could be of different reeasons...
    1) Make sure your printer is uni-code enabled.
    2) Make sure, your unicode enabled printer is configured in SAP.
    3) make sure, your printer device is supported by SAP. (You can find list of SAP recommended printers in www.service.sap.com)
    4) Check whether the correct device type is used for printing chinese and japanese characters.
    5) Check code pages.
    6) Make sure you use Cyrillic font family, for printing chinese and Japanese characters.
    Regards,
    SaiRam

  • Error in smartform japaneese output allignment when we get thatby email.

    Hi ALL ,
    I am getting the following output when i am sending an email .
    I am using a smartform for that display.
    My problem is field allignment as shown in the below records.
    Because of small characters in japaneese language we are not getting the proper way of the below fields:
    Requirement: I have to arrange all the right side part the same way as the left part.
       貴社注文番号:                 A0012634-1
       受注処理日:                  23.05.2006
       弊社受注番号:                 7050808206
       弊社受注入力日:                23.05.2006
       変更日付:
       受注元:                    新日軽ベストシステム (株) 管理部
        通貨:                     JPY
       支払い条件:                  Close EoM/1 mo./Payment EoM
    Please suggest ur feedback to solve the issue .
    Thanks In advance.

    hi,
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data = wa_doc_chng" check your language given.
            put_in_outbox = 'X'
          TABLES
            packing_list  = i_objpack
            object_header = wa_objhead
            contents_bin  = i_objbin
            contents_txt  = i_objtxt
            receivers     = i_reclist.
    here in the exporting parameter, which language u gave...
    Any japanese letter is printing in your e-mail.. ???
    hope this will help you..
    regards
    vijay

  • Error in smartform japaneese output allignment

    Hi experts,
    I am getting the following output when i am sending an email .
    I am using a smartform for that display.
    My problem is field allignment as shown in the below records.
    Because of small characters in japaneese language we are not getting the proper way of the below fields:
    Requirement: I have to arrange all the right side part the same way as the left part.
    貴社注文番号: A0012634-1
    受注処理日: 23.05.2006
    弊社受注番号: 7050808206
    弊社受注入力日: 23.05.2006
    変更日付:
    受注元: 新日軽ベストシステム (株) 管理部
    通貨: JPY
    支払い条件: Close EoM/1 mo./Payment EoM
    for example :
    通貨: JPY
    受注処理日: 23.05.2006
    should be like
    通貨:                JPY
    受注処理日:      23.05.2006
    Both J and 2 should be in the same line.
    Pelase suggest how we can handle dis issue?
    One more thing , here we r looking the output in SOST and through email also .
    So the output should be same in both.
    Please suggest ur feedback to solve the issue .
    Thanks In advance.
    RAhul
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 8, 2009 3:24 PM

    create a template with two columns and as many rows as u want and print ur text in that.
    Edited by: kartik tarla on Jan 9, 2009 2:02 AM

  • Error in Smartform:  Nested output of tables is not possible....

    Hi ,
      I am getting the below error while executing the smartform.
    Nested output of tables is not possible
    Message ID: SSFCOMPOSER
    Message Numer : 171
    could any one plese help me?
    Thanks & Regards,
    surendra

    Dear
    AS i reply in thread ,
    this error comes  with  some problem in functional Module .
    as we know that two FM use in smartforms -
    SSF_function_mudule
    call   funcion .
    so you check both and  i hope you handle this problem .
    Regards,
    Ravi

  • Error in Smartform: No output request open.End not possible..

    Hi Experts,
    I am getting below mentioned error while trying to execute smartform..
    NO OUTPUT REQUEST OPEN..END NOT POSSIBLE..
    Message no. SSFCOMPOSER154.
    Help me to resolve the issue..
    Thanks in advance..
    Hampanna Kamatar

    Hi experts,
    I am getting the same error and found found that its because ssfcstat-tdopen getting false in the FM ssfcomp_close.
    if ssfcstat-tdopen = c_false.
        err_comp ssf_err_close_unstarted 'A' 154 space space space space.
      endif.
    I want to know the reason why and where exactly the field is getting populated with c_false.
    ps: I am using a Zprogram and it PRINTS FOR FEW DELIVERIES AND THIS ERROR FOR FEW DELIVERIES.

  • Display Smartform Pdf output in ABAP Webdynpro application

    Hello,
    there is a solution for displaying Smartform output in Java Webdynpro application in this forum. Since i want to start an project in ABAP Webdynpro i need a solution for this technology since i don't want to recreate all the paperwork again using Adobe. Is there any solution available?
    Thanks
    Udo Ahle

    Hello,
    this is the solution which i was able to implement using the hints given by Heidi and Thomas. Thank you for the support. With this solution it is possible to reuse oldstyle sapscripts and smartforms in todays environment.  Here is the sample code which solves the problem:
    In WDA you define for example a pushbutton to start the display of the PDF.
    In the onaction method you implement:
    method ONACTIONSHOW_PDF .
      data LX_pdf type xstring.
    * get PDF from existing sapscript or smatform
      call function 'Y_PDF_GET' destination '46c'
        IMPORTING
          ex_PDF = LX_PDF.
    * append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'Hello.PDF'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = 'X'
        i_inplace       = 'X' ).
    endmethod.
    The function 'Y_PDF_GET' is implemented as follows:
    FUNCTION Y_PDF_GET .
    *"*"Local interface:
    *"  EXPORTING
    *"     VALUE(EX_PDF) TYPE  XSTRING
    *"  TABLES
    *"      ET_OTF STRUCTURE  ITCOO OPTIONAL
      data: lf_filesize type i,
            lt_otf type table of ITCOO,
            lt_lines type table of tline,
            tline type tline.
    * start sapscript or smatforms and return
      perform make_otf.
      CALL FUNCTION 'READ_OTF_FROM_MEMORY'
        TABLES
          OTF                = lt_otf
       EXCEPTIONS
         MEMORY_EMPTY       = 1
         OTHERS             = 2
      et_otf[] = lt_otf.
      CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         FORMAT                      = 'PDF'
    *   MAX_LINEWIDTH               = 132
    *   ARCHIVE_INDEX               = ' '
       IMPORTING
         BIN_FILESIZE                = lf_filesize
        TABLES
          OTF                         = lt_otf
          LINES                       = lt_lines
       EXCEPTIONS
         ERR_MAX_LINEWIDTH           = 1
         ERR_FORMAT                  = 2
         ERR_CONV_NOT_POSSIBLE       = 3
         OTHERS                      = 4
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * convert tline to xstring as needed in
    * in web dynpro            
      field-symbols <X>.
      data: st(268) type c.
      data l1 type i.
      data len type i.
      data maxline type i value 134.
      l1 = 0.
      loop AT lt_lines INTO tline.
        clear st.
        st+l1(maxline) = tline.
        len = maxline + l1.
        l1 = maxline - strlen( tline ).
        ASSIGN st TO <x> TYPE 'X'.
        CONCATENATE ex_pdf <x>(len) INTO ex_pdf.
      endloop.
    ENDFUNCTION.
    The make_otf for sapscript is the following:
    * the next attribute enables the otf output.
    * no other output will be generated
    <b>options-TDGETOTF = 'X'</b>
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION        = 'TX'
    *         ARCHIVE_INDEX      = ARCHIVE_INDEX
             ARCHIVE_PARAMS     = ARCHIVE_PARAMS
                DEVICE             = DEVICE
                DIALOG             = ' '
                FORM               = FORM
                LANGUAGE           = language
               OPTIONS            = OPTIONS
    *     IMPORTING
    *          LANGUAGE           =
    *          NEW_ARCHIVE_PARAMS =
    *          RESULT             =
           EXCEPTIONS
                CANCELED           = 1
                DEVICE             = 2
                FORM               = 3
                OPTIONS            = 4
                UNCLOSED           = 5
                OTHERS             = 6.
    *... make some write forms
      data lT_OTF     type table of     ITCOO.
    * get the otf data
      CALL FUNCTION 'CLOSE_FORM'
    *     IMPORTING
    *          RESULT   = result
           TABLES
               OTFDATA  = lt_otf
           EXCEPTIONS
                UNOPENED = 1
                OTHERS   = 2.
    * put otf into memory for later usage
      if not lt_otf is initial.
        CALL FUNCTION 'SAVE_OTF_TO_MEMORY'
    * EXPORTING
    *   MEMORY_KEY       = 'DEF_OTF_MEMORY_KEY'
          TABLES
            OTF              = lt_otf.
      endif.
    For Smartforms technology it is possible to implement the same concept.

  • Smartform Different output formats in same language

    Hello
    I have a Bulgarian smartform which is translated via SE63 into English.We have a customizing table and according to some fields from there,the customer wants to have the english smartform to have slightly different outputs, no big differences,but for ex some bigger/smaller characters or some fields that should not be displayed.
    How can i do this,because the only way to control this is via se63 that has no such option?
    Thank you

    Look at SE63 translation screen, some constants texts are represented like <F1>пример</ > where <F1> is the character format, so translate it to <F2>example</ > and the text will be printed with another character format.
    But it may be easier to check the language code in the Smartforms itself, especially for text that are not to be printed, (if you don't wont to translate text to initial value) or for full variable text (text item without any constant) that don't appear in the translation screen.
    Regards,
    Raymond

  • Smartform XSF output error

    I want XSF output for a smartform. I have made the necessary changes in the output type and output device. Also made changes in SPRO.
    When I produce normal (standard) PDF for the smartform it executes with no error and the pdf is properly generated.
    But when I do the same for XSF output it gives an error that "table XYZ does not fit the main window". I tried changing the size of the table as well but the error still remains.
    If the same smartform works properly for standard PDF output why should it have size issues with XSF output?
    help would be appreciated. Am I missing out on something?

    Hello again,
    I am able to get the XSF output in the spool. Now my problem is that I am having that XML file in the spool, but I need to redirect this XML File (spool) to my middleware (seebeyond in this case ) .
    Now how to configure it in SAP so that it is redirected to seebeyond automatically the moment spool gets created.
    At the moment I am not looking to write an ABAP to run in background to pick up the spools and drop to middleware.
    Any ideas gurus? am I on the right track ?
    Cheers,

  • Smartform for output type CHKL (count list ) as Inbound Delivery(E1)

    At this moment, I know the Sapscript form RT_CHECK_LIST & program RTCHECKL for count list (output type CHKL) as inbound delivery (E1), but I need  the PROGRAM and SMARTFORM for this output?!
    Thanks in advanced

    I don't think we have a similar print program and smartform available, if you want to use it in Smartfrom.. copy SAPscript and migrate to smartform using SF_migrate and copy the print program of SAPscript and make necessary changes.
    Regards,
    SaiRam

  • ###### sign in smartforms PO Output

    Hi,
    When i am printing the PO form the item description field is printing "#" symbole by replaceing the SPACE while it's printing.
    There is a similar issue in below link but there is no answer on this.
    Re: ###### sign in smartforms output
    Experts if you have any solution please give me your input.
    Cheers,
    Senthil.

    Hello
    we have the same problem - we are on Version SRM 5.5 and ERP netweaver 7.0.
    Can you advsie how you fixed this problem please as we cannot find one?
    Many thanks

Maybe you are looking for

  • Adapter / converter

    Hi there, I'm new to Mac, I bought a macbook 2months ago , here in the US, and I'm about to go back to France. Does anyone know if I need a converter for voltage ( because I've been told that my macbook would convert automatically from 110 V to 220V,

  • Huge lack of functionality - Please write about what is lacking in Photos.

    Is it just me or are we missing functionality in Photos? Photos cannot be used professionally as it is currently  -  As I see it, the program is only 80% finished Please write about what is lacking in Photos. 1) Shared Albums, sort order. Optional so

  • Installing Oracle Entitlements Server

    hi all, i try to install oracle entitlements server in my pc. but after install everything i can't start Service Control management and i foud the following error log. i believe nothing is using in port 7063. bocz i check with netstat command. ERROR

  • Signal in solaris 10

    Are the signals in solaris 10 are per process ? ?? would like to know wether the setitimer in solaris 10 is per process or per thread. Please reply for this query

  • Logic or Live? Can Logic be used in a live setting similar to Abelton Live?

    Hello, I'm a musician/engineer that wants to start mixing recordings and playing tracks in live performances. I've heard and seen Live do great things so I'm wondering: Can I use Logic and different areas of it [namely, the environment] to create liv