cancel
Showing results for 
Search instead for 
Did you mean: 

how to write these startidocreceiver and idocreceivercmd files

Former Member
0 Kudos

Hi Experts,

I just modify these files as per the Admin documents

But every time I am fail to execute these files. Can you please validate these files.

FYI... I already maintained and installed required files like sapjco.jar 2.1.10, sapidoc.jar 1.0 and sapidocjco.jar 1.0.

I maintained all these files in \WEB-INF\lib folder. accordingly I specified the path in these startidocreceiver.bat  and idocreceivercmd.bat files.

I just attached these files startidocreceiver.bat and idocreceivercmd.bat, can you validate these files and correct me if I am wrong.

Best Regards

Dileep P

Accepted Solutions (1)

Accepted Solutions (1)

StephenMillard
Active Contributor
0 Kudos

Hi Dileep - good to hear.  How did you go achieve the 'maintaining of Unicode'?  This could be useful to others who end up reading this thread with a similar issue.

Regards,

Stephen.

Former Member
0 Kudos

Dear All,

We need to maintained the NAK_RFC_DEST in R3 System for IDOC communication.

Once you open this RFC - there is a Unicode tab > here select the Radio button for Unicode.

For more information please see the Deployment guide. page no 34 & 35.

Best Regards

Dileep P

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Experts,

Can you please validate these startidocreceiver.bat and idocreceivercmd.bat files.

Best Regards

Dileep P

0 Kudos

Hi Dileep,

I don't see any problem with the files, what error are you receiving while executing startidocreceiver.bat?

Secondly please make sure the dlls are present at the right location in Windows box:

 

librfc32.dll and sapjcorfc.dll need to be available under the c:\windows\system32

folder (32-bit systems) or c:\windows\SysWOW64 folder (64-bit systems).

Former Member
0 Kudos

Dear Shahbaz,

Thanks for your reply.... but still I am facing some issues...

for more information, please see the below error messages in image.

Best Regards

Dileep P

StephenBurr
Active Contributor
0 Kudos

What command are you submitting to start the idocreceivercmd?

From the above screenshot, it looks like none.

See section 3.7.3 of the 4.1 Deployment guide "Parameters" (or same section for your version).

Stephen

Former Member
0 Kudos

Dear Stephen,

I use the command startidocreceiver.bat this as per deployment guide.

Can you please help me on this issue.

Best Regards

Dileep P

StephenBurr
Active Contributor
0 Kudos

Apologises ... can you confirm each parameter?

Isn't %1 supposed to be a path to the bin of JVM? And %2 to the OrgModeler application directory?

In your file they look the wrong way round.

Also have you verified the SAPJCo version as per section 3.7.3 notes?

Stephen

Former Member
0 Kudos

Dear Stephen,

These are all my parameters

"C:\Program Files\Java\jdk1.6.0_39\bin"

E:\usr\sap\SEP\J00\j2ee\cluster\apps\Nakisa\OrgModeler\servlet_jsp\OrgModeler\root

E:\usr\sap\SEP\J00\j2ee\cluster\apps\Nakisa\OrgModeler\servlet_jsp\OrgModeler\root\WEB-INF\lib

E:\usr\sap\SEP\J00\j2ee\cluster\apps\Nakisa\OrgModeler\servlet_jsp\OrgModeler\root\WEB-INF\lib

E:\usr\sap\SEP\J00\j2ee\cluster\apps\Nakisa\OrgModeler\servlet_jsp\OrgModeler\root\WEB-INF\lib NakisaFrameworkBin

I maintained sapjco.jar, sapidoc.jar and sapidocjco.jar in WEB-INF\lib folder, YES these all are as per the admin guide versions.

accordingly I maintained the paths.....

Best Reagrds

Dileep P

0 Kudos

'┐rem' is not recognized as an internal or external command,

operable program or batch file.

This error is occuring because UTF Encoding of the saved batch file is confusing BAT file processor.

I would recommend recoding the bat file in another editor and Save As with ANSI or BOM encoding.

Former Member
0 Kudos

Dear Shahbaz,

Now I am not facing this issue. But still I am facing some issue on \java.

Can you please see the below screenshot.

Best Regards

Dileep P

Former Member
0 Kudos

Dear Stephen,

I set up the java path, then this error is gone, but when I run the PFAL transaction in R3.

it was successful extraction. You can see the extraction screen.

But when I checked in the IDOC Receiver Listener throws some errors on JCO.

Can you please help me on this issue.,

Best Regards

Dileep P

StephenBurr
Active Contributor
0 Kudos

Can you show the output of this command:

java –jar[path to sapjco.jar]/sapjco.jar –stdout

Stephen

Former Member
0 Kudos

Dear Stephen,

Please see the output as image.

Best Regards

Dileep P

StephenMillard
Active Contributor
0 Kudos

Dileep.

I'm not 100% sure, but looking at the function names it is failing on this might again be an encoding issue.  See if the solution in this thread helps.

Regards,

Stephen.

Former Member
0 Kudos

Dear All,

This issue because of Unicode is not maintained in NAKISA RFC. Once I maintained Unicode - this error is gone. Thanks for your support.

Best Regards

Dileep P