Page "Display Trip Form"
Hi All.
I am implementing ESS/MSS for Travel expense. I want to use iView and Page "Display Trip Form". This iview and page is in Portal contend directory :Portal COntent -> Content provided by SAP -> End user content -> ESS -> Pages -> Travel and Expense .
When I take a pre view of this page I get bellow error message:
"At least one optional parameter must be specified when method is called"
Do you know why this message is comming and how can we fix it. Is there some config missing or do I need to set some property of iview/ page?
Regards,
Amit.
Hi,
Display Form aplication needs trip number & employee number as parameters. if you click on preview in PCD then you are not passing any parameters in application. once you associate this ivew with travel & Expense like in UWL or with some event then you can see proper output.
Regards,
Amit
Similar Messages
-
Can we custom the form layout to be display on display trip form?
hi experts,
i have question about display trip form in ess.
I want to use my custom report to display/print that form.
is it possible?
at GUI we have that form as Z form of report.
thankshi Siddharth,
I have Z report at SAP GUI, and planning to make an iview for that report so when we want to display trip form (on portal), it display our Z report form.
can you give me details on how to modify it?
so I can use it on ESS?
thanks -
In our Travel and expenses implementation of ESS, The display trip shows up in HTML. I was wondering how/if we can show up the form in pdf instead.
Thanks.Hello Christopher,
thats actually exactly how it does work. You embed a Adobe UI element into your Web Dynpro application, either ABAP via SE80 or Java via NWDS. If you "design" it, the installed Adobe Livecycle Designer gets called right into your IDE (SE80/NWDS), its kinda like you click a *.doc element and your Word gets open.
What i have learned, especially if it comes to HCM processes and forms and Interactive forms in general, is that you should always use the lastest Adobe Designer, which is right now 7.10. The big advantage if you install it seperatly you can remove and install a new version easily. If you install the Adobe Designer along the NWDS and SAP GUI you have to remove the entire IDE (SAP GUI / NWDS) in order to install a "new" version of Adobe Designer (I actually had this problem a few weeks ago with my NWDS) And as i have already posted, afaik the version which comes alaong the SAP Gui / NWDS is still the "old" one 6.0
I hope this helps
Markus -
ESS-Travel and Expenses-Display Trip Form
Hi, All
We have ECC 6.0 SP11;SAP-HR SP9;EA-HR SP9.
Portal 7.0 SP10;ESS 600 SP10.
I have an issue regarding the display of Travel and Expenses Form (Trip Form) in the Portal. The expense report creation is working fine and whenever i tried to open the trip , i get the error" Error while initiating travel form". other functionalities like change report works without any issues. We have not configured the ECC for PDF creation and hence the display is supposed to show a screen report. (Anyway, I have chceked the ADS coniguration also and it is working fine.)
If i goto the Content administrator-webdynpro-applications and click the AllMytrips application and run it from there, then the display trip works fine.
Any suggestions/hints to resolve this issue is very much appreciated.
Thanks and Regards
veluHi, Shyam
Thanks for your input. I feel the First link is not applicable to my setup as we are not using the Adobe Forms for the output( as another Dev Portal is working fine and displays the output as a Screen). Also, I am able to display the data in the current portal setup, if i run the webdynpro application separately and the output is displayed in a Screen.
May be either i have to downgrade my ESS Version to ESS600 SP6 ( current version is ESS600 SP10 ) or I have to upgrade my Portal to SP12 ( current version is SP10).
Suggestions are very much appreciated.
Regards
velu -
Trip Form from Universal Worklist displayes an error
Hi,
Situation
We are using ESS/MSS within the Portal 7.0 SP 14. The SAP Backend which we are using is ECC 6.0.
SSO between the Portal and Backend works efficient.
Problem
There are some issues when using the Universal Worklist. All tasks appear in our Universal Worklist from the Backend.
Unfortunately, when trying to open any task we are facing the following error:
com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field I_TRIPNUMBER, complex type class com.sap.xss.tra.tri.model.tripform.Ptrm_Web_Form_Pdf_Get_Input
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:751)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:669)
at com.sap.xss.tra.tri.model.tripform.Ptrm_Web_Form_Pdf_Get_Input.setI_Tripnumber(Ptrm_Web_Form_Pdf_Get_Input.java:282)
at com.sap.xss.tra.tri.fc.tripform.FcTriTripForm.rfcFormPdfGet(FcTriTripForm.java:382)
... 65 more
Following steps have been followed up
- The URL parameter of the resource "Employee_travel_tripform_srv05 has the value "sap_xss_tra_UsePdf=true"
- The iView "Display Trip Form" has the application parameter "sap.xss.tra.UsePdf=true"
Question
When a task is opened from the Universal Worklist, the Trip Form must appear in PDF Form.At this stage the iview "Display Trip Form" opens but shows the error mentioned above.
Is there anyone who could help us out?
Any help would be appreciated.
Regards,
Gene MadikramaHello Dear Gene,
Will you kindly share us the knowledge by which you have solved the ssue at your end..
Many of us are facing the Same Error,Knowledge sharing will be highly appreciated.
Thnaks and Best Regards,
Unni. -
Is it possible to display Oracle form as a region in OAF Page?
Hi
Is it possible to display Oracle form as a region in OAF page something like a master detail relationship such that Master information is displayed in OAF UI but detail information below is displayed in Oracle forms?Is there a tag that lets one do that specific for Form.
One way could be do to embed applet in OAF page which would call and display oracle form but not sure if using javascript/applet in OAF would violate OAF coding standards or create some session management issues.
Regards
PreetiThanks for your reply.I have seen an implementation that uses Adf and able to display form on same page as in inlinefraame in .jspx page using inlineFrame tag
<af:inlineFrame inlineStyle="height:700px; width:1380px;"
id="inlineFrm1"
source="#{gofDrillback01.targetURL}"/>
But I guess OAF doesnt have a similar tag to support forms.Thoughts?
Regards
Preeti -
How to display mutiple form contents on the same page
I have multiple forms for a same page,when i press submit in one form it has to go to next form,where both form contents should display on the same page.Can anyone post example code for this?
Thnx in advance.I have multiple forms for a same page,when i press
submit in one form it has to go to next form,where
both form contents should display on the same
page.Can anyone post example code for this?that's not how it works. when you press submit, the form data is submitted to the server. you can then forward the user to a page with another form, but what you're talking about doesn't make sense -
How to display static HTML pages in Oracle Forms 6i
I want to display static HTML page in oracle Forms ? Can any body help please ? Its very urgent. Many thanks in advance.
Suresh,
there exist a Java Bean in teh Forms 6i demos that shows a static HTMl example. Note that the HTML that could be shown is somewhat basic, but it will give you an impression how it can work. The demos are at otn.oracle.com/products/forms --> samples --> 6i demos
Frank -
Display a form as a portlet in a page
Is it possible to display a form as a portlet in a page and pass it parameters?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ben Segers ([email protected]):
Is it possible to display a form as a portlet in a page and pass it parameters?<HR></BLOCKQUOTE>
It's very much possible to publish the Form as a Portlet. Do the following things:
1) Select the Application in which your Form is residing.
2)In front of your Form name,in the Actions cloumn, Click the link named "Grant Access".
3) In the page that is presented to you you will see a title "Portal Access" below which there is a Check Box named "Publish to Portal".
Check this Box and Click "Apply" and then "Close"
This will create a Portlet of that Form which you can use in your Page
Also I am struggling about passing the parameters from one Form to another. I have posted this in the Forum but the things that they advise to try from the FAQ have not yet worked properly for me as yet. Also if you come across any solution pl. let me know -
Dynamically display the page numbers on forms
Hi,
I have 10 pages in a form with the common footer section/fap in all pages. I used the common footer section to maintain the consistent left and right footer (having State specific footer information) on all ten pages. But I would like to display the page number dynamically based on page number as specified below:
For example, for page 1, it should display the footer as Page 1A,for page 2 it should display as Page 1B, for page 3 it should display as Page 1C etc.,
Can anyone help me on this issue how can I dynamically display the page number based on the current page as per the above requirement.
Thanks,
Srini.
Edited by: 943696 on Jul 9, 2012 4:39 PM
Edited by: 943696 on Jul 9, 2012 4:44 PMIgnoring the fact that you have 10 pages that you want to label all as "page 1", assuming you have version 11.4 (? or higher) you might be able to do this.
Somewhere around that version the concept of "Print time" fields was introduced where you can define a field that will make a call-out to generate the value at the point in time when it tries to print.
You would name the field something like: ~DAL MyPageValue
Yes, with the tilde next to DAL and a space between DAL and the name of a script you want to execute that would do your calculation. As the previous reply mentions, you would have to keep track of your own page counter to know whether to append the 'A', 'B', 'C', etc. to the "Page 1" description you intend. -
Web Page with long form to fill in. Worked on Firefox 9. Works
on IE. Now doesn't work. End of form and submit button is missing. Rest of form looks good. The source is correct. Just quits displayingHi,
Please try a '''Ctrl''' + '''F5''' refresh. This helps to bring in the page contents afresh. If the problem persists please check in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode.] Please also check if the page can be fully loaded alone with no other tabs loading.
[http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
[https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
[http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
[http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars] -
How to open a page from a Form and pass parameters to the form on that page
I found a similar example on this forum, but it did not work for me:
declare
l_names owa.vc_arr;
l_values owa.vc_arr;
i number;
begin
PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
FOR i in 1..l_names.count
LOOP
htp.p(l_names(i) || ' ' || l_values(i));
END LOOP;
end;
By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
Another method I tried:
To open a Form from a Form and pass parameters works fine like this:
--In the After processing page PL/SQL event.
declare
v_id number;
blk varchar2(10):='DEFAULT';
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
if v_id > 0 then
htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
htp.formSubmit(NULL,'Upload Files');
htp.formClose;
end if;
End;
But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
Best regards
HalvorHi,
You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
You can call this code in the success procedure of the calling form.
declare
v_id number;
blk varchar2(10):='DEFAULT';
v_url varchar2(2000);
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
v_url := <page_url>;
if v_id > 0 then
call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
end if;
End;
In the called form in "Before displaying form" plsql section write this code.
for i in 1..p_arg_names.count loop
if p_arg_names(i) = 'id' then
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_ID',
p_value => p_arg_values(i)
end if;
end loop;
This code picks up the value from p_arg_values and assigns it to the form field.
Hope that helps.
Thanks,
Sharmila -
How to delete blank page in smat form
Hi Expets,
In output display one extra blank page, how to delete it, I am using logic like this in smart form
Main Window
--> Header Loop.
---> Text
---> Table (item loop)
---> Command Line
In output it display Document Number header and items in a single page. but last one blank page also display.
Regards,
Sreedhar.hi sreedhar
check this
Re: Smart forms : display of second page .Displays blank when not required
it might be helpful to you
thanks
SAchin
Edited by: Sachin Gupta on Mar 5, 2009 10:18 AM -
Calendar display item form - wrong value in datetime
Hi,
I've created a new Displayform for a calendar. But it doesn't show the Start- and End-time correctly - not adjusted for local time. The default DisplayForm shows correct time. What am I missing?
jikHi,
For your issue, you can change the format of the Start Time and End Time fields in your custom DispForm.aspx page(display form), you need to open the DispForm.aspx page via SharePoint Designer 2013,
then find and change the code line from:
<xsl:value-of select="@EventDate" />
to
<xsl:value-of select="ddwrt:FormatDate(string(@EventDate) ,2057 ,'13')"/>
Change the code line from
<xsl:value-of select="@EndDate" />
to
<xsl:value-of select="ddwrt:FormatDate(string(@EndDate) ,2057 ,'13')"/>
Here are two articles about custom date formats in SharePoint XSL, see more below:
http://blogs.msdn.com/b/joshuag/archive/2009/03/25/custom-date-formats-in-sharepoint-xsl.aspx
http://blog.amtopm.be/2011/06/21/format-xslt-date/
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Request.getParameter() from same page as HTML form
I have a jsp page with a form. form contains a textfield, once the user submits the form, i want jsp scriptlet to get the
value of the user input and carry out processing on it within the same page and give a result.
problem is the first time the page is loaded, there is an error in the request.getParameter() statement since no form has
yet been submitted i guess ....
if i use another page ... it works ... but i want to display the information in the same page ...
thanksI'd like to see an example where you'd get a NullPointerException from the line
if(request.getParameter("foo") == null)
but not one from
if(null == request.getParameter("foo"))
In either case, the only possibility for a NullPointerException would be if your request variable were null (but this would cause a NullPointerException in either method). Otherwise request.getParameter() returns a null value if the parameter does not exist, but will not throw a NullPointerException.
Maybe you are looking for
-
I cannot quit Safara. Quit is shaded in the menu.
-
Faulty MS Word file crashes entire system
So I do not expect a fix, I even doubt that anyone here knows how this is possibel, but I'd like to put it out there. How is it possible for a faulty MS Word file (which works fine on my Win7 system) can bring down my entire OSX system? Symptoms are
-
How to use the is_selected method of if_wd_context_element API
HI, scenario : if the element is selected, I want to pass some of its attributes to the backend. description : In a Context node, I want to check which elements are selected by the user. For this there is a method in the in if_wd_context_elemenent AP
-
Hi All, I want import xsl file in B1if. I want parse the xml Files. Where i am going to import New XSL Files. Thanks & Regards B.Lakshmi narayanan
-
Where is the iMix on iTunes 11?
In the iTunes Store, I love to go through other peoples' playlists, especially theme playlists. This feature has always been hard to find, but it was possible with a lot of overworked navigation. Now it's IMPOSSIBLE to find. No iMixes ever come up wh