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: 

SM35-Downloading the Logs for the Batch-Input Session

Former Member
0 Kudos

Hi Folks,

I have above 300 Batch-Input sessions imported, and most of them ended with errors, right now I am copying the errors from line to line into excel but this is time consuming. Does any body has a solution to download the logs created through the Batch-Input session into excel sheets. So that I can send through mail to my customer.

Any help would be appriciated.

Thanks in Advance.

Sanjeev.

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

hi,

or look here:

Andreas

10 REPLIES 10

Former Member
0 Kudos

Use the code from the link below. U need to provide the session queue id as input and it will download the log to an excel file. U can change it to siot ur reqmt.

-Kiran

*Please reward useful answers

Former Member
0 Kudos

Hi Sanjeev,

look at table APQI with DATATYPE=BDC.

Regards, Dieter

andreas_mann3
Active Contributor
0 Kudos

hi,

or look here:

Andreas

0 Kudos

Hi Andreas,

From the Tabel APQI Datatype=BDC, I got only the Id of the BDC nothing else other than that.

Regards

Sanjeev.

0 Kudos

Did you try the code I had provided? Please close the thread if your query is resolved.

-Kiran

0 Kudos

Hi Kiran,

ur Coding is really fantastatic, but i have implemented this in our development system and it is working perfectly. But I need it in our production system, I cann't take it into production system because of bureaucracy. That's the reason why I am searching for alternative.

Regards

Sanjeev.

0 Kudos

Okay... I have one more crude way of downloading the log but this will only work if you have the new abap debugger available..

1. Go to SM35

2. Select the session and Click the log button

3. Select the log you want to download, activate debugging and choose display

4. Put a breakpoint at the statement "Call screen 1400."

5. Select "Switch to New ABAP debugger" from the Debugging option in the toolbar

6. Go to the "Tables" tab and enter BDCLM and hit enter

7. Click the "Services of the tool" option. This is the last of the 6 buttons available on the Tables tab besides the table control which displays the contents of internal table BDCLM

8. Choose "Save to local file" option on the following popup

Pretty lengthy and cumbersome approach but I think this is the only option available if you cannot migrate the program to production.

-Kiran

0 Kudos

I guess this is easier, just found out today.

1)Under SM35, highlight the session name.

2) click on log, and then in the next screen, highligh the log you want to download.

3)click on display.

4)Now you will see all the transaction again.

5)click on print, in the standard toolbar, or Ctrl+p.

6)Syste->list->save.

Let me know if it works....

Former Member
0 Kudos

hi

good

you can download the data in the excel ,

go to sm35

select a particular log

click on log button

there you select a particular log again

clickon display

it will take you to another screen

select the log

and click on choose

it will take you to another screen

from where you can save the log where ever you want.

thanks

mrutyun

0 Kudos

Hi Mrutyun,

I have done as u instructed me, after selecting the log in ur 3rd step I am getting a screen popped up with help like performance assistance, and natrually I cann't save this.

I wud be Thanksfull to u for further coaching.

Regards

Sanjeev.