2009 Jun 11 5:43 AM
I'm developing a program that uses a whole load of alv grids on different tabs. When I process one particularl okcode, I get a dump: <b>Exception condition "INVALID PARAM VERB: TEXTSTREAM" raised.</b><br>
<br>
<PRE>Trigger Location of Runtime Error
Program SAPLOLEA
Include LOLEAU10
Row 224
Module type (FUNCTION)
Module Name AC_FLUSH_CALL_INTERNAL</pre><br>
As far as I can tell, this is happening at the end of the PAI. After all my code has run.
The VERBS table contains<br>
<pre>1 1 TextStream G
2 3 TextStream G
3 4 CreateObject C
4 7 SetDataFromUrl C
5 7 GetDataAsFormat C
6 14 AssignProperty2 C
7 18 FreeObject C
8 19 FreeObject C</pre><br>
The PARAMS table contains<br>
<pre>1 1 12 _RESULT 2
2 2 12 _RESULT 2
3 3 12 #1 5
4 3 3 #2 6
5 3 12 _RESULT 7
6 4 12 #1 8
7 4 12 #2 9
8 4 12 #3 10
9 5 12 #1 11
10 5 12 #2 12
11 5 12 _RESULT 13
12 6 9 #1 13
13 6 12 #2 15
14 6 9 #3 16
15 6 12 #4 17
16 7 9 #1 13
17 8 9 #1 7</pre>
<br>The VARS table contains<br>
<pre>1 000000 000 O 11
2 _RESULT 000000 000
3 000000 000 O 11
4 000000 000 O 2-
5 000000 000 {799104C5-04C5-11D0-AC56-080009D23306}
6 000000 000 1033
7 _RESULT 000000 000 O 1-
8 000000 000 APPLICATION
9 000000 000 X-R3TABLE
10 000000 000 SAPR3://DE56416140B66CF1B07A0015177DB7B9
11 000000 000 APPLICATION
12 000000 000 X-R3TABLE
13 _RESULT 000000 000 O 53
14 000000 000 O 8
15 000000 000 r3TableAutoObj
16 000000 000 19
17 000000 000 ToolBarButtonsTable2
18 000000 000 O 2-
19 000000 000 O 2-</pre><br><br>
Note, I'm not doing any explicit OLE stuff. There's a couple of other threads I've seen with this issue, but no resolution. I'm on patch 13 of 7.10 sapgui.
<br><br>
thanks
<br><br>
matt
<br><br>
Edited by: Matt on Jun 11, 2009 4:51 PM
2009 Jun 11 7:36 AM
I'm developing a program that uses a whole load of alv grids on different tabs. When I process one particularl okcode, I get a dump: <b>Exception condition "INVALID PARAM VERB: TEXTSTREAM" raised.</b><br>
<br>
<PRE>Trigger Location of Runtime Error
Program SAPLOLEA
Include LOLEAU10
Row 224
Module type (FUNCTION)
Module Name AC_FLUSH_CALL_INTERNAL</pre><br>
As far as I can tell, this is happening at the end of the PAI. After all my code has run.
The VERBS table contains<br>
<pre>1 1 TextStream G
2 3 TextStream G
3 4 CreateObject C
4 7 SetDataFromUrl C
5 7 GetDataAsFormat C
6 14 AssignProperty2 C
7 18 FreeObject C
8 19 FreeObject C</pre><br>
The PARAMS table contains<br>
<pre>1 1 12 _RESULT 2
2 2 12 _RESULT 2
3 3 12 #1 5
4 3 3 #2 6
5 3 12 _RESULT 7
6 4 12 #1 8
7 4 12 #2 9
8 4 12 #3 10
9 5 12 #1 11
10 5 12 #2 12
11 5 12 _RESULT 13
12 6 9 #1 13
13 6 12 #2 15
14 6 9 #3 16
15 6 12 #4 17
16 7 9 #1 13
17 8 9 #1 7</pre>
<br>The VARS table contains<br>
<pre>1 000000 000 O 11
2 _RESULT 000000 000
3 000000 000 O 11
4 000000 000 O 2-
5 000000 000 {799104C5-04C5-11D0-AC56-080009D23306}
6 000000 000 1033
7 _RESULT 000000 000 O 1-
8 000000 000 APPLICATION
9 000000 000 X-R3TABLE
10 000000 000 SAPR3://DE56416140B66CF1B07A0015177DB7B9
11 000000 000 APPLICATION
12 000000 000 X-R3TABLE
13 _RESULT 000000 000 O 53
14 000000 000 O 8
15 000000 000 r3TableAutoObj
16 000000 000 19
17 000000 000 ToolBarButtonsTable2
18 000000 000 O 2-
19 000000 000 O 2-</pre><br><br>
Note, I'm not doing any explicit OLE stuff. There's a couple of other threads I've seen with this issue, but no resolution. I'm on patch 13 of 7.10 sapgui.
<br><br>
thanks
<br><br>
matt
<br><br>
Edited by: Matt on Jun 11, 2009 4:51 PM
2009 Jun 11 7:36 AM
2009 Jun 11 7:37 AM
I've already search for notes. Nothing. The only hits via google are on this forum, and they've not be resolved either!
But you've given me a hint, that my alv grid controls and text edit controls might be conflicting. Maybe I've got some names mixed up.
2009 Jun 11 7:40 AM
>
> u might have to search for a note on this..
>
> SAP is using CL_GUI_TEXTEDIT class and using GET_TEXT_AS_STREAM method to pull text from STXH table...
I guess even the reply is from there itself.
2009 Jun 11 7:42 AM
Very well spotted. Plagiarism isn't tolerated - even when it turns out to have been helpful. He should've posted the link.
2009 Jun 12 6:39 AM
It was very simple. I just needed a cl_gui_cfw=>flush( ) call after checking whether a textedit control contents had changed. It seems it was caused by the non-flushed commands to the textedit control getting sent to, in this case, a grid control, which naturally, didn't know what to do with it.
matt
2015 Oct 07 7:41 AM
Hi,
You get any solution for this issue.i am also facing same.
2015 Oct 07 8:52 AM
I'm glad you searched, but with a little more effort you'd have found the solution without resurrecting a six year old thread. Try reading to the end...
Also - don't answer old questions. If the solution wasn't posted here, I certainly wouldn't recall what the solution was after six years....
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |