01-30-2008 3:03 PM
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.
01-30-2008 3:12 PM
01-30-2008 3:12 PM
01-31-2008 9:38 AM
it is indeed a duplicate post.
I was directed by the moderator to post it data transfers forum rather than ABAP general.
thanks
01-31-2008 9:24 AM
01-31-2008 9:37 AM
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.