Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the list display after the transaction executed

Former Member
0 Kudos

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

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

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

0 Kudos

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.

0 Kudos

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