cancel
Showing results for 
Search instead for 
Did you mean: 

file generation problem

Former Member
0 Kudos

Dear All ,

I am using SP12 for variable substitution of file name in receiver file adapter . I have done all the configuration in receiver file adapter of IDOC-XI-FILE scenario . <b>But file is not getting generated .</b>

<b>When I checked sxmb_moni , it is showing "file processed successfuly" and acknowledgement status " still awaiting acknowledgement" .</b>

Can anybody suggest what could be the reason for file not getting generated .

Thanks in advance

Regards

Prabhat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prabhat

It could be possible that the XML value that you are trying to reference from your payload, does not have any value in it. Check your final payload and see if the xml value that you are trying to reference exists in it.

cheers

Sameer

PS: If you post your final xml payload and which value you want as filename in it, then i can help you with creating the variable substitution part.

Former Member
0 Kudos

Dear Sameer ,

My scenario is <b>IDOC-XI-FILE</b> . plz help me to find out the solution .

xml structure for the IDOC processed successfuly is like this :

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

- <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">

- <SITE_DATA>

<STORE_CODE>N002</STORE_CODE>

<TITLE_MEDI>Company</TITLE_MEDI>

<STORE_NAME>Mount Road</STORE_NAME>

<STREET>Chennai</STREET>

<COUNTRY>IN</COUNTRY>

<SALES_TAX_NO>12345678910</SALES_TAX_NO>

</SITE_DATA>

</ns0:MT_SITE_MASTER>

plz help me .

thanks in advance

regards

Prbhat

Former Member
0 Kudos

Hi Prabhat

If you want the Store_code to be your filename, the variable substitution reference should be

Variable Name: var1

Reference: payload:ns0:MT_SITE_MASTER,1,SITE_DATA,1,STORE_CODE,1

File Name Scheme: %var1%.xml

Your filename will be something like N002.xml

hope this was helpful

cheers

Sameer

Former Member
0 Kudos

Dear Sameer ,

I have done the configuration which you mentioned in the message but <b>file is not getting generated in the outbound folder</b> .

Can YOU SUGGEST WHAT COULD BE THE REASON . plz help me

Regards

Prabhat

Former Member
0 Kudos

Hi Prabhat

Can you let me know as to what is the message you receive in the RWB Message Monitoring. That will give us more information to solve the problem.

cheers

sameer