cancel
Showing results for 
Search instead for 
Did you mean: 

File to RFC FCC Issue

Former Member
0 Kudos

Hi Gurus

I am working on File to RFC Interface and i am getting the following issue, i searched SDN but could not find any suitable solution for my issue.

the issue is i am sending an .dat file and it is a I (Pipe SeperatedFile)from the Source location of FTP and the file size is 0f 4.0 KB and it is not empty, the sender file cc is picking the file and it is archiving it with a warning"Empty document found - proceed without sending message".aAlso i am unable to see any messages in the PI MONI of thw file which i have run.

the FCC which i am using are as follows

Document name :Texts_MT

Doument Namespace,Documnet offset:1,Recordset Name:Texts_DT,Recordset Structure:Texts_DT,*,Recordset Sequence:Ascending,Recordsets per message:*,Key Field Type: String

FCC Paremeters are as follows:

fieldSeperator           I

fieldNames              all the source field names created in the data type

fieldContentFormatting  trim

keyFieldInStructure   ignore

missingLastFields      add

ignoreRecordsetName true

additionalLatFields   ignore

please help me.

thanking you

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Naga,

Try to mention the field separator value in Hexadecimal notation and try once.

Regards,

prasanth

Former Member
0 Kudos

Hi ,

None of the data is matching to FCC .So it is feeling it as empty file .can you try to paste other valid and check once again.

Regards

Venkat

gagandeep_batra
Active Contributor
0 Kudos

Hi Naga,

Can you past the require structure and input file also?

Regards

Gagan

Former Member
0 Kudos

Hi

please find the source Structure taken from mapping

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Texts_MT xmlns:ns0="namespace">

   <Texts_DT>

      <RUN_SEQ_ID/>

      <PARTNER_PLANT/>

      <REC_ACK_PRCSD/>

      <REC_ACK_ERRORED/>

   </Texts_DT>

</ns0:Texts_MT>

the test file is as follows

310|7916|76|0

Former Member
0 Kudos

Hi,

You are ignoring the 1st line in the input file by putting Document offset:1.

I hope you have more than 1 line.

I think you are using KEYFILED.But in input file you are not mentioning any key field at the start.

Regards

Venkat

gagandeep_batra
Active Contributor
0 Kudos

Hi Naga ,

you have write "additionalLatFields   ignore"  it is a typo mistake?

additionalLastFields   ignore

and check following wiki for more


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

Regards

Gagan

Former Member
0 Kudos

Hi

I am not using any key field. i have given the exact fcc parameters from my development only.

Thanking You

Former Member
0 Kudos

Hi Gagan

It is a typo mistake, i am already using as you have suggested.

Thanking You

gagandeep_batra
Active Contributor
0 Kudos

Hi Naga ,

first try with simple parameter, then add more check below setting for simple and also check without header line if it is OK then add headline and relative parameters and other parameters

and try to remove "*" from Recordset Per message:

Regards

Gagan

Former Member
0 Kudos

Hi ,

Can you try by removing keyFieldInStructure   ignore in fcc.

Regards

Venkat