Adobe Form Leading Zero problem

Hi expert,
I am working on adobe form. In the field of customer number i want excat number not with zero. but in pdf output it is displaying zero. like '0000117719' but i want 117719.
Pl help

Hello friend,
you can use the following FormCalc in the field:
var x=$.rawValue;
$.rawValue = replace($.rawValue,"0"," ");
$.rawValue = ltrim($.rawValue);
$.rawValue = right(x,len($.rawValue));
Best Regards,
Jerry

Similar Messages

  • VERY URGENT - Adobe forms with email problems

    I THERE - I AM A ADOBE FORMCENTRAL CLIENT I HAVE MY PAYEMENTS ON DAY BUT FOR SOME REASON THE ADOBE STOP RESENDING TO MY EMAUIL ACOUNT AND TO MY CLIENTS  EMAIL ACCOUNT THE SUMARY OF THE FORM THAT IS SUBMITED. THIS IS VERY URGENT THAT BE FIXED FROM YOU SIDE PLS LET ME KNOW WHAT IS HAPENING.
    PLS FIX THIS URGENT AS I HAVE MY CLIENTS SCREEMING ON ME
    PLS ANSWER TO
    [email protected]

    Now is working
    after 2 hours is working now. but this have never hapen before. now I am
    woried with this ADOBE FORM system!!!! it can hapen and I never know.
    br
    henrique
    2014-04-25 21:29 GMT+01:00 Josh_Corey <[email protected]>:
        Re: VERY URGENT - Adobe forms with email problems
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/6331228#6331228

  • BAPI_PO_CHANGE document number leading zero problem

    Hi experts,
    The following code clears the "Delivery Complete" flag on a list of Purchase Orders uploaded from a CSV file.
    The PO number is 9 digits long, however, in EKPO table it is stored as 10 digits (prefixed with a zero). The BAPI does not recognise the document number unless it is prefixed with a zero in the CSV file (which adds extra work for the user to create custom format in Excel to add the leading zero).
    What code is required for the BAPI to recognise the 9 digit number without the leading zero?   Perhaps the leading zero could be hard-coded into the program?
    Any advice is much appreciated.  Thanks for your time.
    REPORT  Z_MASS_REMOVE_FDI_DCI_BAPI.
    *Check if file exists
    DATA: rc TYPE sy-ucomm.
    CALL FUNCTION 'WS_QUERY'
           EXPORTING
                query    = 'FE'  "File Exist?
                filename = 'X:\STO.TXT'
           IMPORTING
               return   = rc.
    IF rc EQ 0.
      WRITE: / 'File does not exist'.
    ENDIF.
    TYPES: BEGIN OF ty_tab,
            DOCNO(10),
            ITEM(4),
           END OF ty_tab.
    DATA : it_tab TYPE STANDARD TABLE OF ty_tab,
           wa_tab TYPE ty_tab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename = 'X:\STO.TXT'
    *     FILETYPE = 'ASC
          has_field_separator = 'X'
    *     HEADER_LENGTH = 0
    *     READ_BY_LINE = 'X'
    *     IMPORTING
    *     FILELENGTH =
    *     HEADER =
          TABLES
          data_tab = it_tab
          EXCEPTIONS
          file_open_error = 1
          file_read_error = 2
          no_batch = 3
          gui_refuse_filetransfer = 4
          invalid_type = 5
          no_authority = 6
          unknown_error = 7
          bad_data_format = 8
          header_not_allowed = 9
          separator_not_allowed = 10
          header_too_long = 11
          unknown_dp_error = 12
          access_denied = 13
          dp_out_of_memory = 14
          disk_full = 15
          dp_timeout = 16
          OTHERS = 17.
    END-OF-SELECTION.
    LOOP AT it_tab INTO wa_tab.
      WRITE:/ 'DOCUMENT: ',
      wa_tab-DOCNO,
      ' ITEM: ',
      wa_tab-ITEM.
      WRITE: / '-----------------------------------------------------------------------'.
      DATA: s_header TYPE bapimepoheader,
            s_headerx TYPE bapimepoheaderx,
            s_item TYPE bapimepoitem,
            s_itemx TYPE bapimepoitemx,
            i_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
            i_extension TYPE bapiparex OCCURS 0 WITH HEADER LINE,
            s_bapimepoheader TYPE bapimepoheader,
            s_bapimepoheaderx TYPE bapimepoheaderx,
            s_bapimepoitem TYPE bapimepoitem occurs 0 with header line,
            s_bapimepoitemX TYPE bapimepoitemX occurs 0 with header line,
            wa_message TYPE c LENGTH 100.
      s_bapimepoheaderx-po_number = wa_tab-DOCNO.
      s_bapimepoheader-po_number = wa_tab-DOCNO.
      s_bapimepoitemx-PO_ITEM = wa_tab-ITEM.
      s_bapimepoitem-PO_ITEM = wa_tab-ITEM.
    *Remove Delivery Complete Indicator (DCI)
      s_bapimepoitemx-NO_MORE_GR = 'X'.
      s_bapimepoitem-NO_MORE_GR = ' '.
      append s_bapimepoitem.
      clear s_bapimepoitem.
      append s_bapimepoitemx.
      clear s_bapimepoitemx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = wa_tab-DOCNO
        TABLES
          return        = i_return
          poitem        = s_bapimepoitem
          poitemx      =  s_bapimepoitemx.
    *Message types: S Success, E Error, W Warning, I Info, A Abort
    *Supress all Warning Messages
    DELETE i_return WHERE ( TYPE EQ 'W' ).
    *Commit only if no errors have been returned
      read table i_return with key type = 'E'.
      if sy-subrc ne 0.
        COMMIT WORK AND WAIT.
      endif.
    *Display Return Messages on Screen
      LOOP AT i_return.
        WRITE: /   'RETURN MESSAGE: ',
        'ID: ',
        i_return-id,
        ' TYPE: ',
        i_return-type,
        ' NUMBER: ',
        i_return-number,
        i_return-message.
      ENDLOOP.
      WRITE: / '-----------------------------------------------------------------------'.
      refresh : s_bapimepoitem,s_bapimepoitemx.
    ENDLOOP.

    hi,
    Use the conversion exit to make it as 10 digit char CONVERSION_EXIT_ALPHA_INPUT.

  • Export to Excel - leading zeros problem

    Hello,
    I wrote an application, which exports the data from an internal table into an excel file.
    I defined a variable as char20. The variable contains the value '000256'.
    When I generate the excel file, the leading zeros are cut and so only the value 256 is stored into the cell.
    Is it possible to prevent the cut of the zeros?
    Best regards & Thanks in advance
    Here is a part of may code:
      conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8'  ).
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text   = gv_content
        IMPORTING
          buffer = gv_xtext.
    attach the first file
        conv_out->convert( exporting data = gv_xtext ).
        cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'file1.XLS'
        i_content   = gv_xtext
        i_mime_type = 'application/msexcel'
        i_in_new_window = abap_true
        i_inplace       = abap_true ).

    you could add an apostrophe ' in front of all fields that you want exported as a text.
    this will ensure no truncating is done.
    it's excel that does the shifting, so you can't really interfere from the SAP side

  • Leading zeros problem with custom popup

    I've implemented a custom popup page following the How-To docs on the topic. The value I'm return to the calling page in the passback function most often will have leading zeros. So from the custom popup I do a call like this: javascript:passback(00363644). When my value arrives back on the calling page it's converted to 124836 (haven't yet figured out what kind of conversion is happening there).
    I realize this is not a javascript forum (and I've Googled for leading zeros in javascript to no avail - yet) but the HTML DB field type Popup LOV seems to accomplish this just fine so I was wondering how Oracle might be doing it. Anyone have any ideas?
    Earl

    Vikas,
    See
    http://tinypic.com/ibbfoy.jpg
    So, just use
    javascript:passback("00363644")and it should do what you want.You would think. But I've tried:
    wrapping it in single quotes:
    opener.document.getElementById('P6_CONTACT_ID').value = "'" + myVal + "'";
    wrapping it in single quotes:
    opener.document.getElementById('P6_CONTACT_ID').value = """ + myVal + """;
    and the other 'trick' that I've seen mentioned several places, concatenating an empty string to the value:
    opener.document.getElementById('P6_CONTACT_ID').value = "" + myVal;
    All to no avail! This is really frustrating. Supposedly, any string concatenation action will 'force' the value to retain it's original 'string-ness'.
    Working off this assumption and thinking that the conversion had already taken place by the time I assigned the value I backed up a step and assigned the value to a variable before trying to set the value, ala:
    var myVal = p_Value.toString();
    opener.document.getElementById('P6_CONTACT_ID').value = myVal;
    and still no joy.
    Following this logic one step further, do I need to get the value to a string in the original call. This will be a challenge because the link in the popup report is a is set to a URL with javascript call, like this: javascript:passback(#CONTACT_ID#);
    Further, when I float over the links with the mouse I can see the URL in the status bar of the browser as javascript:passback(00363644); So, how do I go about wrapping this in quotes in the link?
    Any help???
    Earl

  • Leading zero problem!

    Hi !
    i have a numeric type variable i.e. 'w_xyz type n length 7'
    now i want to delete the leading zero's for this variable simultaneously want to retain the length of the field unaltered i.e.
    if  w_xyz = '0000987'  then i want
    w_xyz = '    987'.
    any help pls,
    Thanks in advance.
    Regards,
    Parwez.

    Hi,
    There is a simple way to achieve that : just use shift statement.
    SHIFT w_xyz LEFT DELETING LEADING '0'.
    Regards,
    Nicolas.

  • Adobe form Processing performance Problem Portal

    Hi
    In our ECC6-> EP7 portal while opening any adobe form in portal it is taking too much time
    in portal monitoring i found this component is taking maximum time in all request overview
    com.sap.tc.webdynpro.runtime.SessionManagement.doApplicationProcessing
    is there any parameter or anything we can do so as to improve adobe form processing in portal or anything related to above mention component so that performance issue in portal will be resolved.

    Hi Arafat, Thanks for reply
    To answer
    No only adobe form is taking time in opening.All other applications are running fine.
    We are using Adobe Reader Version 8 and Adobe Life Cycle Designer(ADA) also have version 8 and yes there are dropdowns getiing populated in the form
    When i save the generated form and try to open in in my machine it just open in no time
    Please help me out i am struck up with this issue.
    Regards,
    Bhupinder

  • 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

  • Adobe Forms third party problem at submit

    I start using the new adobe muse cc forms for third party hosting servers and i have this website for one of my customers i create a CONTACT FORM on the website and when try to submit it says "server encontered an error" i chat with adobe support they send me a URL with the options to fix my problem and then when i run this URL " http://mistercoffeediaz.com/scripts/form_check.php" everything is working fine. Please any somebody help me how to work this issue around. THKS..

    Thanks for sending out your file. I'm unable to reproduce the problem at my end. Here's a test URL I published the site to - http://vinayaks.com/muse/#contacto
    No changes have been made to the file other than the Email To address. You would notice that you are able to submit the form just fine.
    You may try re-publishing the site (All Files), however, if the issue persists, then I suspect it is happening due to an incompatible configuration of PHP mail service that must be properly configured for the Muse form widget to successfully submit and send out an email. You might want to contact your web host in order to investigate this further.
    I would also suggest you refer to the following posts/threads that might help.
    http://forums.adobe.com/message/5526074#5526074
    http://forums.adobe.com/message/5437140#5437140
    Thanks,
    Vinayak

  • Adobe form:Data view problem

    Hi,
          My problem is i am not able to see data in my dataview on layout.
    I have everything in my interface, context, but i'm not able to see anything in dataview.
    i tried reinstalling adobe designer but it didnt worked.
    Regards,
    Karthick.

    Hi Karthik
    Make sure in Context part the data you need is in active mode . ( SET TO ACTIVE)
    because in data view you can only see active fields.
    and then activate your interface and form again.
    Hope this will solve your problem.
    Rewards Points if useful.
    Thanks & Regards
    Nikunj Shah

  • Adobe Forms --Amount field Problem

    Hello All,
    I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is suitable for print form. In case of interactive form how can this be done to achieve the functionality.If the value is given from the other side to the amount value its not taking since in display pattern it has been set as *.Can anybody help me out in this issue.
    This is very urgent.I will reward you with points.
    Thanks,

    Indrakaran,
    Well you can try this one in initialize event in LiveCycle Designer. Change the language to javascript.:-
    xfa.host.messageBox("Raw Value is : " + DMBTR.rawValue); // This will just give a alert box.
    if(DMBTR.rawValue == "0.00")
       xfa.host.messageBox("Value is 0.00");
       DMBTR.rawValue = "";
    Chintan

  • Adobe Form Line chart problem(unable to remove dots on background)

    Hi Experts,
    I am unable to remove dots present on background(Red dots). I want clear background without any dots. Please assist me how to achieve.
    Regards
    Ashish

    Hi,
    Can anybody tell me how can i solve the above problem.
    Thanks,
    Sridhar

  • Adobe form print preview problem.

    Hi Experts,
    when I am trying to print preview to one of the billing document form VF03, i am facing an error message
    ADS: SOAP Runtime Exception:
    CSoapExceptionDocumentForm(100103)
    This error message is specfic to only one billing document only in production system.
    Please advice me on this.
    Regards,
    Jayant.

    Hi Otto,
    Thank you for the update. i have the point you have menitoned it is all fine.
    But another strange point is for the same billing document i have another output type assigned, if i use other output type i am able to see the print.
    Please guide.
    Regards,
    Jayant
    Edited by: shetty jayant kumar on Dec 22, 2010 4:02 PM

  • Adobe form in webdynpro ABAP

    Hi,
    We have developed a webdynpro application which opens up a Adobe form . The problem is for a user who is uisng IE 7 and adobe version 8 or higher, when he runs the application the adobe form does not open up he has a small 'X' sign coming up instead.
    Please let me know which version of adobe and IE are compatible for adobe forms embedded in webdynpro ABAP
    Thanks.

    Hi,
    Refer this :
    Prerequisites for Form Integration
    http://help.sap.com/saphelp_nw04s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm

  • Adobe form not saving data.

    hi Experts,
    I am facing strange problems with Adobe forms.
    I am working on both Offline and online adobe forms.
    adobe form which i make does not allow to save data.
    I am using the Adobe liveCycle designer 7.1.
    The Adobe reader version is 7.08
    and service pack is SPS 11.
    I have used both the tutorials for offline and online adobe forms.
    Online Problem :-
    The project for online works fine and it also allows to save data(when i save the form on my PC).
    But when i create a new form on my machine it does not allow to save data.
    Really confuse what the problem is.
    I have also tried this.
    Copeid the XDP file from the Online tutorial project into my project
    if i use this work around the the problem is resolved. But i am no able to understand why the XDP CREATED on my machine does not work.
    Offline problem:-
    In this case i am not able to save data in the form at all.
    As the PDF created itself not allow to save data.
    Please help.
    Points would be awarded to helpful answers.
    Regards,
    Sanjyoti.

    Hi Satya & sanjyoti,
    I am facing a pecular problem in using Adobe forms.
    I am able to pass data from webdynpo application, to the Interactive form(using mappings, as mentioned by satya).
    But for the same form & WD application, i am not able to pass data from the Interactive Form, back to the WD application.
    My scenario is like this:
    I need to show a form, with some prefilled data, such as date, userID, etc. I populate the node in my WD application, & then call the form.
    The form displays the above prefilled data. Now the user has to fill the remaining fields & click on submit(Submit-to-sap button). The onsubmit property of the Interactive form is mapped to a onaction event, where WD tries to read the data entered by the user.
    The problem is that on clicking of the submit button in the form, the event is not getting called.
    If i use a button in the WD view itself, then the action gets called, but there is no data. In short, the data is NOT getting passed from Interactive form to WD application.
    Can you please help me out with this?
    Thanks,
    Hanoz

Maybe you are looking for

  • Automatic mapping of fields in transformation between DSO and Infosource.

    Hello BI Experts, When i migrate the update rule between DSO and infosource in to transformation, the log of successful copy of routines and hence the creation of transformation appears. But when i open the transformation for activating it, there is

  • How do I force the print dialog to default to Print All?

    Hi all, I've searched the forums for this and found several similar requests but no answers so I am posting this as a fresh post. I have a requirement to have the print dialog appear when printing from javascript and have it always default to Print A

  • Adding an assignment block

    hi I have to add a new assignment block on the UI. I  have done it by creating a view in a new component and then getting the fields displayed on the UI by including that component in the Component Usage for the required component. The problem i am f

  • URGENT DOUBT IN BADI

    Hi Experts, My requrement is on BADI's but i have not much idea on this requrement,requirement is as follows: · A user exit is needed on the delivery that rebrands sub items into the header item and the header item will then be Post Goods Issued. · T

  • My TypeKit kits have disappeared

    Having linked my Adobe Creative Cloud ID with TypeKit - as Adobe suggested - now when I log in to TypeKit I am missing all my previously set up Kits. They still work - visiting any website using these kits shows the fonts perfectly - but I cannot vie