on 06-04-2008 1:39 PM
Hi,
I have an scenario file to file. Source is a ZIP file, so CC is a FILE NFS Binary.
XI acts as a FTP mover and there aren't message mapping nor Integration directory definition .
Target and source filename it's the same.
But target directory must be defined dinamically.
For example.
Source file : filename_x1234.zip
Target file : directory x1234, filename filename_x1234.zip
Is that possible?
Thanks, in advance
Carme
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With Java mapping, files arrive without content
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
In your case its not possible since you dont have any message mapping involved.
if you do have a message mapping then you can go as per help.sap documents posted by Henrique
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, friends for your interest.
I know it's possible dynamic configuration with a message mapping.
But my problem is that source file is a ZIP containing several files.
So...It's possible to do a message mapping with a source FILE BINARY CC without content conversion?
It's possible dynamic configuration in this case?
Thanks,
Carme
There are some work arounds:
- Use enhanced receiver determination. Here the mapping needs only provide the receiver of the system, but you can set dynamic header fields as well
- Use Java Mapping. You can copy input to output as byte array
- Use adapter modul: You can handle the dynamic headers without influencing the payload.
Regards
Stefan
Hi, Stefan,
In my last reply, i was too much optimistic.
My scenario is not running well, so dynamic configuration is ok but files arrive without content.
¿How can i copy input to output stream as byte array ?
I have tryed also enhanced receiver determination, but I get next error:
a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser
Thanks, in advance,
Carme
Hi,
It is not possible to specify the directories dynamically.
Thanks,
Indira D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> It is not possible to specify the directories dynamically.
>
> Thanks,
> Indira D
Of course it is!
For the target directory, at least.
Just use Dynamic Configuration (as for the filename) and fill the proper value in the mapping (UDF, f.ex.) or custom module. The technical name is "Directory" and the namespace is "http://sap.com/xi/XI/System/File", as described in http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm.
Regards,
Henrique.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.