cancel
Showing results for 
Search instead for 
Did you mean: 

adding own name in Receiver Text file in receiver FCC

Former Member
0 Kudos

hi,

In my receiver file CC(using file content conversion)

I want to add some names on the receiver text file name automatically.

sender is R3 that is IDOC as MI.

In that field called CURCY on one segment and country one segment.

ex.

Now the receiver file name in FTP server (example)

Result_report_20070721-104810-765.txt

i want to get CURCY, COUNTRY field value on receiver file name in FTP server (it varies)

example:

Result_report_USD_USA_20070721-104810-765.txt

Result_report_EURO_DE_20070721-104810-765.txt

Result_report_EURO_FR_20070721-104810-765.txt

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

I am getting error in my message monitoring like message are in HOLDING bec of mistake which i made in Receiver FILE CC

as i said:

I followed my help.sap.com link to do this req.

In my receiver file CC(using file content conversion)

I want to add some names on the receiver text file name automatically.

sender is R3 that is IDOC as MI.

In that field called CURCY on one segment and country one segment.

ex.

Now the receiver file name in FTP server (example)

Result_report_20070721-104810-765.txt

i want to get CURCY, COUNTRY field value on receiver file name in FTP server (it varies)

example:

Result_report_USD_USA_20070721-104810-765.txt

Result_report_EURO_DE_20070721-104810-765.txt

Result_report_EURO_FR_20070721-104810-765.txt

My message mapping is

Source is IDOC occurence is 1

Receiver File adapter: 0 to unbounded

My message type on receiver is

MT_Receiver

DT_Receiversub1 (under MT_receiver)

COUNTRY (third value under DT_DT_Receiversub1)

I have mentioned in receiver FILE CC advanced variable substitution like this:

variable Name : var1

Reference: payload:DT_Receiversub1,3

I am not receiving my file in Receiver FTP server.

The mesage are on HOLDING in message monitoring

Thanks

Former Member
0 Kudos

Hi Raja,

Follow the below structure for your dynamic file names:

Variable Name : var1

Reference: payload:MT_Receiver,1,<Your segment name under which CURCY field are>,1,CURCY,1

Variable Name : var2

Reference: payload:MT_Receiver,1,<Your segment name under which COUNTRY fields are>,1,COUNTRY,1

In the CC file name put like this: Result_report_%var1%_%var2%.txt

Processing mode should be Add Date Time Stamp as you are need the datetime stamp as well.

Regards,

Subhash

Answers (4)

Answers (4)

hemant_chahal
Contributor
0 Kudos

Hello Use EO instead of EOIO it will work.

Former Member
0 Kudos

hi,

check my earlier reply..

I have got some error that why i opened up my thread again.

Thanks

Former Member
0 Kudos

HI,

Check:

1)RWB-Component monitoring-communication monitoring and check the receiver file adapter status message.

2) Check the SXMB_MONI - wat error it is giving.

also check the below weblog:

How to deal with stuck EOIO messages in the XI 3.0-message status is holding

chirag

Former Member
0 Kudos

Hi guys,

I found clear explanation on this help.sap.com

link

http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

or search in google like this:

receiver file content conversion

after in this result page:

go to Advanced Tab Page and Variable Substitution (Target Directory/File Name Scheme)

Former Member
0 Kudos

Hi,

here is another thread about dynamic filenames:

Regards

Patrick

Former Member
0 Kudos

hi,

when i try to open the blog which is mentioned on your given thread link, it is not opening.

can you any one tell me whether you can open this content of this blog

if this blog opens, plz post that blog content on this thread itself.

so that i can check it immediately.

Thanks

Edited by: Raja on Aug 29, 2008 11:30 AM

Former Member
0 Kudos

Hi,

if you only see a white page then I have the same problem (btw for all blogs).

I guess the only possibilty is to wait until it's fixed.

Now it's working!

Regards

Patrick

Edited by: Patrick Koehnen on Aug 29, 2008 5:40 PM