HCM Forms - table display

Hi,
I want to show some values in the form of table, in ADOBE form in HCM. Please tell me the process if possible with an e.g.
Thanks,
Nikhil

Hi Chris,
I noticed that you seem to be quite knowledgeable in the HCM P&F space. I have a project requirement for a form that has got me stuck for days now, so I was wondering if you could help.
The form in question is a statement of allowances (recording overtime), which ideally will allow the user to enter in any overtime within a fortnight. For each day in the fortnight, they are to be able to enter in any number of infotype 2010 records. As such, the layout requires a table with the columns being the 14 days, and the rows being the 2010 records (based on wagetypes).
As the user is able to enter in any amount of 2010 records for each day, the table needs the ability to grow dynamically. I have no problem doing this in the Adobe form itself, but my issue right now is defining the fields for the form.
As I understand it, there are some infoypes (such as 0041 and 0008) that are able to be defined in the form scenario fields as a line type. This will allow multiple instances of that infotype to be created/updated. However, since 2010 does not have this option, I am only able to define a single instance of that infotype.
I am still fairly new to this framework, and I did play around with generic services to see if I could define my structure there and map it across to the form, but so far I have not been successful. I was hoping to be able to define a table of type p2010 and pull it across to be used in the form.
My issues in summary are as follows:
1. Need to define a table/structure of type p2010 to be used in the form
2. As the number of rows in the table will only be specified at runtime, how do I map the cells to the corresponding fields?
Any ideas or suggestions would be very helpful.
Joanna

Similar Messages

  • Adobe forms table display problem

    Hi all,
            In adobe forms i want to display purchase order details. i have connected the abap editor whit adobe forms using the function module.. my requirment is to display purchase header details in first row contains the header details below that it should disply the line item... for example..
         po number   company code   pur org   pur group
              itemno      mat           matdes     quan       netprice
          74583638   200                      100        6000  
               10          m-10         sample       5             10000
               20          m-20         sample1     5               1231
                                                                       total  11231          
    and also page break... one page contains only 3 purchase order only....

    Go through following links:-
    Nested tables in Adobe Forms --> saptechnical com/Tutorials/AdobeForms/Nestedtables/page1.htm
    Achieving Control Levels functionality in Adobe Forms --> saptechnical com/Tutorials/AdobeForms/Controllevels/page1.htm
    Also check the LiveCycle Designer Help for more information and add . in above URL, strangely SDN does not allow this URL it seems!!
    Chintan

  • Hcm forms : Update display button not working

    Hi experts
    the update display button in my form is not working . i have changed the script coding , still its not working
    Regards
    Priya

    Hi,
    Update display button is not working means is it not triggerring the back end means you are not able to see any server roundtrip,
    if so check whether you have inserted webdynpro script.
    if not go to your form in sfp
    then goto menu select Utilities->Insert Webdynpro Script.
    then you will see one script generated automatically and you can check in Hierarchy Pallete with the name ContainerFoundation_JS under Variables.
    save the form and activate and then click on Update Button.
    Thanks,
    Madhu.

  • Could query form and result table display at seperate pages

    we are new at html db, there are a few of questions we need to clear before we make decision to use HTML DB to develop our next version of application: (I seperate them at differenct topics).
    * Could query form and query result table display at differenct pages?
    Thanks
    Lei

    yeah, this is surely possible...and quite easy. you'd just set your form page up as you'd like. put a button on that page with a branch to your report page. then have your report query refer to the items you defined on the form page. so if your form page had an item called P1_JOB and P1_DEPTNO you could have your report use those items with a query like...
    select ename, job, sal, empno, deptno
    from emp
    where :P1_JOB = job
    and :P1_DEPTNO = deptno
    ...hope this helps,
    raj

  • HCM form cannot be displayed in Portal

    Dear Experts,
    We are facing this problem which has stopped us for days.
    Recently, in our Portal, the HCM forms cannot be displayed at all. We suspect it is ADS issue. However, both ABAP and Java are working fine in ADS as tested by BASIS team.
    Has any of you encountered this problem before? Is there any specific area we need to look into?
    Thanks in advance!!
    Regards.

    false alarm

  • HCM Form and Process ERROR No error agents maintained in table T5ASRERRORAG

    Hi All,
    I am setting up HCM form and Process  and I am done with Setting up new scenario and form and workflow steps. When I do the check consistency for Processes I get these 4 error below and not sure what do i do about these error
    No error agents maintained in table T5ASRERRORAGENTS
    Case type for Step Object H_SO is not defined
    Case type for Scenario Obj. H_FO is not defined
    Case type for Process Object H_PO is not defined
    Any help will be appreciated.
    Thanks,
    -Ashwani

    Some elaboration would help here a LOT! Would it be possible to get some more info about it?
    I am following this tutorial: http://help.sap.com/saphelp_erp60/helpdata/EN/42/f273461e5132c3e10000000a1553f6/frameset.htm
    and didn´t find any "sub-chapters" about this. am I missing something? Or could you tell me the number of the tutorial step which I performed in a wrong way or did NOT performed?
    Thank you, cheers Otto

  • How do i create a multirecord Form for Display only.

    Hi,
    I am trying to create a multirecord form for display only.
    The form is based on one table only so when i try to create
    it using based on a Table or view i get the option of Tabular or
    custom.
    So if someone has faced or worked on a similar problem of creating
    multirecord form pls do reply.
    Thanks,
    Amit.

    Hi
    You can check this one. The previous link in turn points to this.
    Re: .NET application works OK on infrastructure, but has problems on midtie
    Thanks,
    Sharmila

  • Sending email  with message body contain data  in table   displayed in one

    Hi,
    I have one jsp page where I am dispalying the table data retrieved fron database.
    Now i am trying to send this table as message body of the mail to the user.I am doing same stuff last from six days but unable to send such data.
    Please help me Sir,as i am newbie here.
    Here is an jsp page.
        Document   : evaluationeventtable
        Created on : Jul 24, 2008, 6:52:37 PM
        Author     : user1
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ page language ="java" %>
    <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>IGIDR</title>
            <link rel="stylesheet" href="../styles/styles.css" type="text/css">
        </head>
        <body>
             <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td><%@ include file="/includes/logohead.jsp" %></td>
    </tr>
    <tr><td><%@ include file="/toplinks.jsp"%></td></tr>
    <tr>
    <td width="100%" valign="top">
    <table width="100%" cellspacing="0" cellpadding="0" border="1" borderColor=#000066>
        <tr>
    <td width="80%"> 
        <%  int QNO;
             String message=null;
             //String message1=null;
             //String message2=null;
             String noA,noB,noC,noD;                
            String ID=request.getParameter("id");       
            String EVENTID=request.getParameter("event");       
            Connection connection = null;
            Statement st = null;
            Statement st1 = null;
            Statement st2 = null;
            Statement st3 = null;
            Statement st4 = null;
            Statement st5 = null;
            ResultSet rs= null;
            ResultSet rs1= null;
            ResultSet rs2= null;
            ResultSet rs3= null;
            ResultSet rs4= null;
            ResultSet rs5= null;
            Class.forName("com.mysql.jdbc.Driver");
            Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/mynewdatabase","root", "root123");
                           st=con.createStatement();
                    try  {              
                      rs = st.executeQuery("SELECT * FROM Questionbank where Questionid='"+ID+"'");
                   %>
                <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
                 <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
                   <%
                  while ( rs.next() )
                            //String NO=rs.getString("Qserialno");
                            //session.setAttribute("no",NO);
                            //String NAME=rs.getString("questionname");
                            //session.setAttribute("name",NAME);                                    
                       %>
                       <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
                       <%
                        message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
                       st1=con.createStatement(); 
                       try
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='A'");
                         rs1.next();
                         noA=rs1.getString("total");
                         session.setAttribute("NOA",noA);
                          rs1=st1.executeQuery("select count(*)  as total from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='B'");
                       rs1.next();
                         noB=rs1.getString("total");
                         session.setAttribute("NOB",noB);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='C'");
                        rs1.next();
                         noC=rs1.getString("total");
                         session.setAttribute("NOC",noC);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='D'");
                          rs1.next();
                         noD=rs1.getString("total");                   
                         session.setAttribute("NOD",noD);
                         message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";
                         %>                     
                     <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>
                   <%        
                         } finally
                               if (rs1 != null)
                                   rs1.close();
                                   rs1 = null;
                               } if (st1 != null)
                                   st1.close();
                                   st1 = null;
                                       finally
                               if (rs != null)
                                   rs.close();
                                   rs = null;
                               if (st != null)
                                   st.close();
                                   st = null;
                                   con.close();
                      %></table>   
                      <table align="center" width="50%" cellspacing="0" cellpadding="0" border="1" borderColor=#D2691E>
                      <form name="sendmail" action="/student/servletmail" method="POST">
                       <tr class="CellColor">
              <td>To</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="to" size="25" value="">
              </td>
                    <td>From</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="from" size="25" value="">
              </td>
         </tr>
            <input type="hidden" name="message" value="<%=message%>">
            <tr class="CellColor">
              <td class="CellColor" colspan="9" align="center">
                   <input type="submit" name="tn1" value="Send" >
              </td>
         </tr>   
      </form></table></td></tr></table>
                  </table>
                         </body></html>    And here is an servlet where i am trying to send the mail
    package com.student.igidr.test;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author user1
    public class servletmail extends HttpServlet
            public  void doPost(HttpServletRequest request,HttpServletResponse response)
                                      throws ServletException, IOException
            PrintWriter out=response.getWriter();
            response.setContentType("text/html");
            try
               Properties props=new Properties();
               props.put("mail.smtp.host","webmail.igidr.ac.in");   //  'localhost' for testing
       Session   session1  =  Session.getDefaultInstance(props,null);
               String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               String s4 = request.getParameter("message");
              // out.println(s4);
         Message message =new MimeMessage(session1);
         message.setFrom(new InternetAddress(s2));
          message.setRecipients
                 (Message.RecipientType.TO,InternetAddress.parse(s1,false));
              // message.setSubject(s3);
               message.setText(s4);       
              message.setContent(s4,"text/html");
               Transport.send(message);
               out.println("mail has been sent");
            catch(Exception ex)
               System.out.println("ERROR....."+ex);
    }I am using the message variable to send the message also as input variable in servlet.
    Whether it is write Way to represent hole table body into message variable in jsp page.
    Please help me.
    Thanks and Regards
    haresh
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:15 PM
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:56 PM

    Hi bshannon ,
    Thanks you very much for your reply.
    I am trying to send html formated mail to the user.
    The message body contains the table that is displayed in above jsp page as:
    <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
    <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
    <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>In above code I am displaying the data from table i jsp page in table format. The data is related to analysis of particular event and i am trying to send this data as message body of the email.
    As table displayed in html form can you assist me in how to send html data?
    I am using variable message to store all this table data .
    <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
    message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
      message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";i am sending this variable through form.At servlet I am retrieving it like:
    String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               *String s4 = request.getParameter("message");*Will this possible ?
    Please help meas i am troubling same with last from 7-8 days.
    I had gone through Faqs but unable to collect required information.
    Thanks and Regards
    Haresh
    Edited by: HARSHAL_GURAV on Aug 15, 2008 9:22 PM

  • HCM Forms

    Hi Experts,
    1) Can you please explain what are the benefits of using HCM forms over Interactive adobe forms developed using ABAP  
        workbench or Netweaver Developer Studio?
    2) When Adobe forms can be independently desinged and developed, why do we need HCM Froms? The interactive forms
        developed using ALD can be dirtectly plugged in to the workflows. How exactly will HCM form bring benefits to the table?
        Please Explain.
    2) What all changed in EHP3 and EHP4 and what is their Impact on WebDynoproJava based applications in the ESS MSS
        business package?
    3) Will ESS MSS EhP4 have all the applications in web dynpro ABAP only or will still continue to have the Java stack supported
        by SAP? If java stack is supported, then what will be the kind of impact of developing/ customizing the ESS MSS applications
        using web dynpro java?
    Thanks and Regards,
    Mahantesh

    Hi,
    you can validate the Business functions according to the EHPs from the below link
    See SAP Note 1052470.
    For information about the business functions of SAP ERP, see SAP Service Marketplace (service.sap.com/erp-ehp) and SAP Help Portal (help.sap.com) under  SAP ERP Central Component  ->number of the enhancement package->  SAP Library  Business Function Sets and Business Functions
    these SAP help also give you more information
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d9/a64d4bbd3d4856bbde2695e2fcfb4c/content.htm
    http://www.cogentibs.com/pdf/cogsap08/HRForms.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/42/f273461e5132c3e10000000a1553f6/content.htm
    regards
    nag

  • HCM Forms and Related activities

    Hi,
         I have configured the search process for HCM forms in related activities. Although the process is working fine i am having two issues.
    1. when i click on search process it opens in a new window and launches another window to display the "display_process" iview, so there are 2 popup windows. Can we make the display process iview to open in the first popup window which is the related activities launcher.
    2. when i click on the search process link for the first time the initial pernr is passed to it. When i click on another pernr in the employee search iview and click on the search process link, it still uses the old pernr. if i wait for 5 mins and then click on the search process iview, it displays the correct pernr. I think there is a delay in refreshing the shared memory area for holding the pernr. is this a known issue?
    Thanks,
    Anand

    Hi Siddharth,
                         I have done the configuration for related activities and used the "Related activities launcher" to lauch the "Search process" page (com.sap.pct.erp.hradmin.11.show_processes). This is working fine.
    When i click on the link (Search Process) in related activities for HCM Forms, a popup window appears for the search process page and it launches another popup window which displays the "Display Process" screen. is this the standard behaviour?
    The first popup window title is "Related activities launcher (search Process)" and the second popup window title is "Display Processes"
    If not how to display the "Display process" screen within the first popup window.
    ==============
    The personnel number form Employee Search is not passed to the Search process iview until i refresh the related activities iview. Is this a known issue or am I missing any configuration.
    Thanks,
    Anand
    Edited by: Kirupanand Venkatapathi on Aug 17, 2011 9:48 AM
    Edited by: Kirupanand Venkatapathi on Aug 19, 2011 11:40 AM

  • TS17900100 in HCM forms and processes

    Hi All,
    For HCM forms and processes certain standatrd task and workflow templates are provided.
    Out of them of the tasks is TS17900100: Process Form. I suppose this task saves the infotypes in the backend system.
    If we see the object method for this class in PFTC, it is CLASS:CL_HRASR00_WF_COMPONENTS & METHOD: WI_EXECUTION_VIA_R3_INBOX.  But this method seems to be a dummy method. There is no ABAP code in this method.
    Would you please let me know where is the actual code which is executed for this task.
    Thanks
    Sameer Tapre

    No, if I enter all the mandatory fields on the form then there is no problem. It allows me to move ahead and submit the form successfully.
    As recommended by Siddharth, I tried debugging the message class and what I observed was it passes the complete_fieldname value as Personnel Subarea (I1008_BTRTL) and system expects it to be I1008-BTRTL.
    SAP as a fallback tries to read description from the table T5ASRFSCNFLDT but it has a_form_scenario as blank and complete_fieldname has a concatenated value "Personnel Subarea (I1008_BTRTL)" instead of "I1008-BTRTL".
    Not sure what am I missing which causes it to have this wrong error message.
    Regards,
    MK

  • Custom HCM form integration with ESS

    Hi,
        Is it possible to integrate a custom HCM form(Accident reporting) with ESS.
    There are 12 services available in the homepage framework for ESS HCM forms. Does this mean that we can only integrate HCM forms related to these services with ESS?
    Thanks,
    Anand

    Thanks Bala, I have created a new service for the custom form. Which iview should i use to display the form.
    I tried the approach of copying the start process iview from HR administrator business package and linking it to the service. The iview is not displaying the form.
    Is this a valid approach or do we have to use webdynpro+adobe forms for ESS since there is no start process iview in ESS?
    System info:
    EHP3
    Portal 7.0
    ESS 1.0
    Regards,
    Anand

  • In HCM form & process Workflow event linkage changed to inactive status.

    Hi,
    In HCM  form & process event linkage is activated in HRASR_DT and workflow object .
    Now once we complete the process from EP portal ,reference number is generated and enteries are created in  table T5ASRPROCESSES .
    In SWEL,event is triggered and linked with the same workflow.
    Now the problem is,thesre is no workitem in SWIA with this workflow numbmer and the event linkage also changed to inactive status ( both in proces and  workflow )after we complete the process from EP.
    Thanks
    Manoj

    Hi
       When you are delaing workflows with HCM Process and form the behaviour is slightly different from the normal.. In order to check why the event linkage is inactive the possibilities are
    1. Either there are some chnages done in the workflow  and it is not activated from the transaction HRASR_DT.
    2. The other possibility is that you might have directly actovated the workflow from SWDD transaction and if you have done in this way then it is a wrong way of generating and activating the workflow
    Follow the below steps to find the error
    1. Execute HRASR_DT txn and try to activate the workflow from here. If you try to activate the workflow from this transaction the check function module which is linked to the workflow will be knowing that for which specific process which workflow has to be triggered..
    so in HCM process and forms frame workf it is always suggestable that try to create the workflow from HRASR_DT transaction using forward navigation and activate the respective event linkages.
    The other point you need to check is make sure that all the respective program exit classesare included in the basic data of the workflow other wise even if you miss the program exit classes in the basic data the workflow will not be able to start its process/execution.
    Regards
    Pavan

  • Dynamic Table display Horizontally??

    Is there any relatively easy way to make a DW CS3 Dynamic
    Table display horizontally? So far the best I can figure out is to
    do multiple <cfoutput query= lines per:
    <table border="1">
    <tr> <cfoutput query="rsOfficeStyles"
    startRow="#StartRow_rsOfficeStyles#"
    maxRows="#MaxRows_rsOfficeStyles#">
    <td>#rsOfficeStyles.image#</td> </cfoutput>
    </tr>
    <tr> <cfoutput query="rsOfficeStyles"
    startRow="#StartRow_rsOfficeStyles#"
    maxRows="#MaxRows_rsOfficeStyles#">
    <td>#rsOfficeStyles.name#</td> </cfoutput>
    </tr>
    </table>

    You need to pass the following to the quantity fields..
    ls_fieldcat-do_sum = 'X'.
    When you build the sort table, do this...
    FORM sort_build USING lt_sort TYPE slis_t_sortinfo_alv.
      DATA: ls_sort TYPE slis_sortinfo_alv.
      CLEAR ls_sort.
      ls_sort-spos = 1.
      ls_sort-tabname = gt_tabname_item.
      ls_sort-fieldname = 'DESCBIEN'.
      ls_sort-subtot = 'X'.
      ls_sort-up = 'X'.
      ls_sort-group = 'UL'.
      APPEND ls_sort TO lt_sort.
    ENDFORM.                    " sort_build
    Has you any way of knowing which fields are quantity?
    Greetings,
    Blag.

  • HCM - Dynamic table

    Has anyone created a dynamic table in HCM forms wherein we can add lines and delete lines.
    I tried using the below code in formcalc,
    Table3._Row1.addInstance(1)
    Table3._Row1.addInstance(1); in javascript, but its not working. do we need to do anything else.
    Thanks,  Nikhil

    The above code is working.

Maybe you are looking for

  • Can't upgrade iOS 4.3.3 to iOS 5.1 on iPad

    I'm trying to help a technophobe friend update her iPad from 4.3.3 to 5.1. She's done no upgrades to her iOS since getting her iPad. I've done each of mine seamlessly. I am completely perplexed and haven't found an answer to our dilemma since we emba

  • External Harddrive unrecognizable after sleep

    I have a 250GB external mybook. It is hooked up via firewire 800. However, when I wake my macbook up after sleep i get a "Device Removal" error saying I disconnected the hardware inproperly...etc. After this my external hd is unrecognizable unless I

  • Avoid an insertion in a table

    Good morning!! I'm trying to create a trigger in order to avoid some undesiderable insertions in a table of my DB. I check some basic rules of the data and I would like that in some cases the insertion won't be committed, but if I use a raise_applica

  • Hi, I've got me a 4k pc screen and when I open up photoshop CC the tools and panels very small. Can I change the size of these?

    Hi, I've got me a 4k pc screen and when I open up photoshop CC the tools and panels very small. Can I change the size of these?

  • Interpretting HASH_MAP to PLSQL

    Hello All, My oracle version in 10.2.0.4 on a solaris V880 machine. Our Application Java SDK is 1.4. I am trying to pass in a series of XML (considerably huge for XML type column) from java application plsql which stores them into an oracle table wit