cancel
Showing results for 
Search instead for 
Did you mean: 

hi xi gurus

Former Member
0 Kudos

hi.

just i got one scenario its like file to rfc.

in this scenario sender want xi to check sender file.

i.e TO check trailer reccount with no of records in file body.

and to check trailer amount with individual amount of records.

and they want us to send file to RFC table.

is it possible without using BPM.

waiting for your response.

regards.

seeta ram.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

thanks Amitanshu but can u just send me the code ofr that user defined function to coung no of records.

and in addition to that i just want to count individaual amount for each count and tally that with trailer amount.

this is urgent can u send me please.

bye.

regards.

seeta ram.

Former Member
0 Kudos

HI thanks for your answer.

its ok but i just want to check the no of records present in body of file to trailer count,individual account amount with trailer amount

e.g

HEADER|22012007|WMD

123565139|220.05

133565127|1230.05

143565511|260.00

125565814|232.05

137565132|228.10

TRAILER|5|2170.25

after checking if any error they just want to send the whole file to sender again and if its ok xi should transfer the entire file FIELDS to RFC TABLE.

it it possible with out BPM.

Iam hoping for the best reply.

regards.

seeta ram.

waiti

Former Member
0 Kudos

Hi ,

You should use content conversion in the file adapter first.

After that you can make a user defined functions where you can count the number of ocuurence of file body in an array.

Once you get the count do whatever you want to do.

Thanks

Amitanshu

Former Member
0 Kudos

hi thank you for your information.

but my doubt is in xi we can define data type with account no,amount fields at sender side and we will import rfc at reciever.then what is the need of document offset property bcos we will define our required fields as sender data type.

waiting for uou.

regards.

seeta ram.

Former Member
0 Kudos

hi boss i got it but i just want the user defined function(mapping individual amount with trailer amount) and no fo records with trailer record no.

can u just send me the blog to achieve this.

waiting for your response.

regards.

seeta ram.

Former Member
0 Kudos

Hi,

Yes you need not to use the BPM , you can do it , only thing is collect all messages(Records) and in the last msg (record) get the information.

and route it to RFC.

Regards

Chilla

Former Member
0 Kudos

Hi-

To check trailers you need to use File content conversions.

See this help

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Also check these links

Yes it is possible without BPM

MichalKrawczyk
Active Contributor
0 Kudos

hi,

yes you can do the check without the BPM

you probably you will have to do it inside an adamoter module

Regards,

michal