cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract ZPL content out of Print output request

d_mallikarjun
Member
0 Kudos

Hi Experts,

I have a requirement where we design form using Smart form/Adobe forms in SAP and send the print to the zebra printer configured in SAP system as the output device with the device type as LZEB2. In some cases we don't want the print to happen instead we want to extract the printer specific data from the spool request or output request i.e. after the SAP content is converted by the driver (LZEB2) to ZPL commands which Zebra Printers can interpret.

Please suggest.

Regards,

Mallik

0 Kudos

Hi Mallik,

What access method is used with the output device ?

Best regards,

Bálint

Accepted Solutions (1)

Accepted Solutions (1)

alexander_bolloni
Contributor
0 Kudos

Hi,

there is a function module

RSPO_PROCESS_DIALOG_JOB

which allows to "process an Output request in Dialog mode" and which creates a file with print data on the appserver which you can read using OPEN DATASET...

But you cannot use this with your "real" Zebra printer definition since any output for that printer is normally directly processed by an SPO work process and sent to the printer. Using that FM requires a "dummy" SPAD printer which does NOT have a SPO service assigned, and for which you can create output requests which are not automatically processed (which Show up in Status WAITING in SP01). You can find out how to use the FM by examining programs that are already using it via WHERE-USED list.

Regards,

Alex

Answers (1)

Answers (1)

former_member542203
Discoverer
0 Kudos

Hi Alex,

RSPO_PROCESS_DIALOG_JOB which allows to "process an Output request in Dialog mode" . here do you mean this function module can only be executed via the SAP GUI? if I want to call this via a RFC or API, that means no user intervention or SAP GUI involved, how should to do it? thanks a lot.