on 2008 Nov 04 6:57 PM
Guys,
In a transaction I use 2 action blocks for testing.
1st action block is a standard 'SAP JCO Interface' -- that one calls BAPI_PROCORD_GET_DETAIL
works A1
2nd action block is a standard 'SAP JCO Start Session' -- that one also calls BAPI_PROCORD_GET_DETAIL but always defaults to the error (msg found in subject header)
Both action blocks share the same 'SAP Server Details'
Server, client, system number, user name, pwd....
Any lead on troubleshooting will be greatly appreciated.
Martin
Request clarification before answering.
See post 4489118 for answer
Thanks guys..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Mike indicated you need the jco start session, then a jco function, completed with an jco end session. The jco commit and rollback would not be required for BAPI_PROCORD_GET_DETAIL.
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Martin,
JCo Start Session opens a session. To execute the BAPI, you need a second action block of type SAP JCo Function (Not SAP JCo Interface) which is linked to the Start Session action block. Then at some point you need to use either a JCo Commit or JCo Rollback. The logic is essentially the same as in SQL.
Good luck,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.