Skip to Content
author's profile photo Former Member
Former Member

BDC for CV02n

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 03:12 PM

    This is a duplicate post.

    Please see note 368680.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09:24 AM

    try with CV02 instead of CV02N

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 09: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.