Author |
Message
|
cnurao_008 |
Posted: Fri Mar 06, 2009 6:54 am Post subject: SAP Request node in 6.1 |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
Hello Everybody.
I have requirement to use SAP Request node in my project. They have give the Login details of SAP system.
But their requirement is to post an iDocs to SAP. Here i have question is WTX is sending iDocs MQ.From there MB has to get the IDocs and post to SAP.
Now please any body tell me how i can configure the SAP Adapter to post iDocs.  |
|
Back to top |
|
 |
kevinobyrne |
Posted: Fri Mar 06, 2009 8:19 am Post subject: |
|
|
 Voyager
Joined: 17 Jul 2007 Posts: 83 Location: Ireland
|
|
Back to top |
|
 |
cnurao_008 |
Posted: Fri Mar 06, 2009 10:18 am Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
very thanks for your reply.
I have done the configuration with adapter. But question is , I don't need to convert the a file into a iDOC. I could have received iDOCs from WTX into a Queue. So I need to Post it to SAP.SO Which interface i have to use to interact with SAP i mean ALE , ALE passthrough iDOc, BAPI , BAPI Result Set, BAPI unit of Work, Adavanced Event Processing ?
when i connected through Advanced Event processing ,it creates a BO which it cosnsit like a XML message set. If supposei use this to validate the iDocs. It could faild.
please help me for the same. |
|
Back to top |
|
 |
napier |
Posted: Fri Mar 06, 2009 12:05 pm Post subject: |
|
|
 Apprentice
Joined: 09 Oct 2007 Posts: 48 Location: USA
|
|
Back to top |
|
 |
cnurao_008 |
Posted: Mon Mar 09, 2009 5:05 am Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
Thanks for your reply.
Now i have developed with Mqinput and Saprequest node. Whict creates an iDocs at SAP System.
But When I am creating bar file it shows a prompt like some files are not added and it showd a red cross mark at message set.
Can anybody tell me the problem and the solution., |
|
Back to top |
|
 |
kevinobyrne |
Posted: Mon Mar 09, 2009 5:08 am Post subject: |
|
|
 Voyager
Joined: 17 Jul 2007 Posts: 83 Location: Ireland
|
You should see the details of the compile error in the properties. |
|
Back to top |
|
 |
cnurao_008 |
Posted: Mon Mar 09, 2009 5:29 am Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
Here is the following details.
Saving File : "/sapDELIVERY03.PROJ/.GeneratedSchemas/com/ibm/www/xmlns/prod/websphere/j2ca/sap/sapcwmdelvry03/SapCwmDelvry03.xsd"
Saving File : "/sapDELIVERY03.PROJ/.GeneratedSchemas/com/ibm/www/xmlns/prod/websphere/j2ca/sap/sapcwmdelvry03idocbo/SapCwmDelvry03IDocBO.xsd"
Saving File : "/sapDELIVERY03.PROJ/.GeneratedSchemas/com/ibm/www/xmlns/prod/websphere/j2ca/sap/sapidoccontrolrecord/SapIDocControlRecord.xsd"
BIP0182E Message Set compile error.
A exception was thrown while compiling the Message Set. The cause of the error was an exception of type "class java.lang.NullPointerException", with message "null". The stack trace at the time of the error was:
"java.lang.NullPointerException
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferences(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.extractSchema(Unknown Source)
at com.ibm.etools.msg.dictionary.DictionaryCompiler.addMultipleToBarFile(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.multipleBarGeneratorDelegate(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.processDeployables(Unknow
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
"
Retry the operation and contact your IBM support center.
Operation failed
BIP0841E The resource messageSet.mset could not be added to broker archive file sap1.bar. |
|
Back to top |
|
 |
kevinobyrne |
Posted: Mon Mar 09, 2009 5:43 am Post subject: |
|
|
 Voyager
Joined: 17 Jul 2007 Posts: 83 Location: Ireland
|
I had this with SAP msgsets. Try creating a new workspace and a new bar file. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 09, 2009 5:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Anything that creating a new workspace can accomplish should be handled by doing a Clean on the Message Set Project.
It's possible that the message set project just hasn't been built yet at all - because "Build Automatically" is unchecked. |
|
Back to top |
|
 |
cnurao_008 |
Posted: Mon Mar 09, 2009 6:22 am Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
I have create new workspace and new project .
And again it show s the same.
What i observed this in the details it show somw red cross mark at the line
"[b]Saving File : "/MySAPApplicationMSGFLWMessageSet.PROJ/.GeneratedSchemas/com/ibm/www/xmlns/prod/websphere/j2ca/sap/sapcwmdelvry03/SapCwmDelvry03.xsd" [/b]
And then it showed the below....
BIP0182E Message Set compile error.
A exception was thrown while compiling the Message Set. The cause of the error was an exception of type "class java.lang.NullPointerException", with message "null". The stack trace at the time of the error was:
"java.lang.NullPointerException
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferences(Unknown Source)
at com.ibm.etools.msg.dictionary.XSDZipGenerator.extractSchema(Unknown Source)
at com.ibm.etools.msg.dictionary.DictionaryCompiler.addMultipleToBarFile(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.multipleBarGeneratorDelegate(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.processDeployables(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
Retry the operation and contact your IBM support center.
Operation failed
BIP0841E The resource messageSet.mset could not be added to broker archive file sap1.bar.
Can you please tell me what i need to do next. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 09, 2009 6:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It sounds like the message set is not compiling.
Make sure the message set is being built in the first place.
Look for Errors in the Problems view. |
|
Back to top |
|
 |
cnurao_008 |
Posted: Mon Mar 09, 2009 8:55 pm Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
I have checked at problems view . it did not show any thing regarding this error.
Can any one please tell me what i have to do to resolve this problem. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 10, 2009 3:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are all your file access rights correct ?
What happens if you have no write access to the target directory?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
cnurao_008 |
Posted: Tue Mar 10, 2009 9:14 am Post subject: |
|
|
Apprentice
Joined: 25 Nov 2008 Posts: 30
|
Hello All
my problem get resolved.
Thanks to All thanks to MQseries.net |
|
Back to top |
|
 |
kevinobyrne |
Posted: Tue Mar 10, 2009 9:15 am Post subject: |
|
|
 Voyager
Joined: 17 Jul 2007 Posts: 83 Location: Ireland
|
|
Back to top |
|
 |
|