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: 

BAPI_CUSTOMERQUOTATION_CHANGE CNTL_ERROR with System User

former_member220028
Active Contributor
0 Kudos

Hello,

we want to change the configuration of the quotation.

In Dialog all is fine.

in Background all is fine

but when calling with an RFC-User that is of kind "system-user" oder "communication-user" we get a Short Dump saying Exception CNTL_ERROR raised. With a Dialog User all works fine.

Did any experience the same issue? Is this BAPI not designed to be called fia RFC? Found nothing in SAP-Notes.

Regards

Stefan

1 REPLY 1

former_member220028
Active Contributor
0 Kudos

Further Informations: the Problem is with an inner Sub-Routine trying to save the conditions and calling a Screen having a docking container. the creation of the container raising the exception CNTL_ERROR because of the variable H_CONTROL being initial.

i think the dialog User can somehow handle the screen call and the system user cannot. Sounds like a bug for me because this fm can be called in background and RFC too.

did i oversee soemthing?

Regards

Stefan