JSF Components are not displaying :-(
Cheers to All:
What I have done is create a simple Java Server Faces project whereby I created a web project and added MyFaces JSF capability in MyEclipse. Next I created some JSFs and markups for the frontend portion of this example. What I am trying to accompllish is move around the different JSFs to ensure everything is working properly before I get complicated.
When I type in the URL to the Parent (index.html), I get the markup to display. When I click on the link, what is suppose to happen is the screen moves to the index.jsp. The index.jsp has nothing more than a forward to the main.jsf. In this JSF is where all the Java Server Faces markup is located.
When I process through to the main.jsf page, nothing is diplayed other than the <h2> element. The jsf input elements are not there! I am led to believe this is a configuration issue.
I have tried to deploy this application on JBoss4.0.5 and Tomcat 5.5. In both cases, the same results are displayed with NO stacktraces.
This is the main.jsf file:
<%@ page contentType="text/html"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<html>
<head>
<title>A Simple JavaServer Faces Registration Application</title>
</head>
<body>
<h:form>
<h2>JSF Registration App</h2>
<h:commandLink action="register">
<h:outputText value="Click here to register.."/>
</h:commandLink>
</h:form>
</body>
</html>
</f:view>I am new to JSF. Is there something I can use in guiding me through the debugging of this error? I am assuming the tag libraries exist somewhere other than within the project's web/lib directory......
Thanks in advance for any suggetions/comments:
Russ
Message was edited by:
supercoder97
Okay! We are working :-)
What I had to do was change the foward from:
<jsp:forward page="/main.jsp" /> to:
<jsp:forward page="/faces/main.jsp" /> and everything worked and matched the web.xml
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping> Russ
Similar Messages
-
Components are not displayed in COR6N
Hi experts,
Please help investigate this case:
We confirm process order using COR6N. In goods movement screen, only finished goods is displayed, all of its components are not.
Check material list in COR3, all components are marked "backflush". User could release process order as normal.
Could u suggest anything wrong in master data or process order itself that lead to this issue?
Many thanks,
Duc.Back flush is ticked means definitely, it will show in Goods movement screen in C011n.
in earlier confirmation if you check the clear resrvation tick in Co11n, hen final issue tick will appear
please check in component overview, final issue is checked or not -
JSF Components are not being rendered - Websphere
First, I don't mean rendered as in rendered="true'' What I mean is that a page I've created doesn't show any of the components rendered. Even while looking at the source, the HTML is not generated.
Example: test.jsp
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib prefix="af" uri="http://xmlns.oracle.com/adf/faces" %>
<%@ taglib prefix="afh" uri="http://xmlns.oracle.com/adf/faces/html" %>
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
<f:view>
<afh:html>
<afh:head title="CIAS Case Management"/>
<afh:body >
<h:form id="createRfiForm">
<h:commandButton id="button" action="#{summaryRfiAction.promptCreateNewRfi}" value="Create New RFI"/>
</h:form>
</afh:body>
</afh:html>
</f:view>
When viewed the page is blank. The url I goto is :9080/cias/secure/test.do
However if I put "Hello World" anywhere (I put it under the af:outputText) it will show up, so I know that the faces-config-nav is working correctly (it maps the .do to .jsp in terms of the file). What I don't think is working correctly is the invocation of the FacesServlet. In web.xml I have this defined.
<servlet>
<description>JSF controller</description>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Requests handled by JSF -->
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
Anyone with any thoughts? This works in tomcat (yay apache), but doesn't work when I use Websphere.Hi,
I've the same problem using WepSphere AppServer V6.1.0.5 on Linux.
Are there some solutions/ideas solving this problem?
The Application runs on Tomcat, JBoss, Glassfish but not on WAS.
SystemOut.log shows only this:
[16.02.07 15:31:02:185 CET] 00000028 ServletWrappe I SRVE0242I: [application] [application] [index.jsp]: Initialisierung erfolgreich.
[16.02.07 15:31:02:998 CET] 00000028 ServletWrappe I SRVE0242I: [application] [application] [login.jsp]: Initialisierung erfolgreich.
index.jsp redirects to login.jsp.
tia,
Andreas -
Maintenance Optimizer - Systems and Logical Components are not displayed
Hi Experts,
When I use the Maintenance Optimizer and select a product version, I do not get any Systems and the relevant Logical Component so that I can select one of those that are displayed. Did I miss any configuration settings or is there anything else that I need to do. Please give me the checklist that I need to look into before selecting a product version in the maintenance optimizer. Please help me out of this.
Thanks in advance,
Sagar.KHi,
Check this link... it has complete step by step configuration of Maintenance Optimizer...
https://websmp105.sap-ag.de/~sapidb/011000358700000235502007E
https://websmp208.sap-ag.de/solman-mopz --> SAP Tutor on Maintenance Optimizer
Award points if found useful -
Swings components are not displayed correctly Pls Help me Urgent.
Hi
I had created a project contains a form divided into 3 panels (horizontally) Upper most contains images and the middle one contain 6 buttons and lower most contains components like text box, labels etc.,
When i pressing the first button (e.g. Find) the lower most panel should be displayed with contents., but when i press the second button (e.g., Display) then i can't get the windows components correctly., i.e., the second window will display the first window components + the second window component and it cannot be displayed correctly how can i avoid this problem
Please help me it is ver urgentHi
I had developed a project contains a form divided into
3 panels (horizontally) Upper most contains images
and the middle one contain 6 buttons and lower most
contains components like text box, labels etc.,
When i pressing the first button (e.g. Find) the
lower most panel should be displayed with contents.,
but when i press the second button (e.g., Display)
then i can't get the windows components correctly.,
i.e., the second window will display the first window
components + the second window component and it
cannot be displayed correctly how can i avoid this
problem
Please help me it is ver urgentMessage was edited by:
muthu2007 -
Umlauts are not displayed correctly in different programs
Hello!
I live in germany, but my locale is set to "en_US.UTF8" because I like to have everything in english.
I do not have any problems with umlauts on the machine, but when I connect with sFTP oder Samba to it, the umlauts in files are not displayed correctly.
Look at this example
The upper word is how it looks in "ssh putty" (=locally on the machine), the bottom one is from "filezilla" (from my windows host)
This is my locale
locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
When I create a file "asd_aöü" locally on the machine (with the help of ssh - putty), it looks fine, but when I connect by samba or filezilla again the umlauts are not displayed correctly.
Do you understand my problem? What can I do?
Thanks!
Last edited by cyberius (2011-02-19 10:12:19)Did you check the locale settings on your Windows machine?
-
Chinese characters are not displayed in the Firefox bookmarks
Chinese characters are not displayed in the Firefox bookmarks. The name looks like e.g. "??????? ???? cn.nytimes.com"
Chinese character of the site name is displayed ok in the head of the browser window and there is no problem reading chinese web content. I use Firefox Portable 11 /English from portableapps.com in Windows XP.
I googled and got some tips:
1) Set your browser to recognise Chinese language internet sites.
Windows users: Under "Tools - Options" on your browser's menu-bar add Chinese to the languages list.
- I did this.
2) Set your browser's "Character Set" or "Encoding" to UTF-8 (sometimes also called Universal Alphabet or Unicode).
Encoding settings can be changed under the "View" option in your browser's menu-bar.
- It was already set to UTF-8.
3) Windows users: If Chinese text still does not display correctly, East Asian language support may need to be enabled.
- This has been done when I installed Windows.
I still don't get any Chinese fonts in the bookmark names. I can edit the bookmark name with chinese characters and then save the bookmark, it works fine. But why does not Firefox recognize the characters when saving bookmarks? Help is appreciated.No I didn't change anything deep beneath the hood. My problem didn't apply to the URL, but to the name of the link or bookmark header or whatever you would like to call it. (When hitting Ctrl + D there is a Name field). I only got ???????? instead of chinese characters in the name. Also for e.g. www.cntv.cn ...but maybe all China is not in the whitelist either. ;-) But anyway, this was not the real problem for me.
Apparently I was wrong as after a reboot of the computer it worked. The solution seemed to be to add Chinese to the language list. I don't know why it was not enough to restart Firefox?
Now I only have problems to show chinese characters in the name field of my external link manager... But I guess it is not an issue for Mozilla. -
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 -
Items are not displayed --- REUSE_ALV_HIERSEQ_LIST_DISPLAY
Hi experts,
i'm stuck in this weird problem.
Items (it_items) are not displayed in table. I've cheked with debugger and it_items contains lines.
Thanks in advance.
REPORT z_hier.
TYPE-POOLS: slis.
DATA: fieldcatalog TYPE slis_t_fieldcat_alv.
DATA: it_header LIKE STANDARD TABLE OF zvend_header WITH HEADER LINE,
it_items LIKE STANDARD TABLE OF zvend_items WITH HEADER LINE,
g_tabname_header TYPE slis_tabname,
g_tabname_item TYPE slis_tabname,
gs_keyinfo TYPE slis_keyinfo_alv.
PARAMETERS: lifnr LIKE lfa1-lifnr.
INITIALIZATION.
CLEAR gs_keyinfo.
gs_keyinfo-header01 = 'LIFNR'.
gs_keyinfo-item01 = 'IDNLF'.
g_tabname_header = 'it_header'.
g_tabname_item = 'it_items'.
START-OF-SELECTION.
PERFORM retrieve_data.
END-OF-SELECTION.
PERFORM build_fieldcatalog.
PERFORM display_list.
FORM build_fieldcatalog.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
* I_PROGRAM_NAME =
i_internal_tabname = g_tabname_header
i_structure_name = 'ZVEND_HEADER'
i_client_never_display = 'X'
* I_INCLNAME =
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = fieldcatalog
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.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
* I_PROGRAM_NAME =
i_internal_tabname = g_tabname_item
i_structure_name = 'ZVEND_ITEMS'
i_client_never_display = 'X'
* I_INCLNAME =
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = fieldcatalog
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.
ENDFORM. "build_fieldcatalogHi Dan M.,
Please follow this...
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = w_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
is_layout = wa_layout
it_fieldcat = i_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = I_SORT
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
it_events = i_event
IT_EVENT_EXIT =
i_tabname_header = 'i_ekpo' <----
Pass here header table name
i_tabname_item = 'i_eket' <----
pass here item table name
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
is_keyinfo = wa_keyinfo
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab_header = i_ekpo -<<----
Pass here header internal table
t_outtab_item = i_eket <<----
Pass here item internl table
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
for wa_keyinfo:
You need to use common fields between header & item.
for ex:
wa_keyinfo-header01 = 'EBELN'.
wa_keyinfo-item01 = 'EBELN'.
wa_keyinfo-header02 = 'EBELP'.
wa_keyinfo-item02 = 'EBELP'.
Hope this can solve your problems.
Regards,
Tutun -
Excise duty rates are not displayed in J1IEX
Dear friends,
Excise duty rates (BED, ECS, SECESS) are not displayed in item level in excise invoice J1IEX, But excise values are updated correctly. I have maintained duty rates in J1ID. Kindly give your valuable inputs.
Thanks and Regards
ETR.Hi Maladri,
Thanks for your reply.
I have maintained my condition types BED, ECS, SEcess in respective fieslds of BED Condition, ECS condition, SEcess condition already, eventhough the % not updated in J1IEX Excise invoices.
But it has updated 10 days before all values came properly in J1IEX.
Can you explain which condition type we have to maintain in BED %, ECS%, SEcess % in Maintain excise defaults, I didnt maintain any condition types there. If it is the reason then how it updated correctly 10 days before?
Kindly guide me
Thanks and Regards
ETR -
I have restored my new replacement iPhone from my latest iCloud back up. However my camera roll pictures are not displaying. Its not saying I don't have any pictures in my camera roll, it has all the spaces for them, but it just shows empty white squares? How do I get my pictures back? Thanks!
It's difficult to say whether it's stuck or not as the time to restore a backup can depend on many factors. You'll have to decide when you think it's just not continuing. You could try turning the phone off (hold the power button until you see the red off slider, then slide to turn off), then back on to see if that would get it going again.
When you're convinced it's just hung, you can go back to settings and tap Stop Restoring iPhone to stop the restore. You'll then have to try restoring it again (Settings>General>Reset, tap Erase All Content and Settings, go through the setup screens and when given the option, choose Restore from iCloud Backup). Be sure it's connected to your charger and wifi while it's restoring the backup.
You might also try the approach posted here by ezjules: https://discussions.apple.com/message/19518589#19518589. This seems to have worked for some people who had trouble restoring their photos from an iCloud backup. -
Search for member activities - points are not displayed correctly
Hi experts,
I have a question concerning the search for member activities. I personalized my result list and added the field points (STRUCT.Product_ID), but there the amount of the points is always displayed as zero. When going into the details of the member activity I can see that there are points booked.
Can anyone tell me why the points in the result list are not displayed correctly?
Thanks and best regards
AnneSometimes threads are deleted if they violate the Rules of Engagement. If that happens, you'll lose points that were allocated to you. Othertimes, if you broke the rules, then it's possible that points that had been awarded could have been removed - but you should check your emails (of your registered address) to verify this. I'd guess, it's more likely you'd responded to a post that broke the rules.
Really important
1. Don't reply to posts that break the rules - you risk losing any points awarded and you risk wasting your time responding (which is probably more valuable).
2. Don't ignore rejection emails or other communications from moderators. They are followed up, and, if warnings are ignored, then accounts will be deleted. Recently, one poor soul's account was deleted, and they'd accrued over a 1000 points... they'd been copy and pasting from other sites and ignored moderator warnings.
matt -
Entity Descriptions are not displayed correctly in Combo box dropdown list
In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
Example:
'Entity A. LTD' becomes 'LTD'
'Entity B Inc.' becomes blank
It seems that everything before the dot is not displayed when opening the combobox.
It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
Does anybody knows the sollution or have seen this issue before?Hi,
This is a known issue with combo box list of values.
Please follow this workaround:
- Remove ComboboxLOV on Deptno
- Create an updateable transient attribute(Say Dname) of type String
- Define combobox lov with following values:
List Data Source: DeptView1
List Attribute: Dname
List Return Values:
Dname - Dname
Deptno - Deptno
UI Hints: Display Attribute - Dname
- Edit Dname(transient attribute) and provide following groovy expression
oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
Sireesha -
Firefox display problems regarding this customers site:
http://gardenia.dk/collections/collection/
Thumbnails are not displayed correctly in Firefox - only a tiny bit of the picture is visible, incorrect scale (displayed correctly in Safari and Google Chrome).
Can I do anything to make it work in Firefox, too?
Kind regards,
AnnetteThis article might help you-
https://support.mozilla.org/en-US/kb/websites-look-wrong-or-appear-differently -
My sent messages are not displayed...what happened and how do I restore?
My sent messages are not displayed...what happened and how do I restore?
http://kb.mozillazine.org/Disappearing_mail
Maybe you are looking for
-
I have money on my account but it won't let me buy anything...
Okay, so i've bought a $15.00 itunes card and redeemed it on the store. I got the message that it was valid and that it is now in my account. PROBLEM: I tried to download an app and it first says: buy or cancel. i press buy then it goes to payment in
-
Part of my screen is turning funny colors, why? :(
[IMG]http://i1129.photobucket.com/albums/m519/christinarashel/tn.jpg[/IMG] this is what it looks like, i don't understaaaaand.
-
Can you add actions to the Flash Media Player?
I have 2 wmv files. One is the audio and one is the video. I don't own any software that combines both formats maintaining perfect video quality. If I import the video wmv file into Flash (converting it first with the Flash video encoder) is there an
-
Trying To Switch To BT - Horrendous Customer Servi...
Apologies in advance for the following wall of text but I'm really at the end of my tether with BT now. I've been trying to complete an order over the last couple of days (before the promotional period ends) and due to a website error I've been unabl
-
Why is the download speed so slow? I know it's not my internet, because the update for iCloud Panel was like 10 MB and I can download a gig of something under 15 minutes. I gave the update about 8 minutes and it was only at like 1.50 MB? Same with up