Problem solve Get help with specific problems with your technologies, process and projects.

Sending SAPscript through e-mail

How to modify the standard print program RFKORD11, enabling script output send as e-mail.

A user asked me to modify the standard print program RFKORD11, enabling the action of sending script output as...

e-mail to the customers. Here is how I made it happen using the 'OPEN_FORM' and its options. I must admit I don't know exactly how to pass the parameters to this function module, but I hope this can be of help to someone. This code was written in v.4.6B


DATA: LINES LIKE TLINE OCCURS 0 WITH HEADER LINE. CALL FUNCTION 'OPEN_FORM' EXPORTING DEVICE = 'OTF_MEM'........ DIALOG = 'X' FORM = 'ZTEST' LANGUAGE = SY-LANGU EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6. CALL FUNCTION 'CONVERT_OTF_MEMORY' EXPORTING FORMAT = 'ASCII' MAX_LINEWIDTH = 132 * IMPORTING * BIN_FILESIZE = TABLES LINES = LINES * EXCEPTIONS * MEMORY_EMPTY = 1 * ERR_MAX_LINEWIDTH = 2 * ERR_FORMAT = 3 * ERR_CONV_NOT_POSSIBLE = 4 * OTHERS = 5

This was last published in October 2002

Dig Deeper on SAPscript and Smart Forms

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close