cancel
Showing results for 
Search instead for 
Did you mean: 

Seeburger module configuration

shweta_walaskar2
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

This is indeed very very useful information and exactly what I needed.

I am really thankful to you for this useful information.

This has solved our one more issue in other scenario where we are going to have EDI D93A format.

Thanks a lot for your help.

Best Regards,

Shweta

shweta_walaskar2
Contributor
0 Kudos

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

Former Member
0 Kudos

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

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

No,my sender is a mail sender,so module configuration will be different for sender and receiver.

Yes ,for receiver,I have added same modules as you have mentioned.

Thanks,

Best Regards,

Shweta

Former Member
0 Kudos

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

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

Yes,I removed the modules and still I cant see the payload in call adapter and response blocks.

So,this is not a problem with Module configuration.

Do you have any idea as what could be the reason behind this.

Thanks.

Regards,

Shweta

Former Member
0 Kudos

Hi Shweta,

1) test the message in Message mapping test tab.

2) Go to RWB check the email adapter status.

3) go to message monitoring in RWB anc check what error it is giving.

Thnx

Chirag

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

No error in Message monitoring.

Mapping is working fine in test tab

Thanks,

Shweta

Former Member
0 Kudos

Hi,

Have u done the following checks

2) Go to RWB check the email adapter status.

3) go to message monitoring in RWB anc check what error it is giving.

Thnx

Chirag

shweta_walaskar2
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Shweta,

CAn you please check the XML output data strucutre which is generated in SXMB_MONI and compare it with the generated EDI strucutre.

ALso check the mapping program which u r using in BIC and test it with the XML file using that mapping.

THnx,

Chirag.

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

Can you please provide me schema(xsd) for APERAK (ack for D96A)message?

Kindly send it on swalaska@in.ibm.com.

Thanks.

Best Regards,

Shweta

shweta_walaskar2
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Where r u getting the error? It is in BIC tool or somewhere else.

Did ur mapping deployed on XI server?

"the mapping not specified you are trying to load cannot be found in the right path!" may be mapping is not deployed properly.

Is ur previous scenario worked properly.

Chirag

shweta_walaskar2
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

check the mapping in ur BIC tool. select the mapping and give the source file and target file where it need to be stored and see if its giving the same error.

For which character it is giving problem.

Chirag

shweta_walaskar2
Contributor
0 Kudos

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

Former Member
0 Kudos

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.

shweta_walaskar2
Contributor
0 Kudos

Hi Chirag,

Thanks.I did this,but it is not giving any error in BIC mapper and is compiled successfully

Shweta

Former Member
0 Kudos

Hi,

Can u deploy the mapping once again by removing the mapping which was deployed previously and test the scenario.

Chirag

Answers (0)