cancel
Showing results for 
Search instead for 
Did you mean: 

How to get output channel of a billing output form in S4HANA?

himanshukawatra
Explorer
0 Kudos

Hello,


Developed a custom driver program that calls a custom Adobe form, to generate the billing output form.
All the configurations are done in BRF+ and OPD and everything runs smoothly until there pop up the request to attach this document with the billing document.

In my driver program after I call the functions
FP_JOB_OPEN.
The function that generates the form
FP_JOB_CLOSE

I have implemented a perform called ATTACH_PDF.

but when in the BRF+ the billing output gets mapped for 2 channels
PRINT
EMAIL
the attach perform gets called twice since the driver program runs twice, once for each channel.

Is there any class/method/ FM that I can call so that I can get as a response the channel of this output, so I can put the ATTACH_PDF perform inside an IF statement and execute it only on the print channel???

Thanks in advance.

Himanshu Kawatra

SD Billing SAP NetWeaver Application Server for ABAP for SAP Business Suite 
SAP NetWeaver Application Server for ABAP  SAP Forms service by Adobe 

Accepted Solutions (0)

Answers (0)