cancel
Showing results for 
Search instead for 
Did you mean: 

Can i use fp_job_open, fp_job close in one function module to get hex pdf

Former Member
0 Kudos

Hello All,

Can anyone help me here.

I am trying to use function modules FP_JOB_OPEN, FP_JOB_CLOSE,FP_FUNCTION_MODULE_NAME and call generated function modules in one function module and try ing to get hex string of pdf.

But hex string of pdf is not coming.Should i do any setting in any of the parameter so that the function module using all these function module gets the pdf hex string.

Regards,

Menaka.H.B

Accepted Solutions (1)

Accepted Solutions (1)

OttoGold
Active Contributor
0 Kudos

Hello,

do you want to get the PDF out of the printing program to use it elsewhere? (Portal, GOS etc.)

You need to work with the CALL FUNCTION fm_name part where the output parameter of the generated function module is XSTRING type (if i remember well) and that´s a place to start. You can convert from xstring to binary and back using SCMS_XSTRING_TO_BINARY and BIN_2_SCMS.

Also do not forget to set fp_outputparams-GETPDF = 'X'. to get the hex.

Regards, Otto

Answers (0)