Control framework фатальная ошибка обращение к gui невозможно

Автор Сообщение

Заголовок сообщения: MIGO или MB1C через LSMW

СообщениеДобавлено: Сб, дек 16 2006, 16:40 

Начинающий
Начинающий



Зарегистрирован:
Сб, дек 16 2006, 16:27
Сообщения: 22
Откуда: Пермь

Проблема в следующем: пытаюсь пакетом загрузить остатки через MIGO.

Создал шаблончик в LSMW, в зрячем режиме — все получается, но если отправить выполнение в Background Mode — Ничего не выходит. Система ругается следующим:

Цитата:

Control Framework: фатальная ошибка, обращение к GUI невозможно !
№ сообщения DC006

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.

после чего появляется:

Цитата:

Возникла динамическая обшика RAISE_EXCEPTION.
A RAISE statement in the program «CL_GUI_CUSTOM_CONTAINER=======CP» raised the
exception
condition «CNTL_ERROR».

То есть как я понимаю, в фоновом режиме не находятся какие то GUI контролы. Как быть?

Транзакция mb1c в половине случаев успешно работает, но мне нужно как то указыать вид оценки, который эта транзакция спрашивает, но как то невнятно, и поэтому сделать шаблон с mb1c не получилось.

Встречался ли кто то с подобной ошибкой и как с ней бороться ?

Принять этот ответ

Вернуться к началу

Профиль  

Лучник Артем

Заголовок сообщения:

СообщениеДобавлено: Сб, дек 16 2006, 18:15 

Младший специалист
Младший специалист



Зарегистрирован:
Чт, апр 07 2005, 17:58
Сообщения: 70

А почему надо пакетом через MIGO?

Чем не подходит объект 0110 Движение материала?

Принять этот ответ

Вернуться к началу

Профиль  

Aptem59

Заголовок сообщения:

СообщениеДобавлено: Вс, дек 17 2006, 09:44 

Начинающий
Начинающий



Зарегистрирован:
Сб, дек 16 2006, 16:27
Сообщения: 22
Откуда: Пермь

Лучник Артем написал(а):

объект 0110 Движение материала?

Это я понимаю имеется в виду способ загрузки Standart Batch/Direct input…

1) Я им никогда не пользовался и поэтому не умею

2) А он пишет непосредственно в таблицы? а бух-документ он тоже создает?

А есть ли мануал именно на этот метод загрузки на любом языке?

Мне его показывали 1 раз, но хоть пристрелите не помню :oops:

Принять этот ответ

Вернуться к началу

Профиль  

Antonio

Заголовок сообщения:

СообщениеДобавлено: Пн, дек 18 2006, 13:20 



Зарегистрирован:
Вт, авг 17 2004, 13:31
Сообщения: 168
Пол: Мужской

Там мануал не нужен. Пропускаешь этап записи транзакции, все поля уже есть. Просто грузишь.

Транзакцию он вызывает mb1c, напрямую в таблицы ничего не пишет,а создает пакетник. И естественно создаются все последующие документы(бухгалтерские, контролинговые, бюджетные…)

Принять этот ответ

Вернуться к началу

Профиль  

Alex5.0

Заголовок сообщения: Re: MIGO или MB1C через LSMW

СообщениеДобавлено: Пн, дек 18 2006, 21:43 


Aptem59 написал(а):

Проблема в следующем: пытаюсь пакетом загрузить остатки через MIGO.
Создал шаблончик в LSMW, в зрячем режиме — все получается, но если отправить выполнение в Background Mode — Ничего не выходит. Система ругается следующим:

Цитата:

Control Framework: фатальная ошибка, обращение к GUI невозможно !
№ сообщения DC006

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.

после чего появляется:

Цитата:

Возникла динамическая обшика RAISE_EXCEPTION.
A RAISE statement in the program «CL_GUI_CUSTOM_CONTAINER=======CP» raised the
exception
condition «CNTL_ERROR».

То есть как я понимаю, в фоновом режиме не находятся какие то GUI контролы. Как быть?

Транзакция mb1c в половине случаев успешно работает, но мне нужно как то указыать вид оценки, который эта транзакция спрашивает, но как то невнятно, и поэтому сделать шаблон с mb1c не получилось.

Встречался ли кто то с подобной ошибкой и как с ней бороться ?

пакетный ввод с инджой транзакциями не работает!!!

Принять этот ответ

Вернуться к началу

Alldeadfish

Заголовок сообщения:

СообщениеДобавлено: Вт, дек 19 2006, 10:20 



Зарегистрирован:
Пт, фев 04 2005, 15:56
Сообщения: 1009
Откуда: UK
Пол: Мужской

Зачем сказал? Так интересно было читать советы :)

Принять этот ответ

Вернуться к началу

Профиль  

Alex5.0

Заголовок сообщения:

СообщениеДобавлено: Вт, дек 19 2006, 14:10 


в догонку нота 381630

Summary

Symptom

You cannot execute a batch input with the following transactions of materials management:

Purchasing

ME21N: Create Purchase Order

ME51N: Create Purchase Requisition

Service

ML81N: Service Entry Sheet

Inventory management

MIGO: Goods receipt Purchase order

Invoice verification

MIRO: Enter Invoice

MIR7: Park Invoice

MIRA: Enter Invoice

Other terms

CTNL_ERROR, BAPI, CATT, ME22N, ME52N

Reason and Prerequisites

The batch input and the control technology on which the Enjoy transactions of materials management are based are not compatible.

Solution

Use the BAPIs, which are listed in the following notes:

217437 (ME21N/ME51N: Batch input and CATT not possible)

381805 (ML81N: Batch input not possible)

304122 (MIGO: Batch input and CATT not supported)

381593 (MIRO/MIR7/MIRA: Batch input is not possible)

Header Data

Release Status: Released for Customer

Released on: 02.11.2005 12:25:16

Priority: Recommendations/additional info

Category: Consulting

Primary Component: MM Materials Management

Releases

Release Independant

Related Notes

638362 — FAQ: Data transfer in the service

504936 — Batch input compatibility of new transactions

481034 — FAQ: Data transfer (batch input) in purchasing

381805 — ML81N: Batch input is not possible

381593 — MIRO/MIR7/MIRA: Batch Input is not possible

311440 — Batch input and controls

304122 — MIGO: Batch input and CATT not supported

217437 — ME21N/ME51N: Batch input and CATT not possible

гы, САТТ тоже в гуе выше 6.20 отказывается транзакции и модули писать:)

Принять этот ответ

Вернуться к началу

Alex5.0

Заголовок сообщения:

СообщениеДобавлено: Вт, дек 19 2006, 14:11 


Alldeadfish написал:

Зачем сказал? Так интересно было читать советы :)

садист!:)))) :wink:

Принять этот ответ

Вернуться к началу

Старик

Заголовок сообщения:

СообщениеДобавлено: Вт, дек 19 2006, 18:05 



Зарегистрирован:
Сб, окт 16 2004, 11:27
Сообщения: 348
Откуда: Москау
Пол: Мужской

Самый железобетонно-надежный способ грузить остатки:

1. Создать заказ на поставку (особого вида), в котором прописать материалы, количество и цены. Заказ нужно создавать через BAPI «Создание заказа на поставку» — к черту капризные пакетники!!!

2. Когда такой заказ 100 раз проверили и перепроверили, загоняем его в МИГУ и делаем поступление материалов.

3. Проверяем еще 1000 раз остатки по оборотке в ММ и ФИ. При необходимости сторнируем, проводим снова и проверяем опять!

4. Наслаждаемся!

P.S. Обращаем внимание на то, что ЦЕНА * КОЛ-ВО в заказе не всегда дает стоимость остатков! Пример:

3 гвоздя стоят 1 руб.

1 гвоздь стоит 1 / 3 = 33 коп.

3 гвоздя * 33 коп = 99 коп <> 1 руб.!!!

Тут нужно использовать цену за несколько штук!!!

Метод проверен и перепроверен!

Как альтернативу, можно ввести через BAPI «Движение материала» без ссылки на заказ на поставку — просто грузить из файла. Но тут надо гарантировать, что файлик в порядке!


_________________
Тот, у кого хватит храбрости и терпения всю жизнь вглядываться во мрак, первым увидит в нём проблеск света

Принять этот ответ

Вернуться к началу

Профиль  

OlegDm

Заголовок сообщения:

СообщениеДобавлено: Ср, дек 20 2006, 08:13 

Гуру-эксперт
Гуру-эксперт



Зарегистрирован:
Вт, авг 24 2004, 07:19
Сообщения: 3952
Откуда: ECC 6.0, South Kazakhstan

Если речь идет о начальных остатках, то смысла создавать PO-шку нет.

Из собственного опыта: либо MB* транзакции, либо BAPI. (кстати и то и другое вроде бы можно и через LSMW протянуть)

Принять этот ответ

Вернуться к началу

Профиль Отправить email  

rosomann

Заголовок сообщения:

СообщениеДобавлено: Ср, дек 20 2006, 10:23 



Зарегистрирован:
Вт, окт 04 2005, 10:21
Сообщения: 972
Откуда: Киев
Пол: Мужской

Я использовал пакетный ввод. Причем одним махом загружал все в IM и в СУС. Все получалось.

Принять этот ответ

Вернуться к началу

Профиль  

Старик

Заголовок сообщения:

СообщениеДобавлено: Ср, дек 20 2006, 10:32 



Зарегистрирован:
Сб, окт 16 2004, 11:27
Сообщения: 348
Откуда: Москау
Пол: Мужской

rosomann написал:

Я использовал пакетный ввод. Причем одним махом загружал все в IM и в СУС. Все получалось.

Никто и не говорит, что это не способ! :)

Просто, пакетники — вещь капризная… Не люблю я их…


_________________
Тот, у кого хватит храбрости и терпения всю жизнь вглядываться во мрак, первым увидит в нём проблеск света

Принять этот ответ

Вернуться к началу

Профиль  

Aptem59

Заголовок сообщения:

СообщениеДобавлено: Ср, дек 20 2006, 15:20 

Начинающий
Начинающий



Зарегистрирован:
Сб, дек 16 2006, 16:27
Сообщения: 22
Откуда: Пермь

Хватит, всем спасибо, все загрузил.

mb1c через lsmw.

Проблему указывания вида оценки в Mb1c решил путем предварительного создания партий на соответствующие виды оценки (тоже шаблон), потом экспортировал табличку с партиями, проставлял соответствие, и потом грузил на предварительно созданные партии…

Принять этот ответ

Вернуться к началу

Профиль  

Diagnosis
When the Control Framework is started, the system checks whether theinstalled GUI supports frontend components such as controls. This checkfailed; the causes may be as follows:
1.) The program is running in the background
2.) A transaction was called using CALL TRANSACTION … STARTING INBACKGROUND TASK.

Procedure
Programs that run in the background cannot address controls on thefrontend. In this case, the application must either include a fallbackthat does not depend on the user interface, or the program ortransaction must detect for itself that is running in the backgroundand terminate itself.

Hi All,

Could you all please help me in identifying what could be the possible reason for the error

«ID:00 Type:E Number:001 FM BDL_READ_JOB_STATUS failed»   while trying to fetch a standard SAP report «FAGL_ACCOUNT_BALANCE».

We are able to fetch the other standard SAP reports. However ,facing problem with the aforementioned report.

We are using the SAP connector v6.1.1 and the SAP version is 7.2

Have attached the log file for  reference.

Thanks

Hi,

I am getting error ‘Control Framework: Fatal error — GUI cannot be reached’ while executing BDC session in background mode. But it’s working fine in foregroung mode. What would be the reason for getting error in back ground mode.

Kindly let me know the solution, if anyone knows….

Thanks,
Sam

Read these next…

  • Curated Snap! -- Otherworldly Jumps, CAI/Big Brother, Removable Batteries, Chromebook X

    Snap! — Otherworldly Jumps, CAI/Big Brother, Removable Batteries, Chromebook X

    Spiceworks Originals

    Your daily dose of tech news, in brief.

    Welcome to the Snap!

    Flashback: June 21, 1981: The last STRETCH Supercomputer is retired (Read more HERE.)

    Bonus Flashback: June 21, 2004: First private manned spaceflight (Read more HERE.)

    You n…

  • Curated Company logos in email signatures -- Embed, Link, or Evil?

    Company logos in email signatures — Embed, Link, or Evil?

    Collaboration

    I’m wondering what the current «best practice» is regarding company logos in email signatures. I did find this post from ten years ago, but what do you do nowadays? Both embedded and linked options have pluses and minuses.

  • Curated Buy out the MFP's or lease new ones?

    Buy out the MFP’s or lease new ones?

    Hardware

    It’s that glorious time where I get to listen to pitch after pitch for new copiers!! oh yea…  :(  Got me thinking, what about the buying them out and rolling with it for a while?  What has your experience been if you’ve tried this.Printers in question a…

  • Curated Spark! Pro series - 21st June 2023

    Spark! Pro series — 21st June 2023

    Spiceworks Originals

    Today in History: 2004 SpaceShipOne becomes the first privately funded spaceplane to achieve spaceflightA major turning point for private spaceflight occurred on June 21, 2004, when SpaceShipOne, the first nongovernmental crewed spacecraft, flew 62.5 mile…

  • Curated Why child domains are discouraged?

    Why child domains are discouraged?

    Windows

    Hello everybody,I never worked with child domains, it always has been a single domain for all users and devices.Currently I work for a school, and I was thinking of a child domain for the students.I already have all lab computers and their user accounts (…

Messsage Text for 006(DC)

Control Framework: Fatal error — GUI cannot be reached

What causes this issue?

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.

System Response

How to fix the issue?

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.

ABAP Code to add mesage to own reports

MESSAGE W006(DC). «warning message

MESSAGE E006(DC). «Error message

—> See here for more options

Contribute (Add Comments)

Use the comments section below to add any links, information or screen shots that you feel are relevant to this message. This could include issues you have found that cause the messages to appear incorrectly as well as any fixes you have found or relevant SAP OSS notes. You will then be able to find this information quickly, simply by searching on the message class DC and number 006

Return to Message Class DC

  • Control exe системная ошибка
  • Control dx11 exe ошибка
  • Control circuit protect trip ошибка
  • Contra 009 final ошибка technical difficulties
  • Contra 009 final выдает ошибку