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: 

BDC for CV02n

Former Member
0 Kudos

Hi,

I am unable to run t-code CV02n in background for batch input purposes using LSMW.

Can we do a BDC for CV02n and run it backgroung mode? Is it possible .. Since it is a enjoy transaction.

I have also explored a couple of BAPI's, which does not suite my requirement.

It gives me error as follows when I run it using session method:

Control Framework: Fatal error - GUI cannot be reached

Message no. DC 006

Diagnosis

When the Control Framework is started, the system checks whether the installed GUI supports frontend components such as controls. This check failed; the causes may be as follows:

1.) The program is running in the background

2.) A transaction was called using CALL TRANSACTION ... STARTING IN BACKGROUND TASK.

Procedure

Programs that run in the background cannot address controls on the frontend. In this case, the application must either include a fallback that does not depend on the user interface, or the program or transaction must detect for itself that is running in the background and terminate itself.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This is a duplicate post.

Please see note 368680.

Rob

4 REPLIES 4

Former Member
0 Kudos

This is a duplicate post.

Please see note 368680.

Rob

0 Kudos

it is indeed a duplicate post.

I was directed by the moderator to post it data transfers forum rather than ABAP general.

thanks

Former Member
0 Kudos

try with CV02 instead of CV02N

Former Member
0 Kudos

BDC is not possible with Enjoy Transansactions.

Transaction codes ending with 'N' are Enjoy transactions.

CV02N is a Enjoy transaction. Hence use CV02 for the recording through SHDB Transaction.

Reward if useful.