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: 

in forground progarm working fine, but in back ground it is not working

Former Member
0 Kudos
105

Hi experts

one program having functionality like using BDC it is creating the session and it is posting session automatically.

if error occurs mail notification send to user .used this FM ---SO_NEW_DOCUMENT_ATT_SEND_API1

when i am executing the program in foregroung it is working properly. means file contains wrong data

and session having the error and mail is going to user.

but when i am scheduling same thing in background , session has created sucessfully with error .

but mail functionality is not working .

Please help me why this is not (mail functionality in back ground)

thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
67

Hi,

Check whether the JOB failure status is capturing before triggering the EMAIL functionality in background mode. just write something and see the SPOOL for the status.

Thanks

Sudheer

2 REPLIES 2

Former Member
0 Kudos
68

Hi,

Check whether the JOB failure status is capturing before triggering the EMAIL functionality in background mode. just write something and see the SPOOL for the status.

Thanks

Sudheer

0 Kudos
67

hi

in program used to capture the errors in session from APQI table .

but it is capturing the errors in the fore ground , why it is not allowing in back ground.

session processed automatically using RSBDCSUB program .

could any one help me on this.

Thanks