Skip to Content
-1
Feb 10, 2019 at 10:53 AM

Use corresponce (smartforms) in backgroud and get result as XSTRING

86 Views

Hi everybody,

I know two ways to use smartforms:

On the one hand I can call function RECP_GUI_SF_PRINT_POPUP with a business object reference and get standard correspondence functionality.

On the other hand I can get the function module name of a single smartform, produce the output data and convert OTF to PDF. In this scenario I'm fully in backgroud, but I need another smartform signature (especially, I can't support parameter sfparams) and lose some of the BAdI.

The question is: How can I get standard correspondence functionality fully in backgroud in order to generate XSTRING representations of the PDFs generated from smartforms?

I tried to get my hands on a reference of type IF_RECP_SF_APP and I can handle previews and start print process with this, but I can't get the results for further usage. Additionally, the print process archives the document as customized - would be great to suppress this, too.

Kind regards,

Stefan