Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question