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

building a log table

Former Member
0 Likes
721

I have a program in which i am using a set of bapis, I have to create a log table to store the error messages returned by the bapi . I am using it in a dialog program . When do i display the logs . Do i need to create a separate button for that.

I have a program in which i am using a set of bapis, I have to create a log table to store the error messages returned by the bapi . I am using it in a dialog program . When do i display the logs . Do i need to create a separate button for that.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
614

Yes.. create a one separate button for that...

Collect all messages from the BAPI into one internal table.. Put one key fields from which you can identify the document for which the errors were generated.

You can display this message table into one ALV or text control.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
614

Hi Nitesha,

You should display log after the SAVE button pressed by user. No need to have separate button for that but it is totally upto your design as how do you want to show it.

Regards,

Atish