Display the nonsecure content pop-up problem
Hi All,
ive created a portal component, that contains iframe. Within that iframe content from URL using HTTP is showing, but the portal is using HTTPS so the pop-up is raising, when user is accessing the site, saying that secure and nonsecure content will be displayed.
Anyone knows how to solve the problem?
Thanks for help!
Karol
Hi Karol,
As one of the developers of the URL iViews I can suggest different direction:
1. Craete new URL iView (intead of the portal component you're using now) with the same URL to the page referenced by the IFrame.
2. In the property editor of the URL iView switch the fetching mode to server-side.
3. Remember that you need to set your http proxy to that machine.
Let me know if you need more help with that.
Similar Messages
-
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 same content in the two different main windows?
Hi experts,
How to display the same content in the two different main windows?
Thanks in advance.
sarathHi
Sorry but you can't have two main windows in sapscripts.
Regards
Gregory -
How to display the xml content into my datagrid
Hi Experts,
i have created a webservice for sales quotation through DI-Server.iam able to add a new sales quotation through my coding & iam able to get the sales quotation based on the DOcEntry in an *XML file*.
The xml file that i got using DOCENTRY is in this way:--
<?xml version="1.0" encoding="utf-8" ?>
- <BOM>
- <BO>
- <AdmInfo>
<Object>oRecordset</Object>
</AdmInfo>
- <OQUT>
- <row>
<DocEntry>8</DocEntry>
<DocNum>8</DocNum>
<DocDate>20080715</DocDate>
<DocDueDate>20080815</DocDueDate>
<CardCode>C0003</CardCode>
<CardName>HP India</CardName>
<DocTotal>14500.000000</DocTotal>
<ItemCode>A00006</ItemCode>
<Dscription>HP Officejet 7310 All-in-One</Dscription>
<Quantity>1.000000</Quantity>
<Price>14500.000000</Price>
<Currency>INR</Currency>
<DiscPrcnt>10.000000</DiscPrcnt>
<LineTotal>14500.000000</LineTotal>
</row>
</OQUT>
</BO>
</BOM>
Now the problem is from this xml content i should display the values in my datagrid like:
DocEntryCardCodeDocDueDateItemCodeDscriptionQtyTotal
8--C000320081116--A00006-HP-off jet-2 --- 1000
can anybody suggest me some ideas that how to get the SPECIFIED values into my datagrid...........
regards,
shangai.hi vincent,
Thanks for your reply.iam unable to understand these lines in your code..iam working in vb.net
public static DataSet GetDataSetFromXML(XmlNode XMLNode)
grid.DataSource = GetDataSetFromXML(Result.SelectSingleNode(xpath_string));
this is my coding....it's throwing an error when i declare like this
Public Sub GetDataSetFromXML(ByVal XmlNode)
Dim ds As New DataSet
Dim reader As XmlNodeReader
reader = New XmlNodeReader(XmlNode)
ds.ReadXml(reader)
reader.Close()
'Return ds --->(error with syntax)
End Sub
DataGrid1.DataSource = GetDataSetFromXML(oXmlReply.SelectSingleNode("//DocDueDate"))
DataGrid1.DataBind()
regards,
shangai -
Mail won't display the message content
I'm using Mail 3.0 in Leopard and using it to check three mail accounts: .Mac, Comcast, and GMail. My installation of Leopard is an upgrade from OS X 10.4.10. Everything has been working brilliantly until yesterday. Mail now shows there are new emails and displays the list of all messages but clicking on a message to read it's contents displays nothing. The preview window is blank. Double clicking the message shows a blank windows.
Between yesterday and today I did nothing that should have altered Mail's settings. Has this happened to anyone? Any ideas of what to do to resolve the problem? Could SpamSieve or GrowlMail be the culprit in this (even though they've been there since day one)?Same problem here. Some (few) email bodies are not shown. When I hit reply, body is empty too.
Here are the last part of the headers of one of those messages
Received: (qmail 471 invoked from network); 15 Nov 2007 02:21:07 -0000
Received: from kuiper.ioppublishing.com (193.128.223.163) by rankine.ioppublishing.com with SMTP; 15 Nov 2007 02:21:07 -0000
Message-Id: <[email protected]>
Errors-To: [email protected]
Mime-Version: 1.0
Content-Type: multipart/related; boundary="----=Part_1174727903529.1195093267562"
X-Imss-Version: 2.049
X-Imss-Result: Passed
X-Imss-Scaninfo: M:B L:N SM:2
X-Imss-Tmaseresult: TT:1 TS:-4.6526 TC:1F TRN:26 TV:5.0.1023(15546.002)
X-Imss-Scores: Clean:100.00000 C:0 M:0 S:0 R:0
X-Imss-Settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
For the record: I am not using any mail plugin and I did a fresh install on my MBP of Leopard
For the record (II): using other email clients (thunderbird) messages are shown properly -
How to display the message in Pop Up
Hi All,
I have BSP page, in which there is a button. On click of the button a pop will open in which a table is displayed. And in the same Pop Up we have two more buttons. One is to Perform certain process be selecting a record in the table displayed. And the other one is the close button which is used to close the Pop Up.
Now i want to display a success message in the same Pop Up below the button after performing the process on click of the first button.
Could someone help me regarding this.
Thanks & Regards,
Karthik MD.
Edited by: Karthik.M.D on Feb 11, 2010 9:18 AMHi Karthik,
The scenario sounds pretty simple. In a BSP, the popup dialogs can be displayed by using Javascripts.
Window.open("");
should do the trick for opening a dialog.
Solution:
1. Design two page with flow logics, say A & B, where A is the parent page and B is the child page.
2. On click of a button in page A, with the help of the Javascript, open a popup with page B inside the popup.
Did you try to implement the solution? Hope it helps!
Regards,
Maheswaran -
Hi,
I have textarea in my APEX Page and I set the max length into 4000, After Save and Submit I am displaying the content as Display Text Item.
All the data's what user provided in the textarea is coming in single line. My screen is going for task.
How to fix this issue.
Regards
Balaji SHi,
If you try use pre tag.
Place to item Pre Element Text
<pre>and Post Element Text
</pre>Br, Jari -
Displaying the HTML content ( VO attribute) as tooltip description.
Hi all,
I am doing a customization, where I need to display the VO attribute value as a tool tip for a link in advanced table column.
The VO attribute value is a "HTML" text.
Now, in the tool tip also, it is displaying in HTML format.
Do anyone know how to convert this HTML format to a string format.
Thanks in advance.Hi Gyan,
This is one sample.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.14">
<TITLE>RE: RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">Hi John,</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">Further to the telecon please find the latest logs attached:</FONT>
</P>
<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<SFILE-BOTTOM_ReplicationAgent.exe_Events.zip>> </FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<SYSTOOLS_Server.exe_Default.zip>> </FONT>
<BR><FONT FACE="Comic Sans MS">Thanks and Regards,</FONT>
<BR><FONT FACE="Comic Sans MS"> </FONT>
<BR><B><FONT FACE="Comic Sans MS">Vasuki N S</FONT></B>
<BR><B><FONT FACE="Comic Sans MS">Technical Support Engineer</FONT></B>
<BR><FONT FACE="Comic Sans MS">----------------------------------------------------------------------------</FONT>
<BR><U><FONT COLOR="#0000FF" FACE="Comic Sans MS">[email protected]</FONT></U>
<BR><FONT FACE="Comic Sans MS">Working Hours Wed - Sat: 1PM – 12AM EST </FONT>
<BR><FONT FACE="Comic Sans MS">For technical assistance outside my regular working hours, please call:</FONT>
<BR><FONT FACE="Comic Sans MS">US & Canada 888-4-NETAPP // * EMEA+Europe 00-800-44-NETAPP // * Asia/Pacific 800-8008-0800</FONT>
</P>
<BR>
<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Ns, Vasuki </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent: </FONT></B> <FONT SIZE=1 FACE="Tahoma">Thursday, November 29, 2007 7:52 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To: </FONT></B> <FONT SIZE=1 FACE="Tahoma">'[email protected]'</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Cc: </FONT></B> <FONT SIZE=1 FACE="Tahoma">'[email protected]'; '[email protected]'; '[email protected]'; Vantive CS; Gough,William</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject: </FONT></B> <FONT SIZE=1 FACE="Tahoma">RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Hi Mike,</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">I would like to inform you that I have taken the ownership of this case and will be working with you for requisite case follow-up.</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Please do let us know if you have further issues/queries with respect to this case?</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Please note my working hours of 1 PM until 12 AM EST on Wednesday through Saturday. If you need immediate assistance outside of these hours, please call into the TECH SUPPORT </FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">HOT LINE 1888 463 8277 and reference your case number, the next available engineer will be able to assist you</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Thanks and Regards,</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS"> </FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Vasuki N S</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Technical Support Engineer</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Network Appliance ® Inc. </FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Email:[email protected]</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">-------------------------------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Get answers NOW! @ </FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">http://now.netapp.com</FONT></U><FONT SIZE=2 FACE="Comic Sans MS"> or @ </FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Comic Sans MS">www.netapp.com</FONT></U>
<BR><FONT SIZE=2 FACE="Comic Sans MS">-------------------------------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">For technical assistance outside my regular working hours, please call:</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">US & Canada 888-4-NETAPP // * EMEA+Europe 00-800-44-NETAPP // * Asia/Pacific 800-8008-0800 </FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS"> </FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Everyone at Network Appliance is committed to the highest level of customer satisfaction. If at any time you feel that you’re less than very satisfied with our support, please contact my manager, David Bauer [email protected].</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Comic Sans MS">From: Bingen, Chance </FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Sent: Thursday, November 29, 2007 11:34 AM</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">To: 'Luu, Mike'; Support</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Cc: FS Support; Vantive CS; Gough,William; Khe Lam</FONT>
<BR><FONT SIZE=2 FACE="Comic Sans MS">Subject: RE: [NETAPP LOG # 2611146] (Ref. # RQST00000068819) VFM</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Thanks, Mike!</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">I appreciate the logs. I was searching them for a listing of kfeintuc's file you mentioned previously, and didn't see it listed in the server or RA default logs you sent.</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Was the RA log you sent from the VFM server or from the source server? And is the source server a Windows box or a filer?</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">As it is, we see lots of file in use type errors, such as this one: "0x80070020 - The process cannot access the file because it is being used by another process." for "DefaultCopier::OnException: CIFSHandleCache::GetHandle: via CIFSVolumeProvider::ScanAltDataStreams_UsingQIF, CreateFile(<\\bri-net\p$\PShare\Neuroscience\Y Shi Grp\Individual\shli\old pc\COH-project issues\Tissue preperation records-Shengxiu.xls>,R--,--,00000000) failed"</FONT></P>
<P><FONT SIZE=2 FACE="Comic Sans MS">This may be expected given the environment.</FONT>
</P>
<P><FONT SIZE=2 FACE="Comic Sans MS">Thanks!</FONT>
</P>
</BODY>
</HTML> -
Can I display the table content of a web page??
Hi guys I am new to java and here I need to count the words in each table and display the table with largest number of words . This being a part of my huge project. Below is my code where I have succeeded in displaying all the tables present in the web page.But I need to count all the words in the table and display only that table which has largest number of words including all the tags. So java experts please help me with this piece of code...................
import java.net.*;
import java.io.*;
import java.util.*;
import java.util.regex.*;
public class findtable{
public static void main(String[] args) {
String inputLine = null;
String wholeHtml = "";
int trcount=0;
try{
URL yahoo = new URL("http://books.google.com/books?q=+subject:%22+Science+Fiction+%22&as_brr=3&rview=1&source=gbs_hplp_fict");
URLConnection yahooConnection = yahoo.openConnection();
BufferedReader br = new BufferedReader
(new InputStreamReader(yahooConnection.getInputStream()));
int start = 0;
while ((inputLine = br.readLine()) != null) {
wholeHtml += inputLine;
if (inputLine.contains("<table")){
++start;
if (start != 0) {
System.out.println(inputLine);
if (inputLine.contains("</table>")) {
--start;
catch (MalformedURLException me) {
System.out.println("MalformedURLException: " + me);
catch (IOException ioe) {
System.out.println("IOException: " + ioe);
}So any help would be really really appreciated....
The code should take care of nested tables also..
So guys looking forward for the generous help....I have already parsed the HTML and checked all the closing of tags and corrected the indent using Tidy and then I have applied this code so some other suggestions please
-
DISPLAYING THE SELECTED CONTENT.
HI THIS IS A PROGRAM FOR DISPLAYING THE ITEM NO,ITEM DESCRIPTION AND PO QUANTITY AND PO NUMBER FROM TABLES EKPO AND EKKO RESPECTIVELY WITH SELECTION CRITERIA AS POSTING DATE. I WANT TO KNOW IF THIS PROGRAM IS RIGHT.
IF IT IS RIGHT THEN CAN YOU PLEASE HELP ME WITH THE DISPLAYING PART OF THE PROGRAM. IF THERE ARE ANY CHANGES PLEASE LET ME KNOW. thank you.
TABLES : EKKO,
EKPO.
DATA : BEGIN OF ITAB1 OCCURS 0,
EBELN LIKE EKKO-EBELN.
DATA : END OF ITAB1.
DATA : BEGIN OF ITAB2 OCCURS 0,
EBELP LIKE EKPO-EBELP,
MENGE LIKE EKPO-MENGE,
TXZ01 LIKE EKPO-TXZ01.
DATA : END OF ITAB2.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN,
S_AEDAT FOR EKKO-AEDAT.
START-OF-SELECTION.
SELECT EBELN FROM EKKO INTO TABLE ITAB1 WHERE EBELN IN S_EBELN AND AEDAT IN S_AEDAT.
IF SY-SUBRC = 0.
ENDIF.
IF NOT ITAB1[] IS INITIAL.
SELECT EBELP MENGE TXZ01 FROM EKPO INTO ITAB2 FOR ALL ENTRIES IN ITAB1 WHERE EBELN = ITAB1-EBELN.
ENDSELECT.
ENDIF.Hello
There is some improvement possible. You may have a look at the sample report ZUS_SDN_SELECT_CONTENT:
*& Report ZUS_SDN_SELECT_CONTENT
REPORT zus_sdn_select_content.
TABLES : ekko,
ekpo.
DATA: gt_fcat TYPE lvc_t_fcat,
gs_layout type lvc_s_layo,
gs_variant type disvariant.
DATA : BEGIN OF itab1 OCCURS 0,
ebeln LIKE ekko-ebeln.
DATA : END OF itab1.
DATA : BEGIN OF itab2 OCCURS 0,
ebelp LIKE ekpo-ebelp,
menge LIKE ekpo-menge,
txz01 LIKE ekpo-txz01.
DATA : END OF itab2.
SELECT-OPTIONS : s_ebeln FOR ekko-ebeln,
s_aedat FOR ekko-aedat.
START-OF-SELECTION.
SELECT ebeln FROM ekko INTO TABLE itab1
WHERE ebeln IN s_ebeln
AND aedat IN s_aedat.
IF sy-subrc = 0.
ENDIF.
IF NOT itab1[] IS INITIAL.
SELECT ebelp menge txz01 FROM ekpo INTO TABLE itab2
FOR ALL ENTRIES IN itab1 WHERE ebeln = itab1-ebeln.
ENDIF.
PERFORM build_fieldcatalog.
perform SET_LAYOUT_AND_VARIANT.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
* I_CALLBACK_PROGRAM = ' '
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
IS_LAYOUT_LVC = gs_layout
IT_FIELDCAT_LVC = gt_fcat
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS_LVC =
* IT_SORT_LVC =
* IT_FILTER_LVC =
* IT_HYPERLINK =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT = gs_variant
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT_LVC =
* IS_REPREP_ID_LVC =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP =
* I_HTML_HEIGHT_END =
* IT_EXCEPT_QINFO_LVC =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = itab2[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END-OF-SELECTION.
*& Form BUILD_FIELDCATALOG
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog .
* define local data
DATA: ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'EKPO'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_BYPASSING_BUFFER =
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_fcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'EBELP' OR
'MENGE' OR
'TXZ01'.
WHEN OTHERS.
ls_fcat-tech = 'X'. " hide columns
ENDCASE.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG
*& Form SET_LAYOUT_AND_VARIANT
* text
* --> p1 text
* <-- p2 text
form SET_LAYOUT_AND_VARIANT .
clear: gs_layout,
gs_variant.
gs_layout-zebra = 'X'.
gs_layout-cwidth_opt = 'X'.
gs_variant-report = syst-repid.
gs_variant-handle = 'GRID'.
endform. " SET_LAYOUT_AND_VARIANT
Regards
Uwe -
Is anyone experimenting this kind of problems or has resolved it? Thanks. I use LabVIEW 6.1 with Windows 98.
Squish,
This forum is for CAN questions. I would strongly urge you to repost your question to the LabVIEW General category and this is a LabVIEW question.
Also, does the FTP Browser shipping example that comes with the Internet Toolkit work? If it does, then I would suggest studying that example. If it does not, then I would suggest reposting your question and giving much more detail about which VI is giving you the error and a general overview of the program.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask -
How to display the file contents???
Hi all,
I have a JSP page which is suppose to display resource contents on clicking of href like this:
<td><a href="">Click here</td>But the problem is, these contents are stored some where on the hard disk of the system inside the folder \\LMS\Resources\doc\knowledge.doc.
some other file I have like:
\\LMS\Resources\pdf\display.pdf
It can be any file (PDF,DOC,SOUND AUDIO).
Can anyone please tell me how to open the contents of the file directly from href???
Or I should use some other way to display those files.??I just want a way to start with.......
Thanks in advance
NamrataHello Namrata,
There are millions of ways to do this.
1. You can create a shared drive in your server as "\\LMS\Resources" pointing to K Drive etc... You can write a simple servlet which picks up the relative path from "\\LMS\Resources" which is "pdf\display.pdf" and it can read the file and then based on the file extension it can resend the response mime type for the browser to pick it up. This can be done in both Windows and Unix environments.
2. Have a Content Management System like Lotus Domino, Fatwire, etc and upload all contents and point the href to the Content Management System URL.
3. You can upload the documents into a database as BLOB data and then use it to render content.
4. You can also have a regular program which synchronizes the data from \\LMS into the Server hardware in a particular location.
In Options 1, 3, 4 you need the servlet to render the content out to the Client browser.
All this can be done based on the Technology environment, cost available to spend, Skill sets available and other factors.
Do let me know if you need any more information
Thanks,
Pazhanikanthan. P -
How to display the data in PDF format : problem is splitting into 2 lines
Hi ,
I developed one report which downloads the data into PDF format and saved in C drive but my problem is
in my program : Line size of the report is 255 in PDF it is splitting into 2 lines. it has to show in a single line. how to do it. how to reduce the width of the output? i am sending my code below. anybody can suggest me how to do it. if possible please send me the code.
my code:
report zmaheedhar.
maheedhar-start
TABLES : vbak.
parameters : p_vbeln type vbak-vbeln.
data : begin of itab occurs 0,
vbeln type vbak-vbeln,
ERDAT type vbak-erdat,
ERZET type vbak-erzet,
ERNAM type vbak-ernam,
ANGDT type vbak-angdt,
BNDDT type vbak-bnddt,
AUDAT type vbak-audat,
VBTYP type vbak-vbtyp,
TRVOG type vbak-trvog,
AUART type vbak-auart,
AUGRU type vbak-augru,
GWLDT type vbak-gwldt,
SUBMI type vbak-submi,
LIFSK type vbak-lifsk,
FAKSK type vbak-faksk,
NETWR type vbak-netwr,
WAERK type vbak-waerk,
VKORG type vbak-vkorg,
end of itab.
maheedhar-end
DATA: pripar TYPE pri_params,
arcpar TYPE arc_params,
lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
rows TYPE pri_params-linsz.
DATA: val(1), val1(1).
*---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
DATA: name TYPE pri_params-plist VALUE 'Testing'.
DATA: i_pdf TYPE STANDARD TABLE OF tline.
DATA: spono TYPE tsp01-rqident.
maheedhar-start
top-of-page.
write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
'Date','Document Date','SD document category','Transaction group','Sales Document Type',
'Order reason'.
start-OF-SELECTION.
select vbeln ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
VBTYP TRVOG AUART AUGRU GWLDT SUBMI LIFSK
FAKSK NETWR WAERK VKORG from vbak
into table itab
where vbeln = p_vbeln.
maheedhar-end
--- Retreive local printer details
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = dest
no_dialog = 'X'
immediately = ' '
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*-- Set Spool printer details w.r.t local printer
pripar-prdsn = 'DSN'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_archive_parameters = arcpar
in_parameters = pripar
no_dialog = 'X'
list_name = name
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc EQ 0.
---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar
NO DIALOG.
ELSE.
WRITE:/ 'Unable to create spool'.
ENDIF.
*--- Output statements
*WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
*WRITE:/ 'Second Line'.
LOOP at itab.
write: itab-vbeln,
itab-ERDAT,
itab-ERZET,
itab-ERNAM,
itab-ANGDT,
itab-BNDDT,
itab-AUDAT,
itab-VBTYP.
ENDLOOP.
"---> Close spool
NEW-PAGE PRINT OFF.
spono = sy-spono.
Convert ABAP Spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spono
no_dialog = 'X'
TABLES
pdf = i_pdf
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
Download PDF contents to presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'c:\test.pdf'
filetype = 'BIN'
TABLES
data_tab = i_pdf
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
thanks,
maheedharhi tripat,
actual problem is what u said it is decreased the wiidht of the output.
now the output is:
Sales Document C Date Entry time Created By Quotation date Date Document Date
SD document category Transaction group Sales Document Type Order reason
62741 07/29/1996 11:54:38 DARLENE 00/00/0000 00/00/0000 07/29/1996 C
actual output is:
output should come in a single line. it is splitting into 2 lines.
thanks,
maheedhar -
Not able to display the Portal Contents
Hi
I created new user and assigned only one role called "Content Administrator"
When i loggned using that user then i am not able to see the contents under the browse tab.
Please let me know what to do if i want get the contents under the browser tab;
Thanks
mmukeshIs your laptop's Internet explorer version is IE 7.0? If thats the case then it might be the issue. Portal doesnt work well with IE 7.0 and you get some problems like these a lot of times. You can correct this to include IE 7.0 also but that you have to configure via the Visual Admin. For now to confirm this - just try checking IE version - and if its 7.0 try installing IE 6.0 to see whether you are still getting the error.
You can see note number 991449 to find out how you can include IE 7.0 also to your portal setting to eradicate this error. Well - if at all thats the cause. Please verify that before doing anything.
Regards,
Shubhadip
Message was edited by:
Shubhadip Ghosh -
Recently, I altered how my sub menes are displayed. I opted to have the sub menues display a "Show All" option to access the entire sub menu. This was a mistake and I can not determine how to return my sub menues to the complete list of available choices. How do I do this?
Which sub menus do you mean?
Are that sub menus from the Firefox menu bar or orange Firefox menu button or the context menu on a web page or otherwise?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
Lync Application and Desktop Sharing - Restrict remote access/Telnet
I have a customer and they are paranoid about using Lync application/desktop sharing which could potentially enable remote users from getting into their internal IT systems. They are asking if we could restrict application/desktop sharing specifical
-
Hi, i have created a very detailed map in illustrator CS4 (PDF file). Then i wanted to add hyperlinks, so i opened the pdf file in Adobe Acrobat Pro 9 to put the links on. everything worked perfectly. Then i had to change something on my map - so i o
-
I am sure this post is going to reveal my total apple ignorance but I am tired of messing around on my own. I am making back up cds of all my photos. I scan the negatives into iPhoto and then make a cd that can be used on a PC or Mac but exporting th
-
When i try to download an app, i get a message that says my applied has been disabled
when i try to download an app, i get a message that says my applied has been disabled, what can i do, i already reset my password??
-
Coldfusion 10 on Mac OS 10.8?
Is there an estimated date for when Coldfusion 10 will be available for Mac OS 10.8?