cancel
Showing results for 
Search instead for 
Did you mean: 

File sender channel not picking up file from AL11

mayank_yadav
Explorer
0 Kudos

Hi,

I am trying to convert IDoc Flat file to IDoc XML using file sender channel with NFS protocol and

using module SAP_XI_IDOC/IDOCFlatToXmlConvertor and corresponding parameters. But the file is not getting picked up by sender channel,

and therefore converted XML is seen in Moni.Channel is set to test mode.I tried stop & restarting channel.

Please let me know why the channel is unable to pick the file & moni is not showing converted IDoc XML..

Regards,

Mayank

Accepted Solutions (0)

Answers (8)

Answers (8)

Bhargavakrishna
Active Contributor
0 Kudos

Hi Mayank,

Please check the channel status in CC monitoring.. by using Ping channel option.

It will gives the channel log and connection / binding errors if any..

Also check whether the user which you are using in the file communication channel to connect and access the files have proper authorizations or not?

Make sure the path and format of the path which you have specified in the file communication channel.

Regards

Bhargava Krishna

former_member183908
Active Contributor
0 Kudos

Are you able to see any error in the channel monitoring?

Thanks

mayank_yadav
Explorer
0 Kudos

Hi Pavan,

The message log shows stringoutofnbound exception.

Regards,

Mayank

former_member183908
Active Contributor
0 Kudos

Hi Mayank,

Can you please check the size of the fields including control record data in the flat file?

I believe you have created the port which is creating flat file in AL11.Could you please try to create XML file and pick the IDoc XML using sender file adapter and see if it works or not?

Please refer the below link and its corresponding links.I believe the issue with flat file size of fields.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80b8db75-e481-2d10-7e94-81e1e2959...

Thanks

Former Member
0 Kudos

Can you post your Sender configuration and log output?

mayank_yadav
Explorer
0 Kudos

Hi Heiko,

Please find below log:

InformationChannel CC_File_IdocTest_Copy1: Send binary file
"/inbound/__/test1/943_4_input.txt", size 438240 with QoS EO
27.09.2014 16:03:49.284InformationMP:
processing local module
localejbs/SAP_XI_IDOC/IDOCFlatToXmlConvertor
27.09.2014 16:03:49.286ErrorAttempt to process file failed with {0}
27.09.2014 16:03:49.286ErrorMP:
exception caught with message Invalid length of control segment: 519

Regards,

Mayank

Former Member
0 Kudos

As far as I know, the control record must be 524 bytes.

Try to open the idoc file manually and check, whether it is really only 519 bytes.

Also make sure, that the first line is definetly the control record.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Remember to also check your file masking.

Regards,

Mark

mayank_yadav
Explorer
0 Kudos

Hi Mark ,

where can i check this file masking?

Regards,

Mayank

0 Kudos

Hello Mayank,

Please also have a look to file permissions.

Readable is not enough (also for testmode).

Best regards

Christian

former_member184720
Active Contributor
0 Kudos

In addition -

When the Adapter Engine hosting the File Adapter service is running under Microsoft Windows, make sure that the share is accessible for the user "SAPService<SID>"


when the Adapter Engine hosting the File Adapter service is running under UNIX, make sure that the SMB share is mounted into the local file system hierarchy and accessible to the "<sid>adm" user


Refer to SAP Note : #821267

mayank_yadav
Explorer
0 Kudos

Hi Hareesh,

Can uyou please tell me how and where to check this SMB share for user SID?

iaki_vila
Active Contributor
0 Kudos

Hi Mayan,

Check if the RWB- Adapter Engine - Communication channel monitoring there is an exception.

Regards.

Former Member
0 Kudos

Can you check if your channel is locked!

Refer to this note - http://service.sap.com/sap/support/notes/1623337