How to display the Output messages on LabVIEW
Hi,
I'm building a simple user interface on LabVIEW and I have the following question:
- TestStand has an Output Tab where I display some messages using Engine.OutputMessage; How can I do the same thing on my UI?
I've attached a printscreen of my TestStand sequence as an example of what I want do do on LabVIEW.
I apreciate all the help.
Thanks in advance.
Regards,
Daniel Coelho
Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
Attachments:
TS PrintScreen.JPG 137 KB
Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
I thought you wanted the results from your test steps displayed on the user interface.
It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
Maybe someone else knows
As also pointed out, the UI messages is your other option.
The Output Message event number is 40
http://zone.ni.com/devzone/cda/epd/p/id/3879
UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
Omar
Message Edited by OmarGator on 10-09-2008 10:12 AM
Similar Messages
-
How to display the eror message in the iView
Hi
I want to check the user input in the client side and display an error message in the iView instead of displaying the error message as an alert
it is ok when I tried to do it as an alert
alert('ERROR MESSAGE');
but the problem is how to display the error message as a text in the iView ...
I wrote the below code..
any one can see it and has any sugestion?
Thanks
=============
<%@ taglib uri="tagLib" prefix="hbj" %>
<%
String compid = "";
String message = "";
%>
<hbj:content id="MyContent">
<hbj:page title = "Selection Screen">
<hbj:form id = "myForm">
<br>
<br>
<br>
<center>
<H3>Benefits Statement </H3>
<H4>Selection Screen</H4>
<hbj:gridLayout
id="FSSLayout"
debugMode="False"
width="40%"
cellSpacing="5"
>
<hbj:gridLayoutCell
rowIndex="1"
columnIndex="1"
width="10%"
horizontalAlignment="LEFT"
style="WildStyle"
>
<hbj:label
id="label_inputPernr"
required="TRUE"
text="Personal Number:"
design="LABEL"
labelFor="inputPernr"
/>
</hbj:gridLayoutCell>
<hbj:gridLayoutCell
rowIndex="1"
columnIndex="2"
width="40%"
horizontalAlignment="LEFT"
>
<hbj:inputField id = "inputPernr"
>
<%
compid=MyContent.getParamIdForComponent(inputPernr);
%>
</hbj:inputField>
</hbj:gridLayoutCell>
<hbj:gridLayoutCell
rowIndex="10"
columnIndex="1"
width="40%"
horizontalAlignment="CENTER"
colSpan="2"
>
<hbj:button id = "myButton" text="Submit.." design="EMPHASIZED"
tooltip="Click me to submit this form" onClick="ClickEvent" onClientClick="validRequired()">
</hbj:button>
</hbj:gridLayoutCell>
</hbj:gridLayout>
</center>
<p font="Arial" size=20><%= message%></p>
</hbj:form>
<SCRIPT LANGUAGE="Javascript">
function validRequired()
var myvar = document.getElementById('<%=compid%>').value;
var ivID='<%=componentRequest.getComponentContext().getContextName()%>';
if (myvar = " ")
message = "Enter Employee Number";
ivuRefresh(ivID);
htmlbevent.cancelSubmit=true;
</SCRIPT>
</hbj:page>
</hbj:content>No problem, here is an example of some html code and javascript that you can adapt to your needs. You can display this standalone to see how it works.
I hope this helps
<html>
<head>
<script language="JavaScript">
function validateForm(){
if(document.getElementById("nameField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the Name";
else if(document.getElementById("ageField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the Age";
else if(document.getElementById("idField").value == "")
document.getElementById("errormessage").innerHTML = "Please enter the id";
else
document.getElementById("errormessage").innerHTML = "";
</script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>Name</td>
<td><input type="input" id="nameField" name="nameField"></td>
</tr>
<tr>
<td>Age</td>
<td><input type="input" id="ageField" name="ageField"></td>
</tr>
<tr>
<td>Id</td>
<td><input type="input" id="idField" name="idField"></td>
</tr>
<tr><td><font color="red"><span id="errormessage"></span></font></td></tr>
<tr><td><input type="button" name="validate" onClick="validateForm()" value="Click to validate"/></td></tr>
</table>
</body>
</html> -
How to display the error message on screen in display mode
Hi all,
How to display error message as as status message on the screen(module pool).
The requirement is if I call the screen, it should get with the error message in the status bar. If I write with error message 'E' error mesage information displays and when I click on exit, it lives the current transaction.
Thank you!
PrasadHi,
Try as below.
MESSAGE IXXX DISPLAY LIKE 'E'.
LEAVE TO SCREEN XXXX.
After displaying the information message like E, leave to the screen you want to navigate or can also navigate to the transaction required.
Regards,
Nangunoori. -
How to display the output screen when I use bdc.
hey expert,
I want to display the output screen when i use bdc without using mode 'A'.
thank you.Hi,
You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
check this sample code....
I had a program if you execute below program it automatically creates a new zprogram.
REPORT zprogram_create_recording.
PARAMETER:
p_prog TYPE sy-repid OBLIGATORY,
p_shtxt TYPE repti OBLIGATORY,
p_pack TYPE devclass DEFAULT '$tmp'.
DATA:
t_bdcdata LIKE
STANDARD TABLE
OF bdcdata.
DATA:
wa_bdcdata LIKE LINE OF t_bdcdata.
REFRESH t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLWBABAP'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-PROGRAMM'.
wa_bdcdata-fval = p_prog.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'NEW'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSEDTATTR'.
wa_bdcdata-dynpro = '0200'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-REPTI'.
wa_bdcdata-fval = p_shtxt.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'TRDIR-SUBC'.
wa_bdcdata-fval = '1'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'CONT'.
APPEND wa_bdcdata TO t_bdcdata.
IF p_pack EQ '$TMP'.
*local object
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'TEMP'.
APPEND wa_bdcdata TO t_bdcdata.
ELSE.
*package assignment with request
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = p_pack.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'ADD'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0300'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO008-TRKORR'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'KO008-AS4TEXT'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'LOCK'.
APPEND wa_bdcdata TO t_bdcdata.
ENDIF. " IF P_PACK EQ '$TMP'
CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
Hope this would help you..
Regards
Narin Nandivada -
How to display the return message in popup window
Hi Experts,
In WDA i want to display the return message through popup window.
Regards,
M.Chella Meenal.hi Chella Meenal ,
you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
data:
lr_component type ref to if_wd_component,
ls_conf type wdr_popup_to_confirm,
lt_texts type string_table.
ls_conf-window_position = '1'.
ls_conf-button_1-text = 'OK'.
ls_conf-button_1-icon = 'ICON_OKAY'.
ls_conf-button_1-enabled = 'X'.
ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
lr_component = wd_comp_controller->wd_get_api( ).
append 'some text' to lt_texts.
cl_wd_popup_factory=>popup_to_confirm(
component = lr_component
text = lt_texts
CONFIGURATION = ls_conf
window_title = 'some title' ).
Regards
Chinnaiya P -
How to display the error message during the web dynpro application runtime
hi,
I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
But when i do the same on server-2,there just show something like:
500 Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
Failed to process request. Please contact your system administrator.
but the server-1 will stop the j2ee engine.
how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
Appreciate your inputs...
(Note:server-1 and server-2 have same software version)
Edited by: BingLin Zhong on Feb 18, 2008 2:13 AMThe Sap-Notes 962319:
1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
If it is undefined, proceed with the next step.
If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
Always consider restarting the system after making changes on the settings.
It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again. -
How to display the serial waveform on Labview
Hi,
I'm a newbie in Labview Programming. Is it possible to display the serial waveform on the display using Labview?
From
DonRS232 transmits binary. If you transmit the character A, that gets converted to hex 41 or 01000001 (assuming 8 data bits). There is also start, stop, parity bits. The logic levels for RS232 can between +3 to +12 volts or -3 to -12 volts. When you use LabVIEW to read a serial port, the UART in the pc will convert that digital data back into the character A and that's what LabVIEW or any other communications program like Hyperterminal will read. What exactly do you have hooked up to the serial port of the pc? Is it some kind of instrument or what? If it's an instrument sending data, then how the data is interpreted is dependent on the instrument. It might send back a reading as text. A 1 volt measurment might be transmitted as the ASCII characters "1" and "v". Other instruments might encode the data differently. Measurements made over a serial port can be easily visualized. Plain text received over a serial port is usually displayed as text.
-
How to display the output of report(9i) using Report Background Engine
Hi,
We are converting the forms and reports from 6i to 9i.
we could run the report in the browser from form using WEB.SHOW_DOCUMENT built-in, but we are not able to display the report output from form using the Report Background Engine.Let us know if you have any solution for this.
Regards,
Pramila.Pramila,
you have to use Reports Server called from RUN_REPORT_OBJECT(). Please see the Reports Integration whitepaper on otn.oracle.com/products/forms. You can either look it up in the Forms 10g collateral seciton or the Forms 9i collateral section.
Frank -
How to display the information message in the end in BDC
Dear All,
I have been submitting a BDC for FB01, in a dialog program of mine.
The BDC gets executed successfully but it does not display the 'Documnet No....generated' information message in the end.
I have even written the following code in the BDC, after call transaction, to accomplish this, by assigning the value of genno (variable) to sy-msgv1, but it's not working.
call transaction 'FB01' using bdcdata1 mode 'E'.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
genno = sy-msgv1.Hi,
try this its easy .
create an internal table e_report for sucess with the fields you want to display .like the same for F_tab for failure .
so finally u will be having the success record in e_report and the failure in f_itab.
call transaction 'FB09' using bdcdata MODE 'N' MESSAGES INTO IT_ERROR.
IF sy-subrc eq 0.
E_report-status = 'Sucessfully Updated'.
e_report-belnr = itab-belnr.
e_report-year = fiscalyear.
APPEND E_report.
else .
F_tab = itab.
F_tab-year = fiscalyear.
F_tab-status = 'FAILED'.
APPEND F_tab.
finally print this
sort e_report by belnr ascending.
LOOP AT E_report.
at FIRST .
WRITE:/'**********SUCCESSFUL RECORDS ARE **********'.
FORMAT COLOR 6.
WRITE:/ 'Document Numer',20 'Year',35'Status',54 ''.
ENDAT.
FORMAT COLOR 3.
write:/ E_report-belnr,20 E_report-year ,35 E_report-status.
FORMAT COLOR OFF.
at LAST.
write:/ 'Total No.Of Successful Records:',sy-tabix.
FORMAT COLOR OFF.
ENDAT.
RESERVE 20 LINES.
ENDLOOP.
IF F_tab is initial.
FORMAT COLOR 1.
WRITE:/ ' NO Errored Files'.
FORMAT COLOR OFF.
ENDIF.
WRITE:/ SY-ULINE.
new-PAGE. " to display in a new page
sort f_tab by belnr ascending.
LOOP AT F_tab.
at FIRST .
WRITE:/'**********FAILED RECORDS ARE **********'.
FORMAT COLOR 6.
WRITE:/ 'Document Numer',20 'Year',35'Status',54 ''.
ENDAT.
FORMAT COLOR 5.
WRITE:/ f_tab-belnr ,20 F_tab-year, 35 F_tab-status.
at LAST.
write:/ 'Total No.Of Failed Records:',sy-tabix.
ENDAT.
ENDLOOP.
ENDIF.
if they want to display in the excel sheet pass the internal table to the F.M.
plz motivate me.
by rewards.
thanks
vinoth -
How to display the status message based on student marks..
Hi all,
i have student table that has columns mark1,mark2,mak3...
i want to display the student name,staus as pass or fail based on the marks.. in a single query..
if the student score above 30 in all the subject i should display the status as pass other wise fail ( note:- status is not a column in the table)
Thanksselect e.student_name
,e.mark1
,e.mark2
,e.mark3
,decode(pass.flag,'Y','PASS','FAIL') status
from exam e
, (select e2.student_id,'Y' flag
from exam e2
where e2.mark1 > 30
and e2.mark2 > 30
and e2.mark3 > 30) pass
where e.student_id = pass.student_id (+);
STUDENT_NAME MARK1 MARK2 MARK3 STATUS
CNAME 40 50 60 PASS
DNAME 60 70 80 PASS
ANAME 20 30 40 FAIL
BNAME 30 40 50 FAIL Edited by: JamesK on May 30, 2013 12:38 PM
Edited by: JamesK on May 30, 2013 12:40 PM -
How to display the output of a reports called from forms in the same window
Hi all.
I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
How is that possible?.
I'm using Chrome 25.0. Could this be done through browser settings?.
Thanks in advance ...!
Edited by: myluism on 14-mar-2013 6:09Don't know for Chrome, so Google for it.
One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that. -
How to display the JSP output in the same page....
im new to JSP..... can anyone tell me how to display the output of a particular JSP page in the same page itself...... if anyone could send a small sample code it will be very useful for me....
thanks in advance
regds
Krish......Hi Robert -
When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
http://tinyurl.com/5b7bf
Andy -
In sap scripts how to display the driver program
Hi,
I Want to know the sap scripts How to display the output to driver programHi,
Go to NACE Transaction.
Select application for ex: if sales V1.
Click on output types.
Select the output type for ex : BA00
Double click on Processing routines.
There you can find the Driver Program name and Script/smart form name.
Reward if useful.
Thanks,
Raju -
How to display the variable content in message?
Hi anybody
please let me know How to display the variable content in message?
please send few lines of sample code to understand that
thanks in advanceHi,
Check out the link
http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
REPORT Y9020027 LINE-SIZE 130. "Release 3.1G, 4.5A
BREAK-POINT.
MOVE: 'TESTREPORT for "ASSIGN FFeld+o(l) TO " '
TO SY-TITLE.
Declaration of variables **********************
FIELD-SYMBOLS <FS1>.
DATA: FFELD8(8) TYPE F VALUE '1022333'. "Unusual: Explicit 8 bytes
*DATA: ZFELD1(2) TYPE N. "Here slack bytes are (DW border)
"necessary
"If you like computing error, please uncomment the above
DATA: FFELDX(8) TYPE F VALUE '7777777'.
DATA: FFELDA(8) TYPE F VALUE '7333213'.
DATA: NFELDX(400) TYPE N.
DATA: OFFX(4) TYPE I VALUE 160.
DATA: LENX(4) TYPE I VALUE 8.
Main Section *******************
SKIP.
WRITE: /5 'Example 1 **** inadmissible ASSIGN ***' COLOR 6.
WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
ASSIGN FFELD4+1(3) TO <FS1>.
ULINE.
SKIP 2.
SKIP.
ASSIGN FFELD8+8(8) TO <FS1>. "<-- Assigning of variable FFELDX !!
BREAK-POINT.
WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
COLOR 3.
WRITE: /5 'Example 2'.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDX :', FFELDX.
ULINE. SKIP 2.
SKIP.
ASSIGN FFELD8+16(8) TO <FS1>. "<-- Assiging a few FFELDA to <FS1>
BREAK-POINT.
WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
COLOR 3.
WRITE: /5 'Example 3'.
WRITE: /10 'Content of FFELDA :', FFELDA.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDA :', FFELDA.
ULINE. SKIP 2.
BREAK-POINT.
DO 4 TIMES.
ASSIGN FFELD8+OFFX(LENX) TO <FS1>. "Zuordnung auf OFFX zu <FS1>
WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
COLOR 5.
WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of NFELDX145(40) :', NFELDX145(40).
ULINE. SKIP 2.
ADD 8 TO OFFX.
ENDDO.
Subroutines *******************
Display of data fields and field symbols *
FORM DISPLAY-FFELD USING FFELD FNAME.
WRITE: /10 'Content of', FNAME, ':', FFELD.
PERFORM FELDEIGENSCHAFTEN USING FFELD.
WRITE: /10 'Content of <FS1> :', <FS1>.
PERFORM FELDEIGENSCHAFTEN USING <FS1>.
ADD 111 TO <FS1>. "<-- Das Feldsybmol wird verwendet
WRITE: /10 'ADD 111 TO <FS1>'.
ULINE.
WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
WRITE: /10 'Content of <FS1>', 35 ':', <FS1>.
ENDFORM.
Determination of field properties (only for information) *
FORM FELDEIGENSCHAFTEN USING ALLG.
DATA: FLAENGE(2) TYPE N.
DATA: FTYP(1) TYPE C.
DATA: FOUT(2) TYPE N.
DATA: FDEZ(2) TYPE N.
ULINE.
DESCRIBE FIELD ALLG LENGTH FLAENGE.
WRITE: /10 'Field length :', FLAENGE.
DESCRIBE FIELD ALLG TYPE FTYP.
WRITE: /10 'Field type :', FTYP.
DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
WRITE: /10 'Output length :', FOUT.
DESCRIBE FIELD ALLG DECIMALS FDEZ.
WRITE: /10 'Decimals :', FDEZ.
SKIP 1.
ENDFORM.
END OF PROGRAM ************************************* -
How to display the fields in ALV Output without using Field catalog?
How to display the fields in ALV Output without using Field catalog?
Could you pls tell me the coding?
Akshitha.Hi,
u mean without building field catalog. is it? I that case, we can use the FM REUSE_ALV_FIELDCATALOG_MERGE.
data: itab type table of mara.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_structure_name = itab
CHANGING
ct_fieldcat = lt_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
*Pass that field catalog into the fillowing FM
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_grid_title = 'REPORTING'
is_layout = gt_layout
it_fieldcat = lt_fieldcat[]
tables
t_outtab = itab.
Maybe you are looking for
-
Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1
-
Question about downgrading from Snow Leopard to Leopard
After many problems with Snow Leopard (unable to print, programs crashing, dissatisfaction with the new Preview, etc., etc.), I have decided to go back to plain old Leopard for the time being. I was perfectly happy with version 10.5.8 and had no prob
-
DISPLAY THE CALENDER IN FORMS 6I
PLS EXPLAIN HOW TO DISPLAY THE CALENDER IN FORMS 6I. ALSO I WANT TO PICK A DATE TO FIELD FROM CALANDER THANKING YOU REGDS, LAKMAL
-
How to install and configure Sun java messaging server 6 2005Q4
Hi all, Please tell the steps to install and configure Sun Java Messaging Server 6 2005Q4. Thanks.
-
I have Vista SP1 with 4GB of Memory, ok I know I reallyt only have access to a little over 3GB but LR is only making use of 712MB which is crazy low .... WHY ? And please don't tell me it has anything to do with fragmentation because it's not. Lightr