Print attachments on Outbound correspondence (Smart forms)

Hi,
We are working on IS- Insurance product of SAP. We are attaching archived documents to outbound correspondence and they are not printing out. We have checked the Insurance help documentation which states: -
"You can only assign attachments to documents; you cannot output attachments using the Print Workbench. The system can only provide the identifier (archive ID and document ID) in the Print Workbench"
Has this situation changed, we need to be able to print attachments that are associated to outbound correspondence.
Alternatively we would need to print the correspondence and immediately after print the the attachment. While looking for a solution we need help in identifying a way to print archive documents using any function modules  / reports. Any help is much appreciated.
Please Advise, many thanks
Irudayaraj Peter
Edited by: Peter Irudayaraj on Feb 22, 2008 9:28 AM
Edited by: Peter Irudayaraj on Feb 22, 2008 9:29 AM

HI Nick,
Thanks for the quick reply.
I have about 25 fields which will be distributed between the 12 forms. 
So i will have to create a smart form which will have the 25 fields and 12 flags as the import parameters .
I will create 12 pages. 
Based on the check boxes selected in the selection screen of the driver program  i will activate the corresponding flags for the parameters of the function module.
As you said      "a condition on each page (PAGE1 when flag1 = 'X', PAGE2 when flag2='X' etc).".  Where and how do we write this condition. Are we supposed to do this in the smart form itself or in the driver program.
Please help me.
Thanks in advance

Similar Messages

  • Inventory Management- Printing Physical Inventory Document using Smart Form

    Scenario: Inventory Management- Printing Physical Inventory Document using Smart Forms
    I could found out that there is no standard smart form linked to Transaction MI21(Program-RM07IDRU). There is a sapscript ((INVNET) assigned to this transaction, but my requirement is to assign customized smartform to this transaction.If it is not possible to assign smart form to pgm then is it possible to through enhancement.If yes then let me know the enhancement as there are lot of enhancement in the pgm RM07IDRU.
    If you have any solution then kindly mentioned it.
    Looking forward for kind help.
    Regards
    Amit

    Check out with your SD guy if the items in billing doc have correct pricing conditions triggered.
    From the description it looks like some customizing issue.
    Otherwise revert back with the logic how are you trying to get the net value of item.

  • Is it possible to get direct print without preview of the Smart Form?

    Hi,
    I developed a custom report where line items are coming with a check-box in front of each item. User can select single/multiple line-items by checking those check-boxes. The report also has a PRINT button in application tool bar by clicking which a Smart Form will be printing for each item. Thats mean, for 10 selected line items, 10 forms will be printed.
    But, after clicking the PRINT button, print preview of the form is coming and from there I can go for a print/printer. I do not need the print preview and want to have the direct print option while clicking the PRINT button. How can I have this functionality?
    Thanks in Advance
    Roy

    Hi,
    Initially I get the Form Name by calling FM: SSF_FUNCTION_MODULE_NAME and I store it in l_fm_name. now calling the FM: l_fm_name like below:
    LOOP AT i_item INTO wa_item.
    CALL FUNCTION l_fm_name
              EXPORTING
                wa_item                    = wa_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.
    ENDLOOP.
    As I have multiple form need to print, I am calling the smartform in loop.

  • How to print BAR CODE in SAP SMART FORMS

    Hi,
    I want to print inspection lot's BAR CODE in the smart form, but i dont know the way how to print this into the smartform.
    if anyone have any idea, please suggest me how to print this as it is urgent for me to complete the object.
    Thanks in advance.
    Best Regards,
    Abnish Jain

    Hello Abnish,
    Welcome to SDN.
    We are able to print barcodes from smartforms. Doing this way, we print barcodes on laser printers.
    We are also printing from sap to zebra printers using two ways:
    1. Download the data to an excel sheet, then creating a macro that opens the printer port and sending the commands to the printer through this "file". All this is done via vb script provided with excel)..
    2. The second way is creating a vbscript (an ascii file from sap) with the printer commands and then runing it using ws_execute.
    You need a barcode reader to read the barcodes, and this scanner acts like a keyboard, it sends the data scanned to the active field on screen. (which might be a notepad, word, excel or an input field or ... ).
    From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a smartstyle -> character format with the desired barcode font (defined within sap). Then in the smartform, create a window, put the field and associate it the character format. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way.
    3. If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
    To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
    We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards
    Naren

  • How to print the overflow entries in Smart Form

    Hi all ,
    I am having a problem regarding smart forms . I have 30 entries in may data base table . Bt while I am going to print these data in smart form table it is showing only 16 entries .How to print rest of the entries in smart form ? Can anybody give me any solution .
    Thanks,
    Regards,
    Swashrayee
    Edited by: Matt on Feb 20, 2012 10:15 AM

    Hi,
    Are you sure you are entering the data in the main window .
    If you are using the secondary window,there is no flow text display with page break. If you position a subwindow with the same name on several pages, the system displays the contents of this subwindow on each page. Text and data that do not fit into the subwindow are truncated and not displayed.
    In a main window you display text and data, which can cover several pages (flow text). As soon
    as a main window is completely filled with text and data, the system continues displaying the text
    in the main window of the next page. It automatically triggers the page break.

  • Problem while printing in ukraine language using smart form

    Hi All,
    Am facing an issue while printing the quality certificate in Ukraine language. I have created the smartform in English,later I maintained the transalations in Ukraine. I will execute the print program by passing the delivery number in selection screen.
    The problem is in print preview every thing is coming fine in Ukraine language except the ship-to party address,But when I issue the print only the ship-to party address in coming in UK rest all are coming as junk characters. Am using  HELVCYR font. I have tried creating form in UK as well but same result.
    Other Ukraine documents are printed correctly using the same printer.
    Please tell me what could be the problem here?
    Thanks in advance.
    Regards
    harris

    Hi Harikrishna,
                         Which printerdevice you using .Is it supports uk language.Try to findout proper printer device for this.

  • Print Carbon Copy (CC) in smart-forms

    Hi experts,
    My requirement is print Copy of form (duplicate Copy)  in different Footer
    how to do it  ??
    Thanks in advanced.
    abhilash

    Alternatively, you can check the entry for the form in NAST table (For SD, MM, PP forms). If exists, then its a duplicate print and accordingly use the condition tab of the node to change the Footer.

  • How to print the address of a smart form in different line?

    hi ,
             I have a smartform for payment advice. It's working properly but problem is in address window. i am using sap's given  address window . City district and pincode is showing in same line i want to display it different line. initially i didnot use address window  I pass all the address field to the smartform but then problem is if any field is empty it showing the blanline in output  of smartform then i  use address window. how can i show city district and pincode in different line ? i need your suggestion.

    Hi friend,
    Yes the link will provide you the information required. But it too has few disadvantages because in some cases it may also fail.
    Else just do like this create an internal table of line type string. Add all the address details into it as you required.(Here you have provision to add the format ie you can decide which line should contain which data). Then do delete blank lines.
    Then loop the internal table and print the address this will solve your problem. In my project i solved the issue like this.
    If you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari.

  • How to print selected page no. with smart forms?

    Say hello to everybody,
        I just want to print page from 4-6 for example, how can I make it?
        I have a mothod that we can use T-code sp02 to print page 4-6, and it works.
        Is there any other way to make it? Such as setting some parameters for the function of smartforms? Any help, many thanks!

    Hi
    Printing of pages is controlled only after the generation of spool
    though we use the variables &SFSY-PAGE& for page number
    to display some data based on page condition, but for printing i think we can't put a condition based on this field.
    The way you are doing is the way to do/control page wise printing while printing the spool pages
    Reward points for useful Answers
    Regards
    Anji

  • Sap smart form printing error

    hi!
    I am trying to print one smart from through print program.
    the name of smart form is ztestform.
    and the name of the function module is /1BCDWB/SF00000099
    I am writing following print program.
    REPORT  ZSMARTFORM.
    data fname(30).
    CALL FUNCTION '/1BCDWB/SF00000099'
    EXPORTING
    formname = 'ztestform'
    IMPORTING
    fm_name = fname.
    call function fname.
    and it returns with the error " function parameter form name is unknown"
    so what should i do?
    points will be awarded.
    Cheers
    Troy.

    Hi Troy,
               Use FM  SSF_FUNCTION_MODULE_NAME.
    pass smartform name . it will give u SF function name. u call that fm.
    Please refer this code :
    data  : p_form type TDSFNAME.
           CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = P_FORM
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
         FM_NAME                  = P_FUNCTION
       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 P_FUNCTION
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          D_VBRK                     = IT_VBRK
          D_VBRP                     = IT_VBRP
          D_LIKP                     = IT_LIKP
       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.
    Reward points if helpful.
    Regards,
    Hemant

  • Reg: Smart forms and print programs

    Hi
    I would like to locate the print programs and the corresponding smart forms. say for invoice we have a smart form available and how to track the print program for it. pls advise.
    thkx
    Prabhu

    Hi Prabhu,
          You can track the Program through mainintaing table TNAPR.  TNAPR is the table which is having entries for "Processing Programs for output".
    Here you have fields like
    pgnam - Program Name
    sform -   Smartform Name
    fonam -  Script Name
    kschl -  Output type
    Here,You can maintain form against a program name.
    Hope you are clear.
    Regards,
    Siddhesh Sanghvi.

  • Printing data in Smart form side by side.

    Hi Abap Guru's,
                          I have data in internal table. i dont know how many records are there in it. I need to print the data, side by side in smart form.
    For example:
    Mr James was a member of the above-mentioned plan. you and <b>your children, Tom , jane , Harry and Michael,</b> are entitled to receive pension.
    > children must be printed side by side in smart form.
    Thank you in advance,
    -Anil

    Hi anil,
    In case you are having problems in finding the no of records in the internal table use the following command.
    DESCRIBE TABLE itab LINES w_lines.
    w_lines gives u the no of records.
    For further help u need to tell the structure of the internal table.
    Hope it is helpfull to u.

  • How to Pass the Internal table of a report to Smart Form

    Hi Experts,
    I have one report in which from selection screen i am getting the values from the users, and upon that values i am filling data in to the internal table.
    Now i want to pass that internal table data to the smart form
    and print that data in the smart form.
    So could you pls give me some pseudo code or any steps to achieve it.
    Thanks & Regards,
    DS

    Hi DS,
    First of all you need to create a SF and then need to call the FM generated by the FM in your report.
    In the SF in the form interface>tables tab>mention the name of the table and its type structure.
    Pls note that a new structure has to be created as the same type of your internal table which holds the data.
    And the import and export parameters as just the same as in a FM.
    Now after you create and activate your SF a FM will be generated (wen u execute your SF you will be taken to this SE37 screen with the name of FM so no probs..)
    You can call this FM in your report. Hope this helps.
    Ex:
    say itab has your final data, and you also want to export a variable var1 to the SF.
    after your normal report operations end, call the FM and pass on these data.
    say your FM name is FM1.
    call function FM1
    exporting
    var1 = var1
    tables
    itab1 = itab1.
    pls note that in the SF also i gave the same names, it is not mandatory to give the same names.
    and as you want to print a table in the smartforms, you need to create a table in the smart forms and then display the data which is quite simple.
    Hope this helps...
    if you need any further explanations, pls revert...
    Regards,
    Narendra.
    Reward points if helpful!!!

  • Performance tuning in Smart form

    Hi,
    How to performance tuning in Smart form level
    Any tips available kindly send me any one .
    Thanks&Regards,
    Maya

    Hi,
    If you are using a customized print program to call the Smart Form...it is better to fetch most of the data as much as possible within it and pass it useing form interface/functional module interface.
    Then in the ABAP code where ever used, fallowing the ABAP coding performance tuning options like avoiding the MOVE-CORRESPONDING, INTO CORRESPONDING, using binary search for READ statement...etc...
    Regards,
    Bharat.

  • Undeline text in Smart forms character/paragraph format

    hi!!!
    i have a problem in printing a Undelined text in Smart forms bec. when i print it, only the words is underlined and the spaces between the words dont have underline.
    can anybody help me?
    thanks in advance!!!
    james

    Hi Mohamed,
    SmartForms and WebDynpro are two different technologies
    - You can not do PrintPreview in WebDynpro.
    What You could do is to store Your text using SAVE_TEXT and use text module in SmartForms,
    but You can't use printer, but i.e. store PDF on the server or send PDF using mail.
    Regards,
    Przemysław

Maybe you are looking for

  • Bug in oracle.xml.jaxp.JXTransformer??

    I get a NullPointerException using a stylesheet which referes to an invalid (non-existant) encoding. I tried this with xdk 9.20.40 and 9.20.50, both fail. I start the transformation using transformer.transform( <xml-streamsource>, <result-stream> ).

  • ORA-22905 with pipelined function

    Hi, I have a strange behaviour that I do not understand. The code below does not work. It gives me the following errors: ORA-22905: cannot access rows from a non-nested table item ORA-06512: at line 10 ORA-06512: at line 19 The problem comes from the

  • Billing document cancellation reason

    hi gurus,              while cancelling billing document , we have to maintain the appropriate reason for billing document cancellation so that the cancellation and its reason can be tracked whenever needed . how to maintain the reason for cancellati

  • Getting recurring errors since last MS update

    I have Win8. Since the last update a couple of days ago, Firefox keeps failing to display pages properly - I think any with tables. I am able to fix this temporarily by clearing the cache, but it recurs a couple of hours later.

  • CRM 2015 Custoemr Main Grid Fancy tooltip solution/script

    In CRM 4.0, At Customer Main Grid has option to popup some address details like below.   Does any one know In CRM 2015, How to enable this option or is there any Add-On/Plugin/Solution out there to enable this sort of pop up windows with few column d