‎2005 Jan 10 12:59 PM
Hi Friends,
I am using call transaction for MM change. Its working fine in both ( foreground and background). but when i put it in background at that time it is raising exception ERROR_CNTL_CREATE which is not happening in foreground.
call transaction 'MM02' using bdcdata
mode 'N'.
update 'S'
messages into mestab.
i know in background SAPGui is not available thats why it is raising above exception. but how can i avoid it.
anybody have an idea then please let me know
Thanks in advance,
Parag
‎2005 Jan 10 1:28 PM
Hi Parag
you have to avoid that particular control which is throwing error.
Regards
Naresh
‎2005 Jan 10 1:30 PM
Use BAPI to avaoid such errors.
It is easier than batch-input and less tiresome.
This may help:
BAPI_MATERIAL_MAINTAINDATA_RT
-
if it helps please give points.
‎2005 Jul 15 4:56 AM
I am having the same problem with MM01 and MM02 when trying to do BDC for LONG TEXT.
I know it's because the object containter is not created in batch mode. But is there anyway to get around this?
‎2005 Jul 15 11:53 AM
Hello Charlie,
you can fill the Long Text by clicking on the longtext editor.(eg. for the sales-Longtext BDC_OKCODE= LTEX or TEAN).
Then you can fill the longtext without using the
control-element and your BI should work.
Greetings
Frank Brackmann
‎2005 Jul 15 5:33 PM
I am already using LTEX already, I tried TEAN, but it only allow me switch language, but still uses the same object control for text edit. All this are in MM01->additional data->basic data text
‎2005 Jul 19 9:14 AM
Hello Charlie,
if you use the graphical text editor you first have to change the editor to the alphanumeric text editor(OKCODE =XEDC). Then it should work fine.
Greeting
Frank Brackmann
‎2005 Aug 03 12:05 AM
Hi Frank,
I am having the same problem as Charlie. I believe I am set up to use the sapscript text editor. When I use MM02 online, or when I run my BDC to add the basic text in the foreground, the screen comes up in the sapscript editor. Even so, when I run the BDC in background, I am getting the ERROR_CNTL_CREATE dump. Any ideas for me?
Regards,
Diane
‎2005 Aug 03 5:56 AM
Hi Diane
I think you are using some front end control in your transaction. Which doesn't support batch input.
You can go through the OSS note 311440 for the details and possible solutions.
Best Regards
Naresh
‎2005 Aug 08 8:18 PM
Hi Naresh,
I don't believe I am using any front end controls. According to 311440, the transaction recorder does not record actions that cannot be performed in a BDC. All the actions I am performing were recorded using the transaction recorder. What was recorded is the same as how Frank described how it should be set up (in this thread), but it still does not work.
BR,
Diane
‎2005 Sep 02 7:20 PM
I end up solving thsi probme by using function module SAVE_TEXT.
Couldn't find any way around this.