cancel
Showing results for 
Search instead for 
Did you mean: 

AS2 filename

former_member223432
Participant
0 Kudos

Hi All,

I have a scenario, where i need to pick a PDF file from a folder and pass the same to third party system..there  is NO MAPPING involved here.

it is working fine...but the file names  received at the third party system is not correct...

How do i provide a filename to this as this interface doesnt have any mapping.

please advise.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member223432
Participant
0 Kudos

Hi,

I made the changes as per your suggestion and executed and now i am getting the below error.

"

03.07.2012 14:09:08ErrorMP: exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at ocalejbs, the whole lookup name is localejbs/ocalejbs/ModuleProcessorExitBean.
03.07.2012 14:09:08ErrorAdapter Framework caught exception: Path to object does not exist at ocalejbs, the whole lookup name is localejbs/ocalejbs/ModuleProcessorExitBean.
03.07.2012 14:09:08ErrorTransmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at ocalejbs, the whole lookup name is localejbs/ocalejbs/ModuleProcessorExitBean
zameerf
Contributor
0 Kudos

Can you cross check the module name after you had re arranged?

as the error says,

com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at ocalejbs, the whole lookup name is localejbs/ocalejbs/ModuleProcessorExitBean

former_member223432
Participant
0 Kudos

thanks Zameer.

problem solved.

thanks a ton

zameerf
Contributor
0 Kudos

Glad that your issue is resolved.

Answers (4)

Answers (4)

former_member223432
Participant
0 Kudos

Hi,

PLease find the screenshot of both sender and receiver channel.

please find the sender channel..module details and channel details

zameerf
Contributor
0 Kudos

Hi Smith,

Can you re arrange the module sequence in Receiver AS2 adapter?

You can place the attribMapper module at first, then solutionid and exit at last.

Also give a space between http://sap.com/xi/XI/System/File/FileName &

If you still encounter issues, you may want to try using @http://sap.com/xi/XI/System/File/FileName & "\_" & GetDateTime("ddMMyyyyHHmmss")

a try with escape character for _

former_member223432
Participant
0 Kudos

Hi Zameer,

Yes..my scenario is File to AS2.

i tried with what you have mentioed above..it still fails and gives the same error.

any other suggestion please

zameerf
Contributor
0 Kudos

Hi Smith,

Have you enabled the ASMA at Sender File channel with FileName checked?

Also on receiver AS2 channel, have you enabled the Dynamic Attributes option and subsequently File Name option checked?

Would be good if you can share the screenshot of sender/receiver channel config

former_member223432
Participant
0 Kudos

Hi Guys,

I  have followed the above thread but i am getting the below error

"Message could not be forwarded to the JCA adapter. Reason: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Mandatory attribute dtAS2FileName is not present in XI message., Mandatory attribute dtAS2FileName is not present in XI message."

Can someone help me please,

there is no Mapping in my scenario.

and i just need to pick the pdf file and send to third party system but i need to provide a file name.

i tried with this parameter value for AttribMap-->@http://seeburger.com/xi/common/dtSubject & "_" & GetDateTime("ddMMyyyyHHmmss").

but i am still getting the same error

zameerf
Contributor
0 Kudos

Hi Smith,

>>i tried with this parameter value for AttribMap-->@http://seeburger.com/xi/common/dtSubject & "_" & GetDateTime("ddMMyyyyHHmmss").

If your case is File adapter to AS2 adapter then interchange the parameter value and name.

So you can try with @http://sap.com/xi/XI/System/File/FileName & "_" & GetDateTime("ddMMyyyyHHmmss")


rajasekhar_reddy14
Active Contributor
0 Kudos