Smart form issue for range input

Hi all,
i have print out five 5 po . each po in new form
i.e every po has to start in new page
i have created a smart form
loop at header .
wa = header
ssf... fm module
exporting wa
tables item details
call function fm_name...
endloop.
whats happening is when i execute the program i am getting a pop up window i click on preview , it prints the first p o  and then when i click back agian i see the pop up window and again i have to select print preview then i see 2 po and again back button print preview to see 3 po
i want to click print preview once and i want to see all 5 po's
first po and new po in new page
let me know how to achieve this
Thanks

Hi
I can do it in scripts right
open form
loop at itab.
start form
write form
end form
endloop.
close form
Iam looking something like this in smartforms
Thanks

Similar Messages

  • Smart form assignment for fb60 document

    Hi Experts,
    I have one issue pertains to smart form, my client wants to take print with his logo at the time of FI invoice document.
    Once user post the invoice in FB60, the using the document number we need the details in a form.
    For this abaper developed a smart form, but i could not find where these form will be assigned for print, and requirement is that  in the FB60 transaction itself if user press the print button then taking this developed form to print.
    Please suggest that how to make these assignments?
    Regards,
    Raghav

    HI,
    I don't think you can call the form developed directly from FB60 after posting the document. 
    I would recommend to use the functionality of correspondence. 
    After posting the document in FB60 from Menu --> display document and from there you need to generate the correspondence request and then print the form from F.64.
    Regards,
    Kiran Yelamarthy

  • Smart-Form name for Printing of Payment-Receipt in Tcode FBCJ

    Dear Sir,
    We use Tcode FBCJ for the making of Cash Payment . To Print the Cash Payment Receipt , we first select the Payment Line Item then Click on Edit --> Print Receipt .
    This call a Smart-Form and Payment Receipt get printed .
    We need to know the name of Smart-Form being used .
    We request SAP experts to kindly guide as whhat is the name of Smart-Form being called in this case .
    We assure to give full points for the suggested solution pl .
    Rgds
    B Mittal

    hi,
    standard smartform for payment receipt is
    FI_CA_PAYMENT_RECEIPT_SAMPL_SF
    reward points if useful,
    siri

  • Is a smart form available for F.64 transaction

    Hi Gurus,
    I need a standard smart form that is available for F.64 (Maintain Correspondance requeststransaction).
    My requirement is to print credit and debit memo using this transaction. But I found that this transaction calls a standrad driver program RFKORD50 which inturn calls a SAP script F140_INT_DOCU_01.
    What I need to know is there any standard SMART FORM that is available for this transaction.
    Answers will definitely be rewarded.
    Thanks & Regards
    Ramachandran Babu

    Hi,
    In the program RFKORD50, above the OPEN_FORM function module, there is a BTE and a EXit also.
    Implement the Exit and call the function module relating to the smartform. Call the function module in the exit and from the transaction OB96 remove the form attached to the program RFKORD50.
    Please let me know if it works.
    Thank you.
    Reward points if found useful.

  • Download Smart form data for 6000 Invoice documents into Excel

    Hi,
    Using RSNAST000 program currently we are printing samrtform.
    Instead of printing data in smartform i need to write into excel.
    Please let me know the logic to do this i need to write 6000 smartforms(Invoice documents) data into Excel.
    Thanks
    Bhuvana

    Ask him how he thinks smart forms can be embedded in Excel, and why he wants Excel (for which benefit, for using which functions of Excel?). He has an idea, for sure.
    Technical possibilities of Excel to embed graphical documents are very limited, I mean 2 solutions: either storing the whole document as an image (rather easy), or split the document into pieces of text (into cells) and boxes and images (stored as Excel graphical elements) with a rather bad render (highly complex, I mean unfeasible).
    - If his idea is to embed them as images (PDFs), then show him the result : 50 kb to 500 kb for each smart form = excel of several mega bytes. He will certainly regret. Moreover I don't see the interest.
    On the other way, propose him to store smart forms in a single spool, so he will be able to display (it's then equivalent to preview) all of them at the same time. He'll surely agree that it's the most efficient way.
    Propose him proofs of concepts.

  • Smart form settings for TO Print

    Hi,
    Anybody please provide the seetings to find what is the smart for used.
    Actually i tried to print TO using LT31. I need to know the customizing path, where the smart forms are configured.
    Regards,

    Hi,
    Please goto SPRO > Logistics Execution> Warehouse Management> Activities> Define Print control> Execute
    Click on the print code tab. You can find smart forms assigned to the Warehouse + Print code combination.
    Hope this is helpful.
    Regards,
    Baskar

  • Smart form Issue..

    Hi All..
    I need to print a square Box in the smartform ( 1 * 1 cm)..
    ( User takes the Print out of smart form and use this box to mark from his pen manually)
    How to do it...???

    Hi,
    Take a template which contains only one column and one row. And you can mention the size of the template. Now use the border option of the template to print the borders. Then in it take a text element, which contains a space so that the template will be prited.
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Smart forms issue very urgent

    Hello all , i have a problem i.e the credit department would like the ability to automatically fax to the customer the statement of account form .
    Please tell me the possible soulutuins to how to do this,
    Thanks & Regards,

    Hi Pranav ,
                             in one of ur answers to queries related to sending PDF output through mail, you said, the mails are queued in SOST. Tee same happened for me. I would like to know is thee any way we can select those mails in queue and send them for posting programmitically, as my program is supposed to run in back ground, and the user may not me having access to SOST.
    Thanks and Regards,
    Arnab

  • Smart forms Issue

    Hello all , i have a problem i.e  the credit department would like the ability to automatically fax to the customer the statement of account form .
    Please tell me the possible soulutuins to how to do this,
    Thanks & Regards,

    Hi,
    When ever there is a currency field to be printed in smartform, you also need to refine a reference field so that system will use this currency unit. For this, goto
    "Currency/Quant. fields" tab in Global definitions and declare as below
    WA_EKPO-NETPR               CURR
    WA_EKPO-NETWR               CURR.
    This will create reference to currency fields and it will display the output without errors.
    Hope this helps
    Vamsi

  • Handling XSS issue for IFrame inputs

    Am using a IFrame to display an arbitrary html page, which is shown as a preview. The input for IFrame is from a TextEdit which is string.
    I use the following to convert the string to resource :
    public void onPlugFromNotificationView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String template, java.lang.String language )
        //@@begin onPlugFromNotificationView(ServerEvent)
           wdContext.currentContentsElement().setTemplate(template);
           wdContext.currentContentsElement().setLanguage(language); 
           try
           { // transform String into Resource
                final byte[] data = wdContext.currentContentsElement().getTemplate().getBytes("UTF-8");
                final IWDResource resource
                = WDResourceFactory.createResource(data, "source.html", WDWebResourceType.HTML);           
                wdContext.currentContentsElement().setResource(resource);           
           catch (UnsupportedEncodingException ex)
                throw new RuntimeException(ex);
        //@@end
    And the following to convert the resource to url which will be used by the IFrame as source:
    public java.lang.String getContentsResourceURL(IPrivateNotificationPreviewView.IContentsElement element)
        //@@begin getContentsResourceURL
         // compute source URL of resource for IFrame
             final IWDResource resource = element.getResource();
             return resource != null
               ? resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal())
                        : IWDIFrame.DEFAULT_SOURCE;
        //@@end
    I tried to use the StringUtils.escapeToHTML(template) in the preview action but the output is in a xml format insteadof html. Can somebody help , as to how can this be solved.

    Am using a IFrame to display an arbitrary html page, which is shown as a preview. The input for IFrame is from a TextEdit which is string.
    I use the following to convert the string to resource :
    public void onPlugFromNotificationView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String template, java.lang.String language )
        //@@begin onPlugFromNotificationView(ServerEvent)
           wdContext.currentContentsElement().setTemplate(template);
           wdContext.currentContentsElement().setLanguage(language); 
           try
           { // transform String into Resource
                final byte[] data = wdContext.currentContentsElement().getTemplate().getBytes("UTF-8");
                final IWDResource resource
                = WDResourceFactory.createResource(data, "source.html", WDWebResourceType.HTML);           
                wdContext.currentContentsElement().setResource(resource);           
           catch (UnsupportedEncodingException ex)
                throw new RuntimeException(ex);
        //@@end
    And the following to convert the resource to url which will be used by the IFrame as source:
    public java.lang.String getContentsResourceURL(IPrivateNotificationPreviewView.IContentsElement element)
        //@@begin getContentsResourceURL
         // compute source URL of resource for IFrame
             final IWDResource resource = element.getResource();
             return resource != null
               ? resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal())
                        : IWDIFrame.DEFAULT_SOURCE;
        //@@end
    I tried to use the StringUtils.escapeToHTML(template) in the preview action but the output is in a xml format insteadof html. Can somebody help , as to how can this be solved.

  • Form validation for file inputs

    Hi,
    Does anybody know if Spry can do a file input validation? I'm
    interested at least to check if the file is empty or not.
    Thanks

    is this a JavaScript question or a Java queston ?

  • Issue Regarding Chinese characters In Smart Form Print preview..

    Hi All,
    I am working on a smart form development for chinese users. The requirement is the user will login using English & when the delivery will be issued for output, a check will be done on the country of user. If that comes as china then the international version (C) maintained for that customer will come as output.
    Now the problem is even if I login using EN or ZH the below issue I am facing always.
    In the database I can view the details in chinese properly by logging in as ZH. During debugging also i checked the data from table ADRC & MAKT is coming in chinese properly. But when i gave the values to be output in SmartForm, it is showing the characters like how it will look if I login using EN & view the table contents.
    When i view the data by changing character set as Simplified Chinese then in table i can see chinese texts properly. But when the same data goes to print preview it shows the chinese characters like as it would appear when character set is Unicode or West European..
    Please help..
    Thanks in advance.
    Edited by: malayanayak123 on Jun 1, 2011 5:48 AM

    Dear,
    print preview and physical printout are two different things.
    PrintPreview:
    The data stream will be sent to the frontend and rendered with windows-fonts etc (for backend prints a simulation).
    Printout:
    Frontend: You need a printer, that maps the character, you have to use SAPWIN or SAPWINCF when using cascading fonts. The rendering will be done in the windows spooler.
    Backend: Your printer needs also a mapping (look like something with UTF8). Also the printer needs the fonts installed because the rendering will be done in the printer!
    If you use the pdf-printer in SAP, you need to upload all necessary fonts (TTF) for the pdf-composer. Also you need a unicode pdf printer for that.
    Regards,
    Christian

  • Mail subject modification for smart-form SMIV

    Hi Experts,
    We have implemented ServiceDesk in Solution Manager 7.1 SPS 08 & are using automatic notifications to be generated as alert emails to the customer key users / service desk support team / message processors etc.
    We are using Actions under transaction SPPFCADM, which is using smart-form AI_CRM_IM_SHORT_TEXT_LINK_FORM for the email content.
    We need to modify the notification mail subject as follows - 
    Current Mail Subject – 80000xxxxxx : <Incident Description>
    Required Mail Subject – 80000xxxxxx : <Incident Description> : <Incident Status>
    Can you please suggest, how this can be achieved? What modifications are needed in smart form for the same?
    Best Regards,
    Tanmeya

    Hi Tanmeya,
    Go through the following Links, here u can find example with step
    by step.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Check these links also.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    https://scn.sap.com/thread/499311

  • Preconfigured Smart Forms for ECC 6

    Hi
    Can any one tell me if there are any pre configured Smart Forms available for ECC6. I searched in Service market palce but found that preconfigured Smartform are available for ECC 5 but not for ECC6.
    Also can u tell me if Adobe document services or PDF forms are available free for customers or there is any license required to use them for ECC6?
    Thanks in Advance
    Atul Mohite

    This <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/adobeforms?rid=/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0">link</a> might partly answer your question.
    ~Suresh

  • Sample smart forms for sales order details

    M unable to retrieve the data from database to smart form variables.Please send me some standard smart forms names for sales order report.So dat i can c how dey r declared in standard forms.
    Thanks & Regards,
    santhosh Kumar.

    Hi santosh,
    here are some of the standard smartforms-print programs
    Inquiry     /SMB40/RVADOR01       /SMB40/SDINQ_XX
    Quotation     /SMB40/RVADOR01      /SMB40/SDQUO_XX
    Order Confirmation     /SMB40/RVADOR01       /SMB40/SDORC_XX
    Cash Sales Receipt     /SMB40/RVADOR01      /SMB40/SDCSH_XX
    Contract     /SMB40/RVADOR01                 /SMB40/SDCON_XX
    Scheduling Agreement  /SMB40/RVADOR01     /SMB40/SDSDA_XX
    Delivery Note     RLE_DELNOTE     /SMB40/SDDLN_XX
    Invoice     RLE_INVOICE     /SMB40/SDINV_XX

Maybe you are looking for

  • HP PSC 1600 Scanner doesn't work

    Since installing Snow Leopard the scan function on my HP PSC 1600 does not work, however the print function does work. I deleted then added the device from the Print & Fax list in System Preferences. I downloaded and installed the HP print/scan softw

  • External Hard Drive Permission Error

    I've been using a SimpleTech 160 GB external Hard drive for my mac computer for just over a year now. Never had a problem till one day I got on my mac to see the hard drive ejected. So I unplugged it and plugged it back in and it showed up. But since

  • IPod 4G freezes up and gets hot

    I have a two year old 20GB 4G. It works great most of the time, but every now and then, the software will freeze up and the iPod itself will get warmer than normal to the touch. If this happens when I am playing the iPod, I just reset and let it cool

  • Quick Crop Feature for Non-Critical Work

    Often, I am printing a big quantity of proofs that require little individual attention. I will FTP my files to a print service, and Lightroom's export options, which allow me to set file preferences and constrain the image size, has proven much more

  • I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.

    I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.