Skip to Content
author's profile photo Former Member
Former Member

Purchase Order Z smartform archival

Hi Experts,

Please let me know the initial set up and parameters to be passed to smartforms, so that i could archive the form generated?

I have no idea on how archiving is done.

Thanks in Advance,

Regards,

Sunil

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 03, 2013 at 07:15 AM

    Hello Sunil,

    Below parameters need to be filled :-

    Pass values to the following parameters while calling smart form in the Z program:

    ARCHIVE_INDEX

    ARCHIVE_INDEX_TAB

    ARCHIVE_PARAMETERS

    CONTROL_PARAMETERS

    Check below code for reference:

    l_control_param-device = ld_device.

    l_control_param-no_dialog = 'X'.

    l_control_param-preview = xscreen.

    l_control_param-getotf = getotf.

    l_control_param-langu = nast-spras.

    CALL FUNCTION lf_fm_name

    EXPORTING

    archive_index = toa_dara

    archive_parameters = arc_params

    control_parameters = ls_control_param

    Also please go through the below link :

    https://scn.sap.com/thread/1279622

    Hope this will help you .

    Thanks

    Romit Raina

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2013 at 06:53 AM

    Thank You Resolved!!!!!

    Define content repositories in transaction SPRO (sap netweaver->application server->basis service->archive link->basic customising)

    Define document type.

    Then create links using ( edit links under the same), here define the business object type, document type, CP)

    Now use the function module ARCHIV_CREATE_OUTGOINGDOCUMENT

    to archive.

    In the smartform parameters make sure the below is done

    control_parameters

    -getotf = abap_true.
    control_parameters-no_dialog = 'X'.
    control_parameters-preview = 'X'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.