cancel
Showing results for 
Search instead for 
Did you mean: 

How to define the Structure and FCC parameters for EDI file format.

santosh_k3
Active Participant
0 Kudos

Hi All,

I have a EDI file(FTP)-->XI-->IDOC

the source file content is as follows

PR H01PHUPS

FH SHP 0.0.5

H1 S0022323

W6 7752508853 D

PT 1Z58R7070341111111

PT 1Z58R7070342222222

PT 1Z58R7070353333333

N1ST ZZ 142222

N3ST 8827 D OLD

N4ST MARCY

N1WH ZZ 2070

N3WH 401 QUALITY

N4WH HARRIS

DTENT20111206

DTSHP201112061754

N9LL BN20700033333333

N9NT

CD CP UPS

IT026

P1GD VN A1111

PD Product ID 1

QTORD000000000000010CA

QTSHP000000000000010CA

AM U 000000000000000000M

AM X 000000000000000000

LTLT 1112811111

AM G 000000000000000000

AM N 000000000000000000

AM TAX000000000000000000

AM SVC000000000000000000

AM COD000000000000000000

ST 00000000100000000010000000000000000000000000008500LB

Can any body share me how to declare the structure in DataType.

The first two characters in each record is constant , so this would be the keyfields right?

ex:- PR,FH,H1,W6,PT,AM,N1,N3,N4......

In Comm channel the FCC parameters

i need to go for fieldFixedLengths?

Thanks&Regards

Sai_SHA

Accepted Solutions (0)

Answers (3)

Answers (3)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai_SHA,

Please have a look into this link

Regards

Anupam

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

I think FCC cannot handle the conversion of EDI because its structure is very deep. Use Java mapping or Seeburger instead.

Hope this helps,

Mark

Former Member
0 Kudos

Hi.

if you need to convert an EDI to XML you need to use an Adapter specific (e.g Seeburger) because PI doesn't support EDI files.

Also if you use a FCC , this configuration is for two level Header and Detail.

Check this.

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

Regards

Luis Ortiz