cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get the log id through abap code

Former Member
0 Likes
507

Hi folks ,

I am working on scenario ,  if anyone can guide me - How can i get the Log-id by abap code .

thanks in advance.

Raja

Accepted Solutions (0)

Answers (2)

Answers (2)

lucas_costa3
Active Contributor
0 Likes
former_member186338
Active Contributor
0 Likes

Sorry, but:

What abap code you are talking about?

What do you mean by Log-id?

???

Former Member
0 Likes

I am trying to get the log id .

As i think when a log fle is created a log id is assigned against it , so i am trying to get the log id .

Please correct if i misunderstood anything.

Best regards,

Raja

former_member186338
Active Contributor
0 Likes

"What abap code you are talking about?"???

What are you doing?

Former Member
0 Likes

I am trying to get log id , i am trying to implement code to send it through mail .

By logid will get the log file and then will write code for attaching and emailing.

former_member186338
Active Contributor
0 Likes

Looks like you are unable to understand my qurstion!

Where do you want to implement this code????????????????????

Former Member
0 Likes

Okay , i am so sory for that .

I created one package -> script logic -> badi calculation , after the code of badi calculation i am trying to do this .

I hope i am clear now .

former_member186338
Active Contributor
0 Likes

Absolutely strange idea! At this moment the log of this DM package is not ready...

What scenario do you want to implement????

P.S. And what calculations are you doing in the badi?

Try to explain scenario from the user point of view!

Former Member
0 Likes

Hi Raja,

If you just trying to get log of the running package try calling  cl_ujk_logger=>get_log( ). It will get you the whole log in at internal table. After that you can do with it what you want.

Regards,

Gersh