• Post Reply Bookmark Topic Watch Topic
  • New Topic

JCO Server  RSS feed

 
Ranch Hand
Posts: 32
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in SAP interfacing domain. It is a Unicode System.

I need to create a Server which listens the SAP via RFC. when ever an action made in SAP RFC tells my server.
for this,
I have created Server and it Listens to RFC.

for a simple function module STFC_CONNECTION and STFC_STRUCTURE it worked fine.


for a
BAPI (BAPI_PO_GETITEMS)
it works and returns table with 0 rows. in SAP side when i execute the BAPI giving RFC reference it says
SYSTEM FAILURE.


if I leave the RFC_REF field empty, it returns result in table with 20 rows.

here i is my handleRequest function



Is there any authorization is needed for my RFC program id ? or something else?
 
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, your program needs to authenticate with any external Business Applications (SAP in this case).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!