on 01-09-2013 1:05 PM
Bom Dia Galera,
Estou Terminando de Configurar o B2B no Upgrade para o Grc 10 e estou Com problemas ao tentar determinar Dinamicamente o Nome do arquivo.
Estou Seguindo o Exemplo do Wiki http://wiki.sdn.sap.com/wiki/display/ESOAInfrastructure/Dynamic%20Email%20Attachment%20name%20for%20...
Porém no meu caso Utilizo Apenas o Java Mapping, não utilizo Message Mapping.
Segue o trecho do Java Mapping:
SUBJECT = SUBJECT + accessKey;
dynamiConfiguration.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderTO"), email);
dynamiConfiguration.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderSUBJECT"), SUBJECT);
//Configuração nome do arquivo
NomeArquivo = "attachment; filename=\"" + accessKey + ".xml\"";
trace.addInfo("filename NFe: " + NomeArquivo);
dynamiConfiguration.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "XHeaderName1"), NomeArquivo );
No CC, coloquei o Flag Keep attachments está Ok.
No ASMA os campos "Use Adapter-Specific Message Atributes" e "Variable Transport Binding" também estão flegados.
a Variable XHeaderName1 está com Content-Disposition
Advanced-Mode esta com o OMail.AddContentDisposition como "false"...
O arquivo chega sempre com NONAME.
Alguma ideia de Como resolver? Nos fóruns a galera sempre faz com Message Mapping, será que não funciona apenas com o Java Mapping?
Em anexo o JavaMapping completo, utilizado apos o JavaMapping que vem Standart.
Bom dia Rafael,
Encontrou a solução?
Favor dê feedback ao fórum, caso positivo ou negativo.
Atenciosamente, Fernando Da Rós
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.