Hi All,
I am doing file to file scenario in sap pi 7.31.
I have a requirement to get field names at receiver side txt file for the below structure:
Recordset 0...unbounded
Header 1
LineItem 1...unbounded
I am using the below FCC but it is not working:
Header.addHeaderLine | 3 |
Header.headerLine | key,EBELN,LIFNR,BEDAT,UNSEZ,WAERS,ZTERM,INCO1,INCO2,EKORG,EKGRP,BUKRS,F06 |
LineItem.addHeaderLine | 3 |
LineItem.headerLine | key,UNSEZ,EBELP,MATNR,TXZ01,MENGE,MEINS,EEIND,MATKL,NETPR,WERKS,LGORT,KZABS,KOSTL,WEPOS,MWSKZ,NAME1,STREET,CITY1,REGION,POST_CODE1,COUNTRY,F03,F01 |
Header.fieldNames | key,EBELN,LIFNR,BEDAT,UNSEZ,WAERS,ZTERM,INCO1,INCO2,EKORG,EKGRP,BUKRS,F06 |
Header.fieldSeparator | | |
Header.endSeparator | 'nl' |
Header.missingLastFields | add |
Header.keyFieldValue | H |
LineItem.fieldNames | key,UNSEZ,EBELP,MATNR,TXZ01,MENGE,MEINS,EEIND,MATKL,NETPR,WERKS,LGORT,KZABS,KOSTL,WEPOS,MWSKZ,NAME1,STREET,CITY1,REGION,POST_CODE1,COUNTRY,F03,F01 |
LineItem.fieldSeparator | | |
LineItem.endSeparator | 'nl' |
LineItem.missingLastFields | add |
LineItem.keyFieldValue | L |
Please see that I am able to do this for simple structures at receiver side.
Can anyone provide me some inputs for the same.
Thanks
Neha