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

CV02n - batch input fails

Hi,

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

Please let me know if any OSS is available to correct the issue.

It gives me error as follows:

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

2 Answers

  • Posted on Jan 25, 2008 at 04:01 AM

    Hi,

    It is not suggested to call EnjoySAP transactions in BDC / LSMW Recordings. You can either use CV01/CV02 or use following LSMW object for creation:

    Object               0190   Doc. purch. info rec
    Method               0000                       
    Program name         RCVBI010                   
    Program type         B   Batch input            
    

    Hope this helps.

    Regds, Murugesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      thank for the input.

      Basically I am looking to change the file path of an existing document using CV02n.

      I am trying to use BAPI - BAPI_DOCUMENT_CHANGE2',

      but it is appending a new file for the change document.

      can someone help with the sample code?

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2014 at 05:21 PM

    Hello Krishnan,
    the answer will be to late for you but I had the same issue.

    In our case ALV caused the problem during XD02 on a customer screen.

    We had 2 solutions:
    1. we don't run BTCI in background, then the ALV elementts can be processed

    or

    2. if the program is in background we don't create the ALV-code in the dynpro

    maybe the information is usefull.

    best regards

    Bernhard

    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.