cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Multiple Files with different name at Receiver side

Jitendra_Jeswan
Contributor
0 Kudos

Gurus -

Can anybd tell me how to generate multiple files at the Receiver side in the given target directory with different file names?

One source message will contain number "N" using which we have to generate files "N" number of times at the Receiver side.

Kindly help.

Accepted Solutions (1)

Accepted Solutions (1)

former_member614185
Contributor
0 Kudos

In the message mapping, goto the messages tab and change the occurence of ur target message as unbounded

Answers (5)

Answers (5)

Jitendra_Jeswan
Contributor
0 Kudos

It worked , Thanks for Your Help !!

Regards.

Jeet.

nisarkhan_n
Active Contributor
0 Kudos

use variable substuition to get this.....

check this link:

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

let me know wht's the filename you want to genereate...on what field....

0 Kudos

I DID EXACTLY SAMETHING BUT received Error in Message Mapping mentioning following message:

"<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="MAPPING">GENERIC</SAP:Code>

<SAP:P1>Split mapping created no messages</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Split mapping created no messages</SAP:Stack>

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

"

kINDLY HELP....

Former Member
0 Kudos

hi,

are you following this blog?

provided you have SP>14 and no IDOC/HTTP involved.

and have you got the error you mentioned when testing with sample payload?

from where did you take the payload? if is from SXMB_MONI make sure you dont have <MESSAGE> tags in the payload,generally systems adds <MESSAGE> tags when you do multi mapping.

get the payload from SXMB_MONI right click ->view source payload(this is raw data) and test it.

it should be ok now.

and refer my discussion in the thread ,as I got he same error.

nisarkhan_n
Active Contributor
0 Kudos

the Message mapping program you have used is throwing error gopy yhe payload inthe Message mapping and check it works fine or not then you can use the variabel substuition

Jitendra_Jeswan
Contributor
0 Kudos

It worked , Thanks for Your Help !!

Regards.

Jeet.

Former Member
0 Kudos

Use variable substitution It allows you to name your target file dynamically with some value in the msg payload.

Also c option of Adapter Specific Message Attr

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

Regards,

Shabari

Former Member
0 Kudos

Hi Jeet,

Try this

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

regards,

Sarvesh

former_member614185
Contributor
0 Kudos

For file name change,

Go with variable substitution or adapter specific attribute