Adobe form to save data using Web Dynpro ABAP

Hi. I am pretty new to SAP world and trying to learn and work on a task given to me relate to
creating Adobe offline form using Web Dynpro ABAP same time.
I have several questions and hopefully, many gurus like you will provide answers.
I noticed there are many examples creating and using Adobe interactive forms (though not many newer version),
but I didn't see (at least I didn't find any) any detail example on saving data to an internal table (such as fixed assets, vendor master, etc)
using interactive form. Is there any detail explanation/example on this?
I have ask this question in another forum (before I found this forum) but didnu2019t get the answer yet.
2. When I tried to see graphic layout and modify the layout from Web Dynpro, I can't see the graphic layout.
All I see is text list of fields/buttons that I created, but can't see section for graphic layout where I can modify layout.
I am sure I didn't install/configure something correctly.
Anyone has any idea what I didn't do?
I have another question, but I will wait till later after I figure out above ones first.
Thanks for all your help in advance.
John

Hi John,
In the WD4A view, there is a button "Show/Hide Layout Preview".
Click on that button to be able to see the Layout.
Note that this button is next to the Pretty Print button.
regards,
Reema.

Similar Messages

  • How to display the data of CJ2C(T-CODE) using web dynpro abap

    Hi all:
        How to display the data of CJ2C(T-CODE) using web dynpro abap.
        CJ2C used to display a Gantt Chart.
        Thanks.

    Hi,
    Create a Value attribute (resource) of type Resource, bind it with the property of File Upload UI element.
    On action place the code and Deploy the application
    byte[] bytes = new byte[ 1024];
    FileOutputStream out = new FileOutputStream( new File( <path in server>));
    InputStream in = resource.read( true);
    int len;
    while( ( len = in.read( bytes)) > 0)
         out.write( bytes, 0, len);
    in.close();
    out.close();
    Regards
         Vinod V

  • How to save file in km using web dynpro abap

    Hi Experts,
    We have a requirement that file should be saved in a folder in km, the name of the folder should be the employee number.
    Could you please tell me how to create folder with employee number in KM and store file in it using web dynpro abap.
    Thanks and Regards,
    Santhoshi.

    Thanks Naga Raju Meesala.
    How come all these methods are deprecated...getEP5User
    Also, since I am building a weddynpro DC, what is the proper way to include these jar files as Used DCs?
    Now proceed in the same way with the variable PORTAL_HOME and add the following .jar files:
    u2022 \lib\prtapi.jar The portal runtime APIs
    u2022 \portalapps\com.sap.portal.usermanagement\lib\com.sap.security.api.ep5.jar The user management APIs of the Enterprise Portal 5.0 are deprecated, but still in use in SAP NetWeaver 04
    u2022 \portalapps\com.sap.netweaver.bc.rf\lib\bc.rf.framework_api.jar KM Repository Framework APIs
    u2022 \portalapps\com.sap.netweaver.bc.rf.service\lib\bc.rf.global.service.urlgenerator_api.jar Repository Framework Utility: URL Generator
    u2022 \portalapps\com.sap.netweaver.bc.sf\lib\bc.sf.framework_api.jar Repository Framework: Repository Services
    u2022 \portalapps\com.sap.netweaver.bc.util\lib\bc.util.public_api.jar Repository Framework Utilities

  • Reading HTML Content using Web Dynpro ABAP

    Hello,
    I was wondering if it is possible to read the content (HTML) behind a given URL using Web Dynpro ABAP.  If so, are there any functions available to parse the HTML ?   I have been asked to develop an application that requires going to a URL, reading the content, and formatting a table from that content for presentaion within Web Dynpro ABAP.  The HTML of the URL is nothing more than a "Table of Contents" to existing documentation ( Word Documents )
    Thank you for any help / advice you can provide
    Larry

    You can get the HTML returned in a table using fm RSFO_HTML_REQUEST2.
    Once you have that, you can convert it to a string using any number of methods. CL_RSR_WWW_RENDERER=>TABLE_TO_STRING should work fine.
    One option for parsing it would be to get it converted into an iXML object, but you might have to do quite a bit of manipulation first depending on what the html looks like. You can see more info here on iXML classes: [http://help.sap.com/saphelp_nw04/helpdata/de/86/8280ba12d511d5991b00508b6b8b11/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/de/86/8280ba12d511d5991b00508b6b8b11/frameset.htm]
    Otherwise I would just make use of find statements with regex patterns to sort through the html.

  • Create portal user using web dynpro abap application

    Dear All,
    I would like to know is it possible to create portal user-id through web dynpro abap application.
    My requirement is
    > I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
    > I will click on submit, one unique id will get created. This unique id will be the login id for portal.
    I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
    If it is possible to create the portal users using web dynpro abap pls share the code as well.
    Regards,
    Swapnil Indulkar

    Hi swapnil,
    I think by using BAPi.. BAPI_USER_CREATE1 you can create.
    Please check this...
    Create portal user from webdynpro abap
    Creating user and assigning a group through code
    user administration su01
    How can i get the portal user id from logon ticket in the webdyn 4 ABAP
    Cheers,
    Kris.
    Edited by: kissnas on May 21, 2011 8:47 AM

  • Retriving data using web dynpro

    I want to make simple application whic stores data and retrive specified fields using web dynpro. can anyone provide tutorial link to do this

    Hi,
      The solution to this is very similar to the reports that we write.
    1. Create a context node from the dictionary element in the view of the webdynpro component.
    2. Now you may be displaying/editing this data in the form of a table in the view layout. For this create a table in the layout and bind the fields of the context to the node you created from the dictionary table in the context.
    3. In the layout you also want to have a button SAVE. on the event of this button. Write the code from code wizard where in
      a. Read the context of the dictionary table from the context.
      b. call method
    CALL METHOD lo_nd_group->get_elements
        RECEIVING
          set = lt_ddictable.
      c. update the database table using the internal table lt_ddictable.
    Hope you find this helpul.
    Regards,
    Kinshuk

  • Adobe Form not getting interactive in Web Dynpro

    Hello Experts,
    I am facing a strange sort of behaviour, which has drawn my plenty of time, while making use of Interactive Adobe Form in Web Dynpro component.
    In my scenario, I have one existing Adobe Form with interface of type "ABAP Dictionary-based interface". While using this form in Interactive Form element in Web Dynpro and making it enabled, it is not giving me the expected output, that is - Interactive Form in browser window. Instead, it is showing me read only Adobe Form. Has it to do with type of interface?
    Looking forward to active replies.
    Regards,
    Harsh

    Hello Harsh,
    In webdynro adobe integration we use webdynpro native controls and the form must be in the
        ZCI layout. In SFP >layout you have to insert the webdynpro script .After going to the layout
              go to utilites and insert webdynpro script.Then you can find a variable containerfoundation_js.
    If you have changed the layout from standard layout to ZCI layout in form builder (SFP), the update the layout using program FP_ZCI_UPDATE.
    Refer to link below
    Call Adobe Form through ABAP Web Dynpro - Web Dynpro ABAP - SCN Wiki
    Regards
    Sandy

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • File Upload In DMS Using Web Dynpro ABAP

    Hi,
    I have a requirement to upload files in DMS using Web Dynpro. I have written the code by the hint of the following thread:-
    scn.sap.com/thread/1865934 
    My code is uploading all files but when I try to view them from CV03N only txt files are displaying , Images and PDF files are not
    showing there.
    Please help me. It's urgent requuirement.
    Thanks
    Amit

    TYPES : BEGIN OF zst_ts_raw_line,
                 line TYPE orblk,
                END OF zst_ts_raw_line.
      DATA : ls_draw TYPE draw ,
               ls_api_ctrl TYPE cvapi_api_control,
               ls_message TYPE messages,
               lv_documentnumber TYPE draw-doknr,
               it_objectlinks  TYPE STANDARD TABLE OF  dms_db_drad,
               ig_objectlinks TYPE  dms_db_drad ,
               it_documentdescriptions  TYPE STANDARD TABLE OF  bapi_doc_drat,
               ig_documentdescriptions TYPE  bapi_doc_drat ,
               it_originals_of_doc TYPE STANDARD TABLE OF  cvapi_doc_file,
               ig_originals_of_doc TYPE  cvapi_doc_file ,
               lv_storage_cat TYPE cv_storage_cat,
               lv_size TYPE i ,
               lt_bindata TYPE STANDARD TABLE OF zst_ts_raw_line,"  STANDARD TABLE  OF zst_ts_raw_line,
               ls_bindata TYPE  zst_ts_raw_line ,"SOLISTI1,"sdokcntbin ,
               ls_drao TYPE drao,
               lt_drao TYPE TABLE OF drao,
               lt_DRAT TYPE TABLE OF DMS_DB_DRAT,
               ls_DRAT TYPE DMS_DB_DRAT,
               lt_files TYPE cvapi_tbl_doc_files,
               ls_files TYPE cvapi_doc_file,
               l_string TYPE string.
      DATA : ex_pf_ftp_dest           TYPE  rfcdes-rfcdest.
      DATA : ex_pf_http_dest          TYPE  rfcdes-rfcdest.
      DATA lo_nd_upload TYPE REF TO if_wd_context_node.
      DATA lo_el_upload TYPE REF TO if_wd_context_element.
      DATA ls_upload TYPE wd_this->element_upload.
      DATA lo_nd_upload1 TYPE REF TO if_wd_context_node.
      DATA lo_el_upload1 TYPE REF TO if_wd_context_element.
      DATA ls_upload1 TYPE wd_this->element_upload1.
      DATA lo_nd_upload2 TYPE REF TO if_wd_context_node.
      DATA lo_el_upload2 TYPE REF TO if_wd_context_element.
      DATA ls_upload2 TYPE wd_this->element_upload2.
    *   navigate from <CONTEXT> to <UPLOAD> via lead selection
      lo_nd_upload = wd_context->get_child_node( name = wd_this->wdctx_upload ).
      lo_el_upload = lo_nd_upload->get_element( ).
      lo_el_upload->get_static_attributes(  IMPORTING   static_attributes = ls_upload ).
    * navigate from <CONTEXT> to <UPLOAD1> via lead selection
      lo_nd_upload1 = wd_context->get_child_node( name = wd_this->wdctx_upload1 ).
      lo_el_upload1 = lo_nd_upload1->get_element( ).
      lo_el_upload1->get_static_attributes( IMPORTING static_attributes = ls_upload1 ).
    * navigate from <CONTEXT> to <UPLOAD2> via lead selection
      lo_nd_upload2 = wd_context->get_child_node( name = wd_this->wdctx_upload2 ).
      lo_el_upload2 = lo_nd_upload2->get_element( ).
      lo_el_upload2->get_static_attributes( IMPORTING  static_attributes = ls_upload2 ).
      DATA : lv_file_name   TYPE filep.
      ls_draw-dokar = 'Document Type'.
      ls_draw-dokvr = '00'.
      ls_draw-doktl = '000'.
      ls_draw-dwnam = sy-uname.
      lv_storage_cat = 'Storage space'.
      ls_DRAT-doknr = 'Document Type'.
      ls_DRAT-dokvr = '00'.
      ls_DRAT-doktl = '000'.
      ls_DRAT-dktxt = 'Test Document'.
      ls_drat-dktxt_uc = 'Test Document'.
      append ls_drat to lt_drat.
      ls_api_ctrl-tcode = 'CV01N'.
      ls_api_ctrl-commit_flag = 'X'.
      ls_api_ctrl-save_flag = 'X'.
      ls_api_ctrl-api_mode = 'X'.
      ls_api_ctrl-no_update_task = 'X'.
      ls_draw-filep = ls_upload-filename. "l_string. *
      ig_objectlinks-dokar = doc type
      ig_objectlinks-dokvr = '00'.
      ig_objectlinks-doktl = '000'.
      ig_objectlinks-dokob = 'LFA1'.
      ig_objectlinks-objky =  lifnr.
      APPEND ig_objectlinks TO it_objectlinks.
      CALL FUNCTION 'CVAPI_DOC_CREATE'
        EXPORTING
          ps_draw        = ls_draw
    *•  PF_STATUSLOG             = ' '
    *•  PF_REVLEVEL              =
          ps_api_control = ls_api_ctrl
    *•  PF_FTP_DEST              = ' '
    *•  PF_HTTP_DEST             = ' '
    *•  PF_HOSTNAME              = ' '
    *•  PF_CONTENT_PROVIDE       = ' '
        IMPORTING
          psx_message    = ls_message
    *•  PFX_DOKAR                =
          pfx_doknr      = lv_documentnumber
        TABLES
          pt_drad_x      = it_objectlinks
          pt_drat_x      = lt_drat
    *      pt_files_x     = lt_files.
    *      documentdescriptions = it_documentdescriptions.
      IF sy-subrc NE 0.
        WRITE: 'no number'.
      ENDIF.
      IF ls_message-msg_type CA 'EA'.
      ELSE.
        ls_draw-doknr = lv_documentnumber.
        COMMIT WORK.
      ENDIF.
      DATA lv_count TYPE i.
      DO 3 TIMES.
        REFRESH : lt_files,lt_bindata,lt_drao.
        lv_count = lv_count + 1.
        ls_files-appnr = lv_count."'1'.
        CASE lv_count.
          WHEN '1'.
            ls_files-filename = ls_upload-filename. "wa_general-REF_FILE_NAME1.  "
            ls_upload-filecontent = ls_upload-filecontent.
          WHEN '2'.
            ls_files-filename = ls_upload1-filename. "wa_general-REF_FILE_NAME1.  "
            ls_upload-filecontent = ls_upload1-filecontent.
          WHEN '3'.
            ls_files-filename = ls_upload2-filename. "wa_general-REF_FILE_NAME1.  "
            ls_upload-filecontent = ls_upload2-filecontent.
        ENDCASE.
        MOVE ls_files-filename TO lv_file_name.
        CALL FUNCTION 'CV120_DOC_GET_APPL'
          EXPORTING
    *•PF_DIALOG        =
    *•PF_DISPLAY       =
    *       PF_FILE   = 'DO.TXT'
            pf_file   = lv_file_name "wa_general-REF_FILE_NAME1 "
    *•PF_TYPDT         =
          IMPORTING
            pfx_dappl = ls_files-dappl.
        ls_files-updateflag = 'I'.
        ls_files-langu = sy-langu.
        ls_files-storage_cat = 'Srotage ID'.
        ls_files-description = 'DMS'.
        APPEND ls_files TO lt_files.
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = ls_upload-filecontent "wa_general-ref_doc1   "
    *•  APPEND_TO_TABLE       = ' '
          IMPORTING
            output_length = lv_size
          TABLES
            binary_tab    = lt_bindata.
        DATA : lv_zaehl TYPE obzae.
        CLEAR lv_zaehl.
        LOOP AT lt_bindata INTO ls_bindata.
          CLEAR ls_drao.
          lv_zaehl = lv_zaehl + 1.
          ls_drao-orblk = ls_bindata-line.
          ls_drao-orln = lv_size.
    *      ls_drao-dokar = ls_draw-dokar.
    *      ls_drao-doknr = lv_documentnumber.
    *      ls_drao-dokvr = ls_draw-dokvr.
    *      ls_drao-doktl = ls_draw-doktl.
          ls_drao-zaehl = lv_zaehl.
    *      ls_drao-appnr = lv_count."'1'.
          APPEND ls_drao TO lt_drao.
        ENDLOOP.
        CALL FUNCTION 'CVAPI_DOC_CHECKIN'
          EXPORTING
            pf_dokar           = ls_draw-dokar
            pf_doknr           = lv_documentnumber
            pf_dokvr           = ls_draw-dokvr
            pf_doktl           = ls_draw-doktl
            ps_api_control     = ls_api_ctrl
            pf_content_provide = 'TBL'
          IMPORTING
            psx_message        = ls_message
          TABLES
            pt_files_x         = lt_files
            pt_content         = lt_drao.
        COMMIT WORK.
      ENDDO.

  • How to add button ui element in alv table data in web Dynpro ABAP

    Hi Experts,
    I have one requirement,
    Actually I was devloped normal table in web Dynpro ABAP
    in that i have one column Display as a button .
    when i select that button need to display some data.
    same requirement i need to devlope in alv table.
    i am going to attach file please check.
    Thanks in advance.
    Regards,
    Subba Reddy.

    Hi,
    You can create Button in your ALV table column with below code
    DATA lo_button              TYPE REF TO cl_salv_wd_uie_button.
    CREATE OBJECT lo_button.
        CALL METHOD lv_value->if_salv_wd_column_settings~get_column
          EXPORTING
            id    = <your column name>
          RECEIVING
            value = lo_system_select_hdr.
        lo_button->set_enabled( value = abap_true ).
       lo_button->set_text( value = 'Avaliable List'  ).
        lo_button->set_tooltip( value = 'Avaliable List' ).
        lo_system_select_hdr->set_cell_editor( value = lo_button ).
    And for button click action,
    Create a method (say SHOW_DATA( ) ) with on_click event handler.And when you click button on your ALV table, SHOW_DATA( ) method will trigger.
    Thanks
    KH

  • Rules Engine using Web Dynpro ABAP

    Hi,
    Can we build a Rules Engine which works with Web Dynpro-ABAP?  Something similar to BRM in CE-7.2.
    Thanks,
    Prasanna

    Do you mean BRM or BRF.  BRF is the name of the business rules framework that is integrated in the ABAP engine. BRM is Business Rules Management and a part of NetWeaver CE - running on the Java Stack and a part of SAP NetWeaver BPM (Business Process Management).
    Generally if your work is all ABAP based you would use BRF.  Here is a small eLearning that shows the usage of BRF within Web Dynpro ABAP.
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/c0181bb1-28e7-2c10-538c-a093c616310e

  • Data Maintenance Web Dynpro ABAP versus Classic ABAP

    I am working on a project where I will have to create a couple of custom master data tables. In classic SAP it is very easy to create standard table maintenance screens for master data via transaction SE54 where you can assign an authorization group for security purposes if necessary. Although we very much like Web Dynpro ABAP development, I cannot find an easy way to create the same userfriendly table maintenance screens as we know them in classic SAP.
    That's why I am a bit in doubt: on the one hand we want the web look and feel, but on the other hand creating the maintenance functionality in classic sap is very simple and straight forward. Whatever the solution will be, classic or not, it will become part of a portal someday. I know both solutions can be linked to a portal so that's no decision maker in our case.
    Does somebody have any idea if there is something available for generating standard data maintenance screens in Web Dynpro ABAP without the need for a lot of additional coding? Basically I am looking for a web dynpro replacement for transaction SE54.
    Looking forward to your thoughs!!
    kind regards
    Angelique Heutinck
    IFF

    Hi Angelique Heutinck  ,
                                       Webdynpro abap is a screen design interface, as module pool, in module pool development we can only desigh screens, similarly in wda is also intented to design screen that are web enabled,
    while in classical abap we have the povision to call a transaction from a screen, while in wda, we have the provision to call another screen or view, but not a transaction.
    unfortunately we cant embedd a tranction inside a wda development, so the only provision to simulate SE54 in wda is to create screens manually.
    Regards
    Sarath

  • Upload file into KM using Web Dynpro ABAP

    Hi, I'm looking at converting an existing Web Dynpro Java application to a Web Dynpro ABAP application. However, I cannot find how to upload a file and store it in the Portal KM repository using WDA. I have been able to do it successfully using WDJ. Any help on how to do this would be very much appreciated. Thanks.

    Hi, I'm looking at converting an existing Web Dynpro Java application to a Web Dynpro ABAP application. However, I cannot find how to upload a file and store it in the Portal KM repository using WDA. I have been able to do it successfully using WDJ. Any help on how to do this would be very much appreciated. Thanks.

  • When to use 'Web dynpro ABAP' and when to go for 'Web Dynpro Java'

    Hi,
    I am trying to learn 'Web dynpro ABAP' from tutorials available on SDN as i am presently working in ABAP. I am also Java learned.
    Please tell me the selection criteria for using Web Dynpro component / application using ABAP or JAVA.
    Regards,
    Tanaya

    Hi,
    Go through this
    Web Dynpro: ABAP or Java?
    WebDynpro for ABAP Vs Java
    Re: Javascript future in Webdynpro (JAVA and ABAP)
    Javascript future in Webdynpro (JAVA and ABAP)
    PradeeP

  • Question about meta-data of Web Dynpro ABAP / Web Dynpro Java

    Hello together,
    everywhere I can read, that Web Dynpro meta-data is platform independent.
    I´ve read into a book, that the meta-data of Web Dynpro Java is saved as XML and
    that Web-Dynpro Java Runtime generates runnable classes and sourcecode out of this...
    - What about Web-Dynpro ABAP? Is Meta-code in ABAP is saved in XML too?
    - just for theory: is ist possible to take the meta-data of a Web-Dynpro ABAP component and
      generate a Web-Dynpro Java Component out of this?
    I tried to find it out but i failed... In table WDR_RR_LOAD (is this the right one?) I found only the
    field data. But this is a RAWSTRING and I don´t know how to make I "readable".
    I must know this for my thesis for my studies, not for work.
    Thank you very much !!!!
    Greetings,
    Oliver

    Me again,
    I am not sure if I understood it right...
    The meta-data which describes the visual part of a view is saved as XML and
    would be rendered i.e. in the webbrowser... Right?
    What about the meta-data of the Web Dynpro application?
    Is this meta-code into an other structure or XML too?
    Thank you very much.
    Many Greetings,
    Oliver

Maybe you are looking for

  • Yoga 2 stylus compatible with Yoga 1 ?

    Hello, I hear the just-announced Yoga 2 includes a digital stylus. I wondered whether it will work with my first generation Yoga 13 , and if so whether the stylus will be available to buy as an accessory. Thanks

  • How to translate the context menu of Bex Analyzer?

    Hi.experts: In my BW system,I found that the "drill down in row" and "drill down in column" context menu all wrong description.How can I translate the context menu? Points are waiting for you...thanks in advance. Best regards Martin Xie

  • MSSQLServer driver error (NoClassDefFound)

    I'm getting an error when trying to connect to my database (SQLServer 7.0 on Win2K) using WebGain's persistence builder. The error is: java.lang.NoClassDefFoundError: weblogic/version Is this telling my that something wants a class called version in

  • Adobe CS 5.5 for Mac 10.6.8 still available and supported?

    I have a 2007 white Mac (Macbook 2,1 -- snow leopard) that will support only up to CS5.  I need to learn photoshop, illustrator and indesign, so my options are 1) buy a new Mac or 2) buy CS5.  Any other thoughts as to why I should go one way or the o

  • XSS download for ESS installation?

    Hi, I just installed the NetWeaver Sneak Preview and now I like to add ESS to it. I have access to mySAP ERP 2004 and 2005 backend systems. In the forum I read that I need a XSS (is this cross side scripting?) installation package and the ESS Busines