cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Objects -- program runs in scheduling after few attempts

0 Kudos

Hi Gurus, I am facing a problem with ABAP proxy objects. I developed the PI web service Scenario and created proxy objects class and methods, passing request parameters through abap proxy objects. Following is the code.

data_out-mt_httpbncattend_req = mi_req.

TRY.

CREATE OBJECT objprxy.

CALL METHOD objprxy->mi_http_ob

EXPORTING

output = data_out

IMPORTING

input = data_in.

when I run the program in front end its working fine. But when I scheduled the said program its run after few attempts. Your early response will be highly appreciable.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your reply, following is the log.

Job started

Step 001 started (program ZINTEG_BCNPROXY, variant &0000000000000, user ID HCMSUPPORT1)

There is no record to upload.

Job finished

this due to the aforementioned method as it was not executed... When we run the said program in front end its successfully executed. But if we set it as a background job and immediately execute from sm37, its run after few attempts....

0 Kudos

Thanks for your reply, following is the log.

Job started

Step 001 started (program ZINTEG_BCNPROXY, variant &0000000000000, user ID HCMSUPPORT1)

There is no record to upload.

Job finished

this due to the aforementioned method as it was not executed... When we run the said program in front end its successfully executed. But if we set it as a background job and immediately execute from sm37, its run after few attempts....

former_member181962
Active Contributor
0 Kudos

Hi Abdul,

What does the SM36 Job log say?

Regards,

Ravi