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

Former Member
0 Likes
365

How to download error records from error log in SM35.

3 REPLIES 3
Read only

Former Member
0 Likes
345

Hi,

try these FM

BP_JOBLOG_READ

BDL_GET_SESSION_INFO_LOG

2....................

first u have to get the Q.ID , then u can use there Fms to get the Log of Sessions.

CALL FUNCTION 'RSTS_OPEN_RLC'

EXPORTING

NAME = LOG_NAME

CLIENT = LOG_CLIENT

AUTHORITY = 'BATCH'

PROM = 'I'

RECTYP = 'VNL '

EXCEPTIONS

FB_CALL_HANDLE = 4

FB_ERROR = 8

FB_RSTS_NOCONV = 12

FB_RSTS_OTHER = 16

NO_OBJECT = 20

OTHERS = 24.

CALL FUNCTION 'RSTS_READ'

TABLES

DATATAB = LOG_TABLE

EXCEPTIONS

FB_CALL_HANDLE = 4

FB_ERROR = 8

FB_RSTS_NOCONV = 12

FB_RSTS_OTHER = 16

OTHERS = 16.

CALL FUNCTION 'RSTS_CLOSE'

EXCEPTIONS

OTHERS = 4.

plz reward if useful

thanks

Vana

Read only

Former Member
0 Likes
345

hi jeeven,

just try to move error records into one <itab>,

if sy-subrc ne 0.

move to <itab>.

endif.

then use gui_downlaod function module to downlaod <itab> records.

regards...

seshu.

Read only

isaac_deleon
Explorer
0 Likes
345

Hello jeevan,

Did you manage to solve this rproblem?

Thanks,

Isaac