Row strokes in cell type tables
The problem is the following:
when I select the whole table and go to strokes and fills to put a stroke at the bottom of ALL rows, I select the bottom rule of the "matrix" in the center of the window and put 0.3 points. What that does is put a stroke at the bottom of the whole table, i.e. just the last row, and the other rows are unaffected.
How do I do this in one step for the whole table?
Oh yes, the proxy changes, didn't really notice that!
Valuable info!
Thank you.
Is this how I should call the "matrix" (couldn't find another word) from now on, proxy?
Is this official Adobe lingo?
Similar Messages
-
Number of rows inside a cell in table
Hie all,
I have a requirement in that I have to create the number of rows inside the cell of table. I did it using the subforms as a body page of a row.
but facing problems when you have number of rows such as data truncation and overlapping of rows..
Please help.Hi,
You can also create table inside the cell of the column by following steps:
1.Select the Cell of the Column in table.
2.Go to Table -->Insert-->and choose as per your requirement(You can adjust the row ans column as per your requirement).
3. Go to Pallette-->Border and hide the border if not required.
This is will not create problem of overlapping or truncation.
Regards,
Shweta -
Tables: Controlling whether row strokes or column strokes appear on top
I was hoping I could use Table Options > Table Setup: Stroke Drawing Order to globally affect whether row strokes or column strokes appear on top of one another as well as how the gap of double lines connect. But the results are not meeting my expectations and am trying to determine if my application is buggy or my expectations are wrong.
The only thing this feature seems to affect is how row and column strokes interact with a table border. Is this indeed the intended purpose?
The only thing that does have an effect is that the most recently-edited stroke is the one that is brought forward. Is this your experience?
It also appears that the only way to force the gaps within double lines to connect is to make sure the row strokes and column strokes have the same thickness, color and tint. Is this correct?
Any insight would be greatly appreciated!Your assessment should be mitigated by how table work in other programs.
You can't do any of this in the first place in Excel. Just getting any
stroking out of the ordinary is a tedious task of avoiding what you don't
want to happen. Forget about controlling which stroke shows over what other
stroke. And have you tried working in tables in QuarkXPress? Aaaargh!!
Neither of those programs are any where near as intuitive as InDesign's
tables. Neither has the control. You can get (almost?) anything you want in
ID, that cannot be said for Excel and Quark.
I really think your only problem here is not assimilating the finer nuance
of how Table Options and Cell Options and Table Styles and Cell Styles
interact. Am I correct in the impression that you want the Table Options
Stroke Drawing Order to effect strokes that were not even formatted using
the Table Options? If true, that hardly sounds reasonable, or even a
preferable behaviour for InDesign to implement. -
Changing the background color of the row of the selected cell in table view
How can I change the background color of the table row when user clicks on table cell in table view?
Edited by: a_brar on May 5, 2012 11:12 PMYou could apply the following css style (by defining a custom stylsheet with the following lines and loading it into your app).
The last color sets the background color of the selected row while the table-view has focus (in this case to orange).
.table-view:focused .table-row-cell:filled:focused:selected {
-fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, orange;
}There are quite a lot of subtleties in the css styling for the tableview (e.g. different colors for the selected row when the control has focus vs when it doesn't or when the user hovers over a selected row in an unfocussed tableview), which you may want to cater for when chaning the background color of the selected row in a table view. There is also alternate styling for when the tableview is in row selection vs cell selection mode. So you may want to look at customizing further based on the css styles in caspian.css in sdk/rt/lib/jfxrt.jar if you can understand the complex css there. -
How to get current Cell's Row & Col in a Dynamic Table??
Hi all,
I would to know if is possible, when I pass with a mouse over a specific cell's table (the table is created dynamically), to get the currents Row & Column.
My target is to set a tooltip for any cell of that table that says to user the label of Row & Column.
Can anyone help me please???
Thanks a lot.
Gianluca BarileScuse me Armin,
I don't find the method (in Java code) for creating a Column's calculated attribute.
My Node and My Table are not visible in Context tabstrip, because I'd created them into wdDoModify() method.
My Node has (3 + N) attributes (columns) and it's binded to a Table.
I post you my code so I wish you explain me how I do Insert the lines code. Sorry but I don't had understanded the phases. Can you Help me please?? Thanks a lot.
if (firstTime) {
//Node
IWDNodeInfo nodeinfo = wdContext.getNodeInfo();
IWDNodeInfo grigliaComparativaNode = nodeinfo.addChild("NODE",null,true,true,true,false,false,true,null,null,null);
//Aattributes
IWDAttributeInfo nominativo = grigliaComparativaNode.addAttribute("Name","com.sap.dictionary.string");
IWDAttributeInfo periodoDa = grigliaComparativaNode.addAttribute("From","com.sap.dictionary.string");
IWDAttributeInfo periodoA = grigliaComparativaNode.addAttribute("To","com.sap.dictionary.string");
IWDAttributeInfo[] voti = new IWDAttributeInfo[MAX_ELEMENTS];
for (int i = 0; i < wdContext.nodeElements().size(); i++)
voti<i> = grigliaComparativaNode.addAttribute("V"+i,"com.sap.dictionary.string");
//Table
IWDTable tab=(IWDTable)view.createElement(IWDTable.class,"Dyntable");
IWDAttributeInfo attrib1 = grigliaComparativaNode.getAttribute("Name");
IWDAttributeInfo attrib2 = grigliaComparativaNode.getAttribute("From");
IWDAttributeInfo attrib3 = grigliaComparativaNode.getAttribute("To");
for (int i = 0; i < wdContext.nodeElements().size(); i++)
voti<i> = grigliaComparativaNode.getAttribute("V"+i);
//Binding Node -> Table
tab.bindDataSource(grigliaComparativaNode);
tab.setReadOnly(true);
tab.setDesign(WDTableDesign.ALTERNATING);
//Tables Columns
IWDTableColumn tabColumn1 = (IWDTableColumn)view.createElement(IWDTableColumn.class,"Name");
IWDTableColumn tabColumn2 = (IWDTableColumn)view.createElement(IWDTableColumn.class,"From");
IWDTableColumn tabColumn3 = (IWDTableColumn)view.createElement(IWDTableColumn.class,"To");
IWDTableColumn[] votiCol = new IWDTableColumn[MAX_ELEMENTS];
for (int i = 0; i < wdContext.nodeElements().size(); i++)
votiCol<i> = (IWDTableColumn)view.createElement(IWDTableColumn.class,"V"+i);
//Captions
IWDCaption nameCap=(IWDCaption)view.createElement(IWDCaption.class,"Name Caption");
nameCap.setText("NAME");
tabColumn1.setHeader((IWDCaption)nameCap);
IWDCaption daCap=(IWDCaption)view.createElement(IWDCaption.class,"From Caption");
daCap.setText("FROM");
tabColumn2.setHeader((IWDCaption)daCap);
IWDCaption aCap=(IWDCaption)view.createElement(IWDCaption.class,"To Caption");
aCap.setText("TO");
tabColumn3.setHeader((IWDCaption)aCap);
IWDCaption[] votiCap = new IWDCaption[MAX_ELEMENTS];
for (int i = 0; i < wdContext.nodeElements().size(); i++){
votiCap<i> = (IWDCaption)view.createElement(IWDCaption.class,"V_C"+i);
String s = wdContext.nodeElements().getElementAt(i).getAttributeAsText("Name");
votiCap<i>.setText(s);
votiCol<i>.setHeader((IWDCaption)votiCap<i>);
//Cells
IWDInputField nameText=(IWDInputField)view.createElement(IWDInputField.class,"Name");
nameText.bindValue(attrib1);
tabColumn1.setTableCellEditor((IWDTableCellEditor)nameText);
IWDInputField daText=(IWDInputField)view.createElement(IWDInputField.class,"From");
daText.bindValue(attrib2);
tabColumn2.setTableCellEditor((IWDTableCellEditor)daText);
IWDInputField aText=(IWDInputField)view.createElement(IWDInputField.class,"To");
aText.bindValue(attrib3);
tabColumn3.setTableCellEditor((IWDTableCellEditor)aText);
IWDInputField[] votiField = new IWDInputField[MAX_ELEMENTS];
for (int i = 0; i < wdContext.nodeElements().size(); i++){
votiField<i> =(IWDInputField)view.createElement(IWDInputField.class,"V_F"+i);
votiField<i>.bindValue(voti<i>);
votiCol<i>.setTableCellEditor((IWDTableCellEditor)votiField<i>);
//Insert columns into table
tab.addColumn(tabColumn1);
tab.addColumn(tabColumn2);
tab.addColumn(tabColumn3);
for (int i = 0; i < wdContext.nodeElements().size(); i++){
tab.addColumn(votiCol<i>);
tab.createLayoutData(IWDRowHeadData.class); -
Hey guys,
Could do with some assistance! I would like to create a document that allows me to enter a code in the first cell and then populate e row from the information contained in a table on a second page. Is it possible to do this with Numbers?Hi John,
Sorry for the delay.
A VLOOKUP table is a rectangular array of cells, which may be a separate Table (preferred) or a block of cells on a larger Table. The column containing the search-for values (the codes, in your case) must be the leftmost column of the lookup table.
columns-range is the range of columns making up the lookup table. The range starts with the column containing the search-for values, and ends with the last column to the right containing data to be searched.
return-column is the column of the lookup table from which the data is to be returned. It is specified by a number. 1 is the search-for column, 2 the next column to the right, etc.
close-match determines whether the formula will accept a close match to the search term, or will accept only an exact match. A 'close match' is defined as 'the largest value less than or equal to the search-for value.'
For text values, 'less than' is read as 'alphabetically before' the search value.
Here's a small sample table set showing an example:
In practice, the data table (top) would be on a separate Sheet from the smaller Search table, and that sheet's name would be included in the cell range reference shown in the formula (unless the Data table's name, "Data" was used only for this table within the document).
There's a single formula, entered in the selected cell (B2) of the Search table, then filled right and down to all cells below and to the right of B2:
B2: =IFERROR(VLOOKUP($A2,Data :: $A:$F,COLUMN(),FALSE)," - ")
The FALSE value for close-match means only an exact match will be accepted. If no exact match is found, as in row 4 of the search table, VLOOKUP will return an error. The error is trapped by IFERROR, and the text string shown is inserted in the cell. Note that VLOOKUP is not case sensitive.
The COLUMN() function returns the number of the column containing the formula, and provides an automatic means of incrementing the return column as the formula is filled right.
Can't supply any details on how to enter a formula in Numbers for iOS, as I've not done that on an iOS device.
Regards,
Barry -
A type table as a row in a table
The question is simple. Can I use a type table into a Z table ?? Any way to do this ??
Thanks in advance.hi maraia,
Structures
A structure is a sequence of any other data types from the ABAP Dictionary, that is, data elements, structures, table types, or database tables. When you create a structure in the ABAP Dictionary, each component must have a name and a data type.
In an ABAP program, you can use the TYPEaddition to refer directly to a structure.
If you define a local data type in a program by referring to a structure as follows:
TYPES dtype TYPE structure.
the construction blueprint of the structure is used to create a local structure dtype in the program. The predefined Dictionary data types of the domains used by the data elements in the structure are converted into the corresponding ABAP types. The semantic attributes of the data elements are used for the corresponding components of the structure in the program. The components of the local structure dtype have the same names as those of the structure in the ABAP Dictionary.
To ensure compatibility with previous releases, it is still possible to use the LIKE addition in an ABAP program to refer to a structure in the ABAP Dictionary (except in classes).
Suppose the structure STRUCT is defined as follows in the ABAP Dictionary:
Field name
Type name
Short Description
COL1
CHAR01
Character field with length 1
COL2
CHAR08
Character field with length 8
COL3
CHAR10
Character field with length 10
The types CHAR01 to CHAR10 are data elements with corresponding domains. We can refer to this structure in ABAP:
TYPES struct_type TYPE struct.
DATA wa TYPE struct_type.
wa-col1 = '1'.
wa-col2 = '12345678'.
wa-col3 = '1234567890'.
This program creates a local structure in the program - struct_type - and a corresponding data object wa. We can address the components using the component names from the original structure.
Table types
Table types are construction blueprints for internal tables that are stored in the ABAP Dictionary. When you create a table type in the ABAP Dictionary, you specify the line type, access type, and key. The line type can be any data type from the ABAP Dictionary, that is, a data element, a structure, a table type, or the type of a database table. You can also enter a predefined Dictionary type directly as the line type, in the same way that you can with a domain.
In an ABAP program, you can use the TYPEaddition to refer directly to a table type.
If you define a local data type in a program by referring to a table type as follows:
TYPES dtype TYPE table.
the construction blueprint of the table type is used to create a local internal table dtype in the program. The predefined Dictionary data types of the domains used by the data elements in the structure are converted into the corresponding ABAP types. The semantic attributes of the data elements are used for the corresponding components of the internal table in the program.
Suppose the table type STRUCT_TABLE is defined in the Dictionary with the line type STRUCT from the previous example. We can refer to this in ABAP:
TYPES table_type TYPE struct_table.
DATA: table_wa TYPE table_type,
line_wa LIKE LINE OF table_wa.
LOOP AT table_wa INTO line_wa.
WRITE: line_wa-col1, line_wa-col1, line_wa-col1.
ENDLOOP.
This program defines an internal table type table_type . From it, we define data objects table_wa and, consequently, line_wa. line_wa corresponds to the line type of the table type in the Dictionary, and is therefore compatible with the structure STRUCT
Type Groups
Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPEaddition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group pool is always:
TYPE-POOL pool.
After that, you define data types using the statement TYPES. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore: pool_
In an ABAP program, you must declare a type group as follows before you can use it:
TYPE-POOLS pool.
if you want complete info just click
http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm
thanks
karthik
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 15, 2008 3:09 PM -
Cell Binding/Table View Iterator
Hi Friends,
I am getting error while editing the particular cell of column table view. when I enter the changes, they are not updating in the cell.I used the following code.
method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'RELDATE'. <def>-EDIT = 'X'.
method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_ROW_START .
m_row_ref ?= p_row_data_ref.
endmethod.
method
IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START .
CASE p_column_key.
WHEN 'RELDATE'.
IF p_edit_mode IS NOT INITIAL.
DATA: Rdate TYPE STRING.
Rdate = m_row_ref->RELDATE.
p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
id = p_cell_id
value = Rdate
type = 'DATE'
VALUE = PCELL_BINDING
showHelp = 'TRUE'
encode = 'TRUE').
I am bit confused abt MVC.Please mail me the exact code changes to be done in MVC-Class controller.
Regards
CSM ReddyPls check the code, & mail me back in case of any errors.
method DO_HANDLE_EVENT .
DATA: itabtype type standard table of stdview1.
DATA: tv TYPE REF TO cl_htmlb_tableview.
tv ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'tableView'
id = 'stdview1' ).
IF tv IS NOT INITIAL.
DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
tv_data = tv->data.
IF tv_data->prevselectedrowindex IS NOT INITIAL.
FIELD-SYMBOLS: <row> like LINE OF ITABTYPE .
READ TABLE ITABTYPE INDEX tv_data->prevselectedrowindex
ASSIGNING <row>.
DATA value TYPE string.
value = tv_data->get_cell_id( row_index =
tv_data->prevselectedrowindex
column_index = '6' ).
DATA: inputfield TYPE REF TO cl_htmlb_inputfield.
inputfield ?= cl_htmlb_manager=>get_data(
request = request
name = 'DESCRIPTION'
id = value ).
<row>-DESCRIPTION = inputfield->value.
ENDIF.
ENDIF.
Regards
CSM Reddy -
Why do i get 2 curves and not just 1 when i create a diagram from a row of data in a table ?
Why do I get 2 curves and not just i when I create a diagram from a row af data in a table ?
Erik,
Thank you for giving me the points. Generally you wait to award points until your problem is solved. It is totally your at your descretion.
OK.
This is still not clear. To post a screenshot get the "stuff" you want to show in view on your screen, then type the key combination <Command>+<Shift>+3. The cursor will change to a crosshair. Click and hold on the top-left corner, then drag to enclose what you want to show (to the bottom-right corner), then release. The screenshot will appear on your desktop and will be named something like "".
Now click the camera icon in the tool bar for this forum:
, click the text box to allow you to navigate to, and select your screenshot.
Here is what you sent me:
The graph does not seem to be associated with the table of data you are showing. Generally when you highlight a graph the corresponding table will highlight and show the source of each of the series in the graph (dark and light blue).
This is what I would expect to see when highlighting a graph:
Right now I think there is ANOTHER table arround that is the source for the graph and the table you show is "just another table". You can move your data into the table the graph refers to by copy and paste, or simply typing the values. You can change how many series there are by grabbing the little circle at the bottom right of the highlighted cells (when you have the graph highlighted) and dragging as shown:
The Numbers Users' Guide is a great resource you should utilize and can be found here:
http://support.apple.com/manuals#macosandsoftware
The chapter on graphing (or charting) is 7 and starts on page 134. -
Hey guys and girls,
Is anyone having intermittent trouble with the Row Strokes in Front feature.
It seem me staff are telling me It's usually on complex tables (Table with headers, Merged cells etc)
They are telling me that if they change stroke colour to something else and then back again they come good.
Is this a known bug in ID5.5?
ThanksYes that's what I want.
Everything is on Best Join which we then turn to Draw straokes on front
Yeah the strokes line is selected in the little window.
The preview tick box does nothing -
To Use Cursor or TYPE table Index by PLS_integer
Hi All,
Let's see if I have table with no. of records 19,26,20,000.
If I want to loop through all the records which will be a optimized way To Use Cursor or TYPE table Index by PLS_integer.
Please guide.
Thanks.What is it you want to do to/with the rows you're looping through?
Ideally you want to avoid looping, as that's row by row (aka slow by slow) processing and it's expensive time-wise.
If you're doing DML (insert/update/delete) then you're best off doing it in one sql statement, rather than looping. -
How to get selected/focused cell from table, and action on clicked
Hello Web Dynpro Community!
i have a view with a table, (id "Table_0");
table is 3x3 size, as celleditors i used inputfields; (standard binding to context with string atributes)
below table i have textarea.
when i select any cell in table i want to add that cell coords to textarea (col and row)
i know that i should use onLeadSelect action, but i dont know exacly how. or to be precise.. how to access to ID and row variables in that action.
the other problem is.. that onLeadSelect seems to work only when i change lead not the cell in same row.. so prabobly there is better way to do that..
any ideas?
Looking to hear from You.
EDIT:
Now i have following problem:
i have a table 3x3 with one column as dropdownbykey box and 2 as TableSingleMarkableCell (and inputFields As editors).
it works as i wanted:
so when i click on one of those input cells, insert vale AND click enter then the action onEnter( for inputfield) is fired... i can get the coords of that cell..
problem is.. that i want to get the coords before i click enter.. just when i click in cell.
i tried to use onAction event for column.. but it doesnt work for TableSingleMArkableCells (but it works for ddk column correctly).
so there is any way to do that?
ie:
below table i have inputfield (called value).
when i click on cell (and DO NOT press enter) i want to see the cell value in inputfield value.
future (and target need) is that i need to show some additional text for specific Cell. (i have an Object with 2 strings attributes, one i want to show in cell, and one in inputfield when cell is clicked).
M.
Edited by: Michal Rowinski on Jan 16, 2008 9:51 AMYou can use cell variant for your requirement . Go through the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961
Regards,
Nethaji -
One row as editable and other row as non-editable in table control
Hi Experts,
Is this possible to make one row as editable and another row is non editable in table control?
My Requirement is
1st row non editable field
Customer code, description,amount will come from the previous screen this will be non editable for user.
2nd row editable
User has to enter the amount in 2nd row here the customer code description will be empty.
If 4 customer are there
1,3,5,7 should be non editable and 2,4,6,8 should be editable..
Pls help me in this issue..
Thanks in Advance!hI
This is a simple Module POOL program with only Table control and nothing else
" This is Tested to Enable one row and disabling the next row
in TOP Include
controls : tc type tableview using screen 100.
DATA : OK TYPE SY-UCOMM.
DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
in PBO
PROCESS BEFORE OUTPUT.
MODULE status_0100.
LOOP AT itab WITH CONTROL tc.
MODULE TC_MOD.
ENDLOOP.
in PAI
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT itab.
ENDLOOP.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'TEST'.
SET TITLEBAR 'TEST'.
DESCRIBE TABLE itab LINES tc-lines.
IF tc-lines = 0.
tc-lines = 20.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
MODULE tc_mod OUTPUT.
DATA : mod TYPE i.
LOOP AT SCREEN.
mod = tc-CURRENT_LINE MOD 2 .
IF mod = 1.
IF screen-name = 'SPFLI-CARRID'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
ENDMODULE. " TC_MOD OUTPUT
Edited by: Ramchander Krishnamraju on Jan 25, 2011 7:17 AM -
Unable to merge cells in Table(WAD)
HI Gurus,
I am working on BI7.0,
I am trying to create Web Templates to display reports in portal for that
I have selected Table (rows and coloms), When I try to merge first two cells
(to write descritpion of query) it is not allowing me to merge.
Can anybody suggest me how to merge two cells in table.
Thanks in advance.
Maruthi
Edited by: maruthi k on Dec 15, 2008 2:04 PMIf you're talking simply about merging the cells in an HTML table, then you use the COLSPAN or ROWSPAN options in HTML.
Check out the following
<html>
<body>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td>
Heading 1</td>
<td>
Heading 2</td>
<td>
Heading 3</td>
</tr>
<tr>
<td colspan="2">
Text covering 2 cells</td>
<td>
Last cell</td>
</tr>
<tr>
<td rowspan="2">
Text covering 2 cells across 2 rows</td>
<td>
Text in cell 2 row 2</td>
<td>
Text in cell 3 row 2</td>
</tr>
<tr>
<td>
Text in cell 2 row 3</td>
<td>
Text in cell 3 row 3</td>
</tr>
</table>
</body>
</html>
Take the above code and put it in a simple HTML file and run that file in your browser, you should then be able to see how COLSPAN and ROWSPAN work.
COLSPAN=2 means that the cell spans 2 columns. Similary, COLSPAN=3 would then span 3 columns.
Remember though that when you set COLSPAN=2, you will need 1 less TD in that row, otherwise you end up with an extra cell in that row which makes your table look all messy.
Now, in your template, get into the XHTML view, find the table, and set the COLSPAN / ROWSPAN accordingly.
Hope this helps.
Cheers,
Andrew -
Runtime error when inserting rows in hrp1018 and hrt1018 tables
Hi All,
I have a requirement to insert row in hrp1018 and hrt1018 tables.These tables are interlinked.So, I have used FM 'RH_INSERT_INFTY'. The exact code which I have used is as follows.
*****************************************code***************************************************************
<< Please post only the relevant portion of the code >>
The runtime error which is coming is as follows:
Error analysis
An internal error in the database interface occurred during access to
the data of table "HRT1018 ".
The situation points to an internal error in the SAP software
or to an incorrect status of the respective work process.
For further analysis the SAP system log should be examined
(transaction SM21).
For a precise analysis of the error, you should supply
documents with as many details as possible.
Please let me know why this error is coming.I am not able to find out mistake in the FM and form used in the code.
Thanks in advance,
BBKrishna.
Edited by: Rob Burbank on Jun 9, 2009 1:31 PMI am adding the code once again.Please let me know why the error is coming up.
lv_mproj = 'BLDNG'.
wa_p1018-mandt = sy-mandt.
wa_p1018-otype = '9M'.
wa_p1018-objid = '50009650'.
wa_p1018-begda = '20090608'.
wa_p1018-endda = '99991231'.
wa_p1018-infty = '1018'.
wa_p1018-plvar = '01'.
wa_p1018-otype = '9M'.
wa_p1018-istat = '1'.
append wa_p1018 to it_p1018.
repid = sy-repid.
*Updating hrp1018 and hrt1018 tables
CALL FUNCTION 'RH_INSERT_INFTY'
EXPORTING
FCODE = 'INSE'
VTASK = 'D'
AUTHY = ' '
REPID = repid
FORM = 'FILL_TABS'
TABLES
INNNN = it_p1018
EXCEPTIONS
NO_AUTHORIZATION = 1
ERROR_DURING_INSERT = 2
REPID_FORM_INITIAL = 3
CORR_EXIT = 4
BEGDA_GREATER_ENDDA = 5
OTHERS = 6
IF SY-SUBRC <> 0.
CALL FUNCTION 'BALW_BAPIRETURN_GET'
EXPORTING
TYPE = SY-MSGTY
CL = sy-msgid
NUMBER = SY-MSGNO
PAR1 = ' '
PAR2 = ' '
PAR3 = ' '
PAR4 = ' '
LOG_NO = ' '
LOG_MSG_NO = ' '
IMPORTING
BAPIRETURN = return_rec
EXCEPTIONS
ONLY_2_CHAR_FOR_MESSAGE_ID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
lv_mproj = text-011
ELSE.
ii_return = return_rec.
CONCATENATE ii_return-type '-' ii_return-message
INTO lv_err_msg SEPARATED BY SPACE.
ENDIF.
ENDIF.
*RHCD_TAB-PROZT
FORM fill_tabs TABLES ins_tab
USING ins_set ins_index.
DATA : BEGIN OF set.
INCLUDE STRUCTURE wplog.
DATA : END OF set.
DATA: BEGIN OF h_pt1018. "to initialize INS_TAB
INCLUDE STRUCTURE pt1018.
DATA: END OF h_pt1018.
REFRESH ins_tab.
set = ins_set.
CASE set-infty.
WHEN '1018'.
h_pt1018-posnr = lv_mproj.
h_pt1018-prozt = '100.00'.
IF NOT ( h_pt1018 IS INITIAL ).
CLEAR ins_tab.
ins_tab+36(8) = lv_mproj. "h_pt1018.
ins_tab+134(5) = '100.00'.
APPEND ins_tab.
ENDIF.
ENDCASE.
ENDFORM.
Maybe you are looking for
-
How to Install Windows 8 on (some) unsupported Macs
Open finder Open Applications folder Open Utilities folder Right click on Boot Camp Assisstant > Get info Click the Lock in the bottom right corner and enter Admin password Click the plus in the left corner and add your user. Give yourself Read & Wri
-
i recently updated my iphone and lost all my media as my computer did not have enough memory to restore and an error occured. How do i get them back.
-
I couldn't find an answer so here is my post. I bought an Airport Extreme card from a guy and can't get it to work in both an iMac G5 and an eMac G4. It doesn't show up in the System Profiler. The guy claims it only works with older Apple Powerbook I
-
Error ORA-06502 When using function REPLACE in PL/SQL
Hi, I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length) variable var_a is of type CLOB and the assignment statement where
-
System allow to cancel the delivery with cancel the Billilng Doc
Dear Guru's, System allow to cancel delivery Doc & Reverse PGI Before Cancel The Billing Document ,How to Control It P;ease Quide me. Regards. Sundhar.U