Formating field on the Adobe form

Hi All,
I have a field matnr which is displayed on the adobe form with the leading zeros. Eg 000000000001003800, However I want this field to get displayed in the internal format such as 100-3800. How to get this resolved. Has anybody worked on the same before.
Regards,
Sanjay.

Hi All,
     I wrote the code in the initialization and used the conversion FM  CONVERSION_EXIT_MATN1_OUTPUT, However the output is not coming as desired. It is printing the same as discussed above.
Item table is defined in the global parameter
thus the code looks like below:
loop at item into w_item
  call function CONVERSION_EXIT_MATN1_OUTPUT
              importing  =  w_item-matnr
              exporting  =  w_item-matnr.
then I am modifying the internal table with the exporting parameter as matnr.
endloop.
I tried to put a break-point, however it does not stop there.
Is there anyother look out for this.
Regards,
Sanjay.

Similar Messages

  • 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、aaaaaaaaaaa;'
    '2、bbbbbbbbb '
    '3、ccccccccccc'
    '4、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

  • Status inside the adobe form in HCM Forms and Process

    Hi,
    We have developed a custom HCM Process with 2 level approval. Is there a way to get the status of the previous step onto the form. I mean the 2nd approver should be able to see whether the form is approved or rejected by 1st approver.
    We are trying to add this in new comments so that it will reflect in previous comments when the form is sent to 2nd approver. But unable to find the correct place to add the logic.
    If anyone worked on this solution, please suggest.
    Thanks,
    Swamy

    Hi Swamy,
    You can get this from the table T5ASRSTEPS and field is PROC_STATUS.  This table T5ASRSTEPS is linked to T5ASRPROCESSES and you need to use the PROCESS REFERENCE NUMBER for this.
    You can bind this information to a FIELD in the ADOBE FORM and based on the FORM SCENARIO STAGE you can make this field visible / hidden.
    Hope this helps.
    Thanks,
    Vijay

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • The Adobe Forms was created with Disable Fields!

    Hi All,
    I am new in Adode Interactive Forms ABAP.  I am trying to implement a simple scenario using Web Services published by RFC on ABAP side and simple form with one field  MATNR to bring a Description MARKT, and button to call the Web Services.  I configured ADS on Server, installed  Adobe LifeCycle 8 and SAP GUI 7.1.  I created the  Adobe Form and it was actived.
    My issue is,  when a run the program  to generate a PDF, using the FMu2019s 'FP_JOB_OPEN'
    , 'FP_FUNCTION_MODULE_NAME', CALL FUNCTION i_funcname, the Adobe Forms was created with disables fields. I canu2019t fill it and canu2019t press the button to call WS on ECC.
    Could you help me?
    Thank you!
    Fábio Ferri
    SAP Consultant Netweaver

    Hi fabio,
    When you say the example ran successfully is it without any error messages..?
    Did you check in spool "SP01" if there something sitting out there.
    To my understanding PDF rendring is dependent in 2 aspects.
    1) the output device type you select (this should be a PDF enabled printer)
    2) Programatically if you say it should go to a printer or spool.
    Just try with FP_TEST_00 either in sfp or SE38 and try both print preview and print.
    in print priview it should display the PDF on the screen.
    In print it should display as success message and in spool it should have the corresponding PDF. if both are working fine then the ADS and output device config are correct and it all depends on how do you handle the PDF output.
    Just try the above approach and post the results,
    Cheers,

  • To the Adobe MUSE team....Have you considered adding an "Upload File" field for the contact forms?

    To the Adobe MUSE team....Have you considered adding an "Upload File" field for the contact forms?

    But seriously...
    Is there any development being done for this?  I have a careers section on our website that I have been asked to "make easier for applicants" (right now, there is a link that just opens an email).  I'm going to make a full version of an application, but I would really like a way to upload resumes and CV's. 
    I'm going to have to look into some kind of service if this isnt something on the Muse radar.  A reply of some kind would be fantastic! 

  • Displaying the roles in the adobe form for the corresponding system

    Hi Gurus,
    I have two fields in my WDP Abap interactive form. In first filed, 2 radio buttons are there (1. SAP R/3 system, 2. BW System) As per this selection, I need to bring the existing roles and display them in the Adobe form. I know the  technical system names for R/3 and BW as well. Please suggest me how can I achieve this. I know there should be a RFC call ... Please give me the detailed explaination.

    Hi
    Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
    Hope this helps
    Regards
    Amita

  • Error in opening the adobe form to create a PCR

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

  • How to Fill value in Input fields before displaying ADOBE FORM

    Hi to all,
    Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
    I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
    Please can anyone tell me how to do that in program?
    Below is the program.
    DATA: fm_name           TYPE rs38l_fnam,
            fp_docparams      TYPE sfpdocparams,
            fp_outputparams   TYPE sfpoutputparams.
    Parameters: p_pdf_form_name type fname.
      fp_docparams-langu   = 'E'.
      fp_docparams-country = 'IN'.
      fp_outputparams-preview = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4.
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = p_pdf_form_name
        IMPORTING
          e_funcname = fm_name.
      E_INTERFACE_TYPE           = E_INTERFACE_TYPE
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams        = fp_docparams
      IMPORTING
        /1BCDWB/FORMOUTPUT       = fp_outputparams
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error           = 3.
      CALL FUNCTION 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
        EXCEPTIONS
          usage_error           = 1
          system_error          = 2
          internal_error        = 3
          OTHERS               = 4.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Jul 25, 2011 2:57 PM

    Hello,
    you need to provide the information via the interface, which you create for the Adobe form.
    And then pass this values via the following function module inside your generation report.
    CALL FUNCTION fm_name
    check standard report : FP_EXAMPLE_01 as an example!

  • Access the adobe form data in the workflow container for further processin

    HI,
    I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
    I need to access these data as would need it for further processing in the workflow.
    I know that TS17900110 allows to import form conatiner to
    -> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
    Thanks...

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • Place the Adobe Form as PDF file in a URL

    Hi Experts,
    I have created an Adobe form and got the PDF data in the form of XSTRING now I need to place this as PDF file in the URL which I have generated programmatically. Not sure on how to do it. Any function modules or classes to place this as PDF file at a URL will be really helpful for me.
    Tried with HTTP* function modules and seems they are not working.
    Thanks for you help.
    Regards,
    Srinivas

    Hi Sai,
    Thanks for ur input.
    My requirement is not exactly the string with XML data, but the string with PDF data.
    I will try to explain my requirement here in detail.
    I have the adobe form triggering from the webdynpro. This form has different objects like, text fields, dropdowns, check boxes, radio buttons...etc and one SUBMIT button for which webservice is attached in the properties.
    User will fill all the fields and clicks on SUBMIT. When he clicks on the SUBMIT, the webservice should attach the filled PDF document at partner level.
    For this purpose, i need the string with PDF data and not the XML.
    WIth this PDF string again i should be able to re generate the PDF document which was filled by the user.
    If string with PDF data is not possible, Please suggest me the possible way of achieving this?
    Regards,
    Ram.

  • Eventing on the ADOBE form controls.

    Hello Experts,
    I have a requirement where I need to populate some fields of my ADOBE form based on a value selected from the dropdown in the same form.
    Lets say I have a dropdown DD1 on my form and I have other 3 input fields namely Input1, 2 and 3. Now when I select any value from DD1, I need to call an RFC (or Webservice) and populate return values in input fields.
    1. How is it doable?
    2. Can I implement this for offline forms?
    Do not worry about reward points, you will get it for every valuable input.
    Thank you.
    Ashutosh

    Got it

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Based on DDL value ,How to make few other fields visible in Adobe forms in SAP CRM??

    Hi All,
            I need to make few fields visible in adobe forms, based on the dropdown value which user selects.....

    Hi Vignesh,
         In the "EXIT" or "CLICK"event of the particular Drop down field you can write the below code(in Java script).
    if (this.rawvalue == <value> )
          <field name>.presence = "invisible";
    else
        <field name>.presence = "visible";
    Thanks,
    Ashok N.

  • Access the adobe form pdf data in abap or java programs

    Hi,
    We created an adobe form, with few text boxes, and emailed to user for filing his data into the pdf file.
    He filled the text boxes and saved the pdf, and sent back the pdf file by mail.
    Now our requirement is:
    we need to read the values entered by the user in pdf and update in certain ztables using abap or java.
    case 1: using abap
    How can abap program read the entries/values in pdf.
    is there any doc/blog that shows how to access the adobe form data in abap.
    do we need to use/install any software for this.
    case 2: using java
    Is it possible to read/retrive the adobe form data into java. once the data is into java program, i can utilise the data for several puposes.

    using ABAP:
    check the program: FP_PDF_TEST_03
    This program reads the data from Adobe into XML format.
    After this you have to read the data from XML format into ABAP(hope you know how to convert XML to ABAP or simply google it).
    Thanks,
    Chandra

Maybe you are looking for

  • What to after Creating a Web Dynpro Application

    Hello,          My question might a little stupid so please don't mind. I have created a web dynpro application where the user enters a sales order no and the output of is shown in an ALV format in web dynpro. My question is what next, I mean how do

  • Lightroom 5.4 and 5.5 crash when trying to go to Preferences

    Lightroom 5.4 crashes when attempting to go to the Preferences. Today I updated to 5.5 but have the same problem. As soon as I click on Edit > Preferences the program stops working. Windows 7/ 64; 32GB RAM Any solution? Thanks Ronald

  • Overhead cables

    Firstly - sorry if this message is in the wrong place! For the first time in years, I decided to cancel my window-cleaner and clean my windows myself only to discover that I can't actually open them due to the outside cable (to the pole) running acro

  • How to make a garageband song into my music?

    Hello, I made a song in garageband. I want to put it in my iPad's music (Built in app)     How do I do it?                             And can I do it? Thanks iPad26

  • When I first start my Safari and other browsers won't load

    I recently upgraded to a MacBook Air from my 6 year old MacBook pro.  I moved everything using a TimeMachine backup.  I have been having a problem that when I start the day or return to the computer after having been off it a while, my airport will c