Application Development 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: 

what exception ERROR_KPRO means??

Former Member
0 Kudos
432

Can somebody tell me when exception ERROR_KPRO arises - what is meant by ERROR_KPRO?? I m using the following method and it's returning sy-subrc = 2.

CALL METHOD o_document_set->create_with_files

EXPORTING

classname = i_classname

classtype = 'OT'

CHANGING

object_key = i_object_key

files = i_files

signature = i_signature

EXCEPTIONS

internal_error = 1

error_kpro = 2

parameter_error = 3

not_allowed = 4

not_authorized = 5

nothing_found = 6

OTHERS = 7.

When I execute, it returns sy-subrc = 2. Can somebody tell me when this exception arises??

Thanks,

Sheel

1 ACCEPTED SOLUTION

former_member265047
Active Participant
0 Kudos
120

Hi Sheel,

You can check the below link, It address ur issue and how to resolve that.

http://help.sap.com/saphelp_nw04s/helpdata/en/14/d9ad3cf7ca0855e10000000a114084/frameset.htm

Reagards,

Naveen Veshala

4 REPLIES 4

former_member265047
Active Participant
0 Kudos
120

Hi Sheel,

Error_Kpro means errors related to Knowledge provider.

I suggest you to debug the FM and see in which context it is throwing the error message, because you have so many Kpro messages in the message class SBDS ( message no's : 299, 201 to 230 ) and try to check the issue.

Regards,

Naveen Veshala

0 Kudos
120

hi,

The error message I am getting -

Knowledge Provider error: Transfer error

Can somebody explain the reason for this error. I am using create_with_files to save a file on sap server.

Please help.

Thanks,

Sheel

former_member265047
Active Participant
0 Kudos
121

Hi Sheel,

You can check the below link, It address ur issue and how to resolve that.

http://help.sap.com/saphelp_nw04s/helpdata/en/14/d9ad3cf7ca0855e10000000a114084/frameset.htm

Reagards,

Naveen Veshala

former_member265047
Active Participant
0 Kudos
120

Hi,

You can check the below link also for the same issue....

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06320a0-5f59-2a10-069c-b0880e14...

Regards,

Naveen Veshala