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

Smart Form is not creating the Spool

Hi,

I have Created one program in E-recruitment which will run in bcackground. In this there will be a Smartform.

I have scheduled this program in background. The problem is Smart form data is not going to spool and spool request is also not creating. Following is the code. Please let me know where the problm is

ls_ctrl_param-NO_DIALOG = 'X'.

ls_ctrl_param-PREVIEW = ''.

ls_ctrl_param-GETOTF = 'X'.

ls_ctrl_param-DEVICE = 'PRINTER'.

LS_SSFCOMPOP-TDNOPREV = 'X'.

LS_SSFCOMPOP-TDNEWID = 'X'.

LS_SSFCOMPOP-TDDEST = 'LOCL'.

CALL FUNCTION gv_FMNAME "'/1BCDWB/SF00000076'

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

CONTROL_PARAMETERS = ls_ctrl_param

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

OUTPUT_OPTIONS = LS_SSFCOMPOP

USER_SETTINGS = ''

REQ_INFO_WT = req_info_wt

REQ_INFO_UI_LABELS = REQ_INFO_UI_LABELS

REQ_JOB_INFO_WT = req_job_info_wt

REQ_BRANCH_ADDRESS = REQ_BRANCH_ADDRESS

REQ_JOB_INFO_UI_LABELS = REQ_JOB_INFO_UI_LABELS

REQ_ROLES_NAMES = REQ_ROLES_NAMES

REQ_ROLE_UI_LABELS = REQ_ROLE_UI_LABELS

POST_INFO_WT = POST_INFO_WT

POST_INFO_TEXTS = POST_INFO_TEXTS

POST_INFO_UI_LABELS = POST_INFO_UI_LABELS

POST_INST_REC = lS_p5122

POST_INST_UI_LABELS = POST_INST_UI_LABELS

IMPORTING

  • DOCUMENT_OUTPUT_INFO =

JOB_OUTPUT_INFO = GT_OTF_INT

  • JOB_OUTPUT_OPTIONS =

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5.

Thanks in advance.

giri.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2010 at 03:41 AM

    Hi Vijay,

    You first trigger the background job without giving the printer name in the structure. Check first that wheather it is creating spool or not with LOCL printer.

    Another problem...may occour LOCL is your local printer so at the time of execution in background it may not be accessible. Give some other printer name like LP01 .. etc...

    Reagrds,

    Amitava

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thanks for the reply. I have tried by removing the printer option still it is not giving any result. in this system there are no other options other than LOCL. LP01 is not there. so i could not able to test that one. other than this is there any wrong in my code. if so let me know.

      Thanks,

      Giri.

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.