Pre fill Dropdown in adobe form using WD ABAP

Hi Experts,
I am creating an adobe form and I want to prefill the dropdown in the form with data while downloading it from web dynpro abap component. Once the form is downloaded I also want these selected values from dropdown to map in database in offline scenario.
Please suggest.
Warm Regards,
Sushant Singh

Hi Sai,
I have similar kind of issue here for dropdown list . I have tried to populate the values in drop down list by binding the field-text and value properties witht he internal table where the internal table has all the values required for the dd list . I have concatenated the value and the text in one field of the internal table so that both of them would be displayed when the user cliclk the dropdown field on the PDF form . but whent he user selects a value , I need to take only the value but not the text . for ex: drop down list for company code -shows 1000  company 1
            2000 company2 , then if the user selects 2nd vaue , the value in the company code field should display 2000 only similar to the SAP standard F4 help. Please tell me how to achieve this . I have searched for this kind of issue in the forum but couldn't find any. 
Iam using Standrd Drop down list  and I have intergrated the form with Webdynpro ABAP . is there a way for the issue or if there is any possibility at the first instance to populate the drop down with both ID and text ( like EN  English )as per SAP standard for language  so that I could avoid the use of internal table for concatenating both value and text . otherwise it only dislays either value or the text on drop down.
Appreciate your help asap.
Regards,
Soha

Similar Messages

  • Interactive Adobe Forms using WebDynpro ABAP

    Hi,
    I could able to design and execute my interactive adobe form using webdynpro ABAP. Here what i am doing is i am creating context with my structures and table types  and pdfobject of type xstring  and passing the proper inputs in interactive form properties, in template sources i am provinding the interface and form name of my own choice and it is getting created automatically by the system, every thing works fine here and i could able to execute my form from web dynpro application.
    Here my requirement is i have already created structures and table types after that i went to transaction SFP and created an interace and by using that interface i have created form and i have designed the layout. Now what i want to do is i want to integrate this form in my webdynpro appliction and i want to execute it from webdynpro applicaton. When i try to do i am getting short dump, is my approach feasible or not . kindly suggest. If we can achieve this what is the way to achieve.
    Please do send your suggestions.
    Regards,
    Venkat

    Hi
    When u click on button..u will have to get the data from node which is existing on the Intereactive form and pass it to other view via writing logic in button event handler.
    The data can be displayed in other view as result.
    I hope u got it.
    Provide REWARD points..:-)

  • Adobe forms using WB ABAP?

    Hi All,
    need some documents which explains how to code and design adobe forms using WD ABAP?
    Rgds
    Faisal

    hi,
    Check out the following links for different Adobe Forms :
    PDF FORMS:
    /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    Basics of Forms:
    http://help.sap.com/saphelp_nw04s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
    WD Forms:
    http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm
    I hope it helps.
    Thanx.

  • How to integrate adobe forms using webdynpro-abap

    Hi All,
    How to integarte adobe forms with webdynpro -abap(se80).
    Thanks & Regards
    Suman

    Hi suman,
       First you have insert a element interactive form in the view.
    In the properties of the interactive form you have properties called datasource and pdfsource.
    You have to give the data which you want to display in the datasource throught binding.
    These data you have to get it from the context. For pdfsource it should be xstring.
    There is one more property called templatesource, when you give a name and double click. It automatically goes to SFP and you can create the form of your purpose. While creating it will ask for context. That context will be the same which you have declared in the view or component controller.
    Regards,
    Arun.

  • Regarding adobe form using Webdynpro ABAP

    Hi,
    I am new to webdynpro abap.
    Currently I am working on a scenario where..
    I have a function module which generates the pdf for me based on the vbeln i provide in the first view. The only thing I have to do is  to display the generated pdf on explorer.
    As for as the examples i gone through.....I should provide the existing form name or the interface name. I don't have either of them as the function module is generating the pdf for me.
    Could any one help me on this please....
    Thanks,
    Vijaya.

    Hello Vijaya,
    Please check out the following
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
    This is what will work for you with some modifications. Since in your case you are already receiving the PDF from the FM, just set the pdfSource to this value and you should be done.
    Regards,
    Shubham

  • Drop Downs in adobe forms using Web dynpro ABAP

    Hi all,
    Im new to this adobe forms using webdynpro abap.
    In my requirement i have two drop downs on the form.
    by selecting value in one drop down i have to fill corresponding values in the other drop down.
    Using only WDA i know how to do this but with adobe i dnt know how and where i have
    to catch the drop down value and write my code. please let me know how i can achieve this.
    one more thing whatever action or events we are performing on the form where we have to place our code for this?
    Thanks,
    santosh

    hope this helps -
    [Thread: Populating one Drop-Down list from the selection of another Drop-down list |Populating one Drop-Down list from the selection of another Drop-down list;

  • I filled out a pdf form using my ipad adobe reader.  When I email/print it is blank..without answers

    I filled out a pdf form using my ipad adobe reader.  When I email/print it is blank..without answers?  Help!

    I have the same issue now with the newest update...the iOS 7 design update now wont allow edited PDF's inside of this app to print with the forms filled out...so now all the usage i have for this app is GONE...
    I am so angry...you dont have any clue how mad I am...cant email them to me or print to airprint with forms filled
    Someone please tell me there is a fix...PDF's i created with the app before the update are fine...they are all there and can be printed with forms filled but new ones dont...please say there is a fix

  • Only one value shown in dropdown list of ISR form using pure ABAP

    Hi all,
      We are trying to create a Adobe form using ISR library controls. We want to populate a dropdown list with all the values from  the table T001 dynamically. We have implemented the BAdi QISR1 & populated the ADDITIONAL_DATA. The BAdi is executing & populating the value correctly.
      In the we have created a control using the ISR Dropdown & mapped to the Context BUKRS from the interface created. When we execute the form, only the first value is getting filled.
      Can anyone help us in this ??? Its very urgent....
    Thanx,
    Sivagami.R

    Hi,
    I am just giving the solution what I have done in my project. Hope this will help:
         DATA: BEGIN OF it_ccode OCCURS 0,
                   bukrs TYPE t001-bukrs,
                   butxt TYPE t001-butxt,
                     END OF it_ccode.
    DATA: wa_ccode like line of it_ccode.
    Select Company Code (bukrs) and Text (butxt) from table T001.
    SELECT bukrs butxt
    from t001
    into table it_ccode.
    LOOP AT it_t001.
        ADD 1 TO lv_index.
        ls_additional_data-fieldindex = lv_index.
        ls_additional_data-fieldname  = 'FIELDNAME_KEY'.
        ls_additional_data-fieldvalue = it_t001-bukrs.
        APPEND ls_additional_data TO additional_data.
        ls_additional_data-fieldname  = 'FIELDNAME_LABEL'.
        CONCATENATE it_t001-bukrs '-' it_t001-butxt
        INTO ls_additional_data-fieldvalue.
        APPEND ls_additional_data TO additional_data.
      ENDLOOP.
    And the form my fields binding is:
    $record.FIELDNAME.DATA[*].FIELD
    Try this out. Hope this will help.
    Regards,
    Amit

  • Adobe Form used by more than one user simultaneously

    Friends,
    I am working on an online interactive Adobe form using Web Dynpro ABAP.
    once the user enters the data and clicks the submit button, the data is sent to ztables.
    the scenario is that more than one user can possibly use the same form simultaneously. in that case, how can i maintain synchronization ie how to avoid multiple users from using the form at the same time, when the form is already being filled by one user already.
    I am guessing i have to do something with ADS for this.
    Any thoughts or ideas would be greatly appreciated.
    Thanks and Regards.

    Hi Bertrand,
    The purpose of allowing only one user is to ensure data consistency as you have guessed.
    Is there a program name or transaction code where i can look up the lock entries and see if i can apply them to my web dynpro application or the adobe form.
    I would greatly appreciate your help.
    Thanks and Regards.

  • ADOBE Form Using Table with dynamic number of rows

    Hi All
    First some information about our infrastructure:
    - AdobeDesigner 7.1 in the Developerstudio
    - SAP-Portal 7.0 SP15
    I have a View with tabstrips and behind the tabs i have defined an event. On one Tab I included a ADOBE-Form with Table. The Data for the PDF sould only filled in the context for the Form when i jump to this Tab. I created the Form by using this documentation [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669].
    To fill the tablecontext I use the following Code:
    IPrivateAnlegenBANFView.IPositionenElement position = null;
    IPrivateAnlegenBANFView.IPositionenNode posNode = wdContext.nodePositionen();
    int NUM_5_TIMES = 5;
    for (int i = 0; i < NUM_5_TIMES; i) {
    IPrivateAnlegenBANFView.IPositionenElement posElement = wdContext.createPositionenElement();
    +posElement.setMaterial("" + i);+
    +posElement.setKurztext("Test" + i);+
    +posElement.setWarengruppe("Warengr" + i);+
    posNode.addElement(posElement);
    If i put this code in the wdDoInit method it  works fine and shows me 5 Rows. But if I put the code in the Action of the tabstrip it shows me only one row. I checked the entries of the context and there are 5 entries (showed them in a WD-Table).
    Can someone tell me what im doing wrong?
    Thanks for a answer and kind regards
    Pascal

    Hi All
    finally i found the solution for the problem.
    When you define the interactive Form in the view do not define the property "dataSource" of UI-Element Interactive Form it seems, that the binding is static and not dynamic.
    Add the following source to the viewCotroller
    Global Part of the Source:
    private static IWDInteractiveForm form = null;
    Method wdDoModify:
    if (firstTime) {
      form = (IWDInteractiveForm) view.getElement("InteractiveForm");
    When you have an Event where you fill your Contextnode which you want to display in the table of an Adobe Form Use this code:
    Action:
    public void onActionFillTab(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent ){
      //@@begin onActionFillTab(ServerEvent)
         * Code to fill the Node for AdobeForm Table
        form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
      //@@end
    If you want to clear your table and show it directly use in the action the following code:
    wdContext.nodeTabelle().invalidate();
    form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
    Kind regards
    pascal

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • ADOBE FORMS using Webservice

    Hi Experts,
    I have a problem with Adobe Forms Using webservice.  I created  RFC where it saves data from Adobe Forms to a customized table and exposed it as webservice.  From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:
    "http:// erpwrk1.corp.com:8000/sap/bc/srt/wsdl/bndg_DFA46DE60CFOD33F19F21005056C00008/wsdl11/allinone/ws_policy/document?sap-client=001".  Check that the path is correct and that the file is a valid wsdl file.
    I already activated services from SICF in relation SOAP runtime.   What could be the cause of the problem and how to fix the problem?
    Thanks A Lot!
    Mae

    Hi Ma. Angelica A. Estacio,
    From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:  Check that the path is correct and that the file is a valid wsdl file and hence i cannot finish the data connection wizard.
    From the above posts, it looks like you have resolved the issue. But can you please let me know how did you resolve it ?
    Did you check any SAP transaction to find the above mentioned checkbox?
    Please revert as this has become critical now.
    You can mail me your response on [email protected]
    Regards,
    Rohit Gugale

  • 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.

  • Creating adobe form using SFP

    hi experts,
    I am trying to create Adobe form using transaction SFP ,  the form creation goes on smoothly but when I try to save or activate it or press any button it displays Error message  "Error when transforming object data". Please tell me what could be the reason of this error  and how can I rectify it.
    Points will be rewarded.
    Many thanks,
    Sushant

    Hello,
    Check <a href="https://service.sap.com/sap/support/notes/962763">the SAP note 962763</a>.
    Rgds,
    Francois

  • Generating adobe form using WDABAP

    Hi,
    We have a requirement to show employee data in Adobe form for both Managers and Administrators.
    Managers can login to portal and access the Adobe form, and Administrators can see the form only in R/3.
    My query is if I develop a adobe form in WD ABAP, Managers can see it in portal....will I be able to access the same adobe form with in R/3 using a report a progarm?
    or Do i need to create a new Report program for Adobe and populate the data etc...
    I want to minimize the coding effort by developing the form in WDAbap and showing it for both Managers(portal) and Admin(R/3)
    If this is possible let me know how to proceed...
    Regards
    Srikanth KV

    Hi,
    I hope i'm not clear with my question.
    I want to access the same Adobe form using Portal and R/3 report program.
    Is this possible using WDABAP ?
    Regards
    Srikanth KV

Maybe you are looking for