Problem with Generic iView Lists in EP6
Hi,
We are in the process of migrating our portal from EP5 SP5 to EP6 SR1. I have a page that has 9 iViews on it, and there are 5 of them that are generic iView lists. In EP5, everything works great. Each generic iView list returns the information relating to that iView. But in EP6, I am running into a problem.
When I am trying to load the same page, some of the iViews to not work. So I recreated the query iViews using the SAP delivered "com.sap.pct.hcm.eeprofilegenericiviewlist" template in EP6. I go back to the page and the same thing happens. I try refreshing the page, and then more of the iViews work, but now another problem arises.
Example: I have an iView that displays the salary data of an employee, and another that displays the Home Address. I refresh the screen and the Salary Data iView works fine, but the Home Address is now showing the Salary Data information.
So, I'm at a loss as to what I should do. I know that there is a lot of configuration for the iViews now under the Property Editor and I think that I might have something that is not set up properly.
Is there documentation on what needs to be set up for the generic iView list if there are multiple generic iView list iViews on the screen?
I guess I should mention too that these iViews are in MSS and all work off of the Team Viewer. The team viewer iView is based off the EP5 version of the par, not the EP6. Could that be the problem?
Hope this makes some sense.
Thanks and best regards,
Kevin
Message was edited by: Kevin Schmidt
Just thought I'd let people know I have solved the problem.
Even though I had created brand new iViews in EP6, they still act like EP5 iViews. So after researching the help files, I changed the isolation method of all the iViews on the page from Embedded to URL.
Food for thought!!
Kevin
Similar Messages
-
Problem with printing ALV lists
Hey Guys,
I have a problem with printing ALV lists ,
I created a report with several ALV lists (not grids) on the same screen but when i attempt to print the report
it prints each alv list on a different page..so if i have 3 alv lists in the same report it will print the report on 3 pages
How can i print them all in one page?
Thanks in advance
Noha Salah.Hey Max,
I tried setting the Layout-list_append before my block_list_append function call
And setting the is_print-NO_NEW_PAGE , it printed the 3 lists on one page the only problem i have
is that the lists are truncated and the list formats has totally been messed up..how can i restore them back
to their original format? -
Apex 4.1 - problem with navigation component LIST after upgrade
There seems to be problem with Tags in LIST component, after upgrade from 4.0 to 4.1 release
Right, we verified a problem for migrated lists.
We have lists of links, that are not based on a specific template. After upgrade to 4.1, they stopped from rendering in their region. Found out that the tag <TABLE> was not included in the HTML Source, hence the list body was not built to render.
The only way we found to include it was to create a template for Lists (there is not one by default in Apex in certain themes), edit it and include the tag (in the section "Before List Entry" > "List Template Before Rows" - the tag itself is not present in the newly created template, too). Then, you need to assign the template to the existing Lists to make the list body re-appear: it doesn't seem to be a good practice to create a list without a template, but Apex should at least provide 1 by default.
Edited by: Kleber M on Oct 28, 2011 9:03 AM -
Problem with generics in general framework
Hi,
I've just started using generics and I've been able to solve most of my problems with type declarations etc, but I still have a few problems left.
My current problem is in a class which has a map of classes which implements a generic typed interface (The interface is called Persister in the code below).
The map is declared as:
private Map<Class<?>, Persister<?>> persisters =
new HashMap<Class<?>, Persister<?>>(); And the interface is declared as:
interface Persister<T>My problem is that a method in the class which has the map should return a Collection of type T.
Can that be done without supressing warnings?
It's probably hard to understand what I mean (since I don't know the terminology) so here's a complete minimal example which illlustrates the problem. The problem is in the selectAll method in the DbFacade class.
The lines:
Persister persister = persisters.get(clazz);
Collection<E> result = persister.selectAll(clazz);Needs to be altered but to what? (Or do I need to make more changes?)
Thanks in advance
Kaj
///////////////// Start of complete example
import java.util.*;
class ClientSample {
public static void main(String[] args) {
DbFacade facade = new DbFacade();
//Works..
Collection<Holiday> holidays = facade.selectAll(Holiday.class);
class DbFacade {
//Map with many different type of persisters,
//one persister per class.
private Map<Class<?>, Persister<?>> persisters =
new HashMap<Class<?>, Persister<?>>();
DbFacade() {
persisters.put(Holiday.class, new HolidayPersister());
//This is where I'm stuck
//I don't want to add supresswarnings to this method, so what should I do?
public <E> Collection<E> selectAll(Class<E> clazz) {
//The following line gives:
//Persister is a raw type. References to generic type
//Persister<T> should be parameterized
Persister persister = persisters.get(clazz);
//The following line gives:
//Type safety: The expression of type List needs unchecked
//conversion to conform to Collection<E>
Collection<E> result = persister.selectAll(clazz);
return result;
interface Persister<T> {
List<T> selectAll(Class<T> clazz);
abstract class AbstractPersister<T> implements Persister<T> {
class HolidayPersister extends AbstractPersister<Holiday> {
public List<Holiday> selectAll(Class<Holiday> clazz) {
return null;
class Holiday {
//data
}Well you can put in a type cast
Persister<E> pesister = (Persister<E>) persisters.get(clazz);but you'll stil get a warning. Sometimes there's just no avoiding them. What, AFAIK, you can't tell the compiler is that each entry of the map contains a persister for the class mapped to it.
All it knows that classes are mapped to Persisters. -
Problem with Business Partner List - State
I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
Thanks,
MarkNo. Different state name but same state code.
Ex:
GA - Georgia in USA
GA - Galapagos Islands in Galapagos Islands
When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia. -
Problem with large spool lists
Hello everyone,
we have the following problem with one of our printers. When we are trying to print larger lists (>30 pages) the spool shows an "unknown error" and only a few pages are printed out.
We have the following setup. A Kyocera FS-9520DN printer with Device Type KYOAAB1C which is connected via saprouter connection and host spool access method U. The only error I get from the tracefile of the Spool WP is
S Tue Feb 22 07:34:37 2011
S *** ERROR => cannot write to connection [rspoclpd.c 857]
S *** ERROR => Lost connection, control file not sent [rspoyunx.c 1754]
T new memory block 000000002B6D6CE0
S handle memory type is RSTSPROMMM
and the SP01 error message
Status: Incorrect (Reason unknown)
Job status: Completed
Area: Unknown
Error: Reason unknown
Last event:
Message: Processing completed by spool work process
Any suggestions what might improve the situation? Thanks in advance
MarcoHi,
A direct connection to a remote printer is not recommended as per the SAP Note #64628.
The best option is to define the printer locally on the SAP server with Access method L for Unix or Access Method C for windows. If you need to use remote Access Method U or S, you should use a print server in between the SAP system and the printers.
Regards,
Aidan -
Problems with EC Sales List in PDF-Form
Hi,
i have a Problem with the EC Sales List (RFASLM00).
When i use it with SAP script Form Output (F_ASL_DE) i will be asked
for a Printer and it works. I get an Spool-No.
When i use it with PDF Form Output (F_ASL_DE) i will be asked for a Printer
(i don't use LOCAL). When finished i get the message:
Spool number 0000000000 LIST2S - EC sales list for 0888.
No spool is create and i don't know where i can find the output.
Hope anyone can help.
Regards, Dieterno need to take output of PDF.
do one thing
run report and generate spool for LOCL
then
<b>RSTXPDFT4</b> run this report with that spool number then u will get output in PDF format.
Regards
Prabhu -
Help me please : Serious problems with collection-mapping, list-mapping and map-mappi
Hi everybody;
I have serious problems with list-mapping, collection-mapping and map-mapping.
Acording to specifications and requirements in a system I am working on it is needed to
get a "list" of values or an indivudual value.I am working with ORACLE 9i Database,
ORACLE 9i AS and ORACLE 9i JDEVELOPER.
I tried to map a master-detail relationship in an entity-bean, using list-mapping.
And this was very useful in order to get a "list" of details, ...but, when I wanted
to get a single value I have some problems with persistence, something about "saving a state"
despite I just want to get the value of a single detail.
I decided to change it to map-mapping and the problem related with a single detail
worked successfully, but I can get access to the whole bunch of details.
May anyone of you help me with that?
I am very confused I do not know what to do.
Have any of you a solution for that problem?
Thank you very much.Have you tried a restore in iTunes?
-
Problem with Billing due list, relating to Returns Credits
Hi
I have a query/ problem with the billing due list
I cannot seem to be able to create billing documents via VF04 for Returns credits, only via VF01
I have changed Billing relevance of Item category REN to be A - Delivery related,
As we previously had problems with incorrect qty being billed IF returned delivery quantity was different to Returns order quantity - this resolved the problem but I now cannot create billing via billing due list
Messsage appears ' delivery type LR cannot be invoiced with billing type F2'
If i enter billing type RE then the document is not gettting picked up at all
when Billing relevance of item category was B, order related - all seemed to be working ok
I have copy controls set up from LR to RE with item category REN, with pricing type G
Please advise how i can get the Returns to appear in the billing due list
many thanks for your help
TonyHi,
In copy controll VTFL
LR to F2 at item level
REN >>> Deatila >>> Put billing quantity as - D delivery related
Kapil -
Problems with customizing select lists and popup LOVs
Hi
I have 2 problems about select lists and popup LOVs.
The first one is about a select list in a tabular form.
It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
This worked fine but now it should also have the possibility to enter a free value.
I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
If the row is added by addRow, then it works fine, but if the row is is not empty
then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
The other problem is about a select list which should have the possibility to enter a custom value and
also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
I would appreciate any ideas about either of these problems.
TiinaHi,
If you download application you can see source.
I have not write any instructions, sorry.
If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
If you download my sample in zip there is uncompressed htmldbQuery library.
You can see that and take only function htmldbAutocomplete.
Then check jQuery UI document
http://jqueryui.com/demos/autocomplete/#method-search
There is method search that you can use open list just by click of input.
I hope this helps at start.
Regards,
Jari -
Problem with DiscussionGroups iView
Hello Yogi/Robert,
I have a problem with my discussion groups iview.
I am using the discussion groups iView, and layout set is DiscussionGroupsContributor. The iView is using the /discussiongroup folder to store the discussions created.
Here's the problem: all the discussions created are stored in the same folder, and every new room created is able to view the same discussions.
I want to be able to restrict discussions to different rooms, so that members of one room cannot view/read the discussions from another room.
Please,how can I get this done...it is very urgent!!!
Thanks in advance.
CollinsHi Collins,
have a look on how the room template "SAP_Standard_Template_2 (Read only)" is configured and configure your template in the same way.
You need two Room Extensions, one for the DiscussionPermission and the second for Discussion Persistency. In the second a preconfigured room extension CM store is used (here cmDocuments with the label "Documents"). The output parameter "discussion_path" is mapped on the Path parameter of the RoomDiscussion iView on the RoomDiscussion Page.
So the sentence "<i>For data for discussion groups inside rooms, the system determines the path to the storage folder automatically.</i>" is only correct if you work with room extensions as mentioned above.
If you need more information on CM Room Extensions have a look at this link: http://help.sap.com/saphelp_nw04s/helpdata/en/f2/3c9041eedda009e10000000a155106/content.htm
Hope this helps,
Robert -
Ok, I have a problem with the <? extends NamedType> generic parameterized type, here are three example classes:
public abstract class Base
public abstract <? extends Base> getMe();
public abstract class Spec
extends Base
public abstract <? extends Spec> getMe();
public class Impl
extends Spec
public Impl()
super();
public Impl getMe()
return this;
public String toString()
return "I live!";
}And a main method in another class:
public static void main(String[] args)
Impl im = new Impl();
Impl i = im.getMe();
Spec s = Spec.getMe();
Base b = Base.getMe();
System.out.println("im = "+im);
System.out.println("i = "+i);
System.out.println("s = "+s);
System.out.println("b = "+b);
}And the compiler returns this:
Base.java:3: <identifier> expected
public abstract <? extends Base> getMe();
^
Base.java:3: > expected
public abstract <? extends Base> getMe();
^
Spec.java:4: <identifier> expected
public abstract <? extends Spec> getMe();
^
Spec.java:4: > expected
public abstract <? extends Spec> getMe();
^
4 errorsPlease assist.It worked!
I don't know why that didn't work in Eclipse, so:
"Return types are compatible if the overriden method's return type is a subclass of the original method's return type."
I also mistyped the main method, but this new one didn't change the original error:
public static void main(String[] args)
Impl im = new Impl();
Impl i = im.getMe();
Spec s = Spec.getMe();
Base b = Base.getMe();
System.out.println("im = "+im);
System.out.println("i = "+i);
System.out.println("s = "+s);
System.out.println("b = "+b);
}should be:
public static void main(String[] args)
Impl im = new Impl();
Impl i = im.getMe();
Spec s = i.getMe();
Base b = s.getMe();
System.out.println("im = "+im);
System.out.println("i = "+i);
System.out.println("s = "+s);
System.out.println("b = "+b);
} -
Problem with Generic datasource from function
I developed generic datasource from function module.
But I have problem with the select options.
First one is order number OBJECT_ID type char 10. When I input Object_ID = 45755 , no data selected.
When input 0000045755, one data record selected.
But I called functiion CONVERSION_EXIT_ALPHA_INPUT to conevet the input data. And I found 45755 was converted to 0000045755, but no record selected.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
APPEND L_R_OBJECT_ID.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-high
IMPORTING
OUTPUT = L_R_OBJECT_ID-high
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-low
IMPORTING
OUTPUT = L_R_OBJECT_ID-low
ENDLOOP.
Another problem is CREATED_AT, which type is DEC 15, how could I handle it ? input is yyyymmdd, I tried to add '000000', but can't select any data.
Thanks for any help.code is :
FUNCTION ZACTIVITY_PLAN_PARTNER.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZACTIVITY_PLAN_PARTNER OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Example: DataSource for table SFLIGHT
TABLES: CRMD_ORDERADM_H.
Auxiliary Selection criteria structure
DATA: L_S_SELECT TYPE SRSC_S_SELECT.
DATA: BEGIN OF ACTIVITY,
OBJECT_ID type CRMT_OBJECT_ID_DB,
PROCESS_TYPE type CRMT_PROCESS_TYPE_DB,
OBJECT_TYPE type CRMT_SUBOBJECT_CATEGORY_DB,
CREATED_BY type CRMT_CREATED_BY,
CREATED_AT type CRMT_CREATED_AT,
END OF ACTIVITY.
DATA: ZACTIVITY LIKE TABLE OF ACTIVITY WITH HEADER LINE,
Zorder LIKE TABLE OF ZORDER_S WITH HEADER LINE,
d_start type c length 15,
d_end type c length 15
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
cursor
S_CURSOR TYPE CURSOR.
Select ranges
RANGES: L_R_OBJECT_ID FOR CRMD_ORDERADM_H-OBJECT_ID,
L_R_CREATED_AT FOR CRMD_ORDERADM_H-CREATED_AT,
L_R_date for ZACTIVITY_PLAN_PARTNER-ZPLAN_DAT.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF I_INITFLAG = SBIWA_C_FLAG_ON.
Check DataSource validity
CASE I_DSOURCE.
WHEN 'ZACTIVITY_PLAN_PARTNER'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
this is a typical log call. Please write every error message like this
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE. "Initialization mode or data extraction ?
First data package -> OPEN CURSOR
IF S_COUNTER_DATAPAKID = 0.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
APPEND L_R_OBJECT_ID.
ENDLOOP.
if L_R_OBJECT_ID-option is initial.
L_R_OBJECT_ID-option = 'EQ'.
L_R_OBJECT_ID-sign ='I'.
endif.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-high
IMPORTING
OUTPUT = L_R_OBJECT_ID-high
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = L_R_OBJECT_ID-low
IMPORTING
OUTPUT = L_R_OBJECT_ID-low
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CREATED_AT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_CREATED_AT.
APPEND L_R_CREATED_AT.
ENDLOOP.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT OBJECT_ID FROM CRMD_ORDERADM_H
WHERE OBJECT_ID IN L_R_OBJECT_ID
AND CREATED_AT IN L_R_CREATED_AT and
PROCESS_TYPE EQ 'Z220'.
ENDIF. "First data package ?
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION. -
Problems with sapjco.jar and the EP6 SP19
Hi,
<b>
We have recently upgraded the portal server from EP6 SP9 to EP6 SP19.
Some of the applications that use Jco connections to interact with the backend, are giving exceptions while executing. These applications were properly executing before the upgrade.
Now, Is there any problem with the sapjco JAR file version??? How to resolve this problem???
</b>
regards
BrahmachaitanyaHi Brahmachaitanya ,
download the latest version of sapjco.jar, librfc32.dll,sapjcorfc.dll from service market place which is compatable to your OS.
then place the two dll files under windows/system32 folder
even if it doesnt work,
in the createclient() method give user id and password, language,host name in capital letter(upper case)
and try it
rgds
srinivas -
I recently upgraded to RoboHelp 8 and I opened my old project to update an HTML online help. Whenever I generated the online help and I clicked to view the result on the PC with RoboHelp 8, everything looked fine. Then, I copied all generated files to a server to be part of a web application. Today, I found out that when I viewed the online help on the server using the same PC with RoboHelp 8, all numbers of numbered lists displayed against the left side of the main body of the help are not displayed correctly. Part of each number got chopped off. Again, if I go to the !SSL! folder and display the online help that I generated, it looks fine. I also found out that when I used another PC to view the same online help file from the server, all the numbered lists looked fine. The PC with RoboHelp 8 runs with Windows 7 Enterprise 64 bit and the PC that I could see the numbered lists correctly runs with Windows 7 Professional 64bit. I don't understand why the two PCs do not display the same online help the same way. I asked someone to use his PC running Windows XP with IE7 and the numbered lists were not displayed correctly.
I read some discussions and there were a suggestion to use the "Convert RoboHelp Edited Topics to HTML" option to correct some problems with RoboHelp 8, so I tried it and it seemed to help. When using the option, I could see the numbered lists correctly. I am still wondering why two PCs did not display the same online help the same way. I am trying to see if there is an option with IE that can be used to solve this problem instead of deploying a new version of the online help. Does anyone know what the "Convert RoboHelp Edited Topics to HTML" option actually does. Will I be introducing more problems using this option?
RJThank you very much for replying. The convert option seems to fix the problem and I will probably redo my lists later because I did not seem to be able to make any changes to them.
I am still puzzled why one PC running the 64 bit Windows 7 Pro is able to display all numbered lists correctly and the other PC running the 64 bit Windows 7 Enterprise using the same version of Internet Explorer is not able to display any numbered lists correctly. I looked around with all the options for Internet Explorer and they are the same. I also noticed that when I used Google Chrome and FireFox, the numbered lists are displayed fine. I also noticed that if all the online help files are saved locally on the PC that is not able to displayed the numbered lists correctly, when I display the online help, the numbered lists look fine. It does not work when displaying the online help from a server. If you know an option that might make the online help to work properly with Internet Explorer without deploying a new version, please let me know.
Thanks,
RJ
Maybe you are looking for
-
Hi! I've just updated my iPad to iOS 7.02 and I'm not able now to download new apps nor update the version of the existing ones. All of them are "waiting"... for ever.Even, when trying to download a new app, a "dratf" icon appears on the ipad, not th
-
Function Module for creating Functional Location BOM and Equipment BOM
Hi All, Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???
-
Why can I receive mail but not send?
I am receiving my gmail messages in apple mail but cannot send messages.
-
JDBC Drivers for Weblogic to connect to Oracle 11g database
WebLogic Server Version: 10.3.6.0 We had Oracle 10g database that we were connecting using JDBC data source (driver : Oracle's Driver (Thin XA) for instance connections; versions:9.0.1 and later). We migrated our database to 11g now. Is it still the
-
Mismatch in the local time when using the RWTime.
Hi All, RWTime is showing +1 Hr excess for the local time. Compared the time with the ouput of unix date command as well. $ cat time.cc #include <iostream> #include <ctime> // Roguewave headers #include <rw/rwtime.h> #include <rw/rwdate.h> #include <