on 2019 Jun 26 3:13 PM
Q: " I'm Having an urgent requirement, that i'm calling created ADOBE FORM (pdf format) in ODATA project to display form output in SAP Gateway service ODATA. In this custom code is written in Get_Stream method of class DPC_Ext. Normally in case of smart form we will use FM-'convert OTF' to get the Xstring and passed to get_stream with Mime type.
So, how to get XSTRING from the output of Adobe form Function Module and pass this into the get_stream with mime type and finally getting pdf output of adobe form in SAP Gateway Service."
Please suggest me.
Thanks & Best Regards.
Harshanandan NM.
Request clarification before answering.
Try below,
DATA: LV_FORMOUTPUT TYPE FPFORMOUTPUT,
RW_STRING TYPE RAWSTRING.
LV_FORMOUTPUT-GETPDF = 'X'.
CALL FUNCTION IM_E_FUNCNAME
IMPORTING
/1BCDWB/FORMOUTPUT = LV_FORMOUTPUT.
RW_STRING = LV_FORMOUTPUT-PDF.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.