on 10-20-2007 1:49 AM
Hi Experts,
I have a scenario where, an R/3 System sends an Invoice Idoc to XI.
In XI it is mapped to a standard EDI xml structure corresponding to EDI document 810. This EDI xml is sent through a Seeburger AS2 adapter(Which converts the XML to EDI) and sends it out to a customer.
The issue is that there is one element in a segment which is being populated as a number in the mapping. But when the actual messages goes out to the customer, it is shown as 0.
When I do a single test within the IR using the same payload, i see the number.
But when the actual document is sent out , a zero is coming.
Can someone help me??
Thanks and Regards,
Ravi
Hi
can you please tell me that which segment of the EDI 810 INVOCE has to populated with the number.
also please tell me the sceanario.
Thanks
sudhir sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. It does.
But it SXMB_MONI doesn't show the actual EDI file that goes out of our system.
It shows the XML format of the EDI file.
The AS2 adapter converts the XML file into an EDI file using a seeburger standard Java mapping.
Is there a way that we can test the X2E(xml to edi) mapping?
Regards,
Ravi Kanth Talagana
Hi,
I have tried to use a File adapter instead of an AS2 adapter, with the same Java mapping modules in the modules tab of the adapter configuration.
But I am getting an error in RWB messages at adapter level, saying that you cannot use a file adapter .Have you ever come across such an issue?
Regards,
Ravi Kanth
I am wondering why are you using Java Mapping Modules?Seeburger provides standard mapping for INVOIC to 810 and you can call that in the module tab of AS2 adapter right?
>>I have tried to use a File adapter instead of an AS2 adapter, with the same Java mapping modules in the modules tab of the adapter configuration.
do these Java Module deployed on J2EE engine using SDM?,if so it should support.I don't know why you are getting the error. and are you calling the SAP adapter at the last?I mean modules should be called first and then the SAP adapter at the last.
Hi Babu,
Yes, we are calling the standard seeburger mapping NV_X2E_ANSIX12_856_V4030.
This is the Processing sequence I used for the modules in file adapter.
localejbs/CallBicXIRaBean bic
localejbs/ModuleProcessorExitBean exit
The Module Configuration is
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic mappingName NV_X2E_ANSIX12_856_V4030
exit JNDIName deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
Let me know if I am doing something wrong in here??
Thanks and Regards,
Ravi Kanth Talagana
Hi Babu,
This is the error that I get when i tried to use those modules in File adapter:
"Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: failed to lookup CPA cache: Channel object configured for adaptertype File|http://sap.com/xi/XI/System, instead of AS2|http://seeburger.com/xi., failed to lookup CPA cache: Channel object configured for adaptertype File|http://sap.com/xi/XI/System, instead of AS2|http://seeburger.com/xi.: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIDeliveryException: failed to lookup CPA cache: Channel object configured for adaptertype File|http://sap.com/xi/XI/System, inste".
Thanks for your interest and time.
Regards,
Ravi
Hi Ravi,
I dont think you can used standard developed for AS2 Adapter you can used directly in File Adapter...because import / export parameter would be different and its obvious it will raise an exception..
Standard module used in File adapter is :
localejbs/CallSapAdapter with type Local Enterprise bean and No module Key.
I think this is good idea to usesd File adapter to check output...but did you change Trace level to "3"..you can see input/ouput payload at every pipeline step.
Nilesh
increasing the trace level to 3 is not showing up the final EDI file in moni.
It only shows the xml file which is just before the adapter step.
I am able to get the file output using the suggestions by you both now.
It looks like there is a bug in the mapping itself (NV_X2E_ANSIX12_856_V4030).
Is there any way, we can edit this mapping in BIC mapping designer?
Regards,
Ravi
User | Count |
---|---|
81 | |
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.