Empty data from SAP

Hello,

I am using RFC_IDOC_INBOUND_ASYNCHRONOUS (BAPI OTD) in JCAPS5.1 to recieve IDOC ftrom SAP ECC6

in my JCD, i am using the following code:-

byte[] b = input.getIDOC_INBOUND_ASYNCHRONOUS().marshal();

String s1 = new String( b );

logger.info("***s1="+s1);

FileClient_1.setText( s1 );

FileClient_1.write();

here, I am getting blank data from IDOC.

ie:- when SAP sends IDOC, JCD triggered, but getting no data.

I have set all other configurations etc in eWay & environment.

Please, let me know, the solution of this problem.

[602 byte] By [mjinhcl] at [2007-11-26 9:50:33]
# 1
how big is b.length ?and are you shure you are getting an idoc from SAP?are there any errors when u turn on excessive SAP logging in ICAN/CAPS?regards chris
ChrisBrennsteiner at 2007-7-7 1:01:48 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...