on 09-27-2006 12:17 AM
Hello everyone,
Argentina has a legal requirement which is necessary to send a TXT file containing data related to outbound delivery (transaction VL03N) in a website created by the government.
Nowadays the users are using a HTML page to send this file. This HTML page has 3 parameters ( user, pass, file path+name ) and is sending data through "POST" method using encoding type "multipart". Please take a look on the statement below contained in the page:
<FORM action="http://cot.ec.gba.gov.ar/Transporte.do" enctype="multipart/form-data" method="post" name="form" onSubmit="">
I am not expert in SAP XI, but I would like to convert all in an automatic process using XI:
(SAP R/3) File -> XI -> HTTP.
My question is: How could I configure a communication channel in order to send a TXT File to a HTTP service with all attributes mentioned right above (multipart, user + pass)? I think its necessary to use HTTP adapter but I am not sure.
Best Regards
Gabriel Santana
The problem I can see here is, once your file on the sender side is picked up by XI,it no longer is in file format and instead is in XI message format. so you need to tackle this issue first...may be this thread will give you nice pointers abt it.
The second issue being, sending the multipart message...i guess your scenario wont be that simple file-xi-http..instead might turn out to be SOAP->XI->Proxy(Java/ABAP)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
issue postponed!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gabriel Santana
I have the same requerimient as you and i need some help. As you know the web service have 3 obligatoies parameters . User , password and File.
I have no problems with the two first parameters passing them with the class
cl_http_client method ->request->set_form_field. and this values.
However i cant pass the third parameter (File) using the same mode.
i tried:
CALL METHOD http_client->request->set_form_field
EXPORTING
name = 'file'
value = 'Path source of my file'.
but i recive an error response from the web service .
Hope you can help me with this issue because it turned to me to an Urgent matter.
Thank you and will look forward for your answer.
if you prefer my e-mail address is martincol@hotmail.com
Regards
Mcol.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Please forgive me the delay on reply... Unfortunately I still looking for a solution to my scenario. In the beginning of this month I contacted some XI consultants from SAP Brazil and they told me that SAP XI 3.0 does not support this kind of scenario.
Actually I am working in an upgrade project to ECC 6.0, so this issue was postponed...
If I find something helpful I will be posting in this thread...
Best Regards,
Gabriel
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.