[abap]  problem on value conversion

hello experts ,
I'm giving appt_id(scappt is the table) as the input  it is    03_Yt9VGMmaN4MsBxDGDAc1n0  taking from database
when i'm executing , the value should be converted  to uppercase. can anybody tell me is there any function module avilable for giving exact data base format. I need help on it plz do reply.
thanks in advance
regards ,

Why do you want to [translate|http://help.sap.com/abapdocu_70/en/ABAPTRANSLATE.htm] SCAPPT-APPT_ID [to uppercase|http://help.sap.com/abapdocu_70/en/ABAPTRANSLATE.htm#&ABAP_ADDITION_1@1@], this field's domain (TEXT25) allows lowercase in database

Similar Messages

  • Layout problem in PDF conversion

    Hi all,
    i am downloading spool data using the function module CONVERT_ABAPSPOOLJOB_2_PDF. But i am facing layout problem. e.g. RFBILA00(financial statement generation program) has written balancesheet data to the spool. This spool data has some 6 columns. but CONVERT_ABAPSPOOLJOB_2_PDF is writing only first 3 columns to the generated PDF file. i used 'GET_PRINT_PARAMETERS' function module also with values like layout as 'X_65_132' and 'X_90_120'. but no success. if anybody knows the answer, please let me know.
    Thanks in advance,

    Hi All,
    i am following the below approach to download the information from spool.
    program/spool output is an ALV List output data having 8 columns. but below approach is converting only first 5 columns in to PDF format. other 3 columns are getting truncated.
    FUNCTION /ngl/download_spoolinfo_as_pdf.
    ""Local Interface:
    *"      DOWNLOAD_ERROR
      TABLES tsp01.
      DATA: mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1) TYPE c,
            mi_bytecount TYPE i.
          copies                 = '1'
          cover_page             = space
          destination            = 'locl'
          expiration             = '1'
          immediately            = space
          mode                   = space
          new_list_id            = 'X'
          no_dialog              = 'X'
          user                   = sy-uname
          line_size              = 200
          line_count             = 65
         layout                 = 'X_65_200'
          layout                 = 'X_90_120'
          sap_cover_page         = 'X'
          out_parameters         = mstr_print_parms
          valid                  = mc_valid
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc EQ 0.
            src_spoolid              = i_spool_request
            no_dialog                = 'X'
            dst_device               = mstr_print_parms-pdest
            pdf_bytecount            = mi_bytecount
            pdf                      = mtab_pdf
            err_no_abap_spooljob     = 1
            err_no_spooljob          = 2
            err_no_permission        = 3
            err_conv_not_possible    = 4
            err_bad_destdevice       = 5
            user_cancelled           = 6
            err_spoolerror           = 7
            err_temseerror           = 8
            err_btcjob_open_failed   = 9
            err_btcjob_submit_failed = 10
            err_btcjob_close_failed  = 11
            OTHERS                   = 12.
        IF sy-subrc EQ 0.
          mc_filename = i_filename.
          DATA: lv_filename TYPE string.
          lv_filename = i_filename.
              bin_filesize = mi_bytecount
              filename     = lv_filename
              filetype     = 'BIN'
              data_tab     = mtab_pdf
              OTHERS       = 22.
          IF sy-subrc EQ 0.
            WRITE:/ mc_filename, 'CONVERTED TO PDF AND DOWNLOADED'.
            RAISE download_error.
          RAISE download_error.
        RAISE download_error.

  • Keytool Error: DER Value Conversion

    I'm trying to import a certificate into a Keystore and I keep getting the following error:
    Keytool error: java.lang.IllegalArgumentException: DER value conversion
    I'm running this on a W2K3 box with Java SDK 1.4.2. I have imported this certificate on two other servers that have the same configuration with no problems. I've been trying to fix this thing for days and it has become very frustrating.
    Message was edited by:

    Did you ever get any information on this?Yes, and I apologize for neglecting to post it here.
    First, I didn't get the aix 1.3 ssl working with my code, but I am pretty sure I could have if I'd just change the packages I imported. What we have done with our customers using Java 1.3 on aix is have them keep using the old Sun JSSE 1.0.2 for the time being. And we have our solaris customers stick to Java 1.3 so we have only one version of the code.
    In Java 1.4, ssl is bundled into Java. The ssl classes which were in vendor-specific packages like ibm.com and sun.com, will now be in javax.net.ssl.
    This information is from Brad Wetmore of the Java Security Team at Sun.
    So as soon as we can get Java 1.4 on AIX, we're moving to that and using the javax.net.ssl package.

  • DER Value conversion

    I try to make an URL connection to a secure site with JSSE 1.0.3. I get the exception 'DER Value conversion' printed below, when I connect to an IIS server with a Baltimore test servercertificate. Does someone know how to solve this problem?
    Thanks, Arianne.
    java.lang.IllegalArgumentException: DER Value conversion
         java.lang.String sun.security.x509.AVA.toString()
         java.lang.String sun.security.x509.RDN.toString()
         void sun.security.x509.X500Name.generateDN()
         java.lang.String sun.security.x509.X500Name.toString()
         java.lang.String sun.security.x509.X500Name.getName()
         com.sun.net.ssl.internal.ssl.X500Name com.sun.net.ssl.internal.ssl.X500Name.a(java.security.Principal)
         java.security.cert.X509Certificate com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(java.security.cert.X509Certificate, java.util.Date)
         java.security.cert.X509Certificate[] com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(java.security.cert.X509Certificate[], java.util.Date)
         boolean com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(java.security.cert.X509Certificate[], java.lang.String)
         boolean com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.isServerTrusted(java.security.cert.X509Certificate[], java.lang.String)
         boolean com.sun.net.ssl.internal.ssl.JsseX509TrustManager.isServerTrusted(java.security.cert.X509Certificate[], java.lang.String)
         void com.sun.net.ssl.internal.ssl.ClientHandshaker.a(com.sun.net.ssl.internal.ssl.HandshakeMessage$CertificateMsg)
         void com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(byte, int)
         void com.sun.net.ssl.internal.ssl.Handshaker.process_record(com.sun.net.ssl.internal.ssl.InputRecord)
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(com.sun.net.ssl.internal.ssl.InputRecord, boolean)
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(com.sun.net.ssl.internal.ssl.OutputRecord)
         void com.sun.net.ssl.internal.ssl.AppOutputStream.write(byte[], int, int)
         void java.io.OutputStream.write(byte[])
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake()
         java.net.Socket com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(java.lang.String, int)
         void com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(java.lang.String, int)
         void com.sun.net.ssl.internal.www.protocol.https.HttpClient.l()
         void com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(javax.net.ssl.SSLSocketFactory, java.net.URL, boolean)
         void com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(javax.net.ssl.SSLSocketFactory, java.net.URL)
         com.sun.net.ssl.internal.www.protocol.https.HttpClient com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(javax.net.ssl.SSLSocketFactory, java.net.URL, com.sun.net.ssl.HostnameVerifier, boolean)
         com.sun.net.ssl.internal.www.protocol.https.HttpClient com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(javax.net.ssl.SSLSocketFactory, java.net.URL, com.sun.net.ssl.HostnameVerifier)
         void com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect()
         java.io.InputStream com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream()
         java.io.InputStream java.net.URL.openStream()
         void URLReader.main(java.lang.String[])
    Exception in thread main
    Process exited with exit code 1.

    Sure, this is a solution if you start from zero but we have the same problem and it did work with iPlanet4.0 and jre 1.2.2 but now that we upgraded to iPlanet 6.0 and 1.3.1 and having an attribute with no value like PHONE=; causes the NSServletRunner to crasch. And we have a few hundred certificates with some values missing. How can this be fixed?

  • Since downloading Firefox 4, I am having problems archiving gmail conversations from my inbox view. Also, when I go to enter a new event in google calendar, I now have to click the cursor in the box to type the event (it used to let me just start typing).

    Since downloading Firefox 4, I am having problems archiving gmail conversations from my inbox view (either one or several conversations) as it says "No Conversations Selected" when I have selected one or several. Also, when I go to enter a new event in google calendar, I have to click the cursor in the box to type the event (it used to let me just start typing) or else it flips out and starts jumping to day view or another month. Does anyone know how to fix either of these?

    I have had this problem; but while trying to fix another problem, I reset my preferences for Firefox and it fixed this problem as well. To reset preferences, follow this link: http://support.mozilla.com/en-US/kb/Resetting%20preferences

  • Creating Value Conversion Filters in Import Manager

    I am trying to create some Value Conversion Filters that change street suffixes to abbreviations. Such as Lane to Ln.
    How would I go about doing this? Am I supposed to use the find/replace Conversion Filter?
    Points awarded to any helpful answers / helpful guides (besides the Import Manager Guide) <--- I have this already

    Yes u can use the Find/Replace Conversion filter property in Import manager.
    In this u can write the word u want to change and then write the req format.
    But the conversions are permanent while if u do this in MDM data manager under transformations they are temporary.i.e they will not be syndicated.
    Hope this may help u.
    Edited by: ankit jain on Aug 6, 2008 5:06 AM

  • Value conversion

    Hi everybody,
    i need a small help reg value conversion.
    for suppose:
    1>a = 1.234.567,89 in sap format
          we need to convert this to a = 1,234,567.89 into flat file.
    2>date format is showing as DD.MM.YYYY in sap format
    we need to convert this to MM/DD/YYYY
    (no matter which user is used to run the program)
    please give me reply.

    Hi Sunil,
    To dispaly the Date form System Format to User Format the FM 'CONVERT_DATE_TO_EXTERNAL' is used.
    Consider this code.
    REPORT zztest_arun_2.
    DATA: e_date(10) type c VALUE '2/2/2006',
        date_external            = e_date
        date_internal            = i_date
        date_external_is_invalid = 1
        OTHERS                   = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            / 'My   Date:' , e_date  ,
              'Conv Date:',  i_date.
              skip 2.
        DATE_INTERNAL                  = sy-datum
        DATE_EXTERNAL                  = e_date
        DATE_INTERNAL_IS_INVALID       = 1
        OTHERS                         = 2
    IF sy-subrc <> 0.
             / 'My   Date:' , sy-datum,
               'Conv Date:',  e_date.
    reward If Helpful.

  • How to delimit leading zero in vendor number in OO ABAP ALV without using conversion routine

    How to delimit leading zero in OO ABAP ALV without using conversion routine, because I have many fields like vendor, customer, material number etc..
    How to address this leading zero.
    I appreciate your quick response.
    Nalini S.

    Hi Nalini,
    Delimiting leading zeros in fields has to be done via conversion routines, as suggested by Vadamalai you need to pass on the conversion routine name in you field catalog variable.
    Now as to which object oriented approach are you using to have your table contents display in ALV as it matters  -
    Using FACTORY method of CL_SALV_TABLE class, or
    Using FACTORY method of CL_SALV_TABLE will do your own work, no need to apply any conversion routines or set long/medium/short text for columns as we do in field catalogs!

  • Value Conversion Filters

    I am trying to meet the new business requirements for the client I am working at. They recentlyd decided to eliminate all company codes and condense to one purchase organization. I have my purchase org and company code data in a Tuple.
    Can I use the value conversion filter to all data in my repository to elimate company codes and condense the purchase orgs? I guess my question really is can you use the value conversion filter if the field values to be converted are in Tuples?
    Thanks experts!

    Hey ,
    if you apply value conversion filters at the field level, the conversions are applied sequentially to each converted value that has not been individually edited or converted at the value level, now when you first map a field, each value in the Converted Value column appears in gray to indicate that it is inheriting value conversion filters from the field level. When you apply a manual edit or a value-conversion filter to an individual value, the Converted Value then appears in black to indicate that you have overridden inheritance from the field level. You can use the Restore Converted Value command to restore inheritance for a value.
    Value conversion filters automate repetitive and error-prone transformations, eliminating manual typing and the possibility of user error. They also allow powerful reformatting algorithms to be applied to an entire group of values.
    No conversion filter is necessary to trim leading and trailing spaces from source values, as Import Manager does this automatically when importing values into an MDM repository.
    Hope it gives you clarity.

  • Problem exchanging values between a Servlet and Thread???

    Hi Everybody,
    I have got a problem exchanging values between a Servlet and a Thread...
    The actual thing will go like this
    I take a request from JSP which is served by a servlet..
    A thread is invoked in the servlets into which the parameter values taken from JSP page is sent...
    In between the thread needs to be suspended for a moment, relieve the control back to the servlet and then come back with the new values modified in the servlet...
    How is this achieved?
    Please give ur suggestions regarding this...
    Thanks in advance

    I really have no clue how you can use URLConnection to do that!
    Could you please explain in the following scenario how it can help me as an alternative solution to the following:
    Non-Servlet A continously running & saving to some prop regularly
    --> servlet B reads prop file regularly --> display continously on a jsp file
    I wish I could do a servlet A --> servlet B-- > display jsp scenario but I do not know how to have servlet A continously running while keep the servlet B interacting with the jsp.

  • Value conversion during syndication.

    Hi All,
    I need to do a value conversion during syndication of records out of MDM. The values maintained in my MDM Repository is true and false while the destination system can only read Y and N. What would be the best option to have this value conversion done during the auto syndication?
    Appreciate your responses.
    - Aditya

    One way to handle this is by using key mapping on a lookup table instead of a boolean field.  Often times your remote systems will have different internal values than the ones you are storing in your system.  For example, you may store "True" or "False" as values in your MDM repository, however ECC doesn't accept those values, instead it wants "X" or "NULL".  Likewise, a third-party system may expect "T" or "F".  The same thing goes for other fields in your repository (ie: country codes, region values, etc).  In cases such as this, you should create a lookup table with key mapping enabled.  Then, you can maintain different values based on the remote system.  In other words, you may store the value "TRUE" in your lookup table, but the key mapping for true may maintain "X" for ECC and "T" for a legacy system that you define in the console.  Then, when you build your syndication map, you may the remote key to the destination field instead of mapping the actual code value of your repository.  This way the correct value will always get syndicated to the partner system regardless of what system is being syndicated to.
    Does that make sense?

  • Problems with Quicktime Conversion, FCE2

    I am having problems using quicktime conversion. I want to export a 4 minute sequence into uncompressed AVI.
    Each time i do this i get an almost 4 gb file that is only the first 18 seconds of the sequence. (when i export to WMV I get the same problem, except its 30 seconds)
    I can export using compressed AVIs (such as DV-PAL), but the quality is not too good.
    I am simply trying to get the best quality and most-universally useable file to write out onto a data DVD.
    Any ideas/suggestions anyone?
    I have am using a PowerPC G4 laptop, FCE2, OSX tiger....
    Further problems: when i write this movie out to DVD with iDVD, and when it is in NTSC setting, black white lines appear on top of the black background parts in the movie, rather sporadically. I have written it out 3 or 4 times, and each time the frequency of the lines is different, but each DVD is unusable. In PAL setting this doesnt happen, but of course the quality is diminished, as the orig. footage was taken on an NTSC camera. I am in Europe, so this PAL/NTSC conversion thing is a neverending problem.... Is this an iDVD problem or a problem with my laptop's burner?

    Dear Tom,
    I appreciate you replying to my post, and am sorry for not getting back to you sooner, but i never received an email notification of a reply.
    The Nattress solution seems like a good route - is this compatible with FC Express 2?
    The purpose of this AVI export is to have the highest possible quality file in data form, which the (PC using) client will then be able to write out onto DVD, convert/edit himself, etc. I have written out the self-contained QuicktimeMovie data file for him, but he is unable to open that. When i write out the AVI file, it is over 4 times as big as the QTmovie file and only plays for the first 18 seconds.
    I am exporting to my internal harddrive (laptop).
    The end goal is to get this file eventually onto a PAL-BETA video. This is where the NTSC-PAL conversion problem comes in, and maybe the Nattress program could be the solution (although it initially seems a bit complicated to me).
    Another important part of this problem, is that iDVD writes out the original NTSC file with funny white lines going across the black backgrounds - so I cant write the best quality NTSC video onto DVD properly either. Each time I write it out, the frequency of these white lines is different. I dont know if this is a related problem, a Final Cut Express export problem, an iDVD problem, or a problem with my DVD writer. (I made the movie, exported it self-contained QTmov, imported it into a new file, did some color-correction, and exported the new final version. - maybe the problem stems from within this simple process? ? ? )
    (Regarding the WMV export: this is not so important, lets not deal with this now. I have flip4mac, downloaded free. My experience is that it doesnt really work.)
    So... any ideas or suggestions?
    i appreciate your help,

  • OO ABAP having problems retrieving value from screen dropBox field

    I am a new in ABAP, and need some advice.
    I have a class and in its definition I  have class-data: dropBox (same name as in screen) field from the screen. When I create a instance of a class and fill with data dropBox. data is populated properly using F4IF_INT_TABLE_VALUE_REQUEST method. But I can not retrieve the selected value. In screen dropBox field 'conversion exit' is set to ALPHA.
    Tried to do it without a class it works, and I can get data.
    Question is, can I do it using a class the way I explaining at the beginning of discussion.
    Am I missing something?

    It is not possible to have screen field attribute and use it. Solved my problem of returning value by increasing the value of Defined length on screen field.

  • Alignment problem on abap report after Unicode conversion

    I've recently convert my system to unicode. Now my user is complaining the aged debtor report (ABAP) is having a column alignment problem when displaying the Japanese character.
    I'm not sure what to do now. Have anyone experience this and let me know how can I sove the problem?

    you need to regenerate the data
    For this regeneration, you start the program RKETREGP with the parameter
    application class 'KK', subclass '01' and table name 'KKROBJ'.
    br, Guido

  • Problem with type conversion and primary key during row fetch

    [Note, this error occurs in Oracle XE, APEX]
    I have been having a problem with Automatic Row Fetch:
    ORA-01460: unimplemented or unreasonable conversion requested
    So in an effort to resolve this, I created a PL/SQL process with the query below and was able to isolate the same error. The problem seems to come from one of the primary keys being a "number" type (APP_ID). The error occurs on the line:
    where u.app_id=:P5_APP_ID
    I have tried the following variations on this line in an effort to resolve this, but all generate the same error:
    1) where to_char(u.app_id) = :P5_APP_ID
    2) where u.app_id = to_number(:P5_APP_ID)
    3) where to_char(u.app_id) = to_char(:P5_APP_ID)
    I've also tried the laternate syntax "&__." and "#__#", but these don't function in the Source field and show up as syntax errors.
    Any suggestions are welcome.
    for r in (
    select app_name, apptype, appcreator, appurl
    from application_users u, application_info i
    where u.app_id=:P5_APP_ID
    and i.app_id=u.app_id
    and u.username=:P5_USERNAME)
    :P5_APP_NAME := r.app_name;
    :P5_APPURL := r.appurl;
    when others then
    raise_application_error(-20000,'In Loop Failure',true);
    end loop;
    when others then
    raise_application_error(-20000,'Out of Loop Failure',true);
    Thanks in advance,

    I found a prior post referencing a similar issue and it was solved by using the "v(__)" syntax. This did resolve my issue, however, I have a quick follow-on which I'm hoping someone can answer quickly...
    Since the "v(__)" syntax won't work for the Automatic Row Fetch (at least to the best of my knowledge), I have to do a manual process. However, the manual query as shown above doesn't actually populate any of the form values through the bind variables. They all remain at their cached values from prior data entry on the form.
    Is using the bind variables for assignment incorrect, or is there something that must be done to get the updates to show up in the form (ordering of processes, etc.).
    My manual process is running in the Load: Before Header state so I would have expected it to update all of the fields.
    Thanks in advance,

Maybe you are looking for