cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

[ERROR]: Name or password is incorrect (repeat logon)

Former Member
0 Kudos
233

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

See post 4489118 for answer

Thanks guys..

jamie_cawley
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

agentry_src
Active Contributor
0 Kudos

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