Archiving a smartform

Hi,
I try to archive the smartform ZSSFFAKT01 by passing the following parameters to FM. When I have a look at Transaction OMA1 I get an error in the outgoing documents section saying: Content-Repository does not exist.
Any ideas, what's going wrong here?
Peter
REPORT  ZZSF.
* Standard Tabelle der Formular-Zeilen
TYPES: BEGIN OF ZJ01_TY_ZL1,
         LFDNR    LIKE ZJFRZ-LFDNR,
         SEITE    LIKE SY-DATAR,
         DRUCK    LIKE ZJFRZ-DRUCK,
         STUFE    LIKE ZJFRZ-STUFE,
         ZEILE    LIKE ZJFRZT-ZEILE,
       END OF ZJ01_TY_ZL1.
TYPES: ZJ01_TY_ZL TYPE STANDARD TABLE OF ZJ01_TY_ZL1 WITH KEY LFDNR.
  DATA: l_form   TYPE tdsfname,
        l_head   LIKE zjrg_struc,
        g_arch_params TYPE arc_params,
        g_control_parameters TYPE ssfctrlop,
        g_output_options TYPE ssfcompop,
        lt_zl    TYPE zj01_ty_zl,
        l_out_params TYPE pri_params.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = 'ZJSFFAKT01'
*       VARIANT                  = ' '
*       DIRECT_CALL              = ' '
      IMPORTING
        fm_name                  = l_form
*     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.
g_arch_params-sap_object = 'DRAW'.
g_arch_params-ar_object = 'ZJ'.
g_arch_params-archiv_id = 'T1'.
g_arch_params-doc_type = 'OTF'.
g_arch_params-info = 'XXX'.
g_arch_params-printer = 'ARCH'.
g_arch_params-protokoll = 'IX_OLEU1'.
g_arch_params-version = '0045'.
g_output_options-tdarmod = '2'.
g_arch_params-arctext = 'Test Zaske'.
l_head-titey = '98786'.
l_head-prjnr = '99.0000.9'.
        CALL FUNCTION l_form
      EXPORTING
        archive_parameters = g_arch_params
        control_parameters = g_control_parameters
        output_options     = g_output_options
        user_settings      = ' '
        head               = l_head
      TABLES
        body               = lt_zl.
    COMMIT WORK.
*    ENDDO.

Peter,
Thanks for your message. The problem regarding from where the output was triggered was fixed.  I have another question though. We need to make several calls to the smartform function. As of now, it creates an archive for every call to the function. We would like to have it create only one archive, independently of the number of function calls.  Thanks again.
Regards,
Alvaro

Similar Messages

  • Problem while archiving a smartform

    Dear All,
        We have implemented records management and in GMGRANT tcode, we created button and which would create a smartform when we press that. Based on the Archive link settings from OAAD tcode, when ever we try to archive that smartform, it would trigger event 'ASSIGNED', we did type linkage for this even and assign a custom function module. There we designed to add this smartform as an element to Grant record. Its working perfectly in Production till yesterday. Suddently, its not working now, and when I checked the event trace, this event is not getting triggered. Would you let me know the possible reasons for this??
    Thanks and regards,
    Chandra.

    Dear All,
        We have implemented records management and in GMGRANT tcode, we created button and which would create a smartform when we press that. Based on the Archive link settings from OAAD tcode, when ever we try to archive that smartform, it would trigger event 'ASSIGNED', we did type linkage for this even and assign a custom function module. There we designed to add this smartform as an element to Grant record. Its working perfectly in Production till yesterday. Suddently, its not working now, and when I checked the event trace, this event is not getting triggered. Would you let me know the possible reasons for this??
    Thanks and regards,
    Chandra.

  • SOS   How can i Archive a Smartforms

    Hello everybody ,
    I need to Archive a Output  ( must be  as PDF    ( see TR : fv03)) from Smartforms , how kan i result it ?
    Pleas help me
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME           = 'ZSALDENBEST'
        IMPORTING
          FM_NAME            = FM_NAME
        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.
      OUTPUT_OPTIONS-TDARMOD  = '3'.
      ARCHIVE_INDEX-FUNCTION                     = 'DARA'.
      ARCHIVE_INDEX-MANDANT          = SY-MANDT.
       DEL_DATE
      ARCHIVE_INDEX-SAP_OBJECT       = 'BUS1130'.
      ARCHIVE_INDEX-AR_OBJECT        = 'ZRE0000017'.
      ARCHIVE_INDEX-OBJECT_ID        =  C_BARCODE.
       FORM_ID
       FORMARCHIV
      ARCHIVE_INDEX-RESERVE          = 'PDF'.
       NOTIZ
      CONTROL_PARAMETERS-NO_DIALOG = 'X'.  "X rein dann kein PopUp
      IF SY-UNAME = 'HAMAMA'.
        CONTROL_PARAMETERS-NO_DIALOG = ' '.
      ENDIF.
      IF NOT SALDO_NEU IS INITIAL.
        CALL FUNCTION FM_NAME
              EXPORTING
             ARCHIVE_INDEX                = ARCHIVE_INDEX
        ARCHIVE_INDEX_TAB          =
        ARCHIVE_PARAMETERS         =
             OUTPUT_OPTIONS             = OUTPUT_OPTIONS
           CONTROL_PARAMETERS         = CONTROL_PARAMETERS
           BUKRS                      = WA_MIET_DATA-BUKRS
           ZINS                       = ZINS
           SALDO_NEU                  = SALDO_NEU
           SALDO_ALT                  = SALDO_ALT
           H_TEXT                     = H_TEXT
           WA_MIET_DATA               = WA_MIET_DATA
           LV_INTRENO                 = LV_INTRENO
           BP000                      = L_BP000
           ADRS                       = L_ADRS
           LV_SWENR                   =  LV_SWENR
           LV_JBETRST                 = LV_JBETRST
           LV_SSTDORT                 = LV_SSTDORT
    IMPORTING
       DOCUMENT_OUTPUT_INFO       =
       JOB_OUTPUT_INFO            =
       JOB_OUTPUT_OPTIONS         =
            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.

    DATA:
      document_output_info TYPE  ssfcrespd,
      job_output_info      TYPE  ssfcrescl,
      job_output_options   TYPE  ssfcresop,
      control_parameters   TYPE  ssfctrlop,
      output_options       TYPE  ssfcompop.
      control_parameters-getotf    = true.
      control_parameters-no_dialog = true.
      output_options-tdimmed       = false.
      output_options-tdnoprev      = false.
    DATA: it_otfdata  LIKE STANDARD TABLE OF itcoo        WITH HEADER LINE.
            CALL FUNCTION 'MYSMARTFORM'
              EXPORTING
                control_parameters   = control_parameters
                output_options       = output_options
                user_settings        = ' '
                frm                  = p_sname
                job                  = p_jobps
                tel                  = p_telno
                fax                  = p_faxnx
                mal                  = p_smail
              IMPORTING
                document_output_info = document_output_info
                job_output_info      = job_output_info
                job_output_options   = job_output_options
              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.
              CONCATENATE sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                     INTO it_edat-lines SEPARATED BY space.
            ELSE.
    Get the cover page OTF data
              MOVE: job_output_info-otfdata[] TO it_otfdata[].
        ENDIF.
    IF NOT it_otfdata[] IS INITIAL.
      DATA: fsize  TYPE i.
      DATA: cancel TYPE c.
      DATA: l_docs LIKE STANDARD TABLE OF docs WITH HEADER LINE.
      CLEAR: malfg.
    Call the OTF to PDF FM
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = fsize
        TABLES
          otf                   = it_otfdata
          lines                 = it_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDIF.

  • Archive Smartform from BSP

    Hello
    In our scenario we are entering data into a BSP and want to call a smartform and archive the smartform output as PDF on the click of a button. The displaying of the PDF file in the browser works fine. What I cannot get working is for the smartform to automatically archive the output using archive_index and archive_parameters. In ABAP this works fine but I cannot find why the same call in the BSP displays the form but does not archive the displayed data.
    Does anybody have any ideas?
    Thanks
    Harry

    Hello Prabu
    Thanks for your answer. I thought in my question I clearly stated that converting the OTF and displaying the PDF was not the problem. Sorry if it was not clear enough.
    In any case I have found a solution to the problem myself. After receiving the OTF data I copy it into an identical structure of the same type and use one to archive with FM CONVERT_OTF_AND_ARCHIVE and the other is used to display the PDF file in the browser. Surely not "state of the art" but it solves my problem.
    Thanks to all
    Harry

  • Archiving invoice using smartform

    Hi All
    I am trying to archive invoices using smartform.
    In the program I am directly calling the smartform by passing the archiving parameters to the function module of smartform which is determined using CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'.
    I am passing the parameter to the  archive_index and  archive_parameters in CALL FUNCTION lf_fm_name.
    If from the same program I am calling driver program of sap script then the document is getting archived.
    Is there any problem with archiving using smartform.
    Please guide.

    Hello,
    Check this link
    http://sap.ittoolbox.com/groups/technical-functional/sap-abap/archiving-smartforms-in-sap-2653513

  • Archive Smartform copies

    Hi,
    Does any one know how to archive smartform copies
    and he field tdarccop .
    When I set it it to X and pass an invoice with copies to the smartform i
    get an OTF // error.

    Hi,
    Please let me know the step by step process to archive the smartform.Can we Archive the smartform to Unix Server ?
    My Requirement is to convert the smartform in to PDF format and write it to unix server.But i am facing some problem as i am getting soem conversion problems.
    Thanking you.
    Prathima.

  • Smartform Archieve in SAP Server

    Hi Gurus,
    I need to archive the smartform in SAP Server in PDF format, but I am unaware of the location. Please help me in finding a way to do this.

    Hi,
    see sample code in se38--> FP_PDF_TEST_17
    try this way..
    u2022SAP proposes the PDF1 device type (see Note 323736 - Restrictions with "PDF print" through spooler) (also known as the "PDF converter") which you can use to convert an OTF or list document, in archiving and mail sending
    u2022When you print a SAPscript or a Smart Form, you may choose to get the generated document in OTF and then programmatically convert the OTF into PDF binary (then you do whatever you want with this binary, like download as a file, send it as attachment to an email, etc.)
    Inside the Driver program call the below FM and statements to archive the smart form...
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = p_spool               "Spool Request Number
            no_dialog                = 'X'
            pdf_destination          = 'X'
            no_background            = 'X'
          IMPORTING
            pdf_bytecount            = bin_size
            bin_file                 = pdf_xstring                     "This fm will convert the spool data into
                                                                            "PDF Format in this importing string
    "Next try to Use Open data set and write to application server.
    Prabhudas

  • Archive (extrenally) from spool?

    Hi all,
    i need to export printed documents (smartforms and Sapscripts) to an external archiving tool. all i really nee to do is to dump the doc as pdf in a special directory with certain parametrs in the filename. I tried a Fm that is called from within every smartform which archives the smartform. But for Sapscript this is not so easy.
    So i'm looking for an alternative way.
    is it possible to pick up the documents from the spool and then archive them according to certain parameters in the spooljob?
    Is there a badi or exit in the spool program available to implement?
    Or is there an other approach to this?
    All suggestions are welcome, point will be awarded when usefull.
    Thansk alot in advance,
    Joris Bots

    Joris
    Please check the following links hope this helps you. 
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
    http://www.sap-img.com/bc037.htm
    You can also use FM CONVERT_ABAPSPOOLJOB_2_PDF to convert an spool into PDF file.
    Hope this helps you.
    Regards,
    Gajendra
    Message was edited by:
            Gajendra Bhatt

  • REGARDING SMART FORM....

    HI ALL,
      I have generated one smartform. It was successfully executed but the thing is we need to activate the ARCHIVE BUTTON AFTER GETTING output. How we have activate this Archive button.
    please make it urgent.....
    Regards,
    Vamshi

    Refer the links -
    How To Archive a Smartform
    Activating the 'Archive' and 'print and archive' button in a SmartForm
    archive and print and archive buttons not active
    Regards,
    Amit
    Reward all helpful replies.

  • How to retrive the archived (in PDF) smartform as a email attachment.

    Hi ,
    I have a requirement where the smartform is archived in PDF mode and I have to retrieve the archived smartfrom and send the mail with PDf attachment.
    I referred the sdn forum for the same and I could some posts posted earlier and quite a few are solved. I implemented the sample code provided by some of the posts and I still get the same error when I try to open the mail/attachment in SOST transaction. But I didnt understand what exactly they did to get away with the error when we try to open the attachment.
    Please help me with the correct code to get this issue solved.
    Thanks a lot in advance.
    Regards,
    Naresh

    Hi Sim,
    The Error says:
    "Adobe reader could not open 'InvoiceDetails_20110228094610.709_X.pdf' because it is either not a supported file or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decorded).
    Below is the sample code that I got from one of the forum postings. I implemented the same and got the same error that the earlier posting was referring. From that step, I didnt know what to do further.
    *// Internal Table Declarations
    DATA : li_toa01 TYPE TABLE OF toa01,
           li_archivobject TYPE TABLE OF docs,
           li_binarchivobject TYPE TABLE OF tbl1024,
           li_objcont TYPE TABLE OF soli,
           li_receivers TYPE TABLE OF soos1.
    *// Work Area Declarations
    DATA : lwa_toa01 TYPE toa01,
           lwa_objcont TYPE soli,
           lwa_receivers TYPE soos1,
           lwa_archivobject TYPE docs,
           lwa_binarchivobject TYPE tbl1024.
    *// Variable Declaration
    DATA : lv_length   TYPE num12,
           lv_binlength TYPE num12,
           lv_buffer TYPE xstring,
           lv_x TYPE i.
    DATA : wa_objbin TYPE solisti1,
           i_objbin TYPE TABLE OF solisti1,
           wa_objtxt TYPE solisti1,
           i_objtxt TYPE TABLE OF solisti1.
    DATA : wa_doc_chng TYPE sodocchgi1,
           w_l1 TYPE i.
    DATA : wa_objpack TYPE sopcklsti1,
           i_objpack TYPE TABLE OF sopcklsti1.
    DATA : wa_reclist TYPE somlreci1,
           i_reclist TYPE TABLE OF somlreci1.
    CALL FUNCTION 'ARCHIVOBJECT_GET_TABLE'
              EXPORTING
                archiv_id                      = 'ZF'
                document_type                  = 'PDF'
                archiv_doc_id                  = 'DF88D06227DFAEF1A31D0050568361B1'
    *           ALL_COMPONENTS                 =
    *           SIGNATURE                      = 'X'
    *           COMPID                         = 'data'
              IMPORTING
                length                         = lv_length
                binlength                      = lv_binlength
              TABLES
                archivobject                   = li_archivobject
                binarchivobject                = li_binarchivobject
    *         EXCEPTIONS
    *           ERROR_ARCHIV                   = 1
    *           ERROR_COMMUNICATIONTABLE       = 2
    *           ERROR_KERNEL                   = 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.
    LOOP AT li_binarchivobject INTO lwa_binarchivobject.
      CONCATENATE lv_buffer lwa_binarchivobject-line INTO lv_buffer
      IN BYTE MODE.
    ENDLOOP.
    lv_x = 0.
    DO.
      wa_objbin-line = lv_buffer+lv_x.
      APPEND wa_objbin TO i_objbin.
      lv_x = lv_x + 255.
      IF lv_x GT lv_binlength.
        EXIT.
      ENDIF.
    ENDDO.
    wa_objtxt = 'Test Mail'.
    APPEND wa_objtxt TO i_objtxt.
    CLEAR wa_doc_chng.
    wa_doc_chng-obj_name = 'Invoice Details'.
    wa_doc_chng-obj_descr = 'Invoice Details'.
    DESCRIBE TABLE i_objtxt LINES w_l1.
    READ TABLE i_objtxt INTO wa_objtxt INDEX w_l1.
    wa_doc_chng-doc_size = ( w_l1 - 1 ) * 255 + strlen( wa_objtxt ).
    CLEAR wa_objpack-transf_bin.
    wa_objpack-head_start = 1.
    wa_objpack-head_num = 0.
    wa_objpack-body_start = 1.
    wa_objpack-body_num = w_l1.
    wa_objpack-doc_type = 'PDF'.
    APPEND wa_objpack TO i_objpack.
    CLEAR wa_objpack.
    wa_objpack-transf_bin = 'X'.
    wa_objpack-head_start = 1.
    wa_objpack-head_num = 1.
    wa_objpack-doc_type = 'DAT'.
    wa_objpack-body_num = w_l1 .
    wa_objpack-doc_size = w_l1 * lv_binlength .
    wa_objpack-obj_name = 'TEST'.
    wa_objpack-obj_descr = 'Naresh'.
    APPEND wa_objpack TO i_objpack.
    wa_reclist-receiver =   -->emailaddress given.
    wa_reclist-rec_type = 'U'.
    APPEND wa_reclist TO i_reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data = wa_doc_chng
      put_in_outbox = 'X'
      commit_work = 'X'
    * IMPORTING
    * SENT_TO_ALL =
    * NEW_OBJECT_ID =
    TABLES
      packing_list = i_objpack
    * OBJECT_HEADER =
      contents_bin = i_objbin
      contents_txt = i_objtxt
      receivers = i_reclist
    EXCEPTIONS
      too_many_receivers = 1
      document_not_sent = 2
      document_type_not_exist = 3
      operation_no_authorization = 4
      parameter_error = 5
      x_error = 6
      enqueue_error = 7
    OTHERS = 8
    IF sy-subrc = 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to store smartform in the table TOA03 so that it can be archived later.

    Hi Friends,
    i have a very urgent requirement i.e to store the complete smartform in the link table TOA03 so that it can be archived later i.e it can be printed later. At present what i am doing is i am passing the parameters ARC_PARAMS and ARCHIVE_INDEX to the smartform function module, but i could not understand why it is not getting stored. Please suggest immediatly.

    Hi Satyesh,
    have a look at this thread... will it solve your problem?
    Smartform saving
    Regards,
    Naveen

  • How to archive smartform output as PDF and store in External server

    Hi,
    I have requirement on archiving smartform output.
    1.need to archive smartform output as PDF  and need to store the PDF  in FileNet server.
    2.These iPDF need to link to SAP transaction FEBA_LOCKBOX at service for object level.
    I know that it can possible through SAP ArchiveLink feature , also aware that i have to enable Archive and Archive print button in the smartform output.
    If any body can give me some solutions it will be a great help.
    Regards,
    Ratheesh BS

    Hi,
    DATA: T_SSFCTRLOP TYPE SSFCTRLOP.   "FOR SMART FORMS
    DATA: T_SSFCRESCL TYPE SSFCRESCL.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = 'Smart Form Name'
       IMPORTING
         FM_NAME                  = FM_NAME
       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.
      T_SSFCTRLOP-NO_DIALOG = 'X'.
      T_SSFCTRLOP-GETOTF = 'X'.
      T_SSFCTRLOP-LANGU = 'E'.
      CALL FUNCTION FM_NAME
        EXPORTING
          CONTROL_PARAMETERS = T_SSFCTRLOP
        IMPORTING
          JOB_OUTPUT_INFO    = T_SSFCRESCL
        TABLES
          G_T_PERNR          = G_T_PERNR.  "(Internal Table).
      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 'HR_EFI_SHOW_PDF_FORM'
        EXPORTING
          TOP_EDGE  = 10
          LEFT_EDGE = 15
        TABLES
          OTF_TABLE = T_SSFCRESCL-OTFDATA.

  • Archiving Smartforms

    Hi  ,
    I need a help regarding Archiving Smart Forms.
    I was able to archive the original pages, but when I am trying to archive the copies along with the original pages, I am getting an Information message,
    saying " OTF end command // missing "  and giving a dump.
    Can somebody help me on this.

    hi,
    use CONVERT_OTF_2_PDF function module  and pass archive_index = tao_dara as importing parameter. after that  archive the PDF file by using the FM CONVERT_OTF_AND_ARCHIVE.
    you can also refer to the following link:
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/smartform-will-not-archive-when-outputting-the-otf-file-1445210
    i hope it helps.

  • Smartform archiving

    I have a problem archiving the output from a smartform. Within the printing program, the function that calls the smartform needs to be called 3 times. The reasoning behind this is related to grouping information on different sheets.  Every time the smartform is called, the following parameters are passed:
    (first call)
    control_parameters-no_open=' '
    control_parameters-no_close='X'
    (second call)
    control_parameters-no_open='X'
    control_parameters-no_close='X'
    (third call)
    control_parameters-no_open='X'
    control_parameters-no_close=' '
    This is all needed for the way in which we show the data. The rest is done as usual. In every call to the smartform, I pass the  parameters:
    archive_index
    archive_parameters
    Note that before passing the above parameters, I set the following, in order to request archiving:
    output_options-tdarmod = nast-tdarmod.
    In conclusion, when I call the smartform once, the archiving works well. However,  when I call it more than once, no archiving takes place.  An interesting point to note is that from transaction vf02  (Change Billing Document)  the above behaviour occur (no archiving). However, if I use transaction vf31 (output from billing) I am able to archive all three calls to the smartform. Any ideas? Thanks.
    Alvaro

    Peter,
    Thanks for your message. The problem regarding from where the output was triggered was fixed.  I have another question though. We need to make several calls to the smartform function. As of now, it creates an archive for every call to the function. We would like to have it create only one archive, independently of the number of function calls.  Thanks again.
    Regards,
    Alvaro

  • Archive Smartform

    Hi Gurus,
    Can anybody explain how can we archive smartforms using ArchiveLink? What parameters to pass in the structure ARCHIVE_INDEX, ARCHIVE_INDEX_TAB and ARCHIVE_PARAMETERS..
    Thanks in advance.
    Best Regards,
    Bushra.

    hi,
    http://help.sap.com/saphelp_47x200/helpdata/en/2e/9396345788c131e10000009b38f83b/frameset.htm
       go through the above link.. u can find the exact  procedure on how to do archiving..
         I have archived purchase order data using this link only...

Maybe you are looking for

  • Sharing files with Creative cloud for teams

    HI, I am looking at getting creative cloud for teams, but I want to keep our existing CS suite users who are already on maintenance plans. Can I share files on the creative cloud  between these two types of users? Does Adobe Bridge see these files ?

  • Order reports $0 and no points on my bestbuy

    I have an order placed on 2/10, shipped on 2/11 and delivered on 2/12. order# ending -947 Order total is $179.98+$16.20 tax = $196.18, paid with bestbuy credit card and I didn't cancel/return it. The order is shown correctly on bestbuy.com order hist

  • I just updated iPhoto, now iTunes won't sync my photos with my iPhone.

    Earlier today I was able to sync photos just fine. Then I updated iPhoto via the Mac App Store. I connected my iPhone and got this error message from iTunes: iTunes could not locate a supported photo application. Would you like to change your photo s

  • Need help with Calendar, nothing seems to be working!!!!!!!

    Ok, I have been everywhere and can't seem to figure this out. About 6 months ago my calendar stopped syncing with outlook. It sync's 4,219 entries but my phone has over 6,000 entries! For some reason it won't sync everything. I am using DM 4.5 becaus

  • Verified AS3 bugs

    I found another serious AS 3 bug so i decided to write up a verification script so anyone can verify these bugs and hopefully someone over at adobe can squash them, as they are quite annoying and require a considerable amount of effort to work around