Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

VIEW_MAINTENANCE_CALL

I've seen lots of threads regarding this, but none of them address a request I've had about using this.

Is there a way, using this FM, to be able to create a report of what was done? I have a program that calls this FM and allows them to do all maintenance functions: insert, delete, change and my users asked me if there was anyway I could create a report each time they ran it to show what they did. Below is the code, which isn't much.

REPORT ZPAPAI0015_MERIT_INCR_INSERT

NO STANDARD PAGE HEADING.

*----


  • TABLES, ITABS AND STRUCTURES

*----


START-OF-SELECTION.

*Call function module using ZHCM_MERIT_ELIG which is a *maintenance view for ZHCM_MERIT_ELIG. All updating is *performed by the function module and the maintenance dialog.

CALL FUNCTION 'VIEW_MAINTENANCE_CALL'

EXPORTING

ACTION = 'U' "S = display

VIEW_NAME = 'ZVHCM_MERIT_ELIG'

NO_WARNING_FOR_CLIENTINDEP = 'X'

GENERATE_MAINT_TOOL_IF_MISSING = 'X'.

Tags:
replied

If you use the event 01 (Before saving the data in the database) than it would work.

If you look closely in my previous post, I had noted that I used the event 01. Because 02 was not working as what we expected.

I am getting the ACTION as

D - Delete

U - Update

N - New Entry

Regards,

Naimesh Patel

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question