Application Development and Automation 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: 
Read only

BDC Back button problem

sarath_7
Participant
0 Likes
628

Hi ,

I am Calling SM37 transaction from My ALV report output by supplying job name.

when double click i am able to get job output but when click on back button of that screen

i am going back to sm37 initial screen,is there any solution to back to report output screen directly with out going sm37 initial screen.

please sugest ..

Regards

sarath

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
495

Hi,

instead of calling transaction SM37 from your program, use FM BP_JOBLOG_SHOW to display job log, FM RSPO_DISPLAY_SPOOLJOB to display spool output. Also check other FMs in function groups BTCH and SPOX.

Regards,

Adrian

3 REPLIES 3
Read only

Former Member
0 Likes
496

Hi,

instead of calling transaction SM37 from your program, use FM BP_JOBLOG_SHOW to display job log, FM RSPO_DISPLAY_SPOOLJOB to display spool output. Also check other FMs in function groups BTCH and SPOX.

Regards,

Adrian

Read only

RaymondGiuseppi
Active Contributor
0 Likes
495

You may bypass BDC by using in sequence FM of group BTCH : BP_JOB_READ and BP_JOB_EDITOR (with job_editor_dialog = 'Y' and job_editor_opcode = 12, check constants in include LBTCHDEF)

NB: AND SKIP FIRST SCREEN wont be suitable here as one of the two conditions required is that the own dynpro number of the initial screen must not be specified as the next screen number...

Regards,

Raymond

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
495

you must call the transaction using with addition 'SKIP INITIAL SCREEN'.