Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Executing transaction using JCo and logging in JCO

Former Member
0 Likes
465

Hi,

Can we execute any SAP transaction using JCO? Iam using JCo3 .

I require to log all details while using JCo to interact with SAP system. does JCo support any logging .If yes,How can we perform / enable logging in JCo?

2 REPLIES 2
Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Likes
342

Hello friend,

"Can we execute any SAP transaction using JCO?"?

Technically speaking - yes. You can write a remote function module in ABAP backend wrapping your logic to call SAP transaction, such as "CALL TRANSACTION XXX". And call this FM in JCO.

" does JCo support any logging

Yes, too. You can do actual logging work in ABAP backend system. Use SLG0 and SLG1 to create and maintain application log object. You can find lots of "SBAL_DEMO_XX" in your system about how to use this object. Write your own remote function module in ABAP backend to do logging and call them in JCO.

Hope it helps.

Best Regards,

Jerry

Read only

Former Member
0 Likes
342

Hi Jerry,

Can you please share give some code snippet to perform / enable logging. I am new to JCO and cannot find links for same.