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

BAPI LOG

Former Member
0 Likes
7,737

Hi All,

I am using a BAPI to post the aritcle BAPI_MATERIAL_MAINTAINDATA_RT.

I am getting in return as Messages for article 150804001001: log number 00000000000818880.??

Could anybody tell where can I see that LOG ?

Regards,

Sai

6 REPLIES 6
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,353

Hello,

I think that the message points to application log. You can access this using SLG1.

BR,

Suhas

Read only

Former Member
0 Likes
3,353

Thanks for your reply Suhas.

But I am just testing the FM through SE37 by passing parameters. So where can I see that Log? In SLG1 which parameter can I give as the Log Number ??

Regards,

Sai

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,353

Hello,

If you check the code for BAPI_MATERIAL_MAINTAINDATA_RT, you can find the sub-routine APPL_LOG_SCHREIBEN where the appl. log is created.

In SLG1, you can use the object as MATU & run the report. Else give the log number in the External ID & execute the report.

Cheers,

Suhas

PS: I have never used this BAPI, but i read SAP documentation & found the details. Please make a habit of reading the SAP documentation

Read only

Former Member
0 Likes
3,353

Thanks for your suggestion. I was not getting any log from SLG1.

Regards,

Sai

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,353

Hello Sai,

I was not getting any log from SLG1

Are you getting any now?

BR,

Suhas

Read only

Clemenss
Active Contributor
0 Likes
3,353

Hi sai,

the trouble is that in SLG1 you have to field to enter the log number as it is stored internally. Check SE16, BALHDR with the log number reported. Here you see all parameters you can use in SLG1 to find the protocol.

Usually you can find logs just by starting SLG1 with defaults, it display all logs created on that day.

Regards,

Clemens