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

SAPScript RDI output

Former Member
0 Likes
684

Hi,

Can anyone help me on this. I've to output the SD documents using a 3rd party tool called AUTOFORM. Does anyone have any white paper or any such kind of information related to RDI in connection with SAPScript.

Thanks in advance.

regards,

Satya

stdvirus@yahoo.com

2 REPLIES 2
Read only

Former Member
0 Likes
419

Hi Satya,

we are using RDI interface (not with my blessing !!!).

Look at the documentation here :

https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=form_printing_sapscript.htm

All you have to do is set the parameter "raw_data_interface" when calling the functionmodule "OPEN_FORM".

We ahve a table where our RDI "printers" are defined. If the priser is in this table the parameter is set.

Read only

marilyn_pratt
Active Contributor
0 Likes
419

Hi Satya,

I remember copying and saving this tip (source unknown) describing passing data from the spool or anywhere else to third party tools. After cross-referencing the link you were given on SDN, this makes good sense. Here's the tip:

You need to define a printer in the R/3 spool administrator. The definition will contain all the information about where the data stream should be directed. For example where the app. server runs on NT.

a) Define a local printer, RAWPRINT on your presentation PC.

Make it a local printer,

Set the port to be 'FILE'

The manufacturer should be 'Generic and Text Only'

Give the printer the name 'RAWPRINT'

b) Define printer on SAP using SPAD

Set device name to ZRAW,

Category is PLAIN

Destination host is the IP address of your PC.

Host printer is 'RAWPRINT'

Linkage type is 'U'.

c) You must have SAPLPD started (should be on your SAPGUI

installation CD if not already installed).

d) During the print operation, select output device = ZRAW and RDI = 'X'. The output file is then saved to a file, the name of which is determined by a dialog on your PC.