Log display showing XML instead of table
Had a customer re-install xMII 11.5 SR3 and copy transactions, config XML files, ref docs, etc. We don't know exactly the extent of what was/was not copied.
Now the logs (general, user, etc.) are being displayed as xMII XML instead of being transformed into the standard HTML table. BLE is working, applets work, portal navigation works, IIS is running, and the .../wwwroot/Illuminator/StyleSheets directory appears ok.
Any ideas or things to check?
Thanks,
-tim
Tim,
Check to make sure that for both the IIS root directory and Lighthammer directories so that the SYSTEM and IUSR_<MachineName> users have Full Control and Inheritable permissions are set. Sometimes these are lost by Windows and the application can't access various resources properly.
Hope this helps.
Sam
Similar Messages
-
UCCX 10.5 - Agent Cal Log Display showing N/A
Hello,
Running 10.5.1.10000-24 UCCX and CAD 10.5.1.151
Recently upgraded and since the agents running CAD show N/A when viewing Agent Call Log Display from Reports. The other three drop down options are working. I double checked that the CAD version they are running is the correct version.
Any idea's?
ThanksCna you share a screenshot?
-
ENUM 'digital display' showing up instead of 'item' when specifying module
When there is an ENUM with a string in 'item' that string gets selected
and displayed when specifying a module. This makes sense. But if the
ENUM 'items' are numeric, you can select one of the ENUM items from the
pull-down list (when specifying the module), but when you press the
'ok' button and then try to specify the module again it reverts to the
'digital display' integer reference index. If you do not have a 1:1
correspondence between 'item' and 'digital display' (e.g. 0 to 0, 1 to
1, 2 to 2, etc.) it appears to be very odd behavior, like it isn't
taking the value you selected. Actually it is, but if you don't know
what the 'digital display' numbers refer to you can't tell if it is
right.
Is there a way to get it to stop doing this? Just display the item that was selected, not the 'digital display' reference?
JohnEither I'm not understanding the problem, or I'm not seeing what you're seeing.
If I drop an enum and use numbers for the "Item Strings", the numbers I
entered for the items are all that I see in the enum selection list.
It sounds like what you are saying is you are seeing the enum index being displayed in the selection list. Is this correct?
Also, what version of LabVIEW are you using.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
If the log display 'show log' is long and I need to jump to the bottom of display rather than scrolling down, is that possible ?
3850#sh log | inc May 2
3850#sh log | inc May 2
May 2 19:10:42.043: %LINK-5-CHANGED: Interface GigabitEthernet1/0/1, changed state to administratively down
There really needs to be a better command to go to the bottom of the output.
As seen above, I had to put two spaces between May and 2 for the command to work properly.
I'm hoping for something more Linux-y, Cisco!
like the tail command, which shows the last 10 entries in the file (by default).
[Linux-host]# cat /var/log/messages | tail
May 2 15:20:01 Linux-host crond[18082]: (root) CMD (/usr/lib/sa/sa1 1 1)
May 2 15:29:28 Linux-host db daemon[6498]: updater started -1778637296
May 2 15:29:31 Linux-host db daemon[6498]: updater exited -1776017296
May 2 15:29:31 Linux-host db daemon[6498]: update took -4292.35 sec
May 2 15:29:31 Linux-host db daemon[6498]: update is finished, using new DB
May 2 15:30:01 Linux-host crond[23396]: (root) CMD (/usr/lib/sa/sa1 1 1)
May 2 15:39:53 Linux-host sshd[28626]: Address 10.77.8.40 maps to host.domain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
May 2 15:39:56 Linux-host sshd[28626]: Accepted password for myuser from 10.77.8.40 port 55740 ssh2
May 2 15:39:56 Linux-host sshd[28626]: pam_unix(sshd:session): session opened for user myuser by (uid=0)
May 2 15:40:01 Linux-host crond[28740]: (root) CMD (/usr/lib/sa/sa1 1 1)
[Linux-host]#
or you could just run this command:
[Linux-host]# tail /var/log/messages
I listed the cat command because it is roughly equivalent
Here's what I would like to see as a command option from Cisco:
sh log | tail
interesting.... I tried the tail command on a 3850 switch and got this output:
3850#tail ?
The command you have entered is available in the IOS.sh.
However, the shell is currently disabled. You can enable
it on this terminal by typing
'term shell'
You can also enable it for all terminals by configuring the
'shell processing full'
command. There is additional information in the man command.
For more information, enable shell, and then enter:
'man IOS.sh'
aha! this worked !! (see below)
(even though tail is not listed as an option on the command)
3850#term shell
3850#sh log | ?
append Append redirected output to URL (URLs supporting append operation
only)
begin Begin with the line that matches
count Count number of lines which match regexp
exclude Exclude lines that match
format Format the output using the specified spec file
include Include lines that match
redirect Redirect output to URL
section Filter a section of output
tee Copy output to URL
3850#sh log | tail
*Mar 24 08:17:32.649: %SYS-6-CLOCKUPDATE: System clock has been updated from 03:17:32 EST Mon Mar 24 2014 to 04:17:32 EDT Mon Mar 24 2014, configured from console by vty0. (3850-2)
Mar 24 15:27:48.976: %SYS-5-CONFIG_I: Configured from console by myuser on vty1 (10.77.8.40)
Mar 24 16:23:40.601: %CRYPTO-6-AUTOGEN: Generated new 768 bit key pair
<output omitted for brevity and security - but there were 10 entries !>
May 2 19:10:57.132: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to down
3850# -
CSD 8.01(a) - Agent ACD State Log Display does not show loing time
Hello,
I have a customer that has was upgraded to CAD 8.0 and now the Agent ACD Sate Log Display does not alway show the login time for agents. We moved them to 8.01(a) for other issues but this one remains. Any ideas?
JeffTahir -- These questions are best asked on the general application server forum. They can answer questions related to Oracle9iAS in general, like questions on Enterprise Manager. It is located at:
http://forums.oracle.com/forums/forum.jsp?id=466592
Thanks -- Jeff -
I just upgraded my iPhone4s to iOS7 and now I am unable to make phone calls and send/receive text messaes. Network signal indicator on the upper left side of the display shows hollow circles instead of full circles (but with the network provider name). I checked with my colleagues in the office who use the same network and theirs work just fine on iOS7. Any idea how to fix the problem?
I have also called my service provider and my service remains active in the network. I tried removing and reinserting my SIM but to no avail.
-
Hello people, my MBP's systempref>Display shows "Color LCD" when ity should have been MacBook Pro! YTF is it like that?
It's supposed to read "Color LCD" - there's no "MacBook Pro" color profile (unless you've created one and saved it with that name).
Clinton -
How to display an XML in Web Dynpro
Hi,
I am pretty new to Web Dynpro and have a specific requirement.
I have a web dynpro page on which we display a table. One of the columns in the table is a XML message. Now on lead selection of each row I want to display the contents of the XML in an embedded control below the table. I have already implemented the functionality to download the XML message to file system but I want a capability to show the XML contents within my page in a formatted way.
If I use a text view, the XML does not look very nice.
I do not want to implement a new tree control based control now where I parse my xml file and then try to recursively generate a tree. This will take time for me as i am not very well versed with WD programming.
Can anyone tell me if there exists any control in WD which can display the XML in formatted way?
If you guys have used the new ABAP debugger and seen the XML viewer in it then you can get an idea of what I need. I am not sure about the control that the ABAP debugger uses. It will be good if someone can help me find something like that.
After all WD is all about reusability.
Regards,
VikasHi Vikas,
see this little example which creates a xml file to download and open in the browser. Put it in an action handler method.
DATA lr_conv TYPE REF TO cl_abap_conv_out_ce.
DATA lv_data TYPE string.
DATA lv_xfile TYPE xstring.
lv_data = '<?xml version=1.0" encoding="utf-8"?> put your xml here'.
cl_abap_conv_out_ce=>create( RECEIVING conv = lr_conv ).
lr_conv->convert( EXPORTING data = lv_data
IMPORTING buffer = lv_xfile ).
cl_wd_runtime_services=>attach_file_to_response(
EXPORTING
i_filename = 'test.xml'
i_content = lv_xfile
i_mime_type = 'application/xml' ).
Hope this helps you. Revert if need some more help.
Regards,
Pavan. -
OO ALV displaying without Values despite Internal table contains
My below OO ALV displaying without Values despite Internal table contains the values ...
Help please ...
REPORT zsd_concession1 NO STANDARD PAGE HEADING
LINE-SIZE 285
LINE-COUNT 64
MESSAGE-ID zz.
Program Description ******************************
This report is to Calculate consession against Quotations
complying standards for enhanced Performance, Readability &
Maintenance.
Change Log *********************************
Remedy # / Who When Why / What
Transport #
CLASS lcl_event_handler DEFINITION DEFERRED.
*& Data Definitions .
DATA: BEGIN OF vbap_wa,
vbeln TYPE vbak-vbeln, "Quotation#
erdat TYPE vbak-erdat, "Quot date
knumv TYPE vbak-knumv, "Cond Rec#
posnr TYPE vbap-posnr, "Line Item
matnr TYPE vbap-matnr, "Mat#
zansicat TYPE zmarall-zansicat, "AnsiCat#
zansigrd TYPE zmarall-zansigrd, "Grade
zcurrvaltnarea TYPE zco002-zcurrvaltnarea,"Val Area
zcurrcstusd TYPE zco002-zcurrcstusd, "Cost$
zzbrndnm TYPE mara-zzbrndnm, "Brand
zqedscgrp TYPE zglbprc-zqedscgrp, "QE Disc Grp
mstav TYPE mara-mstav, "Status
kwmeng TYPE vbap-kwmeng, "Qty
lprc TYPE konv-kbetr, "List Price ZBP1
sprc TYPE konv-kbetr, "Std Pric ZNAA,ZNAX
netpr TYPE vbap-netpr, "Quot price
mrgn TYPE konv-kbetr, "margin%
END OF vbap_wa,
BEGIN OF konv_wa,
knumv TYPE konv-knumv, "Cond#
kposn TYPE konv-kposn, "Cond Item#
kappl TYPE konv-kappl, "Applic
kschl TYPE konv-kschl, "Cond Typ
kbetr TYPE konv-kbetr, "Price ZBP1,ZNAA,ZNAX
END OF konv_wa,
BEGIN OF vbpa_wa,
vbeln TYPE vbpa-vbeln, "Quot#
posnr TYPE vbpa-posnr, "Item#
parvw TYPE vbpa-parvw, "Prt Fn
kunnr TYPE vbpa-kunnr, "Cust#
END OF vbpa_wa,
BEGIN OF result_wa,
posnr TYPE vbap-posnr, "Line Item
matnr TYPE vbap-matnr, "Mat#
zansicat TYPE zmarall-zansicat, "AnsiCat#
zansigrd TYPE zmarall-zansigrd, "Grade
zcurrvaltnarea TYPE zco002-zcurrvaltnarea,"Val Area
zcurrcstusd TYPE zco002-zcurrcstusd, "Cost$
zzbrndnm TYPE mara-zzbrndnm, "Brand
zqedscgrp TYPE zglbprc-zqedscgrp, "QE Disc Grp
mstav TYPE mara-mstav, "Status
kwmeng TYPE vbap-kwmeng, "Qty
lprc TYPE konv-kbetr, "List Price ZBP1
sprc TYPE konv-kbetr, "Std Pric ZNAA,ZNAX
netpr TYPE vbap-netpr, "Quot price
mrgn TYPE konv-kbetr, "margin%
END OF result_wa.
DATA: ikonv LIKE STANDARD TABLE OF konv_wa,
ivbap LIKE STANDARD TABLE OF vbap_wa,
ivbpa LIKE STANDARD TABLE OF vbpa_wa,
iresult LIKE STANDARD TABLE OF result_wa.
*Work storage
DATA: BEGIN OF ws,
vbeln TYPE vbak-vbeln,
ok_code TYPE sy-ucomm,
alv_save TYPE c, "ALV save
alv_variant TYPE disvariant, "ALV Variant
alv_sort TYPE lvc_t_sort, "Sort table
END OF ws.
*Data declarations for ALV Main list
DATA : ty_lay1 TYPE lvc_s_layo,
it_fieldcat TYPE lvc_t_fcat ,
ty_fieldcat TYPE lvc_s_fcat ,
l_smenu TYPE REF TO cl_ctmenu,
c_alv1 TYPE REF TO cl_gui_alv_grid,
c_cont1 TYPE REF TO cl_gui_custom_container,
e_dclick TYPE REF TO lcl_event_handler.
*Data declarations for ALV Interactive list
DATA : ty_lay2 TYPE lvc_s_layo,
it_fcat TYPE lvc_t_fcat ,
ty_fcat TYPE lvc_s_fcat ,
c_alv2 TYPE REF TO cl_gui_alv_grid,
c_cont2 TYPE REF TO cl_gui_custom_container.
*Field-Symbols
FIELD-SYMBOLS:
<konv> LIKE konv_wa,
<vbap> LIKE vbap_wa.
*Constants
CONSTANTS:
c_end_row TYPE i VALUE 65000.
*CLASS lcl_event_receiver DEFINITION
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row.
ENDCLASS. "lcl_event_handler DEFINITION
*CLASS lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD handle_double_click.
DATA: sec_wa LIKE LINE OF iresult.
*Reading the selected data into a variable
READ TABLE iresult INDEX e_row-index INTO sec_wa.
*Select the field details of the selected table
SELECT * FROM dd03l INTO CORRESPONDING FIELDS OF TABLE it_dd03l
WHERE tabname EQ ls_dd02l-tabname.
*Calling the ALV containing the field values
CALL SCREEN 101.
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_event_handler IMPLEMENTATION
*& SELECTION-SCREEN.
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
SELECT-OPTIONS:
s_vbeln FOR ws-vbeln DEFAULT '2002354788' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK a.
INITIALIZATION.
PERFORM setup_screen_defaults.
START-OF-SELECTION.
PERFORM gather_report_data.
END-OF-SELECTION.
PERFORM create_output.
*& Form initialization
FORM setup_screen_defaults.
CLEAR: ws, konv_wa, vbap_wa, vbpa_wa.
REFRESH: ivbpa, ikonv, ivbap, iresult.
ENDFORM. " setup_screen_defaults
*& Form gather_report_data
FORM gather_report_data.
SELECT vbeln posnr parvw kunnr
INTO TABLE ivbpa
FROM vbpa
WHERE vbeln IN s_vbeln
AND ( parvw = 'SP' OR "SoldTO
parvw = 'WE' OR "ShipTo
parvw = 'ZT' ). "Top Parent
SELECT vkvbeln vkerdat vkknumv vpposnr vp~matnr
z1zansicat z1zansigrd z2~zcurrvaltnarea
z2zcurrcstusd m1zzbrndnm zg~zqedscgrp
m1mstav vpkwmeng vp~netpr
INTO CORRESPONDING FIELDS OF TABLE ivbap
FROM vbak AS vk
INNER JOIN vbap AS vp
ON vpvbeln = vkvbeln
INNER JOIN zmarall AS z1
ON z1matnr = vpmatnr
INNER JOIN zco002 AS z2
ON z2matnr = vpmatnr
INNER JOIN zglbprc AS zg
ON zgmatnr = vpmatnr
INNER JOIN mara AS m1
ON m1matnr = vpmatnr
WHERE vk~vbeln IN s_vbeln
AND vk~auart = 'AG'."AG = Quot
SORT ivbap BY posnr matnr.
SELECT kvknumv kvkposn kvkappl kvkschl kv~kbetr
INTO TABLE ikonv
FROM konv AS kv
FOR ALL ENTRIES IN ivbap
WHERE kv~knumv = ivbap-knumv
AND kv~kposn = ivbap-posnr
AND kv~kappl EQ 'V'
AND ( kv~kschl EQ 'ZBP1'
OR kv~kschl EQ 'ZNAX'
OR kv~kschl EQ 'ZNAA' ).
SORT ikonv BY knumv kposn.
LOOP AT ivbap ASSIGNING <vbap>.
CLEAR konv_wa.
READ TABLE ikonv INTO konv_wa WITH KEY
knumv = <vbap>-knumv
kposn = <vbap>-posnr
kschl = 'ZBP1'
BINARY SEARCH.
IF sy-subrc EQ 0.
<vbap>-lprc = konv_wa-kbetr.
ENDIF.
READ TABLE ikonv INTO konv_wa WITH KEY
knumv = <vbap>-knumv
kposn = <vbap>-posnr
kschl = 'ZNAX'
BINARY SEARCH.
IF sy-subrc EQ 0.
<vbap>-sprc = konv_wa-kbetr.
ENDIF.
READ TABLE ikonv INTO konv_wa WITH KEY
knumv = <vbap>-knumv
kposn = <vbap>-posnr
kschl = 'ZNAA'
BINARY SEARCH.
IF sy-subrc EQ 0.
<vbap>-sprc = konv_wa-kbetr.
ENDIF.
ENDLOOP.
SORT ivbap BY posnr matnr.
LOOP AT ivbap INTO vbap_wa.
MOVE-CORRESPONDING vbap_wa TO result_wa.
APPEND result_wa TO iresult.
CLEAR: vbap_wa, result_wa.
ENDLOOP.
ENDFORM. " gather_report_data
*& Form create_output
FORM create_output.
CALL SCREEN 100.
FREE: iresult.
ENDFORM. " create_output
*& Module PBO_0100 OUTPUT
text
MODULE pbo_0100 OUTPUT.
SET PF-STATUS '0100'.
SET TITLEBAR '0100'.
IF c_cont1 IS INITIAL.
*Creating object of container
CREATE OBJECT c_cont1
EXPORTING
container_name = 'CCONT1'.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*Creating object of alv
CREATE OBJECT c_alv1
EXPORTING
i_parent = c_cont1.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*Alv layout
PERFORM alv_100_layout.
PERFORM save_alv_layout.
*Alv field catalogue
PERFORM alv_100_fieldcat.
*Displaying the ALV grid
CALL METHOD c_alv1->set_table_for_first_display
EXPORTING
is_layout = ty_lay1
i_save = ws-alv_save
is_variant = ws-alv_variant
CHANGING
it_outtab = iresult[]
it_sort = ws-alv_sort
it_fieldcatalog = it_fieldcat[].
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*Create object of the event class
*and setting handler for double click
CREATE OBJECT e_dclick.
SET HANDLER e_dclick->handle_double_click FOR c_alv1.
ENDIF.
ENDMODULE. " PBO_0100 OUTPUT
*& Module PAI_0100 INPUT
text
MODULE pai_0100 INPUT.
ws-ok_code = sy-ucomm.
CASE ws-ok_code.
WHEN 'BACK'.
CALL SELECTION-SCREEN 1000.
CLEAR ws-ok_code.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
CLEAR ws-ok_code.
EXIT.
WHEN 'CANCEL'.
LEAVE TO SCREEN 0.
CLEAR ws-ok_code.
EXIT.
WHEN OTHERS.
ENDCASE.
ENDMODULE. " PAI_0100 INPUT
*& Form alv_100_layout
text
--> p1 text
<-- p2 text
FORM alv_100_layout.
ty_lay1-numc_total = 'X'. " Numc total line
ty_lay1-cwidth_opt = 'X'. " Optimal column width
ty_lay1-detailinit = 'X'. " Show values that are initial in
ty_lay1-sel_mode = 'A'. " Column selection mode
ty_lay1-no_merging = 'X'. " No merging while sorting columns
ty_lay1-keyhot = 'X'.
ty_lay1-grid_title = 'SD Concessions'.
ty_lay1-zebra = 'X'.
ty_lay1-no_toolbar = ' '.
ENDFORM. " alv_100_layout
*& Form alv_100_fieldcat
text
--> p1 text
<-- p2 text
FORM alv_100_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 1.
ty_fieldcat-fieldname = 'posnr'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Item#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 2.
ty_fieldcat-fieldname = 'matnr'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Mat#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 3.
ty_fieldcat-fieldname = 'zansicat'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'AnsiCat#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 4.
ty_fieldcat-fieldname = 'zansigrd'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Grade'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 5.
ty_fieldcat-fieldname = 'zcurrvaltnarea'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Val Area'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 6.
ty_fieldcat-fieldname = 'zcurrcstusd'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Cost $'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 7.
ty_fieldcat-fieldname = 'zzbrndnm'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Brand'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 8.
ty_fieldcat-fieldname = 'zqedscgrp'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'QE'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 9.
ty_fieldcat-fieldname = 'mstav'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Status'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 9.
ty_fieldcat-fieldname = 'kwmeng'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Qty'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 10.
ty_fieldcat-fieldname = 'lprc'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'List Price'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 11.
ty_fieldcat-fieldname = 'sprc'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Discount'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 12.
ty_fieldcat-fieldname = 'netpr'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Quot Price'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 13.
ty_fieldcat-fieldname = 'mrgn'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Margin%'.
ty_fieldcat-outputlen = 15.
APPEND ty_fieldcat TO it_fieldcat.
ENDFORM. " alv_100_fieldcat
*& Module PBO_0101 OUTPUT
text
MODULE pbo_0101 OUTPUT.
*Check if the Custom container exists.
IF c_cont2 IS INITIAL.
*Creating container object
CREATE OBJECT c_cont2
EXPORTING
container_name = 'CCONT2'.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*creating ALV grid for interactive list
CREATE OBJECT c_alv2
EXPORTING
i_parent = c_cont2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*ALV layout
PERFORM alv_101_layout.
*ALV fieldcatalogue
PERFORM alv_101_fieldcat.
*Sorting the output by field position
SORT iresult BY posnr.
*ALV for display field details
CALL METHOD c_alv2->set_table_for_first_display
EXPORTING
is_layout = ty_lay2
CHANGING
it_outtab = iresult[]
it_fieldcatalog = it_fieldcat.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMODULE. " PBO_0101 OUTPUT
*& Module PAI_0101 INPUT
text
MODULE pai_0101 INPUT.
ENDMODULE. " PAI_0101 INPUT
*& Form alv_101_layout
text
--> p1 text
<-- p2 text
FORM alv_101_layout.
ty_lay2-grid_title = 'Line Details'.
ty_lay2-zebra = 'X'.
ty_lay2-no_toolbar = 'X'.
ENDFORM. " alv_101_layout
*& Form alv_101_fieldcat
text
--> p1 text
<-- p2 text
FORM alv_101_fieldcat.
REFRESH it_fieldcat.
REFRESH it_fcat.
CLEAR ty_fcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 1.
ty_fieldcat-fieldname = 'posnr'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Item#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 2.
ty_fieldcat-fieldname = 'matnr'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Mat#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 3.
ty_fieldcat-fieldname = 'zansicat'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'AnsiCat#'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 4.
ty_fieldcat-fieldname = 'zansigrd'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Grade'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
CLEAR ty_fieldcat.
ty_fieldcat-row_pos = 1.
ty_fieldcat-col_pos = 5.
ty_fieldcat-fieldname = 'zcurrvaltnarea'.
ty_fieldcat-tabname = 'iresult'.
ty_fieldcat-coltext = 'Val Area'.
ty_fieldcat-outputlen = 10.
APPEND ty_fieldcat TO it_fieldcat.
ENDFORM. " alv_101_fieldcat
*& Form save_alv_layout
text
--> p1 text
<-- p2 text
form save_alv_layout.
ws-alv_save = 'A'.
ws-alv_variant-report = sy-repid.
endform. " save_alv_layoutHello
Creating fieldcatalogs manually is one of the major error sources in ALV programming.
There is hardly any reason why NOT to use the standard-fm LVC_FIELDCATALOG_MERGE in order to create a proper fieldcatalog.
If you need some modification of the standard fieldcatalog (e.g. renaming of columns, etc.) just do your post-processing after calling the fm.
Regards
Uwe -
IChat shows numbers instead of names for facebook contacts, how to fix?
I just started using iChat for Facebook Chat, but it shows numbers instead of names for most of my contacts.
Is there any workaround for this?
Adium shows names just fine, but I want to use iChat instead.
Thanks!Hi,
With AIM names there is an Option on the AIM pages to change your Display name. (in your Account Settings)
If you have an AIM Buddy list and stick in my Screen Name (ralphjohnsr) you will notice it displays as Ralph johns R with the Upper case letters and spaces.
I am wondering if FaceBook have done something similar but not everyone has changed (or more likley Facebook are using the "wrong" list or haven't told anyone).
The strange thing is only the two of you have mentioned it so far so there is probably some other explanation.
On the Address Book Front I have added (level 4) to some Buddies that I happen to know via these Apple Forums (under the previous software there were only 5 Levels of posters) when we used to chat using iChat on a more regular basis.
iChat does allow you to Create Nicknames in the Info Card but this Adds them to the Address Book.
(it also has difficulty with lots of Nicknames that are the same such as Dave for David)
It would interesting to know if Adium "Sees" the numbers instead of names. (Or ProteusX if anyone has it)
8:28 PM Thursday; May 12, 2011
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb( 10.6.7)
Mac OS X (10.6.7),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Want functionality Like SM30 but record lock instead of table lock
Hi,
Like SM30 (Table maintenance) ,i want to create some ZTcode to mainten Ztable data entry.
In this, can i put lock at record level instead of table table ???
So that user can have access only for Display & New entries & not for changing existing entries.
Can anybody help me.
Thanks
JayaHi,
Create a Ztcode for the the table in the transaction se93 with option Transaction with parameters.
Tick the check box skip the initial screen.
In Default values ,
Name of the screen field Value
VIEWNAME Ztablename
SHOW X
Fill as above.
Regards,
Jyothi -
Show or Hide empty table based on If condition
I want to show or hide empty table based on condition. The table will be empty with 5 rows,2 cols and should display if <?Rout_Information1_id1?> is blank or null or when XML field is not present. Actually the JDEdwards report will generate XML file. In the XML file if <?Rout_Information1_id1?> is present it will have definitely value like 'PULL' or 'Cut' otherwise sometimes XML field itself will not be present. Need to display the empty table when the <?Rout_Information1_id1?> is not present. I am trying to do as below but the table is not displayed. Can someone tell me how to resolve this.
<?if:Rout_Information1_id1=' '?>
5 rows,2 cols table
<?end if?>
Thanks,
Vijay VattiproluOk. I used the below syntax from other post and it resolved displaying empty table issue.
<?if:not(XML_TAG_NAME)?>
<?end if?>
Thanks,
Vijay -
Obiee 11.1.1.6.6 - analysis displays two dates instead of one prompted
Hi all,
my analysis somehow displays two dates instead of one prompted.
How can it be?
Tell me please what additional information should I include for you to help me.
obiee 11.1.1.6.6
Upd: prompt screenshots
http://marchello.ccx-grads.org/img/BI_prompt_001.png
http://marchello.ccx-grads.org/img/BI_prompt_002.pngThis is from "Administration" -> "Manage Sessions" section of obiee
1) everything seems fine, WHERE clause shows correct date
SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
0 s_0,
"VB"."VBIREP8"."AASYSDATE" s_1,
"VB"."VBIREP8"."ADAY" s_2,
"VB"."VBIREP8"."AMONTH" s_3,
"VB"."VBIREP8"."ARCDATE" s_4,
"VB"."VBIREP8"."AYEAR" s_5,
"VB"."VBIREP8"."CONTRAGENTID" s_6,
"VB"."VBIREP8"."CONTRAGENTNAME" s_7,
"VB"."VBIREP8"."CREDITS" s_8,
"VB"."VBIREP8"."DEPOSITARY" s_9,
"VB"."VBIREP8"."DEPOSITS" s_10,
"VB"."VBIREP8"."IDENTIFYCODE" s_11,
"VB"."VBIREP8"."OVERDAY30" s_12,
"VB"."VBIREP8"."RESTRUCTURED" s_13,
"VB"."VBIREP8"."SEGMENT" s_14,
"VB"."VBIREP8"."STATUS" s_15,
"VB"."VBIREP8"."TOBO" s_16
FROM "VB"
WHERE
(CAST("VBIREP8"."ARCDATE" AS DATE) = date '2013-08-15')
ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
FETCH FIRST 100000001 ROWS ONLY
2) and now attention, I press "next rows" arrow, my WHERE clause is simply ABSENT!
SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
0 s_0,
"VB"."VBIREP8"."AASYSDATE" s_1,
"VB"."VBIREP8"."ADAY" s_2,
"VB"."VBIREP8"."AMONTH" s_3,
"VB"."VBIREP8"."ARCDATE" s_4,
"VB"."VBIREP8"."AYEAR" s_5,
"VB"."VBIREP8"."CONTRAGENTID" s_6,
"VB"."VBIREP8"."CONTRAGENTNAME" s_7,
"VB"."VBIREP8"."CREDITS" s_8,
"VB"."VBIREP8"."DEPOSITARY" s_9,
"VB"."VBIREP8"."DEPOSITS" s_10,
"VB"."VBIREP8"."IDENTIFYCODE" s_11,
"VB"."VBIREP8"."OVERDAY30" s_12,
"VB"."VBIREP8"."RESTRUCTURED" s_13,
"VB"."VBIREP8"."SEGMENT" s_14,
"VB"."VBIREP8"."STATUS" s_15,
"VB"."VBIREP8"."TOBO" s_16
FROM "VB"
ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
FETCH FIRST 100000001 ROWS ONLY
Sure, I receive another date (01.02.2013). Just one thing is strange here - why do I receive only one extra date (I should receive ALL dates in Oracle table when I perform query without any WHERE clause). -
hi,
I know this is a bit out of the pure java-scope but I hope you can help me out anyway.
I want to display an XML document in HTML, something like:
<html>
<body>
<?xml><person>...
the problem of course is that html will treat those xml-tags as html-tags, try to interpret them but in any case won't show them. This easily fixed by something like:xml = xml.replaceAll("<", "<").... However, I was wondering if there a more elegant solution like putting a special tag before the xml-part to lett your browser know that anything between these tags should just be displayed as it is. (Something similar as the CDATA-section in XML).
many thanks,
StijnAre you going to display the XML in a common browser
(such as Firefox, IE)? Then you don't need any
additional HTML tags, as those browsers have their
own rendering algorithms for XML (including
indentation, syntax highlighting and so on).tx
that is true if it's only xml you are showing; I'm actualy showing the result of a query in html. On of the fields contains xml. So basically I have an html-page but there is xml-code in it.
<body>
<table>
<tr><td><?xml><person>
... -
Hi all,
i have to create a table in the DDIC where i have to store some XML data and informations.
ID -> char
date -> date field
desc -> char
xml -> ????
What datatype shall i use to store my XML Data ?
Later in a Dynpro i need to show this XML Data. What type of control shall i use to show this XML Data ?
Can i use the browser control ? If so ... how can i pass my xml data to this control ??
Greetings
HenningYou can create a field of data type STRING if you are planning to store your XML in string or RAWSTRING if you are planning to store your data in XSTRING.
You can use the Simple CL_GUI_HTML_VIEWER to display your XML data stored in STRING or XSTRING. Take a look at the FM DISPLAY_XML_STRING.
Regards,
Naimesh Patel
Edited by: Naimesh Patel on Feb 12, 2009 10:19 AM
Maybe you are looking for
-
O have ipad1 and can see videos on Youtube it work es before can you help me pls
My iPad 1 this using AT & T 3 G data, two days ago that the signal started to disappear (circle of dashes) which is next to 3 G above on the left side, that I can do to get the signal back also I have problem when Open YouTube videos a notice said "C
-
How to export Outline to Excel in Essbase
Hi, Could anyone can tell me how can i export essbase outline to excel. thanks
-
How do I make a Disk image and burn an install Disk
How do I make a Disk image and burn an install Disk, Ive tried it a couple of times, but will not boot up.
-
I need help using the impdb utility on a different machine to the export...
Hi all, I have recieved an export from a ClearQuest database, built on Oracle. It's a 6GB file xxx_full_dpdump.dmp, with a corresponding .log. This was exported from a different Oracle instance on a different machine. I'd like to import this dump fil
-
Cisco AIR-WLC4402-50-K9 Enterprise traps
Hi, I have multiple WLC4400 devices implemented in one of our supported networks. We use Entuity (Eye of the storm) to collect snmp information and traps. The device up/down monitoring and connectivity is working normally. The issue im seeing is that