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

BC-XDC Document Converter INterface

Former Member
0 Likes
2,431

Hi Experts,

Has anybody worked on BC-XDC document converter interfaces.. We have the external converter installed..

I need some help converting the documents from .doc, .txt, .pdf to .tif format.

Any help will be appretiated.

1 ACCEPTED SOLUTION
Read only

Former Member

Hi Experts,

Has anybody worked on BC-XDC document converter interfaces.. We have the external converter installed..

I need some help converting the documents from .doc, .txt, .pdf to .tif format.

Any help will be appretiated.

13 REPLIES 13
Read only

Former Member
0 Likes
2,155

Anybody worked on this Guyz

Read only

Former Member
Read only

0 Likes
2,155

Hey Raj,

Thanks for your reply.

I got that document already. there are some standard FMs and programs given for the conversion purpose. But i am not able to figure out the report or fm usesful to convert the docs to .TIF format.

Please let me know iof you have any information like that...

Read only

0 Likes
2,155

This document is very well done. First paragraph says that XDC allows to convert any document (depends on the external software you have purchased) to a spool (PS, PCL, ...), it means you cannot convert a document into another one (unless your vendor has something special). Moreover this document gives you a list of demo programs. What else do you need?

Read only

0 Likes
2,155

Thanks for your reply, Sandra.

if we can only convert the documents to Spool. Then i am not sure how can i convert the spool to TIF format which is my requirement.

the below was given in the documentation

The interface is defined in a general manner, meaning that, as well as the DOC, PPT, and XLS formats, additional input formats (such as TIF or PDF) can be supported, as well as additional output formats for the conversion (such as PDF or TIF).

and the vendor is supporting TIF format for us as an output and input. Please give me ur inputs..

Read only

0 Likes
2,155

You've got me, that was in the second paragraph

RSPO0070 is the simplest demo program supplied by SAP (page 13 of the doc). What else do you need?

Read only

0 Likes
2,155

when i am running the report RSPO0070 it's defaulting the output(print) formats to PCL5 or POST. Do u think i can jus change that to TIF and use the report or the code inside the report?

my requirement is to convert the uploaded .DOC or .TXT or .PDF formats into .TIF and store them in SAP.

Thanks for helping me here Sandra..

Read only

0 Likes
2,155

Try.

But make sure what code is expected by your third-party software (could be TIF or TIFF for example).

Read only

0 Likes
2,155

I guess it's TIF only as when i ran the FM RSPO_QUERY_FORMATS .. Its given as TIF only.. Ill try that

Read only

0 Likes
2,155

HI

while working with this ive a q?

in BADI i am getting the content of a file in XSTRING format and to send that data to External Doc Converter ive to convert the XSTRING into a table(rspolpbi) format which has RAW!28 as line type..

later after the excecution of Ext. Doc Converter ive to convert the data from Table(rspolpbi) format to XSTRING..

I am not getting that pretty good but trying different ways..

Could you please help me with the conversions frm XSTRING to rspolpbi and from rspolpbi to XSTRING..

Read only

0 Likes
2,155

Call this routine:


FORM xstring_to_itab_0_or_1_x_field
      USING i_xstring TYPE xstring 
      CHANGING et_0_or_1_x_field TYPE standard table.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
  EXPORTING
    buffer                = i_xstring
  TABLES
    binary_tab            = et_0_or_1_x_field.
ENDFORM.

Read only

0 Likes
2,155

Thanks very helpful. Thanks for that Sandra.

I am using the same FM but have to implement the below note to change the MIME type. This solves the issue.

Note 1417283 - Application opens file attachments with incorrect program

Read only

Former Member
0 Likes
2,155

answered