Error in displaying the Global List of entries
Hi,
I VC 7.0 i defined a Global List of Products for a Combo Box and written a Formula for filter based on user Selected Values...
Filter is working good...
WHen the user selected drop down box on Product insted of displaying Text Values of the entres i defined in Global List it is displaying Key Values of the entries i defined in Global List
How can i correct this error
Thanks
Hi,
for this use this function module.so that it can display it full.
PARAMETER P_FILE LIKE IBIPPARMS-PATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
Similar Messages
-
ABAP Run time error when display the Customs Export declarations
Hi,
I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
While debugging we found that Primary Key of the below structures are not the same
lt_corpar type /sapsll/corpar_t
lt_corpar_ht type /sapsll/corpar_k02_ht
Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
Error message short details
Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
"/SAPSLL/CUHD_LOAD_SELECTION".
The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
In the source code you have the termination point in line 144
of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
Regards,
Pradeep MaddiHi,
I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
Proforma Invoice not transferred to GTS
After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
Error details
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program /SAPSLL/SAPLCUHD_SELECTION
Application Component SLL-LEG
You tried to insert an entry into table "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
Regards,
Pradeep -
Is it possible to display the entire list in Background ?
Hi all,
I have alv report(Oops) , it is grid display and having more than 300 columns , when i execute that report in background i am getting only 132 columns and 65 lines per page, Is it possible to display the entire list , If it is possible then how we can do that? if it is not what is the reason? .
Thanks in Advance.Hi,
If use Grid in BG u will get o/p In ALV List Itself, second thing is u will get Croped o/p bcos of Print Format 65255 , in this case u have to create/change a new Print Format only for BG jobs like 651000.
for more info ask ur basis person to create a new print formats in such cases.
Regards,
shiva. -
Can anyone help me display the calendar list using an iphone4 with iso 7.1.1? I have already tried tapping the magnifying glass and that doesn't work.
That icon allows for the calendar month to display with the appts for that month below. I want to see only the list of appointments without the month displaying. I use to be able to get that display but since the last update tapping the magnifiying glass doesn't work.
-
Error in displaying the address in the address bar of jsf program
Hello,
I develop a simple application with 3 jsf pages, one is the main.jsp, the other two are article.jsp and proposal.jsp. I also create 4 jsf navigation case in the faces-config.xml which contain the following situation:
article.jsp -gomain1> main.jsp
main.jsp -goArticle> article.jsp
main.jsp -goproposal> proposal.jsp
proposal.jsp -gomain2> main.jsp
I create two commandbuttons in the main.jsp and the actions are goArticle, goProposal respectively.
I create one commandbuttons in the article.jsp and the actions is gomain1.
I create one commandbuttons in the proposal.jsp and the actions is gomain2.
When I run the program, everything works fine. But I found out that there is something error in displaying the links in the address bar:
1. main page, http://localhost:8988/po-view-context-root/faces/main.jsp ok.
2. click article, http://localhost:8988/po-view-context-root/faces/main.jsp;jsessionid=c0a87f6e231cc8717caa21484ec38fecb60f8f50a7d2 ok.
3. click return, http://localhost:8988/po-view-context-root/faces/article.jsp (ERROR: should be main.jsp but the content is main.jsp?)
4. click proposal, http://192.168.127.110:8988/po-view-context-root/faces/main.jsp (ERROR: should be proposal.jsp but the content is proposal.jsp?)
5. click return, http://localhost:8988/po-view-context-root/faces/proposal.jsp (ERROR: should be main.jsp but the content is main.jsp)
It seems to me that the address bar displaying the wrong address but the content is correct, it quite annoying me, do i do something wrong or is it a bug in 10.1.3?
Regards,
Alan 22/11/2005Hi Huseyin,
verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
select geometry, link_name from your_table
Joao -
Itunes on my iPhone 5 only displays the artist list with the UP NEXT feature. How can I change the UP NEXT feature on my iPhone 5 to display the next songs that are to be played on my play list?
Hi Sarah,
It sounds like the songs have either not yet synced over to the iPhone, or something went wrong when attempting to sync to the iPhone. My recommendation is to uncheck the "Sync Music" checkbox.
Once you have done that, recheck the "Sync Music" checkbox, and apply the changes once more. This will instruct iTunes to completely remove all music from your iPhone, and then copy the files once more. If you have a large amount of music, this initial sync may take a while.
If the above does not resolve your issue, see the following articles:
iOS: Syncing with iTunes
http://support.apple.com/kb/HT1386
iOS: How to transfer or sync content to your computer
http://support.apple.com/kb/HT1296
Thanks,
Matt M. -
How can I display the holiday list in the portal
System
ECC 6.0
EP 7.0
ESS/MSS 1.0
how can I display the holiday list in the portal.
There will be a holiday list created by the ABAP-er in ECC, how can I include it in the portal?Hi,
Create a WebDynpro Iview to create a simple application that pulls information from the RFM(that you has ABAPer created).
Start from <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#backend">Here</a>
(Or)
To get an idea, download the world time BP from below link. It has calender with holidays displayed.
http://www.sweetlets.com/world_times_preview.html
Regards,
N. -
Run time error while displaying the list of km folders
hi
i am trying to display the list of contents in the km folder using km api but the application is displaing an runtime error
package com.sap.test;
error in init method component
any body know the solution for this problem .
thankshi there
public class kmportalcomp extends AbstractPortalComponent
public String outtxt;
int depth;
int rowid = 0;
int counter = 0;
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IUserContext userCtx =request.getUser();
IResourceFactory factory;
IPortalComponentContext compContext = request.getComponentContext();
IPortalComponentProfile profile = compContext.getProfile();
try {IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("ccadmin_service");
String webpath = request.getWebResourcePath();
IResourceContext resourceContext = new ResourceContext(serviceUser);
response.write(webpath);
String fpath;
fpath = profile.getProperty("path").trim();
depth = Integer.valueOf(profile.getProperty("depth").trim()).intValue();
RID rid = RID.getRID(fpath);
ICollection folder = (ICollection)ResourceFactory.getInstance().getResource(rid, resourceContext);
IResourceList fileList = folder.getChildren();
response.write("d.add(0,-1,'"folder.getName()"');\r\n");
rowid = 0;
scan_km(response, fileList,0);
response.write("document.write(d);\r\n");
response.write("//--></script>");
response.write("</div>");
} catch (Exception e) {
response.write("Error Occured<br>");
response.write(e.toString());
public void scan_km(IPortalComponentResponse response,IResourceList list,int level) {
int currentrowid = rowid;
if (level>depth&&depth!=0) {
return ;
String rid = " ";
IResourceList tmpreslist;
ICollection tmpcollection;
level++;
for (int i = 0; i < list.size(); i++) {
IResource tmpres = list.get(i);
try {
if (tmpres.isCollection() && tmpres.getLinkType() == LinkType.NONE ) {
//&& tmpres.getLinkType() == LinkType.NONE
tmpcollection = (ICollection) tmpres;
tmpreslist = tmpcollection.getChildren();
if (tmpreslist.size()>0) {
rowid++;
response.write("d.add("rowid","currentrowid",'");
response.write(tmpres.getName());
response.write("','');\r\n");
scan_km(response,tmpreslist,level);
else {
rowid++;
String dispname;
dispname = tmpres.getDisplayName();
if (dispname==null||dispname.equals(""))
dispname = tmpres.getName();
rid = "/irj/go/km/docs"+tmpres.getAccessRID();
response.write("d.add("rowid","currentrowid",'"dispname"','"rid"');\r\n");
} catch (Exception ex) {
the error is am getting is
com.sapportals.wcm.repository.enum.LinkType and com.sapportals.wcm.repository.enums.LinkType kmportalappproject/src.core/com/sap/test kmportalcomp.java
thanks -
After Delete in Linked list...unable to display the linked list
Hi...i know that there is an implementation of the class Linked Link but i am required to show how the linked list works in this case for my project...please help...
Yes..I tried to delete some objects in a linked list but after that i am not able to display the objects that were already in the linked list properly and instead it throws an NullPointerException.
Below shows the relevant coding for deleting and listing the linked list...
public Node remove(Comparator comparer) throws Exception {
boolean found = false;
Node prevnode = head; //the node before the nextnode
Node deletedNode = null; //node deleted...
//get next node and apply removal criteria
for(Node nextnode = head.getNextNode(); nextnode != null; nextnode = nextnode.getNextNode()) {
if(comparer.equals(nextnode)) {
found = true;
//remove the next node from the list and return it
prevnode.setNextNode(nextnode.getNextNode());
nextnode.setNextNode(null);
deletedNode = nextnode;
count = count - 1;
break;
if (found) return deletedNode;
else throw new Exception ("Not found !!!");
public Object[] list() {
//code to gather information into object array
Node node;
Object[] nodes = new Object[count];
node = head.getNextNode();
for (int i=0; i<count; i++) {
nodes[i] = node.getInformation(); // this is the line that cause runtime error after deleting...but before deleting, it works without problem.
node = node.getNextNode();
return nodes;
}Please help me in figuring out what went wrong with that line...so far i really can't see any problem with it but it still throws a NullPointerException
ThanksOK -- I've had a cup and my systems are coming back on line...
The problem looks to be the way that you are handling the pointer to the previous node in your deletion code. Essentially, that is not getting incremented along with the nextNode -- it is always pointing to head. So when you find the node to delete then the line
prevnode.setNextNode(nextnode.getNextNode());will set the nextNode for head to be null in certain situations (like if you are removing the tail, for instance).
Then when you try to print out the list, the first call you make is
node = head.getNextNode();Which has been set to null, so you get an NPE when you try to access the information.
Nothing like my favorite alkaloid to help things along on a Monday morning...
- N -
Error while saving the custom list created in visual studio 2010
Dear all,
when I am saving the list; I am getting the following error. I do not know where this could be wrong.
Any inputs will help. Now I am recreating a new list - thinking that the objects used in the earlier projects might conflict. Also few lists in the list tab - were throwing error of the same type - which is not functioning well.
warm regards,
sathyaTo give more information on the code
Registration list
//Reference this Feature's parent object, which is SPWeb in this case
SPWeb currentWeb = properties.Feature.Parent as SPWeb;
//Reference the lists we need to manipulate.
SPList tList = currentWeb.Lists["TrainingTrainers"];
SPList rList = currentWeb.Lists["TrainingRegistration"];
//Reference the fields in the lists
SPFieldCollection rFields = rList.Fields;
SPFieldCollection tFields = tList.Fields;
//changes to the Trainers List
SPField fullNameField = tList.Fields["Full Name"];
SPField emailAddressField = tList.Fields["E-mail Address"];
SPField firstNameField = tList.Fields["First Name"];
SPField lastNameField = tList.Fields["Last Name"];
fullNameField.Required = true;
emailAddressField.Required = true;
firstNameField.Required = true;
lastNameField.Required = true;
fullNameField.Update();
emailAddressField.Update();
firstNameField.Update();
lastNameField.Update();
//Changes to the Registrations List
//Change the Display Name of the Title Field
SPField titleField = rFields["Title"];
titleField.Title = "RegistrationID";
titleField.Update();
//Add additional fields as necessary
rFields.Add("First Name", SPFieldType.Text, true);
rFields.Add("Last Name", SPFieldType.Text, true);
rFields.Add("E-mail Address", SPFieldType.Text, true);
rFields.Add("Phone Number", SPFieldType.Text, false);
rFields.Add("ClassID", SPFieldType.Text, false);
rList.Update();
//Make the ClassID column read-only because i will set this later
SPField classIDField = rList.Fields["ClassID"];
classIDField.ReadOnlyField = true;
classIDField.Update();
//Remove the Attachments column from the default view of the Trainers list
SPView tDefaultView = tList.DefaultView;
tDefaultView.ViewFields.Delete("Attachments");
tDefaultView.Update();
//Add new fields to the default view of the Registrations list
SPView rDefaultView = rList.DefaultView;
rDefaultView.ViewFields.Delete("Attachments");
rDefaultView.ViewFields.Add("First Name");
rDefaultView.ViewFields.Add("Last Name");
rDefaultView.ViewFields.Add("E-mail Address");
rDefaultView.ViewFields.Add("Phone Number");
rDefaultView.Update();
Classes list
//Reference the newly created Classes list and perform the following
//1. Set the display name of the "Title" column to "ClassID" and hide it from the New and Edit Forms
//2. Make the "ClassID" column not required
//3. Set the default value of the Registrations column to 0 and do not display it on the new form
//4. Add the built-in "Start Date" and "End Date" columns
//Reference the newly created classes list
SPWeb currentWeb = properties.Feature.Parent as SPWeb;
SPList classesList = currentWeb.Lists["Classes-List"];
//Title column update
SPField titleField = classesList.Fields["Title"];
titleField.Required = false;
titleField.ShowInNewForm = false;
titleField.ShowInEditForm = false;
titleField.Title = "ClassID";
titleField.Update();
//Registrations column updates
SPField registrationField = classesList.Fields["Registrations"];
registrationField.DefaultValue = "0";
registrationField.ShowInNewForm = false;
registrationField.Update();
//Add the Start Date and End Date columns to the list, ensure they both display Date and Time, and add them to the default view of the list
SPFieldDateTime startDate = currentWeb.Fields["Start Date"] as SPFieldDateTime;
startDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
SPFieldDateTime endDate = currentWeb.Fields["End Date"] as SPFieldDateTime;
endDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
classesList.Fields.Add(startDate);
classesList.Fields.Add(endDate);
SPView defaultView = classesList.DefaultView;
defaultView.ViewFields.Add(startDate);
defaultView.ViewFields.Add(endDate);
defaultView.Update();
classesList.Update();
To my sense - when I add the classes list - the error pops up.
the classid is tied to both these lists. -
Getting an unexpected error while displaying the bound HtmlOutputText
I am getting this unexpected error when I am trying to display the HtmlOutputText which is bound to a backing bean HtmlOutputText component.
Error:
java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:253)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
The JSP Page is :
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Two Beans</title>
</head>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<body>
<f:view>
<h:form id="TwoBeansForm">
<h:selectOneMenu id="Dropdown" value="#{hlb.cb.selVal}">
<f:selectItems value="#{RgsRequestBean.compLookup.competencyAreaMap}"/>
</h:selectOneMenu>
<h:commandButton id="TestButton" value="Display" action="#{hlb.display}"/>
<h:outputText id="SelectedValue" binding="#{hlb.text}"/>
</h:form>
</f:view>
</body>
</html>The backing bean code is:
package trial;
import javax.faces.component.html.HtmlOutputText;
public class HighLevelBean {
private ChildBean cb;
private HtmlOutputText text;
public HighLevelBean(){
cb=new ChildBean();
public ChildBean getCb() {
return cb;
public void setCb(ChildBean cb) {
this.cb = cb;
public HtmlOutputText getText() {
return text;
public void setText(HtmlOutputText text) {
this.text = text;
public String display(){
text=new HtmlOutputText();
text.setValue(cb.getSelVal());
return "goback@twobeans";
}The goback@twobeans string provides the navigation to the same jsp page.
Childbean just have one String member variable.
The values in the drop down is getting populated but when I am trying to get the selected value to be displayed through the HtmlTextOutput the above error is thrown...Hi ,
For troubleshooting your issue, please take steps as below:
1. Open web.config file of current web application
2. Find the node that begins
<trust level=
3. Change the trust level from WSS_Minimal to
WSS_Medium
4. Save the file
5. Drop to command prompt and execute :
iisreset
If your issue persists, please provide detail error message of ULS log to determine the exact cause of the error?
For SharePoint 2010, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Error when displaying the table
hellow,
here i have to .htm pages, in first page i am entering the table name, and it has to display the table details in second page.
but in second page i am getting error like field catalog not found
plz help me.
with regards
babuhi babu rs
Please post the code of the two bsp page with the layout as well as abap code. Only than anybody can help you. -
Error Message Displaying the status Bar not like popup message
Hi all,
My Requirement is while creating invoice if pricing conditons is repeted , system should thorough the error message like (uplicate Condition Types Are Not Possible in the status Bar but Im getting poup Error message So I want to display the same message in the status Bar.
Please Help me any one.
Regards,
PrathapI dont want to Display the popup, I want to Display in Status Bar as a Error Message.
Like this .
If I put message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
If I Put messge type 'I' its Displaying in Status Bar .
Regards,
Prathap
Edited by: giri prathap on Sep 13, 2011 12:35 PM -
Creating search help for AFNAM, and display the hit list with values only
Hi guys,
I have created a search help for AFNAM, but the hit list displays all even if it is blank.
I want to display in the hit list the AFNAM with values and do not diplay the blank values...
Is it possible? How am i going to do it?
Thanks!
MarkHi Mark,
After selecting data use this statement.
DELETE it_table WHERE AFNAM is initial.
Regards,
Suneel G -
Empty paragrpahs in a textflow cause runtime error when displaying the text
Hello there,
when I create a textflow which has empty ParagraphElements in
it (i.e. a ParagraphElement without any children) I get this
runtime error once I try to display the text in a container:
Error: Error #2175: One or more elements of the content of
the TextBlock has a null ElementFormat.
Is this a bug, or is there a legitimate reason for this
error? If so, I'd like to understand why. In my reasoning an empty
ParagraphElement should just result in the rendering of a newline.
But maybe I'm thinking too much in HTML terms here...
I appreciate any light you can shed on this,
thanks in advance,
Roland
P.S. I'm using the latest build 370Hey Richard,
thank you very much, and I was indeed already using your
mentioned workaround, I was just wondering whether it was a bug or
something I didn't fully understand :) But now I do, so thanks for
your time.
Maybe you are looking for
-
Data in RSA3 does not match data in PSA
We recently added a new field (character 40) to our 0customer_attr extractor and are populating it in a user exit. When we execute the extractor in RSA3, the field is populated correctly. However, when we run an actual extraction to BW, the data in t
-
How to upload sap r/3 table data to ms-sql 2000?
Dear Friends any one can help me out step by step to upload sap r/3 table data to ms-sql 2000. Thanks in advance
-
Disable Vertical scroll but enable Page down in Table control for BDC
Hello All In my 4.6C sysem , i had enabled Scroll bar in table control by populating TABC-lines = <No of records>...Then when i try to capture the BDC recording of this , then the scrolling event is not captured in BDC , as we all know..... So i put
-
What's Latest OS and iTunes Macbook can install
We have been given an older Macbook to tide us over, having lost everything when bared from our house at 4am after it got undermined in a landslide: Model Name: MacBook Model Identifier: MacBook2,1 Processor Name: Int
-
I have a cerca 2008 iMac with a dashboard that has an "Applications Update" that used to search my computer for flaws. It still begins the search, but the response is now "V Tracker couldn't parse version!" or "V.Tracker App not found!". It has not w