Header Line not Displayed in Smartform
Hi all,
in Smartforms , i am having one Page.
in the main window , in Footer i am having Grand total to be displayed in the last page. i have put condition
SFSY-PAGE = SFSY-JOBPAGES.
the Problem is in the last page the header line is not displayed.
in all other pages it is getting displayed.
Can anyone help me out.
Regards.
Suki.
Ok. I got the problem now. There is not simple solution for this.
You can create a new window just only for header. Put it on the same place as the Current Header line starts.
Move the contents from Main table header line to Header window.
This way, the header will print on all the pages.
Regards,
Naimesh Patel
Similar Messages
-
Frame line not display in next page of main window
hi Xpert,
I am creating layout in SAP SCRIpt,it working fine only the main window of next page frame line is not display.
i m define next page as a FIRST page and writing main window of first page following coding
/: POSITION XORIGIN '0.50' CM YORIGIN '7.75' CM
/: SIZE HEIGHT '17' CM WIDTH '19.25' CM
/: BOX FRAME 10 TW
when i run the program first page are coming properly and only when i go in second page of output then main window lines not displaying.
please guide me how to solve this problem.
Regards,
pravinHi Praveen,
In that case why you have to make the main window in the first page and secondry window.
You can use it as manin window itself. Print the total amount in the main window itself in the first page. and copy that main window to the second page.
In the first page under the main window create a text. and there u print the total value and text.
Now copy the main window to the second page..only COPY DONT CREATE NEW.
In the second page now under the main window create the table to print the line items. What every u add in the second page main window it will come in the first age also in the smartforms. But it will nto get printed in the first page.After the text to print the totals call the COMMAND option and call next page in that.
Hope you got me..
Regards
Ansari -
Div header tag - not displaying correctly
I thought I had resolved an issue with a div header tag, but - as per a reply in my 'text as gif' thread, possibly not!
The header contains three images; a logo, a banner (text), and a picture of a castle. These should display in a line.
When I first set it up, I realised that the castle picture was normally ending up below the other two on smaller screens etc.
So I changed the dims for my div container from min 760px/max 1260px, to a set width (960px). I then rejigged the three images so the widths were within 960px, with some to spare for the spacing (total widths of the three are 900: hspacing another 20 pixels). There is no padding/borders defined. Therefore the total should be well within the 960 width (?).
It looks fine on my PC (widescreen); in 3 browsers, using the restore down menu command (ie to make it not full screen), and by using the Dreamweaver multiscreen preview (phone, tablet, smaller desktop). It wasn't ideal (as scrolling required), but at least meant the header (and the rest of the screen) displayed correctly, ie in a horizontal line (and then sidebar - content - sidebar).
If I set my container width much smaller, most of the screen will be green (the body) in big screens.
If I rejig the dimensions, it's all a bit hit and miss (and why don't the current dimensions work?).
Do I need to define the width of the header (as well as the container)?
Help! Thank you
http://hertfordcarnival.org.uk/dev/Index.htmlHi there, I started off using one big image, but it didn't look right with regards to size and placing (ie I wanted the logo on the left edge, the castle on the right edge, etc). When you say slice, what do you mean? One image in from fireworks, and then ... ? Thanks again
Date: Wed, 7 Dec 2011 01:37:10 -0700
From: [email protected]
To: [email protected]
Subject: Div header tag - not displaying correctly
Re: Div header tag - not displaying correctly
created by osgood_ in Dreamweaver - View the full discussion
Datafan55 wrote: I thought I had resolved an issue with a div header tag, but - as per a reply in my 'text as gif' thread, possibly not! Why not just use one big image then you wont have a problem of with the alignment. Certainly don't use 'vspace' and 'hspace' to position the images. If you want to use 3 seperate images start by setting them us as one complete image then slice it into 3 images. Then use the following css to position the images side by side. #header img If the total sum of the width of the images is the same or does not exceed 960px then the images should be in a nice row side by side. They will actually sit side by side without using 'float' but you'll get a small gap between them which will be added to the sum of the width which will exceed 960px causing the third image to drop onto the next line.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4068499#4068499
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4068499#4068499. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Column Heading are not displayed in ALV Report using CL_SALV_DISPLAY?
Hi,
I am using CL_SALV_DISPLAY class to display data. I Created an Internal Table Dynamically based fieldcatalog which was prepared based data at run time. When i displayed data using CL_SALC_DISPALY data is display in output but column headings are not displayed.
can anyone suggest me how to display heading in ALV using CL_SALV_DISPLAY class, My code is
CLASS lcl_report DEFINITION
CLASS lcl_report DEFINITION.
PUBLIC SECTION.
METHODS:
display IMPORTING l_table TYPE string
l_fcat TYPE string.
ENDCLASS. "lcl_report DEFINITION
CLASS lcl_report IMPLEMENTATION
CLASS lcl_report IMPLEMENTATION.
METHOD display.
DATA: gr_table TYPE REF TO cl_salv_table.
DATA: gr_columns TYPE REF TO cl_salv_columns_table,
gr_column TYPE REF TO cl_salv_column_table,
ls_fcat TYPE slis_fieldcat_alv.
DATA: gr_display TYPE REF TO cl_salv_display_settings.
DATA: l_o_functions TYPE REF TO cl_salv_functions_list,
l_field TYPE string.
FIELD-SYMBOLS : <fs_table> TYPE STANDARD TABLE,
<ft_fcat> TYPE STANDARD TABLE.
Get the ALV object refering to the output table
ASSIGN (l_table) TO <fs_table>.
ASSIGN (l_fcat) TO <ft_fcat>.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_table
CHANGING
t_table = <fs_table> ).
CATCH cx_salv_msg. "#EC NO_HANDLER
ENDTRY.
Add basic default functionality in the ALV report
Functions
l_o_functions = gr_table->get_functions( ).
l_o_functions->set_all( abap_true ).
gr_columns = gr_table->get_columns( ).
gr_columns->set_headers_visible( abap_true ).
Display the list
gr_table->display( ).
ENDMETHOD. "extract
ENDCLASS. "lcl_report IMPLEMENTATION
*& start-of-selection declaration
START-OF-SELECTION.
PERFORM :
get store codes
get_storecodes USING p_stfile
CHANGING it_t001w,
fetching mard data
read_mard_data,
preparing fieldcatalog for Final Data
create_filedcat USING it_t001w
it_site
CHANGING it_fieldcat,
preparing structure & internal table for Final Data
create_final_table_structure USING it_fieldcat,
prepare output data
prepare_final_data.
*& end-of-selection declaration
END-OF-SELECTION.
PERFORM :
display data
display_data USING l_table
l_fcat.
*& Form get_storecodes
FORM get_storecodes USING p_p_stfile
CHANGING p_it_t001w LIKE it_t001w[].
DATA :
internal table for RAW
lt_raw TYPE truxs_t_text_data,
rs_site LIKE LINE OF rt_site,
l_index LIKE sy-tabix.
FIELD-SYMBOLS :
field symbol for it_t001w
<fs_t001w> LIKE LINE OF p_it_t001w.
calling function module to get Stores Data from File
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = lt_raw
i_filename = p_p_stfile
TABLES
i_tab_converted_data = p_it_t001w[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
EXIT.
ENDIF.
SORT p_it_t001w BY werks.
CLEAR rs_site.
rs_site-sign = 'I'.
rs_site-option = 'EQ'.
rs_site-low = p_dccode.
APPEND rs_site TO rt_site.
IF it_t001w[] IS NOT INITIAL.
LOOP AT p_it_t001w ASSIGNING <fs_t001w>.
l_index = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = <fs_t001w>-werks
IMPORTING
output = <fs_t001w>-werks.
MODIFY p_it_t001w FROM <fs_t001w> INDEX l_index.
IF <fs_t001w>-werks GE s_site-low AND <fs_t001w>-werks LE s_site-high.
append site to ranges
CLEAR rs_site.
rs_site-sign = 'I'.
rs_site-option = 'EQ'.
rs_site-low = <fs_t001w>-werks.
APPEND rs_site TO rt_site.
CONTINUE.
ENDIF.
ENDLOOP.
SORT p_it_t001w BY werks.
SORT rt_site.
ENDIF.
ENDFORM. " get_storecodes
*& Form create_final_table_structure
FORM create_filedcat USING p_it_t001w LIKE it_t001w[]
p_it_site LIKE it_site[]
CHANGING p_it_fieldcat LIKE it_fieldcat[].
FIELD-SYMBOLS :
field symbol for p_it_t001w
<fs_t001w> LIKE LINE OF p_it_t001w,
field symbol for p_it_site
<fs_site> LIKE LINE OF p_it_site.
DATA :
fieldname
l_fieldname TYPE slis_fieldname,
workarea for site ranges
rs_site LIKE LINE OF rt_site.
CLEAR : l_fieldname, rs_site.
l_fieldname = p_dccode.
PERFORM
prepare fieldcatalog
build_fieldcatalog USING : 'MTART' 'CHAR' '5' ,
'MTBEZ' 'CHAR' '25' ,
'MATKL' 'CHAR' '6' ,
'WGBEZ' 'CHAR' '20' ,
'MATNR' 'CHAR' '18' ,
'MAKTX' 'CHAR' '30' ,
l_fieldname 'CHAR' '17' .
create header for excel
PERFORM create_excel_header USING : 'Division',
'Divsion Description',
'MC Code',
'MC Description',
'Article',
'Article Description',
l_fieldname.
loop for creating fieldcatalog
LOOP AT it_site ASSIGNING <fs_site>.
READ TABLE it_t001w ASSIGNING <fs_t001w> WITH KEY werks = <fs_site>-werks
BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t001w> IS ASSIGNED AND
<fs_site> IS ASSIGNED AND <fs_site>-stock GT 0.
CLEAR : l_fieldname, rs_site.
l_fieldname = <fs_site>-werks.
prepare fieldcatalog
PERFORM build_fieldcatalog USING : l_fieldname 'CHAR' '17'.
create header for excel
PERFORM create_excel_header USING l_fieldname .
CONTINUE.
ENDIF.
ENDLOOP.
l_fcat = 'it_fieldcat[]'.
ENDFORM. " create_final_table_structure
*& Form build_fieldcatalog
FORM build_fieldcatalog USING p_fieldname TYPE slis_fieldname
p_datatype TYPE datatype_d
p_length TYPE intlen.
DATA : ls_fieldcat LIKE LINE OF it_fieldcat.
CLEAR : ls_fieldcat.
ls_fieldcat-fieldname = p_fieldname.
ls_fieldcat-datatype = p_datatype.
ls_fieldcat-intlen = p_length.
APPEND ls_fieldcat TO it_fieldcat.
ENDFORM. " build_fieldcatalog
*& Form create_final_table_structure
FORM create_final_table_structure USING p_it_fieldcat.
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fieldcat
IMPORTING
ep_table = t_table.
ASSIGN t_table->* TO <ft_final>.
ENDFORM. " create_final_table_structure
*& Form create_excel_header
FORM create_excel_header USING p_p_fieldname.
DATA : ls_header LIKE LINE OF it_header.
CLEAR ls_header.
ls_header-col_name = p_p_fieldname.
APPEND ls_header TO it_header.
ENDFORM. " create_excel_header
*& Form prepare_final_data
FORM prepare_final_data .
DATA : l_matnr LIKE g_matnr,
l_werks LIKE g_werks,
l_index LIKE sy-tabix.
FIELD-SYMBOLS : <fs_mard> LIKE LINE OF it_mard.
Getting No. of Lines in IT_MARD internal table
DESCRIBE TABLE it_mard LINES g_lines.
LOOP AT it_mard ASSIGNING <fs_mard>.
l_index = sy-tabix.
IF l_matnr IS INITIAL.
l_matnr = <fs_mard>-matnr.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
UNASSIGN : <fs_value>, <fs_final>.
Create dynamic work area and assign to FS
CREATE DATA t_line LIKE LINE OF <ft_final>.
ASSIGN t_line->* TO <fs_final>.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mard>-matnr.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
getting Article Type,MC & its Descriptions
PERFORM get_other_data USING l_matnr
l_werks.
ELSEIF l_matnr <> <fs_mard>-matnr.
APPEND <fs_final> TO <ft_final>.
CLEAR l_matnr.
l_matnr = <fs_mard>-matnr.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
UNASSIGN : <fs_value>, <fs_final>.
Create dynamic work area and assign to FS
CREATE DATA t_line LIKE LINE OF <ft_final>.
ASSIGN t_line->* TO <fs_final>.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mard>-matnr.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
getting Article Type,MC & its Descriptions
PERFORM get_other_data USING l_matnr
l_werks.
ELSE.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
ENDIF.
IF l_index = g_lines.
APPEND <fs_final> TO <ft_final>.
ENDIF.
ENDLOOP.
l_table = '<ft_final>[]'.
ENDFORM. " prepare_final_data
*& Form get_other_data
FORM get_other_data USING p_l_matnr
p_l_werks.
FIELD-SYMBOLS : <fs_mara> LIKE LINE OF it_mara,
<fs_t023t> LIKE LINE OF it_t023t,
<fs_t134t> LIKE LINE OF it_t134t,
<fs_makt> LIKE LINE OF it_makt.
READ TABLE it_mara ASSIGNING <fs_mara> WITH KEY matnr = p_l_matnr. " BINARY SEARCH.
IF sy-subrc = 0 AND <fs_mara> IS ASSIGNED.
ASSIGN COMPONENT 'MTART' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mara>-mtart.
ASSIGN COMPONENT 'MATKL' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mara>-matkl.
READ TABLE it_makt ASSIGNING <fs_makt> WITH KEY matnr = <fs_mara>-matnr BINARY SEARCH.
IF sy-subrc = 0 AND <fs_makt> IS ASSIGNED.
ASSIGN COMPONENT 'MAKTX' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_makt>-maktx.
ENDIF.
READ TABLE it_t023t ASSIGNING <fs_t023t> WITH KEY matkl = <fs_mara>-matkl BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t023t> IS ASSIGNED.
ASSIGN COMPONENT 'WGBEZ' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_t023t>-wgbez.
ENDIF.
READ TABLE it_t134t ASSIGNING <fs_t134t> WITH KEY mtart = <fs_mara>-mtart BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t134t> IS ASSIGNED.
ASSIGN COMPONENT 'MTBEZ' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_t134t>-mtbez.
ENDIF.
ENDIF.
ENDFORM. " get_other_data
*& Form display_data
text
FORM display_data USING p_l_table
p_l_fcat.
DATA:
Variable for Object Creation
o_report TYPE REF TO lcl_report.
CREATE OBJECT o_report.
o_report->display( EXPORTING l_table = p_l_table
l_fcat = p_l_fcat ).
ENDFORM. " display_dataI don't know how to read the code you pasted or I would have checked this myself.
Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
I made a method inside my local class to add the names:
call method set_colname
EXPORTING iv_tab = alv_tab
iv_colid = 'xxxx' "fieldname from the table
iv_stxt = text-t54
iv_mtxt = text-t55
iv_ltxt = text-t55.
METHOD set_colname .
data:
alv_cols type REF TO cl_salv_columns_table,
alv_col type REF TO cl_salv_column.
TRY .
*... Change fieldnames
call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
IF iv_stxt <> ''.
CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
ENDIF.
IF iv_mtxt <> ''.
CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
ENDIF.
IF iv_ltxt <> ''.
CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
ENDIF.
CATCH cx_salv_not_found.
ENDTRY.
ENDMETHOD. "set_colname -
SMS text message header does not display sender information
When I receive a text message the only header information that displays is the date and time. The senders information does not display. The lines are not even there. There is no way to reply to a text message or tell who the sender is. This problem is only with SMS messages. Regular email headers display just fine. I have done a wipe, reset, reload, everything possible with no luck. I am the only one in my office with this problem. I have not been able to find any information or postings from anyone having the same problem. I can read the text message, but there is no header (except for the date and time). Any thoughts?
Blackberry Curve 8350iI was able to resolve the problem by uninstalling the Blackberry desktop manager software and reinstalling it selecting Internet Email vs. Blackberry Enterprise Server. If you get to the screen that asks you to choose which type of email service you use and you accidentally choose the wrong one your phone will work but will do strange things, including sending all sorts of redirect emails. For me, this seemed to do the trick.
-
Page not displayed in smartform
Hi Experts
I have modified an existing smartform development which had 3 pages. I have added another page into that & made 4 windows in that & wrote some heading text.
I have added NEXT PAGE in page 3 as the new page added & all other options which should be there, but still when i go for print preview, the fourth page is not displayed.
I am unable to get the problem & i have to solve the problem by EOD. Please help what could be the problem & how to solve it.
prateekHi,
In the main window of the 3rd page create command node ( for explicit page break) and check the checkbox for new page and give the name of the 4th page..
and also just check whether you have activated your form or not
regards
padma -
Header information not displaying in ABAP Webdynpro record working time
1. I am not seeing the header information, personnel number, name, cost center, on the ABAP Webdynpro record working time timesheet. When I run the timesheet profile in CAT2 the header contains the personnel number, name, cost center, but these do not display when the ABAP Webdynpro timesheet is run
2. Is there a version of the ABAP webdynpro timesheet that prompts for the personnel number, date and profile prior to executing the timesheet? I want to define an ESS link for managers to update timesheets of individual teammates. The teammate do not necessarily have to be their direct reportsHi David,
CATS Webdynpro application is a OIF fpm. Please check if you have performed the FPM IDR configuration properly.
In standard, the ESS CATS does not prompt for the personnel number except in CE scenario. In MSS addon, you have an option to launch the ESS CATS application on-behalf of the employee. Please refer to the sap library documentation.
Hope this helps,
Regards,
Roy -
Text Area Problem. Last Line not displayed
HI,
I am using TextArea component in the MXML script. We are having the problem of not displaying the last line in textarea. The textarea has scroll also. But, when scrolling only last line is not displayed and we have to see only by moving the mouse to component. We want to see all the text only by scrolling the bar. Please help me to resolve this issue.
Thanks,
KrishnaHi,
Please check once your transport log, wether it was tranported correctly or not.
Regards,
Kumar -
Spreadsheet component - bottom grid line not displaying in swf file
Hi,
I'm having an issue with the spreadsheet component. I'm using the "Ignore blank cells in Values" option on the behavior tab. This works fine. The problem I'm having is the bottom grid line in the spreadsheet table is not displaying in the swf file. The bottom grid line displays correctly in Preview mode....but is not displaying in the swf file. Anyone have any ideas on why?
ThanksI'm not sure if I've interpreted your response correctly. Our entire dashboard app is built on the swf files being called from the URL buttons. We are not using HTML files. Are you saying that if I do a file export to HTML that the swf file generated from this will display the bottom grid lines?
I noticed that the spreadsheet component grid lines display correctly in the swf when not checking the ignore blank cells option in the behavior tab.
So what would be our options here.....either uncheck the display grid lines for the spreadsheet component to not display the grid lines at all, or do not use the ignore blank cells option in the behavior tab to display a fixed number of rows each time?
Thanks for the response, Matt. -
IR column Header value not displayed entirely during filteration
I have a IR, when I click any column Header and it shows the list of values as a dropdown.
some of them (which are larger) get cut off.. means the the entire content/value are not displayed within the dropdown. [width of dropdown is fixed and no of characters in the content/value is more..]
how can we fix this?
Also.. is there any we can increase the width of the Select List window when we click any column header in IR.
Thanks,
Deepak
Edited by: DeepakJ on Sep 15, 2011 4:08 PMHi,
jQuery is not included to Apex 3.2 by default.
If you have not include jQuery library's to e.g. your page template or page header, then it is not "installed".
You can run your app and inspect HTML source to be sure.
You can download jQuery and jQuery UI and place files to your HTTP server folder. Then load those in e.g. page template header.
Or use jQuery files from Google by placing to page template header.
<link type="text/css" rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>Regards,
Jari -
JTable column header is not displaying
Here I have the sample code which is not displaying the header names of each row (Names, Size, Status).
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
public class sample extends JFrame
JTable table;
String names[] = {"Names","Size","Status"};
TableModel model = new AbstractTableModel()
public Object getValueAt(int row, int col)
return "Data";
public int getColumnCount()
return 3;
public int getRowCount()
return 5;
public String getColumnName(int col)
return names[col];
public sample()
setSize(400,400);
setDefaultCloseOperation(3);
Container cp = getContentPane();
table = new JTable(model);
cp.add(table);
setVisible(true);
public static void main(String a[])
new sample();
}Anybody can give idea for me.Read the JTable API. It shows you how to do this. In addition it has a link to the tutorial on "How to Use Tables" which contains many examples.
-
Header line not displaed in MT103 Format
Hi all,
We are working on MT103 format, we are not getting the header line data
In image 1 we are getting "HKBCCATT 103" but in image 2 we are not getting that line.
Kindly help us what should be done so we can get "HKBCCATT 103"
Regards,
shegar.Hi,
It would have helped if you had indicated in any way what functionality are you using to produce the file... If I look at the settings for MT103 in transaction OBPM1, and the event module for Event 20 - Start/File header, the standard event implementation FM FI_PAYMEDIUM_MT103_20 takes in into gs_swift_103 structure as part of format parameters the field PAYMHEAD, which controls writing of header record. But since you didn't bother to supply any information whatsoever, one can only guess if this is applicable to your case...
cheers
Jānis -
Header text not displayed in quotation
Dear all ,
I am using standard form for quotation printing but the text i enter in quotation header it is not getting displayed in the standard layout of the quotaion . is there any settings i need to do .
pls advise
Ramaryou have to read_text function module for that.......for that you need
id
object
name which is diffenrent for standard program ,you have to pass these parameters and on the basis you have to read text... i am sending you code
DATA: wa_ltext TYPE tline,
current_line TYPE i,
prev_line TYPE i.
LOOP AT ta_ltext WHERE tdline NE space.
CASE ta_ltext-tdformat.
WHEN '='.
prev_line = sy-tabix - 1.
READ TABLE ta_ltext INTO wa_ltext INDEX prev_line.
IF sy-subrc = 0.
CONCATENATE wa_ltext-tdline ta_ltext-tdline
INTO ta_ltext2-tdline.
MODIFY ta_ltext2 INDEX current_line.
ENDIF.
WHEN OTHERS.
ta_ltext2-tdline = ta_ltext-tdline.
APPEND ta_ltext2.
current_line = sy-tabix.
ENDCASE.
ENDLOOP.
DATA: BEGIN OF ttab OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF ttab.
DATA: BEGIN OF tinlinetab OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF tinlinetab.
DATA: BEGIN OF thead.
INCLUDE STRUCTURE thead.
DATA: END OF thead.
lv_objname = it_lips-posnr.
CONCATENATE it_lips-vbeln lv_objname INTO lv_objname.
PERFORM read_item_text1 USING lv_objname it_lips-vbeln.
*& Form read_item_text1
text
-->P_LV_OBJNAME text
-->P_IT_LIPS_VBELN text
FORM read_item_text1 USING P_OBJNAME
P_IT_LIPS_VBELN.
CLEAR : v_regcarr , v_intcarr ,
v_reqdate , v_commdate.
CLEAR: thead,it_likp-traty.
REFRESH : ttab, tinlinetab.
thead-tdid = '0001'.
thead-tdspras = sy-langu.
thead-tdname = p_objname.
thead-tdobject = 'VBBP'.
CALL FUNCTION 'READ_TEXT_INLINE'
EXPORTING
id = thead-tdid
inline_count = 1
language = thead-tdspras
name = thead-tdname
object = thead-tdobject
IMPORTING
header = thead
TABLES
inlines = tinlinetab
lines = ttab
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
and if you ar using smartforms
you kan read text in this way
program lines
input parameters output parameters
gs_vbrp GV_TYPPKG
gs_item
CLEAR: GV_TYPPKG.
CONCATENATE
gs_ITEM-vbeln
gs_ITEM-posnr INTO GV_TYPPKG.
create>text, type>include text
1)text name --> &GV_TYPPKG&
2)text object-->VBBP
3)Text id ->Z009
4)lan -->en
tick mark no error if no text exists
also provide standard paragraph and first paragraph
reward points if satisfied -
INCLUDE in header text not processed in Smartform
Hello all,
In transaction ME22N the user is adding header text in this manner:
They go into the SAPscript editor, go to insert and select standard text, select from the list of standard text, and it adds
/: INCLUDE Z_SPA_SINST OBJECT TEXT ID ST in the editor
Now going back to ME22N in the header text it also displays
INCLUDE Z_SPA_SINST OBJECT TEXT ID ST. How is this line processed in Smartforms?
If other header text is added by entering directly in the SAPscript editor it will show on the PO but not this INCLUDE line.
Thank you,
JRHi,
declare a text type and use the include text instead of text element and
concanate the PO NO and the ITem No to Text Name G_TEXT_KEY
give the value for the field
Text Name &G_TEXT_KEY&
Text Object EKPO
Text ID ST
Language &SY-LANGU&
for more info refer form /SMB40/MMPO_A
Regards
Shiva -
Alv header logo not displaying in print-preview
Hi all... I had displayed an ALV report with a header and logo init. But when I had clicked on print preview ... every thing is displaying except the logo... How to overcome this...???
Hello Kiran,
<li> We can display LOGO using REUSE_ALV_GRID_DISPLAY only not using REUSE_ALV_LIST_DISPLAY. So when you click on print preview Grid output is displayed as REUSE_ALV_LIST_DISPLAY output. It is confirmed that using ABAP classical or ALV printing LOGO is not possible.
<li>To print LOGO, you can go for SCRIPTS or SMARTFORMS.
Thanks
Venkat.O
Maybe you are looking for
-
LMS 4.0 not starting after upgrade
I am running LMS 4.0 on Windows 2008 Server, recently changed from eval copy to licensed (for 750 devices). It had been running and working for several months.The license application worked fine and it ran a couple days that way. I then downloaded th
-
[Apps] Name Card Application developed using Adobe AIR and Adobe Flash Lite
An University student currently undergoing his research project had developed this application in order to help him with his research project. Please kindly try the application and take the survey form provided at the bottom of this message. This app
-
Couldn't open "Adobe Photoshop Lightroom 4.pkg". Mac 10.5.8
Getting a error when trying to install Operation could not be completed. (com.apple.installer.pagecontroller error -1.) Couldn't open "Adobe Photoshop Lightroom 4.pkg". Mac 10.5.8 Same error on my laptop as well. Any solutions or ideas? Thanks Bria
-
Windows 7 Ultimate 64 bit driver for SCANJET SCANNER 5550C
Can someone give me the link to get this driver? Thanks.
-
Div behaviour in IE vs Firefox... strange spacing
http://www.bnimarionbusinessbuilders.com/test2.html I am just working on the structure at this point, but there is an odd bit of space added at the very top of the left column (before the burgundy bar) in Internet Explorer. It renders perfectly in Fi