cancel
Showing results for 
Search instead for 
Did you mean: 

Last fields are getting ignored by Sender File adapter

Former Member
0 Kudos

Hello ,

I have a file to idoc senario . The source file is a fixed field length file . It is possible that the last fields might not come in the source file . To acoomodate this i configured the following parameters in my sender file adapter:

nameA.missingLastFields : ignore

nameA.keepIncompleteFields: YES

nameA.additionalLastFields: ignore

But my problem is some of the last fields are coming in the source file but are still not picking up by the sender abapter .

For eg :

Source file has value :

000000030000000033000000600000000609000000003000001998

But Sender adapter is picking file only till ;

00000003000000003300000060000000060 i.e.

...

<Zone>000000033</zone>

<business>00000060</business>

</nameA>

<business>00000060</business> (this should have 9 digits but dont knw why only 8 digits are picked, plus remaining all fields are also ignored)

Since the last fields are coming it should be :

...

<Zone>000000033</zone>

<business>000000600</business>

<codetype>00000060</codetype>

<cd1>900000000</cd1>

<cd2>300000</cd2>

<cd3>1998 </cd3>

</nameA>

Does anyone has any idea what is going wrong here ? Please help .

Thanks & Best Regards,

Anumeha.

Edited by: Anumeha Khandelwal on Mar 22, 2011 6:10 PM

Edited by: Anumeha Khandelwal on Mar 22, 2011 6:15 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

A.missinglastfield

A.additionallastfield

should be ignore

former_member184944
Participant
0 Kudos

Tried all the combinations but it doesnt work. Is there a limitation on the length of the fields for a record?

Total length of the fields in one records is 4345. And values picked up is till 3949 only .

any idea anyone?

former_member463616
Contributor
0 Kudos

Hi,

Try to avoid nameA.missingLastFields : ignore

Hope this help.

former_member184944
Participant
0 Kudos

I will have to use .missingLastFields because , there is a possibility that last fields donot come in the source file . And it is recommended by SAP to use .additionalLastFields and .missingLastFields together if any one of it is used.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Try not using nameA.additionalLastFields: ignore . See that helps