Hi,
I need to convert the IDOC to string.
I have SAP Listener and notification.
The document is published to Broker and in the subscribing service I have these service
pub.sap.idoc:documentToIDoc ( i/p : the doc subscribed )
pub.sap.idoc:encodeString ( i/p : idoclist from above service and server name)
now the service pub.sap.idoc:encodeString errors out with the below error message.
Error :
java.lang.IndexOutOfBoundsException: WmSAP Adapter: Index greater than number of IDoc fields.
What am I missing.
Any help is appreciated.
Thanks!
-Vkram