Mass upload & Download of PDFs in Web Dynpro ABAP

Hi All,
Is it possible to download multiple PDF's at one go ? for example if you have a Table UI control where each row has one clickable link that generates a PDF using WebDynpro ABAP Application, we want to enable multiselect property of Table UI and provide Mass Download Button control on click of which all selected rows should generate PDF and then get dowloaded to a specific location on machine (c:/). or if there is any other alternative possible ?similarly for Mass Upload we wish to multi select PDFs and upload them to R/3 at one go ?
please let me know if such thing is possible ? if yes is it a good option to have ? as we have users who have to upload these PDF one by one and they wish if they could simply select all PDFs at one go and click Mass upload..Note that there are some validation that we perform once we upload PDF before posting PDF data to backend.
your help & comments would be Highly Appreciated !!
Thanks
Asif

>
Maged Ishak wrote:
> Hi Thomas,
>
> could you give me an example how can i download multiple objects without multiple prompts with the class CL_ABAP_ZIP. I use a Web Dynpro for ABAP and I have for Example many word file and i want to download all file in one ZIP-File.
> thanks in advance
> mishak
You simply use the CL_ABAP_ZIP class to combine the multiple binary strings of the word files together.
  data izip type ref to cl_abap_zip.
  data zip_xstring type xstring.
  create object izip.
  loop at ifiles assigning <Wa_file>.
  izip->add( name = <wa_file>-filename
              content = <wa_file>-filecontent ).
  endloop.
  zip_xstring = izip->save( ).

Similar Messages

  • Upload a .xls file in web dynpro abap

    Hello,
       I want to upload a .xls file into a internal table in web dynpro abap (Netweaver 7.31).
    The file is not delimited, is not an csv file.
    In my view I have an fileUpload UI Element with the attribute data is un attribute type XSTRING and the following function module are not in my system:
    HR_KR_XSTRING_TO_STRING
    ALSM_EXCEL_TO_INTERNAL_TABLE
    How can I upload the file with this format?.
    Thanks in advance.
    Xavi

    Unless the files are zipped together into one archive file, you have to do them one at a time.  Furthermore with the normal browser based fileUpload UI element, you must do them one at a time and the user must manually select each one (browser security limitation).
    If you are on 7.01 you can use ACFUpDown to perform multiple file uploads, but there is no file dialog or directory scan so file selection is difficult.
    If you are on 7.02 you can use ACFUpdown and it has a multiple file open/save dialog.
    If you are on 7.01 you could use FlashIslands to perform the multiple file upload.  I have a tutorial and source code sample for this on SCN.
    If you are on 7.01 you could also use ACFExecute to run a batch script on the client side that zips all the files and then upload the zip archive.

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

  • Print Version PDF in Web Dynpro ABAP Developements

    Hi!
    But when we push the print button, it works but doesn't generate the pdf document correctly.
    alvexport.pdf   1 bytes_   the size of the document isn't correct because there is not content inside.
    Best Regards.

    >
    Gabriel Rodriguez Jimenez wrote:
    > I put this direction to verify de ADS
    >
    > http://maep7java.miquel.es/AdobeDocumentServices/Config?style=rpc
    >
    > making a rpc test "works"
    >
    >
    > The test conection in sm59 ADS works
    >
    >
    >  Also check to see if any of the sample AdobeForms WDA applications are working. <-- where I can check this?
    >
    >
    > Thanks
    The connection test in SM59 only does a basic PING to the web service endpoint. Often it will show OK, when in fact the ADS is not setup correctly.  That is why there are some test applications that do more. 
    For proper testing of your setup see OSS Note 944221.  But basically run the ABAP programs FP_PDF_TEST_00 and FP_CHECK_DESTINATION_SERVICE.  You can also try running the web dynpro components WDR_TEST_ADOBE and WDR_TEST_ADOBE_PDF_ONLY

  • Excel Upload via Web dynpro ABAP

    Hi All,
    Could any one please explain how to upload MS Excel file in Web Dynpro ABAP?
    Regards,
    Surya

    Hi Surya,
    Ya Excel upload is not supported some times.
    You can save your excel sheet as "Tab Limited" file. Then you can easily upload the file contents to your WebDynpro.
    Thanks.

  • Dynamically generate PDF with web dynpro

    Is it possible to generate a PDF in web dynpro abap without using the interactive form UI element ? In other words just take the data in my context and convert that into a xstring pdf using a predefined template and interface?

    Hi
    Do tell your solution for others to benefit
    Regards
    Yuval

  • 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 display smartform as PDF in web dynpro java

    Hi,
    Where can I find sample program to display smartform as PDF in web dynpro java.
    Thanks.
    Regards,
    Henry

    1. Create a smart form in the R/3 side
    2. Now create a function module with the corresponding export parameter:
    3. Make sure that the function module is marked remote enabled. 
    4. In NWDS  create an Adaptive RFC model which points to the FM created in R/3 under the webdynpro application
    5. Now create an application and view inside it to display the PDF and Insert a frame inside the view
    6. Create a  value node and an attribute say url of type string inside that node and bind it to the source
    7. In the doInit() method place the following code
    >    ZTest_Pdf_1_Input input = new ZTest_Pdf_Input();
    >    wdContext.nodeZTest_Pdf_Input().bind(input);      
    >    try {                       
    >            wdContext.currentZTest_Pdf_InputElement().modelObject().execute();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >  wdContext.currentInternalElement().setUrl(convert(wdContext.currentOutputElement().getBin_File()));       
    Inside that view create a method to convert the string to url so that it can be passed as a string to the setUrl method of the currentContextElement() , say convet(byte[] doc_content) which return a string.
    Inside that methos write the following code,
    >         String url = "";
    >           WDWebResourceType webResType = WDWebResourceType.PDF;
    >            IWDWebResource webResource = WDWebResource.getWebResource(doc_content, webResType);
    >            try {
    >                        url = webResource.getURL();
    >            }
    >  catch (Exception e) {
    >                        e.printStackTrace();
    >            }          
    >            return url;
    Hope It will be helpful
    Regards,
    Sam Charles J.

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Display file content in Web Dynpro ABAP

    Hello,
    we would like to be able to display any file after having uploaded files using FileUpload ui  element in a web dynpro abap application.
    for microsoft word excel files, the OfficeControl ui element can be used and for  pdf documents the InteractiveForm ui element can be used.
    for other formats  such as '.tif', '.jpg', '.txt'..... we did not find out how to be able to display the file contents
    Does anybody know if and how this could be achieved?
    Cheers
    Ana

    Chris,
    You may be right. Also it requires some configuration in SAP KPro ( document class etc).
    Please see SAP [Help |http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCSRVBDS/BDS_STRUCTURE.pdf]on Business Document Services.
    At page 64 of this document under topic 'Display Documents' 'Feature it says. "If it is not possible to display the document in place, an appropriate viewer that is available on the
    PC is started and the document is displayed u201Cout placeu201C

  • How to call custom themes for Web Dynpro ABAP Application?

    Hi,
    I need to change the appearance of Web Dynpro ABAP application. So far I followed below steps,
    1.     Created theme folder u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019 ).
    2.     used program BSP_UPDATE_MIMEREPOS to dowmloaod content of  u2018sap_tradeshowu2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> sap_tradeshowu2019) to desktop.
    3.     Modified the themes using Eclipse Theme Editor.
    4.     used program BSP_UPDATE_MIMEREPOS to upload modified themes to MIME repository u2018testngou2019  (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes ->  u2018testngou2019) .
    My current URL is like http://server.name:XXXX/sap/bc/webdynpro/sap/hrrcf_a_startpage_int_cand?sap-client=XXX.
    Now I want to know how custom themes called for Web Dynpro ABAP Application.
    Is my approach correct?
    ...Naddy

    Hi Naddy,
    What you used is one way and even I failed when tried that method,
    Instead go to SE38 - WD_THEMES - and you need to upload the zip file and you need to follow a folder structure.
    it is case sensitive, atleast the zip file.
    Make a zip file by name "Project.zip" -
    Create a Folder Project and have the below folder structure,
    1  data - all the properties files and also the designinfo file, below is the code
    2  themes - (to get all the files download the theme from portal and you will have all the folders)
       2.1  ur
         2.1.1 name of the theme
           2.1.1.1 common
           2.1.1.2 csf
           2.1.1.3  r
           2.1.1.4  ur - all the css files (would be good if you can get the files from the server.)
           2.1.1.5   WSRP
    3  war - empty folder
    *.designinfo
    isVisible=true
    version=7.0.14.1.0
    isDefault=false
    isSapDesign=false
    designName=**** name of the theme
    Once done create a zip file and click on Start Import and give the path and will ask for transport request, it will take a while to upload once done as mentioned in the use the parameter sap-ep-themeroot="path"
    This will resolve the issue.
    Cheers-
    Pramod
    reward points if helpful

  • Web dynpro ABAP documentation

    Hi Experts,
    Can anybody please provide link to download PDF documentation for dynpro ABAP.
    Thanks in advance
    Anutosh

    Look at this link, it has lots of downloadble PDF.
    Web Dynpro
    Raja T

  • Web Dynpro ABAP Material

    I am new to web Dynpro ABAP.
    Please send the regarding sites to work out this concept.
    Please send me materials or pdfs regatrding this topic
    My Mail ID is <b>[email protected]</b>
    Please help me.
    I am requiring it a lot.
    Please send me .
    With Regards,
    lokesh@EDS

    Web Dynpro for ABAP in SDN
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    Developing ABAP Applications Using Web Dynpro
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
    Web Dynpro ABAP: Development in Detail
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
    WDA Sample programs & tutorials
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Web Dynpro ABAP Demonstration Videos
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Wait not just that SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    The specified item was not found.
    If you need some standard examples then do WDR* and you'll get a big list in se80 transaction. Also SWDP_DEMO is a good package to refer to. Check for WDR_TEST_UI_ELEMENTS and WDR_TEST_EVENTS for UI operations and their various events.
    1) This is basic Info of WD ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    2 ) I can give you links that can help you a lot.
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Wait not just that SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .

  • Integrating Web Dynpro ABAP application in portal

    Dear experts,
    I created a Web Dynpro ABAP application. I need to Integrate it in portal and have to capture portal login id to my application.
    Kindly guide me how to integrate WDA in portal and how to capture Portal Logon id in my application.
    Thanks,
    Kind Regards,
    Ram

    Hello ,
    It is asking for SAP system user id and password becasue there is no SSO established between portal and the web dynpro system.
    Now, either you can establish SSO between portal and the backend system by SAP Logon TIcket or  user mapping.
    SSO stands for single sign on.
    SSO using SAP Logon Tickets :-
    by using this technique you will be able to login into the backend by using SAP logon ticket
    issued by the portal system. For this you need to import the .der certificate form the system administration ->system config -->
    key ticket store. there download verify.der and upload it in the trusted system list in the backend in the trasaction strust_import.
    here is link for this method.
    http://wiki.sdn.sap.com/wiki/display/EP/LogonTickets,CertificatesandBackend+Certificates.
    SSO using user mapping. :-
    For this method you need to map the user in the portal to one user in the backend system.
    You can do so by going to user administration in the portal there find the user id with which the user will login.
    then go to the user mapping for system access tab there select the system from the dropdown and give user id and password
    for the same system save it.
    Now when you will login it wont ask for the user id and password.
    And after this you can get the portal user id also in  your web dynpro application.
    Thanks
    Sarbjeet Singh

  • EREC: theme for Web Dynpro ABAP pages (external candidate)

    Hello,
    I have created a custom theme in the SAP Netweaver Portal for my customer and now I have the requirement to use the same theme for my stand-alone Web Dynpro ABAP applications (pages for the external candidate). Is it possible to use the same stylesheet as in the portal, without having to recreate a theme?
    I tried several options, but none of them did work:
    A. Downloading the portal theme as a ZIP file and then uploading it in ERP using the report BSP_UPDATE_MIMEREPOS (after unzipping) to a location /SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME. After that, I call my application with the additional URL parameter sap-wd-themeroot=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but it does not work (the app is displayed with the default sap_tradeshow stylesheet)
    B. I also tried calling my app using the URL parameter sap-cssurl=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but here again, it does not work (the app is displayed with the default sap_tradeshow stylesheet)
    C. Downloading the portal theme as a ZIP file and then uploading it (zipped) using the report WD_THEMES, but here I receive the error "no themes found in the ZIP file". I have the same error if I upload only the ur.zip I receive from the portal (instead of uploading the whole *.zip file)
    I checked the UR versions both in portal & ERP, and we had a lower version in the portal than in the ERP, so we upgraded the portal version according to SAP note 1446099. Now we have a higher version in the portal than in the ERP. We regenrated the portal theme and downloaded it again, but with the same result.
    Does anyone have an idea what could be the solution to our problem?
    Thanks in advance!

    I would recommend to try another way. If it is possible to access any SAP Portal from outside you can use two URL Parameters to integrate the Portal style sheets in a standalone WDA application. The parameter sap-cssurl contains the absolute URL address to the style sheet and parameter sap-cssversion the current SAP Portal style sheet version. For all external facing scenarios it is important to use the whitelist mechanism to block unknown URLs.
    Example
    ?sap-cssurl=http://myportal.myserver.com:50000/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/mytheme/ur/ur_ie6.css
    &sap-cssversion=7.11.5.20.0
    I canu2019t recommend to raise manually the version number. You will not get an consistent system this way. The meta data (project.zip) are outdated and of course you will get an outdated theme.

Maybe you are looking for

  • Unable to install CSS3 Mobile Pack on Windows 7 computer

    Adobe Extension Manager says: "This extension cannot be installed, it requires Fireworks version in range inclusively between 11.0 and 11.1." Windows 7 Home Premium 64bit Service Pack 1 Intel Core i7 1.60 GHz Installed memory: 6GB Fireworks CS5 - 11.

  • Problem with 694T

    Hi, I have instaled a PIII 1Ghz. in a motherboard 694T, with kingston memory and a trident AGP video card. The problem is that it never boot when pass the info screen. The D-Leds was in RED Green Green Green, so in the manual say this: Boot Attempt -

  • "Sort by site" is not working in the history bar

    The other "sort by" options in the history bar are working fine. Each time I change it, the list of websites gets re-sorted. Except for Sort by site, which isn't doing anything. Is there a fix for this problem?

  • Ipad and Devolo on the same network

    Yes I found the solution. Using the devolo-dLAN Cockpit application (menu WLAN configuration, Acces points), you have to give the same SSID as the main network. The devolo-network is an extension of your firts network. So you only have one network na

  • Regarding BAPI_MATERIAL_BOM_GROUP_CREATE

    Dear All,               Bom is created with given BAPI_MATERIAL_BOM_GROUP_CREATE. But the issue is while creating multiple subitems for each item. it is creating only one subitem for each item. Please let me know regarding this. Regards Anil