Problem with table types
Hi all!
I'm using a a structure (created in se11) that contains a field that is a table types.
I use this structure in a Function Module as exportation parameter. I have no problem filling this parameter in the Function Module but I have some problems when i call this function module in other abap report.
How I can read the data stored in the "subtables" of the exported parameter??
I tryed with a "LOOP AT parameter-subtable" but there's the problem that the "subtable" has no headerline.
Someone can help me please?
thanks in advance!
R
Hi,
Say you have created the table type(TT) as 'ZTABLETYPE' then at the report where you call the FM with TT declare a table as
data : itab type ztabletype.
itab = parameter-subtable.
loop at itab.
endloop.
now you would have the values in itab. Hope this solves your problem.
Regards,
Bharathy.
Similar Messages
-
Dont work 'REUSE_ALV_FIELDCATALOG_MERGE' with table type
Hi Experts ;
My problem about 'REUSE_ALV_FIELDCATALOG_MERGE' .
I use intarnal table with Table Type ( with header line ). And 'REUSE_ALV_FIELDCATALOG_MERGE' is not working . Field catalog is employ. I dont use 'REUSE_ALV_FIELDCATALOG_MERGE' have any problem.'REUSE_ALV_FIELDCATALOG_MERGE' expects a flat structure.
Give the reference of the line type of the table type if you wish to have fieldcatalog as per that..
Even if you dont use 'REUSE_ALV_FIELDCATALOG_MERGE' you can create your own Fieldcatalog.. -
Hello,
Today suddenly our XI test server stopped working.
An investigation I found in TOC DB02 that Table space PSAPXITDB is full. I saw the other day was filled with an extreme.
I looked at a table filled in the table saw that the problematic table is SYS_LOB0000042210C00020 $ $
With table type LOBSEGMENT
What could be causing the problem? How do I continue to research the subject?
Thank you
EladHi Elad,
Go thru the below threads for some workaround about the tablespace issue...
xi full tablespace
Re: SAP<SID>DB TableSpace is filling up fast
Regards,
Pinangshuk. -
I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
<table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
I am using a style sheet for text. Here's the code for "h6" if that matters:
h6 {
font-family: Verdana, Geneva, Arial;
font-size: 14px;
font-weight: bold;
color: #660099;
Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
KevinHeader tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot. -
Problem with tables -- need help!
I am having problems with table formatting, when using
Preformatted text. The tables look fine in the WYSIWYG editor, but
have lots of extra space above and below the text when looking at
the output files.
I will attach the code from one of the HTML files from my
project, so you can see what I'm talking about.
Thanks.Well, if you're talking about the single-celled table with
the line:
<p class=Preformatted>[assembly:
Ace.AceAssembly]</p>
</pre>
... you can eliminate the <P> tags. that will give you
one line less. Otherwise, your remaining space is the result of the
<PRE> tag. It, like the <XMP> tag, gives it one line of
space beneath as well.
Your alternative beyond that would be to, when needed, wrap
up the script in Javascript. That line, for instance, wouldn't need
it. -
Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?
Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with. -
What could be the problem with table REGUH
Hi exprts
i developed a report . its wrking ok in developemt system
but in Quality system ,
the below query is taking more time.
in quality even i have taken slection criteria which is very less than devlopment selection.
please tell me the below query is performance wise not good or
is there any problem with table REGUH in quality system?
IF NOT ( t_bsak_aux[] IS INITIAL ).
SELECT laufd laufi xvorl zbukr lifnr rwbtr kunnr empfg"
vblnr ausfd rzawe
FROM reguh
INTO TABLE t_reguh
FOR ALL ENTRIES IN t_bsak_aux
WHERE laufd <> space
AND laufi <> space
AND zbukr = t_bsak_aux-bukrs
AND lifnr = t_bsak_aux-lifnr
AND vblnr = t_bsak_aux-augbl.
thanks in advance
regards
neeruHi,
Using SPACE against the keys (LAUFI, LAUFD - specifically LAUFD) will most likely return no results. LAUFD, being one of the keys and the date which the program is supposed to run (considering that this is settlement data - it has already run) - implies that this field will be populated. Putting " = SPACE" in your where clause is saying that you want to find records from the table where those fields are not populated. That is fine for LAUFI, considering it is the indicator for a proposal only. In my requirement, my client did not want to see proposals but only real payment runs - therefore, LAUFI = SPACE is correct.
The reason you are having poor performance while selecting form this table is because it is a cluster table like bseg. This thread explains a little bit of why cluster tables are a performance nightmare when trying to select - although it is about bseg, you will get the idea:
http://blogs.ittoolbox.com/sap/db2/archives/select-from-bsegrfblg-performance-problem-14247
I'm trying to find an alternative to get bank account information regarding payments - I will post a reply if I am lucky to find one!
Good luck -
Problem with mime type in web.xml file
Hi everybody,
I actually got a problem with mime types on Weblogic 6.0 under Linux.
I read the documentation so I added the next lines in the web.xml file in
the WEB-INF directory of my server :
<mime-mapping>
<extension>
doc
</extension>
<mime-type>
application/msword
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ppt
</extension>
<mime-type>
application/vnd.ms-powerpoint
</mime-type>
</mime-mapping>
Why can't I retrieve a .doc or .ppt files with an internet browser correctly
? I get only text/plain ...
Can someone help me ?
Regards,
Alexis BergerI am having the same problem with doc and xsl. I have added this
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
to my web.xml. I even restarted the server. I still see doc and xsl in binary.
Is there some other setting that needs to take place?
I am using WL6.1 with fixpack 1.
I can see the doc and excel files in the browser if I don't go through the weblogic
server. That just confirms it's not my browser.
Kumar Allamraju <[email protected]> wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It works fine for me in 6.1 SP1.
<br><br>
If the following doesn't work , can you
<br>try application/winword instead of application/msword?
<p>--
<br>Kumar
<p>Siming Mu wrote:
<blockquote TYPE=CITE>Hi,
<p>I setup in my web.xml a mime mapping as follows,
<p><mime-mapping>
<br><extension>doc</extension><mime-type>application/msword</mime-type>
<br></mime-mapping>
<p>When I specify a test.doc url, the doc file appears in my browser
as
binary data
<br>instead of download.
<p>Please reference change request 055002, which decribes this problem.
According
<br>to edocs, it has been fixed in wls6.1sp1.
<p>But I am seeing it fixed. Am I doing anything wrong? Thanks.
<p>Siming</blockquote>
</html> -
Hello SAP experts , im having a little problem with table MBEWH because the data i whant to extract isnt the correct one, i saw that this table stores all the prices for the materials and it groups them by year and by month but when i check to see what was the price for a specific material the price i had on that time periord inst the same as the one on the system, also i manage my material with baches and when i check to see if that batch was in that period of time it isnt so im really confused as to how the system saves the historical data on this table, thank you in advanced.
kind regardsread OSS note 193554 , it explains everything
-
Problem with Table control lines
Hi Friends,
This is the problem with table control lines:
I have screen with table control and I would like change the table control lines dynamicaly.
Exp:
In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
here is the code:
Initial values in gt_scr400 = 8
Initial values in tc_scr400 = 8
Now added one more recor into gt_scr400 , now gt_scr400 = 9.
LOOP AT gt_scr400
INTO wa_scr400
WITH CONTROL tc_scr400
CURSOR tc_scr400-current_line.
ENDLOOP.
I have used this logic :
DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
tc_scr300-lines = g_rec_300.
but its not modifying the lines in my table control.
How to change the TC lines based on ITAB total records.
Thanks,
Sridharthere is a field in TableViewName-xxx
don't remember the exact field name for (total no of records)
you can check it in debug. when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated. -
Problem with table paging [PDK for NET]
Hi All,
I have a problem with table paging in PDK for .NET (ver 2).
The Table has 14 visible rows.
The lead selection is set to "SINGLE"
When the user selects a row I can use
Table1.SelectedKeys(0) Mod Table1.VisibleRowCount
in order to get the info of the selected row.
If I will page using the "Prev/Next" page of the Table UI element it will also work.
However, when I press "Prev/Next" item and then select a row it chooses the wrong row.
(See picture: http://img509.imageshack.us/img509/3882/table5tq.jpg)
What can I do in order to solve the problem?
Thanks,
OmriHi Omri,
how are you doing ?
The SAPTable is similar to a DataGrid control and need to be bound to the datasource on every postback
a good idea is to keep the dataset available in the page or on the server ( so that you dont need to keep making expensive fetch operations
The selected row is affected by the recordset (dataset) and needs additional programming
A work around for the selected row issue is to save it in a server side hidden variable (or anything that will persist) and read and set the value in the page / next button handler
with respect,
amit -
Bex analyzer - internal error problem with table c_t_variable
HI All,
When ever I try to refresh a query in Bex-Analyzer ,Iam getting "internal error problem with table c_t_variable".
Please advise
Edited by: Aparna Duvvuri on Jan 13, 2010 10:53 AMHi Aparna,
try to open the query in RSRT and debug the query.the error is due to some customer exit variable so try to debug the code for the variable and rectify it.
Thanks,
Ashok -
Error "DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Hi Friends,
I got the following message when am trying to delete the setup tables.
" Error DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Am trying to delete the setup tables for application '11', but it gives me the above error. I have gone throug similar threads but it did not solve my issue.
Please can anyone provide a solution.
system detials:
R/3 release - 4.6c
PI - 2004_1_46c
SAP_BW - 30B
PI_BASIS - 2003_1_620
Any information will be appreciated
Thanks,
VBRHi Kishor,
Thanks for your reply.
I have gone through that SAP Note 456102 and it was not of much help for our issue because we are ahead of PI that is mentioned in the note.
Can you send your email id so that i can forward the error screenshots.
Regards,
VBR -
How do fix problem with iPages - type does not enter - ?
How do I fix this problem with Pages - type from keyboard does not enter ? If I need to re-install, How do I do that?
Hello DonAndNorma,
You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
OS X Mavericks: Install, update, and uninstall apps
http://support.apple.com/kb/PH14299
Cheers,
Allen -
Hi experts,
After doing the upgrade system from 4.7 to 6.0 we have problems with table Teven. Trying executing RPTIME00 when the instruction update (table teven) is executed the program stay updating and never finished
Does anybody know why that happens?
Thanks a lot,
Regards,
RebecaDid you update your database statistics after the ugprade?
Try to catch an SQL Trace for the statement using ST05.
Markus
Maybe you are looking for
-
I recently purchased an IPOD NANO 6th gen. I have a large library of music on my PC (NON MAC). How can I sync my music library from my PC to my IPOD NANO. I use Windows Media Player to hod my music files.
-
What are the units of "Width" and "Height" of a Shape?
What are the units of "Width" and "Height" properties of a Shape when programming? Something odd like points or twips or tweedles or nibbles? http://www.ransen.com Cad and Graphics software
-
Do you need IPhone 5 will be charged for the first 12 hours or No
-
Sharing Stateful JavaBean between different sessions
Software jboss4.0.5 jdk1.5_06 Problem I require to share Stateful JavaBean between all the sessions in JBoss and it is required to use this server in a Swing Client side rather than with Tomcat servlet so please provide me the way for the same Thanks
-
Application registered with shared services registry 11.1.2.1 - interesting
Here is an interesting situation. Our HFM application has 4 to 5 AD groups in shared services. All groups are ok except one group which keeps dropping out of shared services. Hence the users loggin in from that domain couldnt connect and get the mess