Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Convert XSTRING to OTF data

former_member579519
Participant
0 Likes
7,973

Dear experts,

I want to Convert XSTRING to OTF data .

Regrades,

Srinvas

1 ACCEPTED SOLUTION
Read only

Gourab_Dey
Product and Topic Expert
Product and Topic Expert
0 Likes
4,185

We do have a standard program "RSPO_TEST_MERGE_PDF_FILES" which suits your scenario. The program has a subroutine "merge_pdf" which merges multiple pdf to single file.

Thanks,

Gourab

5 REPLIES 5
Read only

Sandra_Rossi
Active Contributor
4,185

What does the XSTRING contain? (I know it contains bytes, but what these bytes correspond to, semantically speaking)

It's like asking "how to convert XSTRING to STRING", it's missing information about their contents: does XSTRING contains encoded text and in which code page/character set, or does it contain something else that you want to cast as is into a STRING. Etc.

Read only

Gourab_Dey
Product and Topic Expert
Product and Topic Expert
0 Likes
4,185

I believe you want to convert XSTRING to PDF. Is that xstring is being converted from string? Is it so, you can convert XSTRING to STRING and can follow the below thread, it will solve your query.

Below thread explains you can convert an internal table to PDF.

https://answers.sap.com/questions/6605845/create-spool-from-internal-table--converrt-the-spo.html

Else you can explain your complete scenario, so that someone can help you.

Thanks,

Gourab

Read only

4,185

Hi Gourab Dey

I have multiple pdfs attachments, I want to merge into a single pdf. I'm getting in XSTRING format I want to convert otf data. is there any function module to Convert XSTRING to OTF data. NOTE:- This is not a smartform

thanks for replay Gourab Dey .

Read only

former_member579519
Participant
0 Likes
4,185

Hi Sandra Rossi,

I have multiple pdfs attachments, I want to merge into a single pdf. I'm getting in XSTRING format I want to convert otf data. is there any function module to Convert XSTRING to OTF data. NOTE:- This is not a smartform.

Read only

Gourab_Dey
Product and Topic Expert
Product and Topic Expert
0 Likes
4,186

We do have a standard program "RSPO_TEST_MERGE_PDF_FILES" which suits your scenario. The program has a subroutine "merge_pdf" which merges multiple pdf to single file.

Thanks,

Gourab