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: 

Print "Confidential" mark on all docs (required for SOX audit)

Former Member
0 Kudos

Hi All.

Problem: In order to comply with Sarbanes-Oxley Act I need to implement possibility to print "Confidential" mark for any user chosen document (on every page).

Partially this was implemented by setting footnote in SAP printer driver. But this isn't usable all the time (especially with ALV-lists).

There are 3 SAP notes:

895029 - Let MIC report output watermark

371854 - SAP Query: Printing in the SAP List Viewer (ALV)

756650 - Footer in the print dialog

But first one is about standard header. Second one looks is what I need, but it also does not cover all documents. Third is for future releases.

I found that there is special Sarbanes-Oxley Compliance Software for SAP ERP. And I wonder if it covers also print issue:

680615 - Installing SAP CM SOA Release 1.0

Best solution would be to have a checkbox, which user can check while printing confidential documents.

I do not believe that nobody faced with the same problem while preparing to SOX audit. Is there a standard solution?

Thanks to all.

Message was edited by:

Andrei Balashchanka

1 REPLY 1

Former Member
0 Kudos

If someone interested here is SAPs reply for my problem:

"Setting a footline for printing in the ALV lists is not possible.

However as a workaround you are able to design the areas above and

below the ALV output with various elements. In your business case (if I

understood your business requirements correctly) you need to output a

text/a mark at the top/at the bottom of every printed page -> in order

to implement this you would have to implement handling for either the

TOP_OF_PAGE or the END_OF_PAGE events as in ALV the page headers and

footers are events.

If ALV determines that there is a page break when generating the

printout, the END_OF_PAGE or TOP_OF_PAGE event is triggered. ALV checks

whether a design object is defined for this event and inserts at the

correct position e.g. when you use the event print_end_of_page to output

text with the WRITE statement during print output. The text is inserted

at the end of each page. During print output, the ALV Grid Control goes

to the list output of the classic ALV. In the print preview (classic

ALV), the text for this event is not displayed. Demo program

BCALV_GRID_01 in development class SLIS illustrates how the

print_end_of_page is used. To allow output at the end of each page, you

must reserve several lines for these pages. To do this, use field

reservelns of a structure of type lvc_s_prnt and pass this structure

with method set_table_for_first_display.

For an overview see also the documentation for the events of class

CL_GUI_ALV_GRID."