on 07-02-2012 10:37 PM
Hi experts,
I have doubt here how to configure the StrictXml2PlainBean module.
The scenario is: RFC --- PI -- Module -- FTP
The xml below it's that one must be convert in module to txt:
<?xml version="1.0" encoding="UTF-8"?>
<rfc:Z_TESTE xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<FILE_NAME>TEST_XXX.txt</FILE_NAME>
<X_FILE>
<item>
<YEAR_MOUTH>h</AR_MOUTH>
<DAY>h</DAY>
<BILL></BILL>
<COUNTRY>US</COUNTRY>
</item>
</X_FILE>
</rfc:Z_TESTE>
There is 3 tags, the FILE_NAME tag it's a record will be into folder in FTP and X_FILE contains the date inside the file.
Image below how I did configuration:
I
I'm got that error in runtimeworkbench:
I must define two recordtypes or onlyone, because the tag FILE_NAME cares about the name of file ?
Thanks,
Kind regards,
Viana.
Hi Ricardo,
As you are using FILE adapter (FCC) at receiver end there is no need for any type specification as there is not going to be any validation, when you write the content to the file
So if you remove NAME.RecordType and X_FILE.RecordType from the parameter list it will work
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
you could find it over here the parameters we could use at receiver end ->
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
The parameter FieldNames is only use for Sender CC. You are using Receiver CC
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/686e687f2a6d12e10000000a1553f6/frameset.htm
Also according documentation the expect input should be like this
<root>
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
</nameA>
<nameB>
<value4>value</value4>
</nameB>
...
</root>
Regards
Lucho.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.