Field display in HCM form

Hello Expert,
Im having an issue in display of Static Text on form.
I have a field of Work schedule in which i have to show values SCHKZ,RTEXT from IT0007.
So i have writen below code for the field in Form calc.
$.rawValue = Concat($record.I0007_SCHKZ.DATA[].FIELD, Space(1), $record.I0007_RTEXT.DATA[].FIELD);
but im not able to see the value on the form.
i have done all the Pre-requisites and infotype has the values also still im facing this issue.
for other fields this code is working fine.but later requirement came to add this field in the form
so i have added and done same things.atlast i tried with binding also but still its not working.
Please provide some inputs how can i display the field on form.
Thanks,
Santosh

thanks issue resolved

Similar Messages

  • Display the HCM Form in Webdynpro

    Hi all,
    I have a HCM processing form, which I need to display in the Web dynpro application through Interactive form UI element. To do this I am binding the Template ID (I am getting the template id from tcode - PHAP_CATALOG ) with the data source of the UI element.
    Now my query is, before displaying the form in Web dynpro application for first time, there are some pre-populated fields in the form (i.e. Employee name, Employee number). I need to populate the data in these pre-populated fields when form displays for first time.
    Do anyone have any idea on this requirement. Please suggest.
    Thanks
    Sanket sethi

    Hi Sanket sethi,
       if I'm getting it right, you have made one Dynamic Node from where you are opening Interactive Form. If this is the case, then check whether you have defined the layout as of Matrix Head Data. Like suggested in post --
      [Re: Dynamic context and tables]
    Or, to have a full wiki on this, you can check --
       [http://wiki.sdn.sap.com/wiki/display/WDABAP/dynamiclayoutmanipulationinWD+ABAP]
    Assuming that you have done all these steps correct, I'd suggest to check whether the navigation had been made properly or not. For that, you can have a look on this post --
       [Re: Webdynpro abap- navigation to context node]
    Thanks.
    Kumar Saurav.

  • Having one field display the text of a different field in a statis form

    Hi All--
    My goal is to pull back a single value and display it in two fields, using a static form and formhandler. When a co-worker had both fields with the binding used to retrieve the value, he found that the population for the field was getting garbled, and not displaying what we needed or had pointed at. My proposed solution is to retrieve the data once using a binding, then have the 2nd field populate basedon what content is in the first... but I don't know how to do this. Any assistance would, as always, be appreciated. Thanks!

    Certainly binding two fields to a single value in the data is acceptable. I have done that many times without issue. Can you try it and verify that you are having an issue? If it is still happening can you provide the template and a sample data file?
    Paul

  • Data fields selected in a form are not displaying

    I have selected "Size" & "Outlook Data File" as 2 fields that I need to see on the front tab of all my contacts.  In testing to see if it works I opened a new contact (blank).  Upon it trying to open I get the same error
    twice  "The Property does not exist.  The field you want to modify does not exist for this type of item."  I don't want to modify these two fields, just display them.  I chose the same field names in the forms developer/design
    area as when I added the field as a display cols. in a simple list of contacts (e.g. phone book).  So it works in Viewing a list but I can't see these 2 fields when I add them to a form.  More precisely the labels show, "0" shows as the
    size and blank in the other display field.

    Hi Steve,
    Situation:  Through the yrs I've had multiple email domains.   I've discovered that as I opened and edited contacts they did not always save to my main contact  (.pst) I want to consolidate my contacts to my new one.  
    If I open the same email address from 3-5 different .pst & now MSX too, I want to know which file (domain) they are being displayed from so I don't necessarily have to ck every field to know if I can simply delete one or if I have to go field
    by field to do a merge.  Secondly, I've found that some contacts from older domains never got to my current .MSX so I'm trying to figure the best way to see these.   (Doing an export, then import & then removing dups is not a feasible answer. 
    The exports truncate my notes to 250 chars so I loose too much of my history.)  I added "InFolder" to the contacts form but several say "contacts" so that is not enough to differentiate them.  I tried to go & change the name of the older contacts
    folders but still have 3 contacts folders that I can't seem to change.
    "A field appears in the Field Chooser but it doesn't mean we can use it on every type of Outlook item. We can only use fields appropriate for the form we are designing."  I realize this but these 2 fields are available & display beautifully when
    I select them in my "View" of a list of contacts so it's associated in the OutL database.  Seems logical that it should be on a design form too.
    Is there another suggestion for differentiating where the source of the contact comes from?
    Not sure I follow what you mean by, "We can also post in Outlook for Developers forum to check the properties of Outlook contact form, and confirm which fields we can add to it:" ?? Will this serve as that posting or are you saying post a separate thread?

  • Suppress leading spaces while displaying an amount field in a Smart form

    Hi all,
    In a smart form, I am using fields like KONV-kbetr and VBAP-netwr each of them currency type and 2 decimal places. I want to suppress the decimal places and also the leading spaces while displaying these fields in a smartform cause when this field is inserted in a sentence, a lot of gap is there between the field and the words of the sentence. I dont want to change the field length cause it can be that huge in some cases.
    Please help.
    Thanks ,

    Hi, if you would place it in a sentence, it would be an option to concatenate the text and values into one string and then condense it.
    concatenate <text> <value> into lv_sentence.
    condense lv_sentence.
    but another way is to use codes for displaying values in smartforms:
    This is from a smartforms PDF i have..
    Output Options for Field Contents
    Use the Formatting options to adapt the value of a field before printing it. You can enter the
    relevant parameters directly behind the field name. Make sure to write the short forms of the
    different options in uppercase letters. Some of the options can be combined.
    General Information
    The formatting options are not suited for all data types of fields (for example, for character fields
    you need no exponential representation). You must distinguish between numeric fields and
    character fields.
    Numeric Fields
      If specified, the system first evaluates the length (<length>).
      If no length is specified, the system displays the value in its overall length.
      The trailing blank indicates a positive sign. To suppress it, use formatting option S.
      Any offset <offset> specified is ignored.
    Sequence of evaluation: (<length>), sign to the left(<),Japanese date (L), suppress blanks (C),
    right-justified display (R), insert fillers (F).
    Character Fields
    By default, the system displays the value of a field in its overall length, but truncates trailing
    blanks.
    Sequence of evaluation: suppress blanks (C), <offset> and (<length>), right-justified display (R),
    insert fillers (F).
    Overview
    Formatting Options for Fields
    Syntax Description
    &field+<offset>& Skips <offset> places of the field value (character fields only). If the
    offset is greater than the length of the value, nothing is displayed.
    &field(<length>)& Sets the output length to <length>.
    &field(*)& If the field is defined by a Data Dictionary type, Smart Forms set the
    output length to the value specified there.
    &field(S)& Suppresses the sign
    &field(<)& Displays the sign to the left of the number
    &field(.<nat.number>)& Limits output of decimal places to <nat.number>
    &field(E<nat.number>)& Displays the field value with the fixed exponent <nat.number>. The
    mantissa is adapted to this exponent by shifting the decimal
    character and inserting zeros.
    SAP Smart Forms (BC-SRV-SCR) SAP AG
    Output Options for Field Contents
    72 April 2001
    &field(T)& Suppresses thousand indicators when displaying fields of types
    DEC, CURR, INT, and QUAN.
    &field(Z)& Suppresses leading zeros of numbers
    &field(I)& Suppresses display of initial values
    &field(K)& Deactivates a conversion routine specified in the Data Dictionary.
    &field(R)& Right-justified display. Use this option only when specifying an
    output length as well.
    &field(F<filler>)& Replaces left-justified blanks in the value by the fill character <filler>.
    &field(L)& Converts and a date field to a local date and displays it. The date is
    then formatted using edit mask JPDAT.
    Since this representation uses Japanese characters, use it in the
    Japanese version of the SAP System only.
    &field(C)& The system takes the field value as a sequence of words separated
    by blanks. Option C shifts these words to the left and leaves only
    one blank inbetween as separator. Any leading blanks are
    suppressed. This effect corresponds to that of the ABAP statement
    CONDENSE.

  • Single Record Form: fields display with the wrong width

    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    Edited by: Corvette Captain on Aug 9, 2012 3:21 PM

    Hi,
    >
    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    >
    Setting the Width of the Page Item sets the input elements "size" attribute. HTML rendering based on size attribute is not a precise as you need. You should use CSS for precision. See Compatibility Notes
    Cheers,

  • How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    You have to use custom JavScripting to concatenate the first 2 fields. You cannot use the first 2 calculation options because they force the values of the fields to a numeric value or ignore string values.
    Possible scripts for the 3rd field are:
    event.value = this.getField("Text1").valueAsString + " " + this.getField("Text2").valueAsString;
    or
    event.value = this.getField("Text1").valueAsString.concat( " ",  this.getField("Text2").valueAsString);
    If you do not want change the separator or not show the separator when on or the other field is empty, you will need to add more code to adjust for change.
    The above scripts will also concatenate number because the field values are read as strings and not numbers.
    There is also a generalized user written function to concatenate up to 3 fields with a separator that adjust for missing data.

  • Setting values for non-displayed fields on a Tabular Form

    I'm having a problem setting non-displayed fields on the same table as displayed fields like last_update_date, last_updated_by, id's and other fields when creating new records or updating existing records in a Tabular form.
    What is the best and easiest way to set these values without using database triggers?

    Hi Jes,
    I'm a little reluctant to use database triggers as I used this product a couple of years ago and I'm fairly sure I handled this problem in HTML DB without the use of triggers. I am therefore I'm getting a touch frustrated that I can't remember how to do it now !!
    Do you know of any way of setting values for non-displayed fields on a Tabular Form without using database triggers?
    Also, you seem to be suggesting that database triggers is the best way to do this?
    Thanks

  • 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

  • Fill HCM Form fields in creation process

    Hi,
    I created a HCM Form, everything is working fine so far. i can create a form in the portal, the workflow is triggered and all buttons do what they should do.
    But i got a request, that the form should come up with some prefilled information.
    I implemented the IF_HRASR00GEN_SERVICE~INITIALIZE method and filled some fields with test information. But its not rendered.
    In this web blog
    http://weblog-42.blogspot.com/2010/04/hcm-processes-forms-howto-basic-generic.html
    I read that i have to call Transaction HRASR_DT to make the Backendservice the default. But this transaction is not available in my system. I also read that this transaction is only available in EHP 4.0 but we do not have this EHP and we do not plan to install it.
    Is there a workaround this or do i do something wrong?
    Best regards,
    Kai

    In the configuration you can make backend service as providing the default value.
    Personnel Management->HR Administrative services->Configuration of forms/processes->Configuration of forms
    ->Create form scenario
    Here in the form fields you can say default value coming from whichbackend service. For defaulting values,
    pass the value to the field in the INITIALIZE method, maintain the form scenario at the above mentioned place and
    in the form have the correct binding
    Thanks,
    Aravind
    Edited by: Aravind I on Jun 10, 2011 6:42 AM

  • Attachment button is not displayed in HCM Processes and Form

    Hi all,
    I have configured the attachment in Form Scenario. But the attachment button is not appeared in HCM Form (in MSS portal). What might cause this problem?
    Rgds,
    Dominic

    Hi Dominic,
    Attachment button wont be able if you use task TS17900101 , for that you have to enhance the standard web dynpro application.
    Thanks,
    Rahul

  • HCM Forms - Field Group

    We have to use field groups in 'Process Form scenario for generic serives'. Where do we create these field groups and where do we assign the fields to these groups.
    Thanks,
    Nikhil

    For "generic" services, in the Design Time workbench, you will see two steps for your config. Oddly enough, they seem a bit backwards.
    First, you will see the "field groups and operations" step....this is the second/last one listed below your generic service. There, you will define a field group (any ole name you like) and then assign WHAT operation in your generic service that this group of fields should be used to perform.
    Second, you will go "map" your "form" fields to the generic service fields and field group you defined. This pretty much tells the generic service "hey, take these fields here and use them for that operation". The reason for grouping them in field groups is that you might want to group several different fields to call the same operation with different values.
    Keep in mind, EACH of your backend services has it's own config of fields groups/operations/fields and are independent of each other. Althought I think it's bad practive, if you wanted to use the same field group names in different backend services, it wouldn't hurt anything....they don't "see" each others relevant datasets.
    Now, this is the point that most everyone gets REAL confused with. The "field groups" you define in your User Event config have NOTHING to do with the field groups in your backend services. They do NOT have to match names and honestly, it doesn't even matter if they do. It is just another way to group a bunch of fields together to say "hey, THIS group of fields is what I am talking about".
    Hope this helps.

  • Unable to pass a parameter to a field in a tabular form.

    I created a tabular form with 2.0 using the wizard. I’m having issues though with 2 of my columns.
    The two columns are last_edit_user and last_edit_date. As you can tell I’m trying to pass the system date and :app_user to these two fields.
    I read this thread Default Value in Tabular Form and decided to create a simple function on the database that returns the system date. Then under report attributes I went to the last_edit_date column. In “Tabular Form Element” I changed it to “Display as Text (saves state)” made the default type a PL/SQL expression or function then put the function name in the ‘default’ text field.
    When I try to update a field I then get:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01407: cannot update
    I have also tried creating a computation and passing the date to a hidden item then use default type item and list the hidden item in the default text box. I get the same error.
    Considering how often these fields or similar would come up in a tabular form I can’t help but think there must be an easy way of passing parameters to fields in a tabular form without making them editable.
    Message was edited by:
    [email protected]

    This keeps coming up often and I find that the easiest way to handle this is in a row-level trigger on the underlying table
    create or replace trigger t
    before insert or update on mytable
    for each row
    begin
    :new.last_update_date := sysdate;
    :new.last_update_user := nvl(v('APP_USER'),user);
    end;
    /

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1&#12289;aaaaaaaaaaa&#65307;'
    '2&#12289;bbbbbbbbb '
    '3&#12289;ccccccccccc'
    '4&#12289;ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • Date Field Displaying and DML Operations

    Hi all,
    I have an issue with displaying and updating date columns that I'm hoping someone can assist me with.
    I'm using APEX 3.0.1.
    I have a Form page with a number of fields sourced from one database table that are being populated by an Automatic Row Fetch On Load - After Header.
    The Item P6_MONTHFOR is stored as a Date datatype in the table and displayed on the form using the Date Picker (use Item Format Mask). I have a Format Mask set as 'MON-RR'. I want to ensure that the last day of the month is saved back to the database table so have been trying various calculation techniques to try and achieve this but am experiencing a variety of SQL errors!
    I have tried using LAST_DAY(:P6_MONTHFOR) in the Post Calculation Computation, or as a separate Computation After Submit.
    I have also tried having P6_MONTHFOR as a hidden column and using display Items and then trying Item calculations to then update the value of P6_MONTHFOR column prior to DML operations but to no avail.
    The only DML operations allowed on these rows are DELETE and UPDATE and I'm using an Automatic Row Processing (DML) On Submit - After Computations and Validations process to control these operations.
    Any help or suggestions greatly appreciated :-)
    Kind Regards,
    Gary.

    the function LAST_DAY is a date function, expecting a date as input. Since it is all web, the values of items are as string/varchar2. In order to use date-function, you have to first make it a date with to_date() with the format-mask (DD-MON-RR).
    In my opinion Dates are still tricky, it would be great if ApEx would have a DV() function, next to the V() and NV() functions, It is in ApExLib (of Patrick Wolf)
    Simon

Maybe you are looking for

  • Issue while retrieving data from BAPI

    Problem: The initial exception that caused the request to fail, was: com.sap.dictionary.runtime.DdException: Wrong amount type (not decimal): Unit service cannot be instantiated at com.sap.dictionary.runtime.DdBroker.getUnitService(DdBroker.java:215)

  • IPhoto missing after installation

    I just installed from Snow Leopard 10.6.8 to Mountain Lion and now iPhoto is missing along with all my photos.  I have photos on another device however I don't seem to have the iPhoto app anymore.  How do I get it back? 

  • I purchased a movie by mistake, and would like to return it.

    I purchased a movie on iTunes and would like to return it.

  • Spotlight endless

    What's wrong with spotlight??? It displays not " Indexing About 58660324 hours remaining". I tried to reset Spotlight, to remove the drive from scanning preferences. But once all back as before, it will scan my hard disk for hours endlessly. Any clue

  • Audio extract - how do I put it back in?

    I extracted audio from a clip and now the clip does not have audio in it... how to I put the audio back into the clip after extracting it?