on 01-31-2008 1:36 PM
We are using this module configuration for converting EDI D96A format to XML:
1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
2 localejbs/CallSapAdapter Local Enterprise Bean 0
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic logAttID ConverterLog
bic mappingName See_E2X_ORDERS_UN_D96A
bic saveSourceMsg ORIGINAL_EDI
can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
basically,I need mapping name for this.
Thanks.
Best Regards,
Shweta
HI,
Configuration for AS2 or simple file adapter.
Scheme=AS2ID
Name = WAN network no of the partner who is sending the file
Sender AS2 adapter configuration:
Few changes in the module parameter tab.
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
Receiver AS2 adapter configuration:
When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
1. Define the channel as a Receiver channel on the Parameters tab
2. The last step ensures the module sequence is complete:
Make sure the module ModuleProcessorExitBean does exist in the module sequence:
Module Name=localejbs/ModuleProcessorExitBean
Type=L
Module Key=Exit
with the following module parameter:
Module Key=Exit
Parameter Name=JNDIName
Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
File receiver:
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
thnx
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chirag,
This was indeed a useful information.But unfortunately,still it doesnt work for me.
In my File-File scenario,Mapping is working fine.
This is the message structure in sxmb_moni:
XML Message Msg ID = 7A2931888580070E10080028928A9DC
Receiver Grouping
SOAP Header
SOAP Body
Payloads
Request Message Mapping
SOAP Header
SOAP Body
Payloads
Technical Routing
SOAP Header
SOAP Body
Payloads
Call Adapter
SOAP Header
SOAP Body Payload missing in Call Adapter
Response
SOAP Header
SOAP Body Payload missing in Call Adapter
As you can see,Payload is missing in Call Adapter and Response blocks.
Also the output file is not getting generated.
Although,I have changed the module configuration as suggested by you,in order to convert XML generated after mapping to output EDI file.
Kindly help.
Thanks,
Best Regards,
Shweta
Hi,
Hace u used exact module in both the adapters.
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
R u sure u r using the proper mapping name which will do the conversion of EDIto XML and XML to EDI.
Thnx
Chirag
Hi Shweta,
1) Have checked the input payload in SXMB_MONI after mail has been sent.
2) As far I know only these settings needs to be done in module parameter tab.
3) have u checked the mapping program deployed or not.
I think this is not the problem related to File adapter configuration.
Can u please remove the module configuration and generate simple XML file and check whether u r getting the same error message in SXMB_MONI, this is just to confirm that the error is not occuring to module parameter configuration.
Thnx
Chirag
Hi Chirag,
The problem has been resolved since someone suggested me that since file is getting posted on some other server,Payload wont be there.
Hence,when I checked the file on file ,I could find it.
Now I am using the Seeburger configuration as suggested by you.But the file generated is :
UNAUNB UNOA1 3020520000608 3015980400105null 0801021630 0082854 UNH 008285400001 ORDERSD96A+UN BGM DTM 137 DTM 2 NAD BY NAD SU NAD DP NAD IV LIN UNS S UNT 11 008285400001 UNZ 1 0082854
which is not a proper format.
Please let me know what went wrong in this.
Thanks,
Regards,Shweta
Hi Chirag,
I need to perform XML to EDI Conversion for EDIFACT Invoice D93A but I am getting this error:
SEEBURGER BICXIADAPTER --- Conversion of synchronous request from module chain ended with errors ---Error: [Error:ID=1010;LEVEL=1] BICMapping runMapping() The mapping: See_X2E_EDIFACT_INVOIC_UN_D93A you are trying to load cannot be found in the classpath! Maybe you forgot to compile or to activate the mapping! DESCRIPTION: BICMapping Error: The mapping [not specified] you are trying to load cannot be found in the right path! Maybe you forgot to compile or to activate the mapping!
The reason must be,the mapping name is incorrect.
Could you please let me know the correct mapping name.
I have tried See_X2E_INVOIC_UN_D93A too,and it is giving the same error
Thanks.
Regards,
Shweta
Hi,
This mapping has been deployed on XI Server and I am getting this error in Runtime workbench.
How can I check if the mapping is deployed properly or not.
This error doesnt occur if I use See_X2E_INVOIC_UN_D96A
But we are using D93A format and hence we cant use this mapping.
In addition to this,I am facing one more issue.The file which we are receiving has some special characters ,because of which I am getting this error:
Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character
the column no. specified in error doesnt have any special character.So the first problem is,how to find out the unsupported character.
and secondly,how to handle such files.
Kindly help.
Regards,
Shweta
Hi,
Thanks for the reply,but I dont know how to use BIC mapper and this is the reason,I am deploying the files directly on server.
For unsuported character,I am not getting details of the error so that I can find out which character is giving error.
This is the reason I need to know how to find out this character.
Thanks.
Regards,
Shweta
Hi,
Select the mapping in BIC.there is one test configuration option on the top panel.
select that and give the input file and select the target directory where ur file need to be places.
when u run this it will convert the EDI to XML message using that mapping program.
if during the test if it is giving the error then there is a problem in mapping and u need to deployee it again.
chirag.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.