cancel
Showing results for 
Search instead for 
Did you mean: 

File with variable structure how to define the FCC parameters for it?

santosh_k3
Active Participant
0 Kudos

Hi all,

I have a scenario which is File to IDOC

and file structure is in this way

Header:

HDR|ROSS-Daily-Inv|20111104

Data :

INV|01|059EMS|107128|20111104|USD|21703|IN|1| 0.00| 0.00|60-5B-30| 600.00|VIAL|0.00|0.00|EM||NETDUE|CLINIC|Y||490000

TOT|01|059EMS|107128||USD||||0|0

INV|01|EXB001|107130|20111104|USD|02420|IN|1| 823600.00| 823600.00|| 580.00|VIAL|0.00|0.00|||NET30|COMM|N||

TOT|01|EXB001|107130||USD||||823600|823600

Trailer:

TLR| 6| 1382679.00

can any help me defining the Datatype for this structure and FCC parameters

Thanks

Sai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In Sender CC, use content conversion and especially these options:

¤ RecordSet Structure = Header , 1 , Data1 , * , Data2 , * , Footer , 1

¤ Key Field Name = MyKey

¤ Namea.keyFieldValue, to distinguish your different structures (records).

for instance, like that:

Header.keyFieldValue = HDR

Header.fieldName = MyKey , xxxxx, yyyy

Data1.keyFieldValue = INV

Data1.fieldName = MyKey , xxxxx, yyyy

Data2.keyFieldValue = TOT

Data2.fieldName = MyKey , xxxxx, yyyy

Footer.keyFieldValue = TLR

Footer.fieldName = MyKey , xxxxx, yyyy

Otherwise, in SDN with term "recordset" you will find some blogs...

Regards.

Mickael

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sai,

You can create the data type like this

ABC_DT

Header

f1

f2

f3

BODY

f1

f2

..

..

f33

TRAILER

f1

f2

f3

For FCC parameters in communication channel

Regards,

Venkata Ramesh

Former Member
0 Kudos

Please try considering the values as String type and do normal FCC conversion.Refer the link below for more info

http://help.sap.com/saphelp_nw04/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm