Changing character in a field to uppercase.

Hi all,
Got a form wherein the form data get populated with xml via a webservice. The data is send in lowercase, I need to change the characters in one specific field to uppercase.
Any ideas?
Regards,
Chris Fourie

To change the text when inputted you can use the following custom keystroke script:
// convert each entered character to upper case
event.change = event.change.toUpperCase();
To change the text to upper case upon exit from the form field, one can use the following custom format script:
// convert entered text string to upper case
event.value = event.value.toUpperCase();
One could also create a document level script function to convert any passed string to upper case:
function Upper(cString) {
// convert passed string to upper case
return cStirng.toUpperCase();
} // end function
The custom keystroke code becomes:
// convert each entered character to upper case
event.change = Upper(event.change);
The custom format becomes
// convert entered text string to upper case
event.value = Upper(event.value);
And the function can be called within any script in the PDF to covert a string to upper case.

Similar Messages

  • Changing data types of  fields in structures

    Hello,
       Currently we are working for upgrade to ECC 6.0 .
       In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
      We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
        In these structures we have different data types for fields earlier in 4.6C
    Now this function module is only working if we change  data types of  fields in these structures only to char type. It is going for dump , if we maintain any other data type.
      Could any body tell me why should we change for char data type ?
    Regards,
      SATYA

    Hi,
    Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
    Regards,
    Prasanth

  • Getting ORA-01429 error while changing character set

    When I am changing character set from WE8DEC to AL32UTF8, I am getting ORA-01429 error
    SQL> ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8 ;
    ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces

    Chockalingam wrote:
    I am using above steps as per oracle doc only.
    http://docs.oracle.com/cd/B10500_01/server.920/a96529/ch10.htm
    No, you are not.
    - You are not using the correct version doc vs. Oracle server version. Try to find the same suggestion in the relevant doc.
    - The doc you reference specifically says "... it can be used only under special circumstances. The ALTER DATABASE CHARACTER SET statement does not perform any data conversion, so it can be used +if and only if the new character set is a strict superset of the current character set+." (emphasis is mine)
    You do not have a strict superset.
    - Also the special clauses you have used are not documented - for a reason.
    Please edit your posts above to remove the ill-advice (steps with internal use only clauses) that does not belong on a forum.
    Edited by: orafad on Mar 16, 2012 9:47 PM

  • How to display the change history of Z-fields in transaction BP?

    Hi,
    we have created an append structure to table ADRC. For all fields of the structure the flag "Change document" in the data element is set. This is still working because the changes are in the table CDPOS.
    But when I choose "Extras => Change history => For this field" in transaction BP the changes will not be displayed.
    Any hints?
    Thanks in advance
    F.T.

    Hi Jaya,
    Just do as follows :-
    1) Find out in which table are those fields.
    2) Then if you find them go to the table, look for the field you want the log to be created for.
    3) Double click on its DATA element. On the DEFINITION tab of the data element, there is a checkbox named as CHANG  
        DOCUMENT. Just TICK it.
    4) So every time there a change on this field from the transaction, you can look for the log in table CDHDR.
    Regards
    Abhii...

  • I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    See this thread:
    http://answers.acrobatusers.com/Is-add-instructional-text-text-field-disappear-clicked-q19 5078.aspx

  • Change log for Z field while doing a direct update

    Hi ,
    I have a Z field added to the EKKO table and the change log is activated . Any change to the Z field from the transaction ME52N is updated in the CDHDR , CDPOS tables .
    The issue I have is now i have a requirement to update this Z field through a program . I could update this field but the change doesnt get into the change log . But the change done from the program appears in the front end screen i.e ME53N.
    Please help me on this.
    Regards,
    Hari.

    Hi Hari hara Kumar,
    As far as my thinking, there is only one solution for this, do a recording/BDC(I know that Enjoy transaction BDCs are not successfull but as you have only 1 field to update,you can have a try) to update the Customer fields  or Using the BAPI you can update the same to get change records, but it will be a long procedure to add Z field in the BAPI structures and then do that required coding, better is to have a try a with the BDC. I will never ever do a direct DB table update using a Z program for Standard tables.
    Thanks & Regards,
    Faheem.

  • Changing data in 'hidden' fields through BSP

    Hi all,
    We are using custom copy of hap_document BSP and in there i am trying to change values in the appraisal document using application->doc. I am able to change the values for the fields that are displayed in the layout in the application->doc-t_body_cell_notes, but not able to change the values for hidden fields(that have 'H' in application->doc-t_body_cells-cell_note_availability).
    Is it impossible to change data for hidden fields?
    Please let me know if anyone of you had ever done something like this earlier.
    Thanks,
    manasa

    Thanks Raja.
    In the HAP_DOCUMENT there is a cell for employee comments. Now i am hiding the cell in the BSP and when user clicks on a dropdown i am changing the value in the cell say from ABC to XYZ programatically. The document is being updated with the XYZ value when the cell is either in change/display mode but not in hidden mode. in hidden mode, When i change the value to XYZ and save the cell gets empty and doesnt have the previous value ABC also.
    I am changing the value in the cell using below code:
       READ TABLE application->doc-t_body_cell_notes INTO s_cell_notes
         WITH KEY column_iid = '0001' row_iid = '0002'.
       IF sy-subrc = 0.
         s_cell_notes-tdline = 'XYZ'.
       ENDIF.
       MODIFY application->doc-t_body_cell_notes
          INDEX sy-tabix  FROM s_cell_notes
          TRANSPORTING tdline.
       ENDIF.
    ENDIF.
    if you have any questions please let me know. I am assmuing that you have worked on the BSP HAP_DOCUMENT.
    Thanks again,
    manasa

  • How to get change log for z-fields in VBAk(Sales order)

    Hi All,
    Please help me in this.
    My requirement is get the change log for z-fields in sales order.
    In the sales order header level we have one tab Additioanl data.
    In this we have z-fields, if we change any of the field value, it is accepting the same and updating in data base as well.
    But it is not appearing in change log<. I.e. Environment->changes.
    How to get the change log for the z-fields.
    In data element level enable the check box of change document.
    Please help me in this.
    Thanks in advance
    Jaya,G

    Hi Jaya,
    For this you need to do some coding. Here is a link which tells you, step by step procedure how to activate Change log for the Z tables.
    THe Object that you need to use for Sales Document   is VERKBELEG
    [https://wiki.sdn.sap.com/wiki/display/ABAP/Maintaining%20Change%20Log%20for%20Database%20Tables]
    Hope this helps..
    This is Primarily a Technical Consultant Job. Take his help before you make any changes.
    Thnks
    Srini

  • How can i used pai in screen 1000 to change the select-options field?

    hi,all.
    I want used pai to change the select-options field,but it can't works.
    the mainly code is:
    REPORT  ZTEST99.
    TABLES :MARA,MAKT,MARC.
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TITLE0 .
    select-options:s_matnr for mara-matnr,
                   s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF BLOCK B0.
    parameters:p_flag as checkbox.
    at selection-screen OUTPUT.
       LOOP AT SCREEN.
       IF P_FLAG = 'X' .
       IF screen-group1 = 'ID1'.
             screen-input = '0'.
        ELSE.
          screen-input = '1'.
        ENDIF.
        MODIFY SCREEN.
    ENDIF.
        ENDLOOP.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    when i click p_flag,then i want to change s_werks from OBLIGATORY to no OBLIGATORY.
    how can i realized?
    Thanks for all.
    Sun

    Hi ,
    change your code like this.
    Change in your code:
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : s_matnr for mara-matnr,
    s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF SCREEN 100 .
    At selection-screen.
    if sy-dynnr = '100'.
    IF P_FLAG = 'X' .
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    else.
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    my code :
    REPORT  Z50871_SELECTOPS_DYNAMIC.
    PARAMETERS : CH_EBELN AS CHECKBOX,
                 CH_VBELN AS CHECKBOX.
    DATA: V_EBELN TYPE EKKO-EBELN,
          V_VBELN TYPE VBAK-VBELN.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
                     VBELN FOR V_VBELN MODIF ID G2.
    SELECTION-SCREEN END OF SCREEN 100 .
    AT SELECTION-SCREEN OUTPUT.
      IF SY-DYNNR = 100.
        IF CH_EBELN = 'X' AND
           CH_VBELN = ''.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_VBELN = 'X' AND
           CH_EBELN = '' .
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G2'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_EBELN = 'X' AND CH_VBELN = 'X'.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'
               OR SCREEN-GROUP1 EQ 'G2' .
              SCREEN-ACTIVE = '1'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
    IF SY-DYNNR = 1000.
      IF CH_EBELN = 'X' OR CH_VBELN = 'X'.
        CALL SELECTION-SCREEN 100.
      ELSE.
        MESSAGE I000(Z50871MSG) WITH 'Please select atleast one checkbox'.
      ENDIF.
    ENDIF.
    regards
    Sandeep Reddy

  • Can i Change Character set WE8ISO8859P1 TO AR8MSWIN1256 IN ORACLE 8i

    I tried to change character set from WE8ISO8859P1 TO AR8MSWIN1256 on oracle 8i database.
    Getting the follwoing error for both character set and National character set.
    ORA-12712:New character set must be a superset of old character set.
    My question can i change or have to do export and import in arabic character set DB.
    null

    Hello Sarath,
    There is an extension CODE PAGE with OPEN DATASET stmt.
    Can you please elaborate which character set you want to write to the application server?
    BR,
    Suhas

  • Reporting: Change Color on Prompt fields

    I need to know if we can change color options for prompt fields?
    Thanks,
    Rick

    Regarding prompt feild no idea.
    We can change the colour of that data which comes after prompting parameter.
    I mean  you have created a parameter Country then you can change the colour of field based on parameter by writing formula.
    Right click on field-> Format field->Font tab->on color clik on X-2
    write formula if {?My parameter}="USA" then red
    Have a look to Sample reports:
    [Crystal Reportsample |https://boc.sdn.sap.com/crsamples]
    Hope that helps!!
    Regards,
    Shweta

  • Change Log for Custom fields

    Hi All,
    I need the change log for custom fields added in BP transaction codes.
    Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
    As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
    Please let us know if iam missing any other thing?

    Hi Amit Singh,
    Apart from clicking the checkbox in dataelement...
    There are some settings need to be done by BASIS
    and some settings and entries should be made in SCOD t-code
    create entriy for change document here..
    also hv a look on below links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
    Custom Table values in CDPOS and CDHDR
    scdo
    wat do these fields in scdo stand for?
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • How to change Artist/Creator EXIF field in JPEG file?

    I need to change EXIF Artist field in original files from JPEG camera.
    With LR I can change Creator metadata field. Then I can "Save Metadata to File" or "Export" the files.
    "Save Metadata to File" changes IPTC and XMP fields, but EXIF field still empty.
    "Export" fills EXIF Artist field with Creator - it is good, but re-compresses JPEG images - it is bad.
    Is there a way to manage Artist EXIF field without re-compression?
    Thanks, Elen.

    It can't be done in Lightroom, but you can use something like ExifToolGUI http://freeweb.siol.net/hrastni3/foto/exif/exiftoolgui.htm

  • Changing SIgn for Amount field

    Hi:
    We have a requirement where we need to change +/- sign on amount field in Infocube during the data loading. How this can be done?
    Thanks

    Hi Sunil,
    In the update rules, in the key figure you want, instead of assigning a source key figure from communication structure (first option), select the formula  and press create. Name your formula, and then, in the formula editor, double click your key figure so it appears in the upper part. Then press the * button. and finally press constant button and enter -1 in the text box it appears. This should do it.
    Hope it helps.
    Regards,
    Diego Lombardini

  • Change the customer master fields

    Hi all,
    I am looking for a BAPI or USER-EXIT to change the customer master fields KNA1-STCD3, BRAN1, BRAN2, BRAN3, BRAN4, BRAN5. If anybody knows please share.
    Thanks in advance,
    Pranav

    Hi Pranav,
    If you want to change these fields while saving the trasaction XD02, use user exit: Enhancement- SAPMF02D and exit: EXIT_SAPMF02D_001 or BADI: CUSTOMER_ADD_DATA.
    Reddy

Maybe you are looking for

  • Problem using VB Client with a JAVA Webservice

    Hi people! I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms. I need to invoke my methods using a V

  • Pls help me with this program - urgent

    Hi, I am new to Java. First time to do the program. Stuck here. The description of the program: Implement a complex number (numbers of the form a+ib, where i2 = -1, i2 is i raised to power 2 ). Recall that a complex number consists of a real part (a)

  • How do you rip cd and then put them on your ipod?

    Hello... Ummmm.hmhmhmh... I have a question, My friend burnt me a cd and I am trying to get the songs from the cd onto my ipod nano but am having some trouble. When you click up the itunes icon and then i put the cd in the (:C) drive it won't show up

  • AFTER UPDATING FROM 1.4.2 TO 2.0 Can't mount Volume HELP!!!!

    Hi, Guys Today I have upgraded my Xsan Controllers to 2.0 and this is what happening: I have 2 Controller With leopard 10.5.2 Server and 10.5.2 workstation There was installed Xsan 1.4.2 and all works fine I Have 1 SAN With 2 Volume splitted in 2 Xra

  • How can I edit an Address Book Distribution List that will not display in Lion?

    The option to edit an Address Book Distribution List (to select preferred emails for certain contacts) only appears as light print and does not respond to selection.  I have a number of Address Groups that display and funtion properly in Mail, but si