SSFCOMPOSER 189 "No table line started. Output to cell not possible" ...
Hi Guru,
when i run smartform in VF03 & press on Print preview button it doesnt show the output.Can anybody tell me the cause of this error?
Thanks in advance
If possible execute the smartform separately. and try to give the input values.
i feel that there may be some mistake in the measurments that u give for either template or a table if u r using them.
you can debug the smartform by having a break point in it
Edited by: Vedavathy Kotakonda on Jan 21, 2008 9:04 AM
Similar Messages
-
No table line started. Output to cell not possible
Hi Everybody:
I have developed a smartform where in if i give single record as input, it comes fine, but if more than one record is given thru selection scr, the error comes No table line started. Output to cell not possible when page break is issued.
Pls help as to why is it coming,
I also tried SF TRACE, but when i display the error, it says Cannot read from the database.
Best Regards, NeetuTo print the internal table's data in the smartform you should use the TABLE.
LIke define a TABLE, inside the table define required table types.
Put your data inside your main ... under the Table by using one of the line type.
Regards,
Naimesh Patel -
No table line started-smartforms
hi guys,
yesterday it was ok but when i came today and executed suprisingly its givin an error sayin <no table line started>
plz advise
rgdsTHATS MY MISTAKE ACTUALLI..I DINT DECLARED LINE TYPE IN CELL
-
HTML table containing SQL output in cells
Hello,
This might be a built-in function, but I haven't figured out how to do this: I want to display an HTML table (2x3 table) and in each cell, I want to display the output from different SQL statements. Some of the SQL statements return multiple rows, some just one. The cell data comes from unjoined tables, that is there is no join condition between each one of the cell SQL statements, it's a bit random.After much head-banging, I have worked this out and it came down to just changing 2 style definitions in the page template. I'm not really a Web developer so that wasn't obvious to me (or easy, I've read quite a bit on Google about stylesheets while working this).
Basically I wanted to display a 3x3 "grid", similar to a table, but the data coming out from the 3x3 regions (all SQL query regions) returned different numbers of rows, which meant my page "rows" didn't align horizontally, they were just rendered wherever the last region stopped (vertically they were rendered properly because I put the regions in Colums 1, 2 and 3, standard page functionality).
Eventually I started looking at the HTML page source and noticed the regions were using style defintions coming from my theme (standard APEX theme #12). I made a copy of the page template this page was using, and modified the header block of the new page template to "rewrite" the driving styles
<title>#TITLE#</title>
<link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_12/theme_V3.css" type="text/css" />
<style type="text/css">
a.plain { font-family:arial; text-decoration:none}
td.t12Header {height=12px;font: italic small-caps 900 12px arial}
td.t12Body {background-image: url(#APP_IMAGES#lock.png);background-repeat: no-repeat;background-position: left top;vertical-align= middle;height= 250px}
</style>
...So I re-wrote the td (or table TD style) for t12Header and t12Body, by adding my own style definitions into the header after the call to the main css sheet. I also played around with putting a background image into each cell, I'll probably remove that but it was fun to explore.
This rendered my individual table cells (via td.t12Body) @ 250px (which as I've found out is otherwise not supported, there's no built-in TABLE spec for "height") -- exactly what I wanted, now all the regions render vertically and horizontally.
I did not test this with any browser other than IE7.
If you know an easier way to do this, please do post a follow-up. -
SSFCOMPOSER - 154 - No output request open. End not possible.
Hi Experts,
I'm trying to print multiple smartforms using FMs SSF_OPEN and SSF_CLOSE. Inside the main program RBDAPP01 (Inbound processing for IDOCS) there is a loop at the IDOCS to be processed. Deep within the processing, we have a custom FM being called which prints smartforms. Since there is a loop at the calling main program, I have organized the code in the custom FM such that the first IDOC calls SSF_OPEN and the last IDOC calls SSF_CLOSE, so that all IDOCS in between will be able to print their smartforms. Here is the call stack:
8
SAPLZCUSTOM
ZCUSTOMPROGRAM
113
FUNCTION
ZCUSTOMPROGRAM
7
SAPLPPC1
ZCUSTOMPROGRAM
136
FUNCTION
KK2A_GET_DATA_FROM_IDOC
7
SAPLPPC1
LPPC1U01
1
FUNCTION
KK2A_GET_DATA_FROM_IDOC
6
SAPLBD20
LBD20F0A
454
FORM
IDOCS_PASS_TO_APPLICATION
5
SAPLBD20
LBD20F0B
69
FORM
IDOCS_PROCESS
4
SAPLBD20
LBD20U05
260
FUNCTION
IDOC_INPUT
3
SAPLEDIR
LEDIRU02
182
FUNCTION
IDOC_START_INBOUND
2
SAPLBD12
LBD12U04
37
FUNCTION
APPLICATION_IDOC_POST_IMMEDIAT
1
RBDAPP01
RBDAPP01
388
EVENT
START-OF-SELECTION
The problem is:
1. When I only have 1 IDOC being processed, SSF_OPEN and SSF_CLOSE happens in the custom FM at the same time. This creates a successful spool.
2. Whereas, when I have 2 or more IDOCS, SSF_OPEN happens in the first IDOC, but then it goes back to the calling program, and then when the last IDOC is encountered SSF_CLOSE is called. The FM SSF_CLOSE in this scenario calls the exception INTERNAL_ERROR (sy-subrc = 2).
The system message is SSFCOMPOSER - 154 - No output request open. End not possible.
Why is this happening? Is it because that other programs (calling programs) may have affected the status of SSF_OPEN? It seems that the SSF_OPEN is no longer open.
Thanks in Advanced,
JackNo, it will not hold the smartform open, but you don't need to hold it open in order for printout to be accumulated in one spool. Spool system does the accumulation automatically, provided the spool requests that are to be added to an existing spool request are:
- generated in the same transaction and
- have the same attributes (such as user, title, output device, client from which the request was issued, number of copies, priority, cover sheet setting, archive mode, and ABAP session number).
Important is: where do OUTPUT_OPTIONS like printer come from currently? Is print parameters popup displayed on first Idoc for user to choose printer and options? Or do you use USER_SETTINGS = 'X' to simply take over defaults from user master? If the print options dialog is displayed, it needs to be controlled as well so it's displayed only once.
Assuming print options come from the user in dialog, the logic without explicit open/close could look somewhat like this:
On first idoc:
- call SSF_OPEN importing JOB_OUTPUT_OPTIONS to display print options dialog; move-corresponding JOB_OUTPUT_OPTIONS to global OUTPUT_OPTIONS;
- set OUTPUT_OPTIONS-TDNEWID = 'X' and clear OUTPUT_OPTIONS-TDFINAL, to ensure new spool will be started (overriding user choices for these parameters!);
- if the user has set OUTPUT_OPTIONS-TDIMMED = 'X' save it globally and clear it;
- set CONTROL_PARAMETERS-NO_OPEN = 'X';
On subsequent idoc:
- clear OUTPUT_OPTIONS-TDNEWID;
- clear CONTROL_PARAMETERS-NO_OPEN;
On last idoc:
- set OUTPUT_OPTIONS-TDFINAL = 'X' (this is not absolutely necessary, but prevents further appending to the spool);
- restore OUTPUT_OPTIONS-TDIMMED from the value saved on first idoc;
Calling Smartform:
- set CONTROL_PARAMETERS-NO_DIALOG = 'X';
- call smartform passing OUTPUT_OPTIONS and CONTROL_PARAMETERS;
The logic is somewhat complicated; I'd wrap it in a class (singleton, which would be de-instantiated after last idoc) to avoid global data and code other than simple method call(s) in FM.
Even if you decide to refactor the logic, it would still be important to understand, I think, why the current logic does not work (where and why smartform gets closed)... Maybe there are some nasty "surprises" somewhere, and your current algorithm should work.
cheers
Janis -
Pages '09 v4.1
Problem 1:
I am working with a 2-column Page document. Its my goal to have three items listed in a header in particular positions. Far left shows the paragraph number the page starts with, in the center is a title of the contents of the page, and on the far left is the last paragraph number to appear. To place these three items in the desired positions requires the insertion of a lot of spacing on both sides of the 'centered' title along with counting the characters of the title to find its center to alighn with the center of the page. 253 pages of this to will qualify me to be labled with a severe case of Obsessive Compulsive Disorder. I don't want OCD.
However, by installing a one row/3 column table in the header my task was made a lot easier in alighnments. But, another problem reared up. Within the header underneath the table is a vertical space remaining. This vertical 'tallness' is equivalent to the font size of 10. Its taking up too much space between the header and the text. It needs to be reduced or eliminated.
On the left-hand page I am able to reduce the font as far down as '1'. I've settled on using '3'. However, on the right-hand page the font will not accept any size selections be they less or more and remains stubbornly at font 10. Within a Header that does not have a table, I am able to change the font of both left and right pages.
Is there a another way to approach what I desire for the header other than installing a table in it? Is there a way to alter the font on the right hand pages?
Problem 2:
Whenever I create a table following text already on a page all is right until the table's growth in construction laps over to the next page. At that point the first row snaps to the top of the following page leaving an undesired area (space) between the last line of the text on the preceding page. Whenever I attempt to drag the table to the desired position it snaps back. This only happens when the table is larger than the remaining area of the page. If the table is started at the top of an unused page and runs beyond the confines of that page than it continues as expected onto the next page duplicating the table header. But to do this it must begin at the top of an unused page. Is there a means to have a table placed in the remaining space of a page and what does not fit continues to the next page in effect having a partial of the table on each page?
So there you have it. Christmas is over and its back to work. Thank-you for your attention.Regards re-positioning a table:
I went to Inspector>Wrap>Object Placement/Inline (moves with text) and found that the inline option was selected. Some of the rows within the table have two lines of text. Again, I dragged the table to the desired position on a page that is partially composed with text and got the same results as before - the table snapping back to the top of the following page where it initially resided. In this current position the 2-page table does break as it should on the following 3rd page. Below is a schematic of the appearance of the 2-pages involved.
Page 1 left side.
TEXT 1-line as 1-column
TABLE (5-rows)
TEXT (2-columns) 14-lines left column and 13-lines right column.
[Layout Break] otherwise the above textual columns would be all on the left side of the page.
TEXT 1-line as 1-column
* The desired insertion point for a two page table on a page that is 40% filled with the above descriptions.
Page 2 right side.
A 2-page table flowing or breaking into a 3rd page.
Page 3 left side.
The overflow of the subject table.
[Layout Break]
[Section Break]
Is there some other way to anchor a table to the text other than Inspector>Wrap>Object Placement/Inline (moves with text)? -
Rectifications of different sizes for all the three table lines in footer.
Hi friendz,
i am working in ecc6 system(smartforms).
i am using 3 table lines in the footer one for total, the second one for tax calculation, and the third one for the grand total.
But in the output screen display - the total, tax and grand total(in different table lines) are displayed with different heights, which gives unprofessional look for the form.
i want all the table lines in the footer to display with equal heights.Hi,
first you create LTYPE follow below sequence
Go table tab--> details tab--->give suitable heights for ltype
next go to FOOTER in the main window
create three table lines under footer like
FOOTER1
FOOTER2
FOOTER3
for three table lines we need to assign line type LTYPE
Go FOOTER1 ---> output options -
> give LTYPE.
FOOTER2 ---> output options -
> give LTYPE.
FOOTER3 ---> output options -
> give LTYPE.
reward points if helpful.
Regards,
Bhupal.
Edited by: bhupal reddy on Jul 22, 2008 11:55 AM -
Error in Smartform: Nested output of tables is not possible....
Hi ,
I am getting the below error while executing the smartform.
Nested output of tables is not possible
Message ID: SSFCOMPOSER
Message Numer : 171
could any one plese help me?
Thanks & Regards,
surendraDear
AS i reply in thread ,
this error comes with some problem in functional Module .
as we know that two FM use in smartforms -
SSF_function_mudule
call funcion .
so you check both and i hope you handle this problem .
Regards,
Ravi -
How to export a reference to a table line from a method?
Hello,
I have a class which has a hashed table as an attribute. I want to retrieve a line from the table using the key and return a reference to the table line. I want changes to the return value of the method to be directly reflected in the table, as if using a local field symbol. I have tried to approaches, neither of which works.
First, I returned a reference to the local field symbol. This dumps, because after returning from the method call, the target of this reference no longer resides on the stack.
Second, I have tried using an export parameter marked as "pass by reference", i. e. without VALUE(). Strangely, this still seems to give me only a copy of the data.
What is the correct way to proceed?
Illustrative pseudo-code follows.
Thanks, Sebastian
*==============================================================
*Possibility 1: (using references)
DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
METHODS get
IMPORTING
!is_key TYPE zs_key
EXPORTING
!er_vt TYPE REF TO zs_entity.
METHOD get.
FIELD-SYMBOLS: <fs_vt> TYPE zs_entity.
READ TABLE mt_key_value WITH KEY key = is_key ASSIGNING <fs_vt>.
GET REFERENCE OF <fs_vt> INTO er_vt.
ENDMETHOD.
" Client Code:
FIELD-SYMBOLS: <fs_vt> TYPE zs_entity.
CALL METHOD get
EXPORTING
is_key = is_key
IMPORTING
er_vt = lr_vt.
ASSIGN lr_vt->* TO <fs_vt>. " will dump, because the local field symbol
" to which lr_vt points is no longer on the stack
<fs_vt>-value = 'newdata'.
*==============================================================
*Possibility 2: (using a structure passed by reference)
DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
METHODS get
IMPORTING
!is_key TYPE zs_key
EXPORTING
!es_vt TYPE zs_entity.
METHOD get.
FIELD-SYMBOLS: <fs_vt> TYPE zs_entity.
READ TABLE mt_key_map WITH KEY key = is_key ASSIGNING <fs_vt>.
es_vt = <fs_vt>.
ENDMETHOD.
" Client Code:
DATA: ls_vt TYPE zs_entity.
CALL METHOD get
EXPORTING
is_key = is_key
IMPORTING
es_vt = ls_vt.
ls_vt-value = 'newdata'. " will not change the contents of the
" table mt_key_valueIn the first approch, try to change the exporting parameter type REF TO DATA.
Try like:
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
METHODS:
constructor,
get
IMPORTING
if_matnr TYPE matnr
EXPORTING
ea_mara TYPE REF TO data.
ENDCLASS. "lcl_test DEFINITION
START-OF-SELECTION.
DATA: lo_test TYPE REF TO lcl_test,
lr_data TYPE REF TO data.
FIELD-SYMBOLS: <fa_mara> TYPE ANY,
<f_field> TYPE ANY.
CREATE OBJECT lo_test.
lo_test->get(
EXPORTING
if_matnr = '000000000077000000' " << Replace Your Material
IMPORTING
ea_mara = lr_data ).
ASSIGN lr_data->* TO <fa_mara>.
ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
<f_field> = space.
WRITE: 'Done'.
CLASS lcl_test IMPLEMENTATION.
METHOD constructor.
SELECT * INTO TABLE t_mara
FROM mara
UP TO 10 ROWS.
ENDMETHOD. "constructor
METHOD get.
FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
GET REFERENCE OF <lfs_mara> INTO ea_mara.
ENDMETHOD. "get
ENDCLASS. "lcl_test IMPLEMENTATION
Regards,
Naimesh Patel -
Smartforms- TABLE -Lines,rgrding passing Quan&DATS fields to smartforms
Hi All ..
Iam working on Tables in smartform ,
These are queries to which i need solution ..
1) In (Window) Table- Heading i have created 3 LINES in which my data had to display...( i have a line in that TEXT is used to display a particular fields of the Itab ) . as i came to know that in my Zprog iam gettting my data in the fields but wen in smartform these fields values are not displayed ( when these fields are placed in LINE ) but wen these fields are placed outof LINE that is outof table then iamgetting value for these fields.. so please let me know wat are the changes that ishould do to get my data in my table ( LINE )
2) How to pass DATS and QUAN fields to the smartforms..
as iam getting data to DATS and Quan Fields in my Zprog but these values are not showed in my smartForm .. ..
Thanks in Advance..
Looking for a good reply ..
Aslam..Hi,
you have created 3 linetypes for table .
you have create loop for multiple records display.
in loop you have to pass table from which you are displaying inti output.
To internal table we get data from print program and create text for corresponding cells.
then it will pass those data to table.
2) create programlines for that.
in that mention table from which table is containing quantity.
that is import parameter specified .
export parameters are your output fields using for calculation.
AMOUNT = TAB3-NETWR.
Netamount = Netamount + TAB3-NETWR.
here input is tab3 table it contains quantity data.
lamount,netamount are output parameters.
like that you can display quantity.
or in global definitions currency/quantity fields tab is available you can pass there also.
for dat fields write logic for conversion of date and pass that variabl in form output. -
Vertical alignment in table cells not working in generated output
Using RH9 WebHelp. I have created a simple table style. Because I could not find out how to make cell vertical alignment (top, center, bottom) part of the style definition, I have been applying it manually to individual whole tables using the cell alignment properties.
This worked fine for a while, but at some point I noticed that even though the tables look right in Design view, with top-aligned cells contents, it gets hosed in generating output and all tables now come with vertically centred cell contents even through the in-line formatting for top alignment is still there in the code.
Any ideas?Hi Mike,
I'm confused to where you applied the vertical alignment. Normally, I would set this for the table cells and not the table.
CSS has indeed an order in rendering: There is a point system for determining the CSS to apply. See http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specific ity/ for a short introduction.
And as an extra to the point system, the place where the styling is present, also determines the styling. Browsers use the following hierarchy (in descending order)
User style sheet defined in the browser.
Inline styling.
Style block in page.
External style sheet
You can overwrite styling from a lower order using the !important declaration. You can use this to make sure that inline styling will not be able to overwrite styles from your style sheet. (Unless the inline styles use !important themselves.) Example:
table.mytable td {
vertical-align: middle !important;
This will make all the content of table cells in the table with the class mytable to be vertically centered.
Greet,
Willam -
Route a signal to RTSI when AO starts output
I would like to route a signal to RTSI when AO starts output using "Route signal.vi".
Now I choose the signal source as "AO update" so that a series of TTL signals are routed to RTSI.
If I would like only to route a signal to RTSI when AO starts output,what option of signal source should I choose??
Thank you for you help!!I will answer you question assuming you have an E Series Board.
The signal that should be routed to the RTSI line is the PFI6/WFTRIG signal. That is AO Start Trigger in the signal source and RTSI line in the signal name of the "Route signal.vi". You can find an explanation of the signal in the E Series User Manual, whose link is: http://digital.ni.com/manuals.nsf/websearch/CA6CAEC450BD7E3786256721007D6A30?OpenDocument&node=132100_US -
Deleting line on output screen that is written by Write statement....
Hello Gurus,
In my case there is data written on output screen. When I double click on line on ABAP report execution output screen, I want that line to be deleted from output screen.
I know I will have to write the logic at line-selection but how can I delete line that is written on screen using write statement ?
Regards,
Jainam.
Edited by: Jainam Shah on Nov 12, 2009 4:47 PMHi Jainam,
When you say AT LINE-SELECTION. It is an intercative list only.
This is not possible to delete when you double click on a record.
However I have created a small code snippet for you. But to display something on the secondary list, you have to write a WRITE statement...The code as below :-
TABLES MARA.
DATA: BEGIN OF itab OCCURS 1,
MATNR like MARA-MATNR,
MEINS LIKE MARA-MEINS,
END OF itab.
SELECT MATNR MEINS FROM MARA INTO TABLE itab.
sort itab by MATNR.
LOOP AT itab.
WRITE:/ itab-MATNR.
HIDE itab-MATNR.
ENDLOOP.
AT LINE-SELECTION.
IF sy-lsind = 1.
CLEAR itab-MATNR.
write : sy-lilli.
ENDIF.
Kindly set to resolved, if this clears you question.
Regards
Abhii... -
Problems with LIN starter Kit 1.0
Hi,
I just came across the LIN starter kit and I wanted to extract the schedule table from the master node. I tried many combinations to extract this info but it always throws out an error. The only way I can extract some info would be through the 'frames' and then extracting the ID.
Now, the only two items I require would be the message type and the schedule time. Does any one have any experience using this?
Regards,
Ashm01.
Attached is a sample VI and LDF File using the toolkit.
Attachments:
LDF.zip 14 KBHi Ashm01,
I assume you are referring to the LDF Starter kit found here:
http://digital.ni.com/softlib.nsf/websearch/47FDEF06375659178625721A00604878?opendocument&node=132060_US
All of the kit specific examples are located in the LDFExamples.llb Library file.
In addition in LabVIEW->Help->Find Examples->Search->LIN there are several more LIN examples.
Regards,
Message Edited by John E on 07-30-2007 11:19 AM
John E.
Applications Engineering
National Instruments -
Hello
I have an internal table which is written to a sapscript form (WRITE_FORM).
Now, in the output, I have to alternate the color (white / grey) of the table lines.
What is the best way to do this?
ThanksHello Frank,
In the Char. format u can mention Bold ,Italic & Underline of the words.
U could make use of this options
Regards,
Vasanth
Maybe you are looking for
-
Adobe RoboHelp 7 does not recognize FrameMaker 6
I am trying to create webhelp. It's my intention to use webhelp generated by RH7 as my single source output to webhelp, Word, PDFs, and my company's wiki. I tried to import FrameMaker 6 files into RH7 for HTML and saw the message that FrameMaker is n
-
Referencing an image in Oracle Workflow Notification
Hi, My requirement is to generate a HTML Oracle Message in Oracle Workflow which references an image. The information which i came across is that we can incorporate an image in html using a URL attribute. This means that we need to put the image file
-
Hey all, I used to be able to send e-mails but all of the sudden it says I cannot send any. Basically any mail server I try to use (I have several domains on different servers and tried all of them) and none of them work. I'm using mail.domainname.co
-
Does iTunes clash with other programs???
I can no longer run iTunes on my computer (I just get a microsoft error saying the program had to be shut down because of errors when I try and load it). I have deleted it and reinstalled it (different versions). I have tried all the troubleshooting
-
Chnaces of Index corruption - Need Inputs
Hi, I have a field in a table that holds a name. Now there are certain constraints on the field. Like there must not be any spaces at the beginning or end of the name (value of the field). Index for the table has been set on the field or using that p