12-03-2007 9:45 PM
Hi,
I am working on BDC program. If you execute the the transaction directly then once all the records processed / failed in the MPP, in the next screen getting LIST, on that messages will be displayed.
But when i was running BDC for that transaction, LIST was not showing eaither in Foreground / background.
I believe for background some where i need to specify about the JOB, am i right. Can you please let me know how i can see the output of the list in SM37?
Regards
Jaya
12-03-2007 9:50 PM
If the spool has been generated for your transaction than you can have the spool icon against your job name in SM37.
Select the Job and click on the SPOOL button to dispaly it.
Regards,
Naimesh Patel
12-03-2007 10:05 PM
Hi patel,
The issue is the spool is not generating in back ground. While submit the program do we need to add any other abap statement to capture the output in the spool ? Can you please confirm. I am using the submit statement as below
SUBMIT YYYY
with p_fpath = gv_filepath
VIA JOB lv_jobname NUMBER lv_jobcount
and return.
12-03-2007 10:19 PM
Your additions to SUBMIT are sufficient to send the list to spool.
Try to add this:
DATA: PRINT_PARAMS LIKE PRI_PARAMS.
print_params-pdest = 'LOCL'.
SUBMIT ZTEST AND RETURN
USER SY-UNAME
VIA JOB W_JOB_NAME NUMBER W_JOB_NR
TO SAP-SPOOL SPOOL PARAMETERS PRINT_PARAMS
WITHOUT SPOOL DYNPRO.
Regards,
Naimesh Patel