cancel
Showing results for 
Search instead for 
Did you mean: 

Calling T-code with JCO

Former Member
0 Kudos

Hi,

I want to write a small java application that simulate user activity on SAP.

can i use JCO to activate T-codes on SAP?

if so, how do i do it? if not, is there any other way?

thanks,

Eldad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Precise,

Are you using EP?

You can create a SAP transaction iview for invoking SAP T-Code from EP.

Check this link if it helps you..

http://help.sap.com/saphelp_nw2004s/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm

regards,

avadh

Former Member
0 Kudos

HI Shaked,

You cannot directly invoke the T-codes of SAP through a JCo program. Only BAPIs can be called through a JCo program.

However, for your kind of requirement, you will have to check what are the function modules behind the T-code, expose them as BAPIs and call them through the JAVA progrma using JCo.

Best regards,

Guru.