on 10-20-2005 12:51 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.