2007 Nov 28 4:52 PM
Hello,
I'm having a trouble receiving the result of a BAPI in Delphi.
When i test the business object BUS7011 inside SAP, the function CheckCollision returns two tables COLLISIONRECORDS and RETURN with several records each, but when i send the same data with a Delphi program using the DCOM BAPI OCX I get no result. No error either.
Any ideas what can be the problem?
I'm testing this to replace an old program that uses the Transaction OCX to simulate a batch input, this method doesn't seem to work anymore in ECC 6.0.
Thanks in advance, Gabriel
PD: I have also tested it using the SAPRFC test script, with the same results. EXTERNALRECORDS is OK but RETURN and COLLISIONRECORDS are empty
Message was edited by:
Gabriel Roman
My bad, the problem seems to be with authorizations. I was testing the BAPI with a dialog user and the Delphi program was using a "system" user. Those two had different authorizations. I added RFC authorization to the dialog user and used it with the Delphi program and it works as expected, now to find the missing role.
Bye, Gabriel
2007 Nov 30 12:37 PM
My bad, the problem seems to be with authorizations. I was testing the BAPI with a dialog user and the Delphi program was using a "system" user. Those two had different authorizations. I added RFC authorization to the dialog user and used it with the Delphi program and it works as expected, now to find the missing role.
Bye, Gabriel
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |