cancel
Showing results for 
Search instead for 
Did you mean: 

problem in sending a file

Former Member
0 Kudos

Hello..

i have a problem in sending a file with sender file adapter...

In adapter monitor it gives error like...

Last message processing started 15:58:36 2005-10-04, Error: Conversion of complete file content of 'fileinput.csv' to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 3 according to structure 'substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this

last retry interval started 15:58:36 2005-10-04

length 60,000 secs.

Let me know what might be the problem.

Thanks,

Padma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Looks like you are using fixed length file. If you do not have the full length of the record, you should put blank spaces, otherwise you have to specify saying that last fields are optional.

Ex:

Field1 (10 chars)

Field2 (5 chars)

Field3 (8 chars)

If Field3 is empty The file should contain

123456789012345(8 spaces for field3)

regards

Shravan

Former Member
0 Kudos

thanks for the reply and answering my question..

I'm getting the error in SXMB_moni...while i'm sending the file from FTP to lagacy system.

The error is in call adapter...at says like ....

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

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="MESSAGE">NOT_AUTHORIZED_FOR_PROC</SAP:Code>

<SAP:P1>XXXX</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>User XXXXXX has no authorization to process messages</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Can tell me what might be the wrong here..

Thanks.

Former Member
0 Kudos

Could you explain your scenario better

FTP -> XI -> File ?

What SP level you are on ?

regards

Shravan

Former Member
0 Kudos

Thanks for the mail..

I'm on SP12.and my scenario is FTP--> XI-BW

Thanks.

Former Member
0 Kudos

Whatever user you are specifying the XI proxy adapter does not have enough authorizations. Is it a dialog or communication user. If it is a communication user check whether it has S_RFC authorization object is assigned.

If it is a dialog user, then better check whether you have enough authorizations to load the data.

regards

Shravan

Former Member
0 Kudos

Thanks for the reply..

Eventhough S_RFC authorization object is assigned to used id....still i'm getting the error..

is this error indicates that ..unable to post the data in BW....unable to process in integration engine???

Thanks..

Former Member
0 Kudos

try using a user id with SAP_ALL access, then your security team should be able to determine what access error it is.

regards

Shravan

Former Member
0 Kudos

Hello..

Can i have a basic question in this scenario...FILE-XI-BW..

Do i need to have 2 sender and receiver agreements and 2 sender and receiver determinations??????

i configured onle one sender agreement and receiver agreement....

Thanks.

Former Member
0 Kudos

Why do you need 2 sender agreements ?

File > Sender Adapter -> Sender Agreement -> XI -> XI -> Receiver Determination -> Interface Determination -> Receiver Agreement -> Proxy Adapter -> BW

I do not see 2 sender agreemnts and 2 receiver determinations here.

regards

Shravan

Answers (0)