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

Is there a binary type IDoc file?

Former Member
0 Likes
771

Hello,

We just started pursuing ALE certification for our product. We have received a test file from SAP along with its documentation. Although we are able to read the file according to the specifications, we still don't understand what really this file represents. It doesn't look like it is an IDoc file at all. I am aware of IDoc text files and IDoc XML files. The name of the file is aletestdaten.bin. The documentation talks about different segments in this file called LIFA, LIFB and LIFC.

I have two questions:

1. What is this file type?

2. Our code is a server that can receive IDoc files from SAP. We have built the logic to parse XML-based IDocs and text-based IDocs. I am wondering if we need the capability to handle this new type. Is it possible for SAP to send any other IDoc type?

Thank you in advance for your help.

Pradeep

Hello,

We just started pursuing ALE certification for our product. We have received a test file from SAP along with its documentation. Although we are able to read the file according to the specifications, we still don't understand what really this file represents. It doesn't look like it is an IDoc file at all. I am aware of IDoc text files and IDoc XML files. The name of the file is aletestdaten.bin. The documentation talks about different segments in this file called LIFA, LIFB and LIFC.

I have two questions:

1. What is this file type?

2. Our code is a server that can receive IDoc files from SAP. We have built the logic to parse XML-based IDocs and text-based IDocs. I am wondering if we need the capability to handle this new type. Is it possible for SAP to send any other IDoc type?

Thank you in advance for your help.

Pradeep

3 REPLIES 3
Read only

Former Member
0 Likes
599

Someone please help. I search google for LIFA, LIFB but couldn't find much help.

Appreciate your help.

Pradeep

Read only

p291102
Active Contributor
0 Likes
599

Hi,

WHAT IS FILE TYPE

Valid File Types

Definition

File types that correspond to the Internet standard MIME (Multipurpose Internet Mail Extensions).

MIME determines the way in which message formats are specified. A file type (content type) is defined in the basis type/subtype form according to the MIME concept.

You can assign one or more valid file name enhancements to each content type.

Use

The specification of MIME types is for the exchange of data, especially multimedia Internet data of fundamental importance.

Structure

The following table shows the MIME types delivered regularly by SAP with the BW system.

Official MIME types are registered by the IANA (Internet Assigned Numbers Authority). Private sub-types, received after being checked by the IANA, begin with “vnd”. (in the form “vnd.company-type” or “vnd.type”) or “prs.”

Subtypes for locally permitted file formats for the server begin with “x-type”.

MIME Types

Basis Type

Subtype

Description

Reference

application

Type for files that are linked to a specific program

/acad

AutoCAD File (by NCSA)

/dxf

AutoCAD File (by CERN)

/mif

Maker Interchange Format (Adobe FrameMaker)

/msexcel

MS Excel File

/mspowerpoint

MS Power Point file

/msword

Microsoft Word

/pdf

PDF File (Adobe Acrobat Exchange/Reader)

/rtf

Microsoft RTF (rich text format) file

/vnd.ms-excel

Excel File

/vnd.ms-powerpoint

MS Power Point file

/vnd.ms-word

Microsoft Word File

/winword

Microsoft Word File

/x-javascript

JavaScript File

/x-msmetafile

WMF File

/x-sapshortcut

SAP Shortcut / Session Manager

/x-zip-compressed

ZIP File

audio

Type for sound files

/x-pn-realaudio-plugin

RealAudio Plugin File

image

Type for graphics files

In Web Applications, you can use the types /jpeg and /gif for the display in the same browser window (IS_INPLACE) (see Single Document).

/bmp

Icon

/gif

GIF (graphics interchange format) graphic

RFC2045, RFC2046

/ico

Icon (Windows)

/ief

Image Exchange Format

RFC1314

/jpeg, /jpg, /jpe

JPEG (Standard format graphic from the Joint Photographic Experts group).

RFC2045, RFC2046

/tiff

TIFF(Tag Image File Format) Graphics

RFC2302

/x-rgb

RGB Graphics

/x-windowdump

X-Windows Dump

text

Type for text files

/calendar

RFC2445

/css

CSS Style Sheet File

RFC2318

/enriched

RFC1896

/htm, /html

HTML (Hypertext Markup Language)

RFC2854

/javascript

JavaScript File

/plain

Simple Text

RFC2646, RFC2046

/richtext

MIME Rich Text

RFC2045, RFC2046

/xml

HTML (Hypertext Markup Language)

RFC3023

video

Type for video files

/avi

Microsoft AVI Video

/x-msvideo

Microsoft AVI Video

/x-sgi-movie

Microsoft SGI Video

Thanks,

Shankar

Read only

Former Member
0 Likes
599

Hi Star,

I understand you are trying to help me. However, your answer it totally irrelevant to the question I asked.

Regards,

Pradeep