Skip to Content

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

Hello all.

I am facing the below issue :

Been developing a custom driver program that calls a custom adobe form , in order to generate the billing output form.
All the configurations are done in BRF+ and OPD and everything runs smoothly until there poped up the request for storing the output form using the Archive Link.

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 ARCHIVE_PDF .

but when in the BRF+ the billing output gets mapped for 2 channels
PRINT
EMAIL
the archiving 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 ARCHIVE_PDF perform inside an IF statement and execute it only on the print channel ???

Thanks in advance .
Tony

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.