Hr forms using PE51
Hi All ,
I have got a requirement where i need to develop a hr form using transaction PE51,
This is the first time i have got some thing to do with HR forms and i have no idea of what is the process of developing an HR Form using transaction PE51 .
I have created z tables with all the fields required in the form .
I understand that we should use transaction pe51_checktab , however i would want to know the end to end process of developing an HR form using transaction PE51 .
Your help will be highly appreciated .
Regards,
Prabhakar A
Hi Prabakr u got ur requirement completed?
i mean Did u done with your work?Pls let me know i am aslo struct in the middle.
Regards
SaS
Similar Messages
-
Hi guys,
Is it possible to create and design a HRForm as an adobe form?
Best regards
JonHi,
To create HRFORM as an adobe document use tcode HRFORMS. If you use PE51 you can get the form in PDF in ESS with features HRFOR, EDPDF and EDTIN.
Hope it helps.
Regards,
Edoardo -
Regarding HR Form Editor(pe51)
hello friends,
i have created a hr form using transaction pe51.i don't know how to pass the data to the hr form and view the final output.should i create a abap program to pass the data to the form and to run the form.or is they any other way.please any one of u help on this.
thanks.Hello,
Go to the tab Line Layout
Say these are the fields that you have defined
ANZHL__BETPE__ BETRG________
double click on the line...
A window popups up with position information and print data
In this click on table field and see the values using f4. Put the table name and the field name.
Regards,
Shekhar Kulkarni -
How do you construct a web form using coldfusion??
How do you construct a web form using coldfusion?? any
examples?
thanks in adv.A sample Form:
<cfform action="CCARProc.cfm"
enctype="multipart/form-data" method="post" name="CCAR"
onsubmit="return verify()">
<table width="730" border="0" cellpadding="2"
cellspacing="1" align="center" class="unnamed1">
<!--DWLayoutTable-->
<tr valign="top">
<td colspan="3" bgcolor="#F2F2F2">Name Of
Requester(<font color="red">*</font>)</td>
<td width="402" bgcolor="#F2F2F2"><cfinput
type="text" name="Requestor_Name" size="15" value="#REQNAME#"
maxlength="25" >
MTABT Email(<font
color="red">*</font>)
<cfinput name="Req_Email" type="text" size="8"
maxlength="20" value="#ReqEmail#"
>@mtabt.org</td></tr>
<tr>
<td colspan="3">Requester Telephone #(<font
color="red">*</font>) </td>
<td><cfinput type="text" VALUE="#REQPHONE#"
name="RPhone" size="12" maxlength="12" message="Requester Phone
cannot be blank / Invalid Entry!" required="yes"
validate="telephone"> [e.g. xxx xxx xxxx or
xxx-xxx-xxxx]</td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Facility(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2">
<cfselect name="Facil">
<option value="2B">2B </option>
<option value="BBT">BBT </option>
<option value="BW">BW </option>
<option value="CB">CB </option>
<option value="HH">HH </option>
<option value="MP">MP </option>
<option value="QMT">QMT </option>
<option value="RI">RI </option>
<option value="TM">TM </option>
<option value="TB">TB </option>
<option value="TN">TN </option>
<option value="VN">VN </option>
</cfselect>
</td>
</tr>
<tr>
<td colspan="3">Department(<font
color="red">*</font>)</td>
<td><cfselect name="Dept">
<option value="Contracts">Contracts </option>
<option value="Engineering">Engineering
</option>
<option value="Executive Office">Executive
Office</option>
<option value="Finance">Finance </option>
<option value="General Counsel">General Counsel
</option>
<option value="HS">HS </option>
<option value="HR">HR </option>
<option value="ISD">ISD</option>
<option value="Legal">Legal </option>
<option value="Labor Relations">Labor Relations
</option>
<option value="Operations">Operations </option>
<option value="Payroll">Payroll </option>
<option value="Planning & Budget">Planning &
Budget </option>
<option value="Procurement & Mtrl">Procurement
& Mtrl </option>
<option value="Purchasing">Purchasing </option>
<option value="Revenue Management">Revenue Management
</option>
<option value="Staff Services">Staff Services
</option>
<option value="SD">SD</option>
<option value="Technology">Technology</option>
</cfselect></td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Division(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="Div"
type="text" size="20" maxlength="25" VALUE=""></td>
</tr>
<tr valign="top">
<td height="27" colspan="3" >Justification(<font
color="red">*</font>)</td>
<td bgcolor=""><textarea name="Justi" cols="50"
rows="3" wrap="VIRTUAL" ></textarea> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">VP Approval
By (<font color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
type="text" size="20" maxlength="25" VALUE="#VPFName#">
MTABT
Email(<font color="red">*</font>)
<cfinput name="VPE" type="text" size="8" maxlength="20"
value="#VPEmail#" >@mtabt.org</td>
</tr>
<tr>
<td colspan="3" valign="top"
bgcolor="#F2F2F2"></td>
<td colspan="2" rowspan="2" valign="top"
bgcolor="#F2F2F2"><div align="left">
<input name="Submit" type="submit" value="SubmitTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';" >
<input name="Reset" type="reset" value="ReSetTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';">
</div></td>
<td width="90" valign="top"
bgcolor="#F2F2F2"></td>
</tr>
</table>
<div align="right"><span class="style4">Revised(
01.28.05 )</span>
<input name="submitDate" type="hidden"
value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
</div>
</cfform> -
Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Data;
using System.IO;
using System.Data.SqlClient;
using System.Windows.Forms;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace DRRS_CSharp
public partial class frmPDFTechnician : Form
public frmPDFTechnician()
InitializeComponent();
private void btnExport_Click(object sender, EventArgs e)
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
PdfPTable inner = new PdfPTable(1);
inner.WidthPercentage = 115;
PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
inner.AddCell(celt);
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(inner);
doc.Add(table);
doc.Close();
The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(table);
doc.Close();
So my question is how to make my column headers in bold?
So these are my questions.
1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?
I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
Any help or guidance in solving this problem would be greatly appreciated.
vishalHi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
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 do I get multiple people to sign a PDF form using a Touchscreen PC?
I have created a PDF form, using Acrobat XI Pro, to record a client training session. The form is being completed using Adobe Reader (on a Panasonic Touchbook running Windows 7), so I have extended it to allow saving and signing. On the form I have a digital signature field for each trainee (next to a text field for their name) and a digital signature field for the trainer.
Creating a proper digital signature, signable using a password, is fine for the trainer, but the trainees will only be seen once. Often/usually they do not have email addresses so emailing for a signature, using EchoSign/DocuSign is out, but I have a touch-screen computer so should just be able to pass it round for a quick signature. Also, the form will be completed offline, with the trainer turning up on a site, not having access to the internet.
Clicking on the signature field does not provide a way to create the handwritten signature, and although the sign tab shows EchoSign in Adobe reader, allowing you to create such a signature this is shown as disabled (I imagine because I have extended the form).
This is the last piece to the puzzle. Any ideas?
Thank,
Len
p.s. I did see a version using a flash object on ADEP 10, http://forums.adobe.com/message/3998457#3998457 but this seems a little hacky, plus I would prefer to use acrobat Pro because it does everything else I want it to do.I have created a PDF form, using Acrobat XI Pro, to record a client training session. The form is being completed using Adobe Reader (on a Panasonic Touchbook running Windows 7), so I have extended it to allow saving and signing. On the form I have a digital signature field for each trainee (next to a text field for their name) and a digital signature field for the trainer.
Creating a proper digital signature, signable using a password, is fine for the trainer, but the trainees will only be seen once. Often/usually they do not have email addresses so emailing for a signature, using EchoSign/DocuSign is out, but I have a touch-screen computer so should just be able to pass it round for a quick signature. Also, the form will be completed offline, with the trainer turning up on a site, not having access to the internet.
Clicking on the signature field does not provide a way to create the handwritten signature, and although the sign tab shows EchoSign in Adobe reader, allowing you to create such a signature this is shown as disabled (I imagine because I have extended the form).
This is the last piece to the puzzle. Any ideas?
Thank,
Len
p.s. I did see a version using a flash object on ADEP 10, http://forums.adobe.com/message/3998457#3998457 but this seems a little hacky, plus I would prefer to use acrobat Pro because it does everything else I want it to do. -
Iv 10 Tables consisting of atleast 10 fields each in a single Database. Bt, Im only able to connect 1 table at a time to a form using an ADO Control. Im able to add data from table 'student' to text-boxes in my form. Bt, hw can I add data from field(0) of
Table 'Student' to Textbox1 and data from field(0) of Table 'Marks' to Textbox2 using VB6??
This is the current sample coding iv got to connect a single table to a form:
Global con As New ADODB.Connection
Global rs As New ADODB.Recordset
Public Function Connect()
If con.State = 1 Then con.Close
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\bca.mdb;Persist Security Info=False"
End Function
Private Sub Add_Click()
If rs.State = 1 Then rs.Close
rs.Open "select * from student", con, adOpenDynamic, adLockOptimistic
rs.AddNew
rs.Fields(0) = (Text1.Text)
rs.Fields(1) = (Text2.Text)
rs.Fields(2) = (Text13.Text)
rs.Fields(3) = (Text4.Text)
rs.Fields(4) = (Text5.Text)
rs.Fields(5) = (Text6.Text)
rs.Fields(6) = (Text7.Text)
rs.Fields(7) = (Text8.Text)
rs.Fields(8) = (Text9.Text)
rs.Fields(9) = (Text10.Text)
rs.Fields(10) = (Text11.Text)
rs.Update
MsgBox " Record Added"
End Sub
What can I do to add fields from 2 different tables to different text boxes within the same form using a single ado control using vb6 and MS Access 2007??Hi,
Since VB6 product is not supported in this forum, you may go to these forums for support:
#Where to post your VB 6 questions
http://social.msdn.microsoft.com/Forums/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions
Thank you for your understanding.
Best regards,
Franklin
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 can recipients submit completed PDF forms using a MAC?
We have created fillable PDF forms using LiveCycle Designer 8.0. They include
submit buttons that are set to submit the completed forms as PDFs. Rights have been extended for Adobe Reader users. They work great when the recipient is using a PC, but when they are using a MAC we have a number of problems:
1) the Print and Submit buttons do not work
2) when the recipient saves and e-mails the file manually, the data they entered is only visible when you click on that field
Help! How can our MAC recipients submit their completed form as a PDF that displays all of the data!
Thanks!Thanks Niall. This information proved really helpful in confirming the problem. We ran some tests and the problem does seem to only occur when MAC recipients are using Preview.
We recieved this link from Adobe, which provides a solution if you have access to all the recipients:
http://blogs.adobe.com/pdfdevjunkie/script_to_fix_mac_osx_previewa.html
Thanks to Niall and Paul for all your help! -
Is there a way to Update and SaveAs, an XFA form using VBA or similar ?
All:
Need help to auto-fill and auto-save PDFs using VBA or some other means.
I have created an XFA form using LiveCycle ES ( v8 ) with a few fields.
What I need to do is repeat these steps below for 200+ PDF forms
Open the blank PDF form
Update 3 fields
Save the PDF with a new name
My Excel VBA code so far ( ** Copied from another post ) where dFile = "C:\temp.pdf" and dAccount = "Any Account"
Sub rxOpenPDF_UpdateFields(dFile, dAccount )
Dim pdfApp As Acrobat.AcroApp, pdfPDDoc As Acrobat.AcroPDDoc, jso As Object
Dim str1$, bolOpen As Boolean, strFile$
Set pdfApp = CreateObject("AcroExch.App")
Set pdfPDDoc = CreateObject("AcroExch.PDDoc")
bolOpen = pdfPDDoc.Open(dFile)
Set jso = pdfPDDoc.GetJSObject
str1 = jso.getfield("Account_Name").Value ' Will appreciate if there is a way to set a field value
pdfApp.Exit
Set pdfApp = Nothing
Set pdfPDDoc = nothing
Set jso = Nothing
End Sub
Excel VBA is shutting down ( cannot recover ) when it runs the pdfPDDoc.Open statement
Any help will be very appreciated
Aubrey
I am on Windows XP,
In VBA, I have created Tool References to [Adobe Acrobat 9.0 Type Library]
Downloaded the Acrobat v9 SDK but am lost trying to locate any help for simple VBA.lrosenth,
Would I be able to Update & SaveAs with a newer version of LiveCycle ( does Adobe still have a LiveCycle line ) ?
I was looking at InDesign but am not sure if it has the functionality that I need ( i.e. create multiple forms from an Excel list)
.. also am unsure of the learning curve.
Aubrey -
How to Print form using SAP Smart Forms which is migrated from SAP Script?
Hello every one,
i have a problem in printing form using smart form which is migrate from the SAP Script...so what method i have to use...if any one know the solution for this than plz reply me as soon as possible...hi
when ever u want to migrate the script to smartform u have to chage the driver program also..
refere this link to convert script to smartform
convert sapscript to smartform
c_formname = u r smartform name...
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
...........................CALL SMARTFORM............................
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = st_control_parameters
output_options = st_output_options
IMPORTING
document_output_info = st_document_output_info
job_output_info = st_job_output_info
job_output_options = st_job_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
How can I read a form using session in javaServerlet?(thanks)
How can I read a form using session in javaServerlet?(thanks)
you can not. You get the form entries through the request object.
-
I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
2010 and Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
Versioning Settings.
Error
This is quiet urgent issue . Any help would be really helpful.. Thanks..Hi Marlene,
Thank you very much for your suggestions.
But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
As it works in other environment, I tried figuring out the possible differences which can lead to this error.
Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
Regards,
Vineeth -
Render error while running interactive forms using ABAP
Hi all,
I am trying to create an adobe form using ABAP through SFP T-code. While I am trying to execute it, it is generating a Render Error. The error message is as follows:
Exception SYSTEM_ERROR
Message ID: FPRUNX Message number: 001
Message:
ADS: The render error log file has been written to D:\u(200101)
But in the file, it is showing 'NO ERROR REPORT FOUND'.
I have also tested by FP_PDF_TEST_00 program if the connection with the server is fine. It is showing it is fine. I have tested with JAVA code as well. It is also showing that connection is fine.
I could'nt get the reason for the error. It would be great if anyone can help me in this issue.
Thanks in advance.
gopalDear Gopal,
please use the search function. This question has been answered many times here in the forum.
Best regards,
Dezso -
FRM-41213 When calling report from a form using RUN_REPORT_OBJECT
Hi,
I get an error frm-41214:unable to connect to the report server when i am trying to call a report from a form using RUN_REPORT_OBJECT.
My code is as follows:
I have created a simple report using employee table such tht when i give the department number as parameter it should get the corresponding details along with that i also have highlited the system parameters:
DESFORMAT
DESNAME
DESTYPE
also other user parameters as
p_action
p_servername
p_user_connect
and in the before parameter form trigger the following code:
function BeforePForm return boolean is
vc_parameter_form VARCHAR2(4000);
vc_hidden_runtime_values VARCHAR2(1000);
vc_report_name VARCHAR2(100);
begin
IF (:P_ACTION = '_action_') THEN
vc_hidden_runtime_values := '_hidden_';
ELSE
srw.get_report_name(vc_report_name);
vc_hidden_runtime_values:='report='||vc_report_name||'&destype='||:destype||'&desformat='
||:desformat||'&userid='||:p_user_connect||'&server='||:p_servername;
END IF;
vc_parameter_form:='<html><body bgcolor="#ffffff"><form method=post action="'
||:P_ACTION||'">'||'<input name="hidden_run_parameters" type=hidden value="'
||vc_hidden_runtime_values||'">'||'<center><p><table border=0 cellspacing=0 cellpadding=0><tr><td>'
||'<input type=submit></td><td width=15><td><input type=reset></td>'||'</tr></table><p><hr><p>';
srw.set_before_form_html(srw.text_escape,vc_parameter_form);
return (TRUE);
end;
After this i created a form with department table as my datablock:
I created a report object in the form with name REPORT6.
-Created a procedure in the form with the following code
PROCEDURE RUN_REPORT_OBJECT_PROC(report_id REPORT_OBJECT,reportserver VARCHAR2,runformat VARCHAR2) IS
report_message VARCHAR2(100);
rep_status VARCHAR2(100);
vc_user_name VARCHAR2(100);
vc_user_password VARCHAR2(100);
vc_user_connect VARCHAR2(100);
vc_connect VARCHAR2(300);
BEGIN
vc_user_name:=get_application_property(username);
vc_user_password:=get_application_property(password);
vc_user_connect:=get_application_property(connect_string);
vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,runformat);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,reportserver);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='
||:Dept.Deptno
||' paramform=yes P_USER_CONNECT='
||vc_connect||' P_SERVERNAME='||reportserver
||' P_ACTION=http://iitv-1:8888/reports/rwservlet?');
report_message:=run_report_object(report_id);
rep_status := report_object_status(report_message);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
rep_status := report_object_status(report_message);
END LOOP /* Wait for Report to be finished */;
IF rep_status='FINISHED' then
web.show_document('http://iitv-1:8888/reports/rwservlet/getjobid'||
substr(report_message,instr(report_message,'_',-1)+1)||'?server'
||reportserver,'_blank');
ELSE
message (rep_status||' Report output aborted');
END IF;
END;
I created a press button and in the when_button_pressed trigger i added the following code:
declare
repid REPORT_OBJECT;
repserver VARCHAR2(100);
runformat VARCHAR2(10);
BEGIN
repid := find_report_object('REPORT6');
repserver := 'rep_iitv-1';
runformat := 'HTML';
run_report_object_proc(repid,repserver,runformat);
END;
Then tried to run the form but i got this error frm-41213 unable to connect to the report server.
Any one please help me.Run_report_object can't work with forms9i
Regards
Vikas Singhal -
Why can't I create Fillable PDF Forms using Adobe Acrobat X Pro and upload to Dreamweaver?
I can create fillable PDF Forms using Adobe Acrobat X Pro. I can email them to someone using Adobe Reader (free) and they can fill them, save and email to me. But when I upload the form to Dreamweaver CS5, the form is not fillable. And yes, I saved it as a Reader Extended PDF-Enable Additional Features.
I see no reason for this form to fail in Reader. Some questions for you.
1. On the system with Adobe Reader, what is the system and the version of Adobe Reader?
2. Are you viewing the PDF in a browser on the system with Reader, or in an Adobe Reader window?
3. If it's a browser
(a) what is the browser
(b) if you download the file instead, and open directly in Reader, what happens?
Maybe you are looking for
-
Event Structure's value change, not detecting changes when tabbing thru array of clusters
Hi! I have an array of clusters (int, int, string, int) control, and want to detecting changes made to the it. I used the Event Structure's value change case on the array, it works excellent except that it'll only detect the changes when you click
-
Importing video so long, so borin
why importing video using creative centrale taking so long? can any one give me another way ?
-
Structure of the context for declaring internal table
Hi, Can we use the structure of the context for declaring the internal ? -Sid
-
Problem when trying to upgrade OSX
Hi, when i am trying to update my osx lion to the new mavaricks, i get this pop-up:"There was an error in the App Store. Please try again later. (13". What does that mean? and how can i fix it? Thank you
-
How to install iCloud on iPad?
How to install and turn iCloud on