ITS Problem of navigating to 2nd page
Hi All,
Hi Experts,
I am trying to access ITS standard service mobile00 & mobile01 and found that it is not foinf to the next navigation point. non of the button is heading to the next page. If it is a standard service it should work.
The transaction for which this service is, it is working fine in SAP system.
I also tried to create a custom service in SE80 & defined it in SICF with CL_HTTP_EXT_ITS header list, GUI Link 'Y' and 3 parameters ~mobile = 1, ~transaction = LM01 and ~theme = 99.
When i open it in internet explorer, it only opens1/4th of the page and i dotn get anything to proceed further. When i open it in Mozilla firefox, it opens the page with a bad alignment but i can navigate to the 2nd page.
Can anyone please help me.
Regards,
Nik
Hello Nikhil,
Did you publish the itsmobile00 and itsmobile01 services to the internal ITS from SE80? Please have a look at the ITS Mobile wiki for information on creating your ITS mobile services and templates. https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/itsmobile
Edgar
Similar Messages
-
Problem in navigating 2 second page
Hi ,
actually the scenario is like this:
1) when i give the partner no as input it will display the output details as guid,header,item,object_type,partner_no.---first page
2) Again if i click on the header in this output it have to go next page and have to display the details of header like service order,process type etc.
here upto first part i done .and the i created next page also
i done the following code in first page oninput processing
CASE event_id.
WHEN 'clickon'.
navigation->set_parameter( 'header' ).
navigation->goto_page('second.htm' ).
ENDCASE.
i done the following code in next page oninitialization
data: header type crmd_orderadm_h-guid.
header = request->get_form_field( name = 'header' ).
select object_id
guid
posting_date
process_type
created_by from crmd_orderadm_h INTO corresponding fields of
table index1
WHERE guid EQ header.
now the problem is i m not able to click on header of first page output .after clicking on that i have to display next page details.
Please solve the problem
Thanks,
Ushai created 2 pages.
in first page
LAYOUT:
<html>
<head>
<title>
Retrieving service order details
</title>
</head>
<body>
<form>
<form method = "post" action= "first.htm">
partner_no: <input name= "partner_no" /> <br>
<input value="submit" type= "submit"/>
</form>
<% if not index[] is initial. %>
<table>
<tr>
<td width= "150" align= "left"><b>GUID</b></td>
<td width= "150" align= "left"><b>HEADER GUID</b></td>
<td width= "150" align= "left"><b>ITEM GUID</b></td>
<td width= "150" align= "left"><b>OBJECT_TYPE</b></td>
<td width= "150" align= "left"><b>PARTNER_NO</b></td>
</tr>
<% loop at index into wa . %>
<tr>
<td width= "150" align= "left"><%= wa-guid %></td>
<td width= "150" align= "left"><a href= "second.htm"><%=wa-header %></a></td>
<td width= "150" align= "left"><%= wa-item %></td>
<td width= "150" align= "left"><%= wa-object_type %></td>
<td width= "150" align= "left"><%= wa-partner_no %></td>
</tr>
<%Endloop. %>
<%data:temp(20) type c.
move wa-header to temp. %>
</table>
ONINITIALIZATION:
data: partner_no type crmd_order_index-partner_no.
partner_no = request->get_form_field( name = 'partner_no' ).
select guid
header
item
object_type
partner_no from crmd_order_index INTO corresponding fields of
table index
WHERE object_type eq 'BUS2000140' and partner_no eq partner_no.
ONINPUTPROCESSING
CASE EVENT_ID.
WHEN 'clickon'.
navigation->set_parameter( name = 'head'
value = 'temp').
navigation->goto_page( 'second.htm' ).
ENDCASe.
type definitions:
types:it_index type standard table of crmd_order_index,
wa_index type crmd_order_index.
PAGE ATTRIBUTES:
index type it_index
wa type wa_index
head type c
temp type c
I_N SECOND page :_
LAYOUT
<html>
<head>
<title> Service order details</title>
</head>
<body>
<table>
<tr>
<td width= "150" align= "left"><b>GUID</b></td>
<td width= "150" align= "left"><b>OBJECTID</b></td>_
<td width= "150" align= "left"><b>POSTINGDATE</b></td>_
<td width= "150" align= "left"><b>PROCESSTYPE</b></td>_
<td width= "150" align= "left"><b>CREATEDBY</b></td>_
</tr>
<% loop at index1 into wa1. %>
<tr>
<td width= "150" align= "left"><%= wa1-guid %></td>
<td width= "150" align= "left"><%= wa1-objectid %></td>_
<td width= "150" align= "left"><%= wa1-postingdate %></td>_
<td width= "150" align= "left"><%= wa1-processtype %></td>_
<td width= "150" align= "left"><%= wa1-createdby %></td>_
</tr>
<% endloop. %>
</table>
</body>
</html>
TYPE DEFINITIONS:
TYPES:itindex1 type standard table of crmd_orderadm_h,_
waindex1 type crmd_orderadm_h._
PAGE ATTRIBUTES:
index1 type itindex1_
wa1 type waindex1_
temp1 type c
head type c
ONINITIALIZATION
data:temp1(20) type c.
data:head(20) type c.
temp1 = request->getform_field( name ='head' )._
select guid objectid process_type posting_date created_by_
from crmdorderadm_h into CORRESPONDING FIELDS OF TABLE index1_
where guid eq temp1.
now the problem is i m not able to displaying second page output..
Plz solve this problem.
THANKS,
Usha
Edited by: Usha Rani Rachamalla on Jan 23, 2008 7:59 AM -
NPE error when navigating to next page based on lov selection
hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
{code}
<DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
<DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
<DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
<DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
<DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 more
Caused by: java.lang.NullPointerException
at showSelectedOrg(OrgDetails.java:2455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... 45 more
THIS IS THE LINE AM GETING THE ERROR
method.getParamsMap().put("rowKey", newVal);
<af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
required="true"
id="soc1" autoSubmit="true" valuePassThru="true"
contentStyle="width:145px">
<f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
</af:selectOneChoice>
<af:commandButton text="UpdateOrganisation"
id="cb1"
action="#{pageFlowScope.addMember.showSelectedOrg}"/>
public String showSelectedOrg() {
/* if(getorgids() == null ||getorgids().equals(null)){
JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
BindingContext lBindingContext = BindingContext.getCurrent();
BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
// get the list binding for the Organisation lov
JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
// get the selected index from the list which is stored in the Orgidd1 attribute
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
Integer selid = (Integer)attr.getInputValue();
// load the listdata
Object row = list.getDisplayData();
// get the selected row from the list
Row lFromList = (Row)list.getValueFromList(selid);
// from the row we get the PK the orgnasationId
Object lAttribute = lFromList.getAttribute("Organisationid");
Object orgname = lFromList.getAttribute("Organisationname");
Number newVal = (Number)lAttribute;
String neworg = (String)orgname;
_logger.info("Information: selected Organisation = " + newVal);
System.out.println("neworg " + newVal);
System.out.println("testorg " + neworg);
selectedState = neworg;
// get the MethodAction for setCurrentRowWithKeyValue
OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
// set hte needed parameter as the organisation id
method.getParamsMap().put("rowKey", newVal);
method.execute();
// after execution check for errors
List errors = method.getErrors();
Exception ex = (Exception)errors.get(0);
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
FacesContext.getCurrentInstance().addMessage(null, msg);
// keep on page in case of an error
// navigate to the next page
return "show";
{code}
am in jdeveloper 11.1.1.6.0adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo -
Hi All,
I am facing some problem while navigation. My page is navigating to another page on clicking a command button but when i come back to the previous page bny clicking back button(my new page has a back button for which i have written navigation rule.), it navigates successfully but maintains old values. I want that the page should be reloaded again. How can i do it....???
Plss help me.....
RegardsThere are a number of posts in this forum which relate to your question.
Either put the bean holding your values in request scope or reset the bean when necessary.
http://forum.java.sun.com/thread.jspa?threadID=704825
CowKing -
UI Problem: Tab render Issues on page navigation
Hi All,
I am with a ADF application using jDev11g where i have some JSF pages and have navigations between those pages.
In the first page i have two tabs.
In the second tab of that page I have put the ViewObject (ViewObject is based not base on Query, ie. not on any Entity Object) attributes as input text fields.
After that i have a Search page next where i search on some conditions and from the result table I select a specific row and catch its column values. Using the row record I populate the viewObject of that first page while clicking on a button on the second page (this button calls a AppModuleImpl class method to populate the ViewObject).
Till this it works fine. But there are some UI related issues associated with it.
Query--1:
Approach 1: As i have dropped a View Object as inputText and it is not populated on on the first go it will have label field but the value field will not be rendered at all. But this doesnot meet the UI requirement. I need to have a value field (white box with no data). How to resolve this? Are there any property for that to render.
Please suggest.
Work Around: For this problem i applied a work around by dropping some extra input texts beside the VO attributes (as text field without label) in my 2nd tab of first JSF page. And while navigating to second page i made these extra i/p fields as hidden (through Disabled/Rendered property) in the backing bean.
Then i populate the ViewObject from second page and returned to the first page(default goes to first tab) and opened the 2nd tab i found all the extra nput text fields visible which i had disabled. Can you tell why it's happening?
Please suggest for these 2 approaches.
Query--2:
Is there any way that when i navigate back to the first page by default the second tab will open instead of the first?
Please suggest.
Thanks in advance.Hi,
Query--1:
Approach 1: As i have dropped a View Object as inputText and it is not populated on on the first go it will have label field but the value field will not be rendered at all. But this does not meet the UI requirement. I need to have a value field (white box with no data). How to resolve this? Are there any property for that to render.
Please suggest.
an input field need an object to write to to display the input area (otherwise its read-only). So you can create your input form pointing to a managed bean initially any then, when users enter and submit data, save it manually in ADF and after this hide the bean bound fields and show the ADF fields. Or - before getting onto the page - you create a new row if the current collection is empty.
Short answer: there is no declarative way to do this
Is there any way that when i navigate back to the first page by default the second tab will open instead of the first?
Please suggest.
The ShowDetailItem component that is used to render tabs has a Diclosed property that you can point to a managed bean method. When you navigate back, you have the managed bean returning false for all but the second tab.
Frank -
Really having problems with organising documents in pages. For example, deleting pages deletes the whole section and I cannot insert a section break as its greyed out & sending an object to background deletes several pages and trying to insert a text box autmatically creates new pages- what the **** is going on??? Is this programme really this badly thought out? I thought everything apple was supposed to be intuitive!?!?!? Help.
You can not insert a section break into a textbox.
You appear to have a lot of objects with wrap set, that once you take them out of the flow of text (by sending them to the background) causes the text to reflow and contract into fewer pages. Pages is almost unique in the way it forms up pages in Word Processing mode only so long as there is text on them.
I suspect you probably have hammered away at returns, spaces and tabs as well to position things, which only works to add to the mess.
Download the Pages09_UserGuide.pdf available under the Help menu and swot up a bit on how it works.
You may find this a usueful resource as well:
http://www.freeforum101.com/iworktipsntrick/
Peter
PS There is quite a lot of programming in OSX that is far from "intuitive". Pages is easy at one level, when using the templates, otherwise it can be quite frustrating. -
Smart form footer issue in 2nd page - Horizontal line is not displayed
Dear Experts,
I am working on a smartform. Which has a table (Header, Main area, Footer), When there are more records and footer alone is printed in the 2nd page, i am not getting the first horizontal line for the footer and it does not look like a table in second page.
My smartform table exactly looks like this when printed in a single page.
|_________|______________|_________________|____________|________________|__________| - Header
|_________|______________|_________________|____________|________________|__________| - Main Area
|_______________________________________________________|___________________________| - Footer
When the footer alone is printed in second page, i want to print as
|_____________________________________________________|__________________________| - Footer
But its printed as
|_____________________________________________________|__________________________| - Footer
When the item records are printed in multiple pages, i will have header and item records in every page. The problem comes only when the footer alone gets printed in separate page.
Please suggest me how to fix this issue. Thanks in advance.
Rajesh.hi rajesh..
check the line type for that footer. It's getting displayed properly on multiple pages because the lower line of other rows is getting overlapped on the upper one of footer. This is why you dont recognize it.
On single page there arent any other rows. So it shows a blank.
So as samreen said make the top line of that line type bold.
Regards,
Sumit.
Edited by: Sumit Nene on Aug 28, 2009 7:02 AM -
Problem with navigation and masthead by changing languages with Anonymous
Hi All,
i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
Ive created two additional users anon_de (with language german )and anon_en (for english).
I've created also two links in the in masthead:
/irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
It seems that masthead and navigation have always prevoius language selected.
Do you know, what could be the reason of that strange behavior?
Thanks for help
KarolHi Detlev,
you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
Thanks for help
ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer.. -
Problem with direction in a page(??????)
Hi every body,
I have a problem with direction in some page when i change the language to Arabic(right to left language).
in some page like welcome page its completely true ,but in some page that i buile with my self (and add some portlet to it like :advanced search portlet)its directon does not appear properly,the label is appear in left, and text box appear in right(its not true).
what can i do??????????????????
please answer me :(This is not the right forum for your question. Try to post it in the Oracle Application Server Portal forum, or contact Oracle Support.
Peter -
Problem with navigation in app javascript
Hi, in my app there are some problems for the navigation between the pages. in the app there is a descrption of the problems. can you help me? please.. it is important for me
https://onedrive.live.com/redir?resid=EED8037DD05FCED!79109&authkey=!APeraVKd0dTb96k&ithint=file%2crarHi Massimo,
Problem solved? I've downloaded your sample and there is really complex code in your sample, hardly to find where the problem located.
If I click method1, the app crashed with exception: out of memory.
To narrow down the issue, I create a blank app with the same page without too many js script loaded, I found it works fine, looks like the out of memory is caused by some of the js files.
I would suggest you to remove the js script reference you are using one by one if they are useless, I believe some of the JS code cause the memory issue.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to creat 2nd page in smart forms
hi
in smart forms iam facing problem i'e if i gave 10 material's it was comming fine if i give 30 materials it was going to 2nd page in that again from starting it was comming like Header delivery adress.
what i want is if materials increase than main window should increase size & rest of thing(footer )should comes in 2nd window
regards
A K reddyHi,
For the header details not to print on the second page:
-> Go to Conditions tab of the window in which u r printing Header delivery address and check the condition 'Only on first Page'
This will solve ur problem.
thanks,
Anon -
Problems with navigation when deploy application on WebLogic 10.3
Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
Best regards!I have in log:
2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
l setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
lize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
sourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
trap add
INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
tchCredential
WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
mains\base_domain\config\oracle.
2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
Exception
WARNING: Incomplete connection information
Edited by: Debuger on Mar 26, 2009 11:18 AM -
Problem while displaying top of page in list display
Hi,
M facing problem in displaying top of page in list .
M using following methods:-
lr_outer_grid TYPE REF TO cl_salv_form_layout_grid,
lr_inner_grid TYPE REF TO cl_salv_form_layout_grid,
lr_label TYPE REF TO cl_salv_form_label,
lr_text TYPE REF TO cl_salv_form_text.
For displaying the top of page m using event TOP_OF_PAGE.
CREATE OBJECT lr_outer_grid.
*Outer grid
lr_inner_grid = lr_outer_grid->create_grid(
row = 1
column = 1 ).
*... create lable information in inner_grid
User ID
lr_label = lr_inner_grid->create_label(
row = 1
column = 1
text = text-h03 ).
*... create text information in inner_grid
lr_text = lr_inner_grid->create_text(
row = 1
column = 2
text = sy-uname ).
*... set label for text
lr_label->set_label_for( lr_text ).
But while m going to do same coding for second parameter its not intializing length so adding extra spaces while displaying second row.
e.g
USERID abcdefghjik
PLANT jhk to hjk
I want that output should look like
USERID abcdefghjik
PLANT jhk to hjk
Please tell me the solution what should i do for avoiding extra spaceHi Neelema,
You could try this sample code.
[http://sap-img.com/fu037.htm]
[http://sap-img.com/abap/sample-alv-heading-in-alv.htm]
Regards,
Amit. -
(ES4) How to create a flowable form that does not overlap when pushed to a new 2nd page
I have a form that involves text insertion boxes, plain text, and checkboxes. I successfully made my text insertion boxes a flowing expandable layout, but once it gets too big and it has to push the subforms below it onto a 2nd page, all that information overlaps eachother on the 1st line of the new page like the subforms disappear. How do i get it to flow like the original 1st page? I can post a pic if its confusing, but its so frusturating!
I have a form that involves text insertion boxes, plain text, and checkboxes. I successfully made my text insertion boxes a flowing expandable layout, but once it gets too big and it has to push the subforms below it onto a 2nd page, all that information overlaps eachother on the 1st line of the new page like the subforms disappear. How do i get it to flow like the original 1st page? I can post a pic if its confusing, but its so frusturating!
-
Problem in downloading top-of-page to excel
Hi All,
I have developed a report using OOALV. Im using split containers to display the data of Docking container.
The problem is when I'm downloading the report to excel, its only printing the main data from bottom container. Its not displaying the top-of-page data, which is printing in top container.
Here is the sample code, which Im using to print the top-of-page.
CALL METHOD o_document->new_line. (SAMPLE CODE)
***Fiscal Year
CLEAR:v_string.
CONCATENATE 'Run Date:'(143) v_print_date INTO v_string SEPARATED BY space.
CONDENSE v_string.
* Adding Text
CALL METHOD o_document->add_text
EXPORTING
text = v_string.
* Display the data
CALL METHOD o_document->display_document
EXPORTING
parent = o_top_container.
* Calling the method of ALV to process top of page
CALL METHOD alv_grid->list_processing_events
EXPORTING
i_event_name = 'TOP_OF_PAGE'
i_dyndoc_id = o_document.
Please advise me how to download the data along with the top of page from OOALV output.
Thanks,
PriyaHi Priya,
Sorry for the delay.. here
Simple explanation...
ABAP - OLE Automation using MS-Excel - Code Gallery - SCN Wiki
You can find a detail doc here
http://www.heyiamonline.com/abap/pdf/ABAPOLEAUTOMATION.pdf
Regards
Maybe you are looking for
-
Discount on combination of two materials
Hi, I have following requirement-your suggestions could help me in meeting the requirement. Region A1 & A2 Material B1 , B2 & B3.--All the three materials belong to same material group. All materials have separate material codes Requirement-1. When m
-
Hello Experts, is there any standard data source available for table T25F0 for Regional Office. thanks in Advance neha
-
Not Responding When Restoring a Bookmarks File
After the last Firefox update, lots of bookmarks disappeared, and I tried to restore a .jsonlz4 file. On the bookmarks manager window I choose the file, click on the Open button, the notice asking if I want to replace all the bookmarks comes up and I
-
A couple years back a solution was given for exporting/saving a QuickTime file so that when that file was sent to another person it would automatically open in full screen for them (even if they didn't own Pro). It worked. Now, I have to revise some
-
Disk Utility - Input/Output error when creating disk image
Hello! A few days ago I was unable to turn on my Macbook Pro, and was stuck on the white screen. I've been searching around quite a lot on this forum, and before I try fixing anything, I REALLY need to back-up my files! I just bought a 2TB hard-drive