Upload documents from ESS Web Dynpro through Archivelink

Hi Guys
I am aware that ESS Whos Who has a functionality where the user can upload his own Photo and this makes use of the SAP Archivelink Architecture.
We wish to make an iView that enables users to upload documents (other than photos) using Archivelink. This should be possible since it can be done for photos anyway.
Does anyone know how to go about it? What are the configuration steps / coding required. Any help will be appreciated.
Thanks and Regards
Joy Kaushish

Hi Joy!
I haven't implemented from java, but from ABAP.
You have to call the FM "ARCHIV_CREATE_TABLE".
e.g.
  constants: c_sap_object like toaom-sap_object value 'PREL'.
  data: l_ar_object like toaom-ar_object.
  data: object_id like toa_dara-object_id.
  data: flength like sapb-length.
call function 'ARCHIV_CREATE_TABLE'
      exporting
        ar_object                = l_ar_object
        object_id                = object_id
        sap_object               = c_sap_object
        flength                  = flength
      tables
        binarchivobject          = curr_dat
      exceptions
        error_archiv             = 1
        error_communicationtable = 2
        error_connectiontable    = 3
        error_kernel             = 4
        error_parameter          = 5
        others                   = 6.
I hope, this hint helps!
Thanks in advance for rewarding points!
Peter

Similar Messages

  • How to execute a BI query/view from a web dynpro application?

    Hi all,
    I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
    I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
    Please guide me and help me achieve this.
    Thanks & Regards,
    Kishan

    Hi Kishan,
    Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
    Create the Technical System and connect with JCO Destinations
    or
    Connecting through the BI Connecters (ex: XMLA Connecter)
    Refer below link:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    In this document you will get details related to connector and other admin activity.
    Hope this may help you.
    Deepak!!!

  • Error while calling a web service in web dynpro through XI

    Hello,
    I was following a blog for Invoking Webservices using SAP XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    I have done all the steps specified but when I import the wsdl file in web dynpro application and deploy the project I get the following error:
    <b>"Exception on execution of web service with WSDL URL 'bankws_OUT_MI.wsdl' with operation 'bankws_OUT_MI' in interface 'bankws_OUT_MI'"</b>
    where:
    bankws_OUT_MI -
    is the message interface name.
    I have defined a web service in the integration reopsitory as follows:
    <b>http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:bankws:s_comm</b>
    where 
    bankws --- service name
    s_comm -
    sender communication channel
    selected 'bankws_OUT_MI' message interface from the given choices
    'bankws_IN_MI'  or 'bankws_OUT_MI'.
    interface name: bankws_OUT_MI -
    mesage interface name
    Can anyone guide me how to proceed further. Also if possible can anyone send me some helpful documentation regarding how to call a web service in web dynpro through XI.
    Thanks in advance.
    Regards,
    Imtool

    hello everyone,
    I made the whole scenario again and it is running succusfully in Xml spy. Now when i call the webservice in web dynpro...  I get the following error:
    <b>com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 200 while accessing URL: http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:OOMS_WS_OUT:CC_OOMS_WS_OUT. Response Message: OK. Content Type: text/html; charset=utf8. Body Content: <html> <head><title>MessageServlet</title></head> <body> <h3>Message Servlet is in Status OK</h3> <h3>Status information:</h3> Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet <br/>Classname ModuleProcessor: null <br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean <br/>Lookupname for remoteModuleProcessorLookupName: null <br/>ModuleProcessorClass not instantiated <br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0 <br/>ModuleProcessorRemote not instantiated </body></html></b>
    I have also made the entry in the visual administrator for metadata_dest and execution_dest.
    Does anybody have an idea what mistake i am doing.
    Thanks,
    Imtool

  • How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA

    Hi All,
    Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
    Regards,
    Ganga.

    Hi ,
    pl go through this note "Integrating a virus scan into SAP applications 817623 "
    SAP Virus Scan Interface
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
    Sample Application
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
    Regards
    Ayyappparaj

  • Navigating from one Web Dynpro app to another not belonging to same project

    Hi All,
    I wanted to know is it possible to navigate from one Web Dynpro app to another which does not belong to the same project. if yes how.
    Regards
    Sid

    Hi Siddarth,
    If you want provide the interaction between two Web Dynpro applications then you must develop those projects as Development Components as DCs provides the reusability of the components created.
    You can  through these link to find out more information:
    Where to start DC creation  ?
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383</a>
    Server Side Eventing:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3</a>
    Regards,
    Jhansi

  • IWDEventHandlerId cannot be resolved - ESS Web Dynpro

    Hi There,
    We are trying to modify the SAP's ESS Web Dynpro code. I stored the DC (ess/us/addr) locally from DTR. When I try to build this DC, I am getting the following error messages. We have restarted the CBS server and also there is no dirty DC's in CBS. Can someone pls help me out to solve this problem? Should I import any packages?
    Thanks,
    Senith
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateCcPerAddressInterfaceView.WD_EVENTHANDLER_HANDLE_DEFAULT     IPrivateCcPerAddressInterfaceView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc/wdp     line 21
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateCcPerAddressInterfaceView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc/wdp     line 21
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateDetailView.WD_EVENTHANDLER_ON_ACTION_DUMMY     IPrivateDetailView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/detail/wdp     line 26
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateDetailView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/detail/wdp     line 26
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateBizCardsView.WD_EVENTHANDLER_ON_ACTION_DELETE     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 21
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 21
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateBizCardsView.WD_EVENTHANDLER_ON_ACTION_EDIT     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 24
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 24
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateBizCardsView.WD_EVENTHANDLER_ON_ACTION_CANCEL     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 27
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 27
    Error               IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateBizCardsView.WD_EVENTHANDLER_ON_ACTION_NEW     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 30
    Error               com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateBizCardsView.java     CMB_ESSTrack_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/overview/wdp     line 30
    Warning               [Warning]: Version for file SapDictionaryTypeServices.jar not found.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Version for file SapDictionaryTypesRuntime.jar not found.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_admin.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_clientserver.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_model_dynamicrfc.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_modelimpl.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_progmodel.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_runtime_designtime_coupling_api.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_runtime_designtime_coupling.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_runtime_repository_pmr.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_runtime_repository.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               [Warning]: Versions of '_webdynpro_services.jar' are different.     CMB_ESSTrack_Dessusaddrsap.com          
    Warning               InputField AreaCode: UIElement does not have a label     DetailView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/detail     
    Warning               InputField Begda: UIElement does not have a label     DetailView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/detail     
    Info               TextView TextView: UIElement does not have a label     DetailView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/detail     
    Info               TransparentContainer rootContainer [Children]: Container does not contain children     BizCardsView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/overview     
    Info               TextView AreaCode: UIElement does not have a label     ReviewView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/review     
    Info               TextView Title: UIElement does not have a label     ReviewView.wdview     CMB_ESSTrack_Dessusaddrsap.com/src/packages/com/sap/xss/hr/per/us/address/review

    Thanks Shubham,
    That's useful. Let me update the support package and see if it works. If you find any other solutions please let me know. Do you think, I should import any packages locally to resolve this problem?
    IWDEventHandlerId cannot be resolved (or is not a valid type) for the field IPrivateConfirmationNaviView.WD_EVENTHANDLER_ON_ACTION_GO_TO_HOMEPAGE     IPrivateConfirmationNaviView.java     CMB_ESSTrack_Dessper~sap.com/gen_wdp/packages/com/sap/xss/per/vc/confirmationnavi/wdp     line 21
    Error          
    com.sap.tc.webdynpro.progmodel.gci.impl cannot be resolved or is not a type     IPrivateConfirmationNaviView.java     CMB_ESSTrack_Dessper~sap.com/gen_wdp/packages/com/sap/xss/per/vc/confirmationnavi/wdp     line 21
    Thanks,
    Senith

  • Send upload document from BSP to EP6-KM

    Hi everybody,
    i upload document from a BSP and i want send this document to KM-CM. I don't want use Web folder to do this, i can't create a java code with Javadocs, I want (i must) use WebDAV protocol.
    I find documents for Content Server (transaction, customizing ... ContentServer.dll and it's works) but nothing about KM Content Manager and i must use KM not CS.
    Can somebody help me ?
    Best regards.
    Daniel

    I found a solution using Webdav in ABAP code.

  • How can I download a .pdf document from a web link without Adobe Reader starting automatically and i

         How can I download a .pdf document from a web link without Adobe Reader starting automatically and preempting the download?                         

    That depends on your operating system and browser.  On Windows, e.g. using Firefox, you right-click on the link, then select 'Save link as...'.

  • Upload documents from transactional screen - Sale & Purchase Order

    hi All,
    I am trying to have DMS attachment from trx - VA02 directly. I have come across few links which say - this is possible.
    upload documents from user transactional screen to content storage area | LinkedIn
    I am able to get the functionality for CJ20N - 'WBS Element' Object (Screenshot attached). Can someone pl suggest if I am missing something to get the same functionality for Sale Order / PR & PO.
    For Sale Order - I believe the 'Create' icon shall be 'Enabled' once I navigate - Extras -> Documents.
    -thanks

    Hi
    This button is only displayed if you use the new screen logic (see note 1066915) and when you have maintained the necessary customizing for the required document types and objects in transaction DC10.
    So I would kindly ask you to go to transaction DC10 and mark a document type where the necessary object is linked under 'Define object links'. Choose the right object and display its details by double-click. Then you will see the field 'Create document' where you have to enter a value '1' (using transaction) or '2' (simple creation). Please enter a value and flag the 'Additional function' checkbox too.
    /Tilak

  • I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?

    I want to upload documents from my pc (windows vista) to the cloud so I can see and edit them on my iPad 3. How do I do this?
    I have the cloud on my pc and I've moved documents to it, but they don't update when I update the one on my pc.
    And I don't know how to get them on my iPad. I have the new ios7, btw. Just got it but couldn't find my documents with ios6
    Thanks

    You can upload files to Dropbox and edit them with Quickoffice Pro HD.
    http://i1224.photobucket.com/albums/ee374/Diavonex/aed9d078ffa732f02b48eebd3b723 95d_zpsa0036f7b.jpg

  • Disabling buttons in std ESS Web-Dynpros

    Any inputs team ...
    Thanks.
    Dear Portal experts,
    How can we find if we can add new columns or buttons in the std ESS web-dynpros.Also if we need to disable existing buttons or hide existing columns.
    We are using NW04S SPS10 (EP7) & ECC 6.0 SPS10.
    Thanks.
    Ashish

    Hi Ashish,
    If you do the personalization as an administrator, you can make it available for a all the users.
    1) Login as content admin
    2) Go to the iview in the PCD.
    3) Right click the iview and preview it. personalize as usual when you preview it.
    This is global.
    Also refer the 'Administrator' section in this link.
    http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm
    Award points if useful.
    sathya.

  • Parameter transfer from one Web Dynpro Application to another

    hi,
    Is it true that  only parameters with string type can be transfered from one Web dynpro application to another ?

    hi, Justin ,
    You are right , I can use inplug for the dest component , and can transfer referenced type , but now I met a problem , how I can transfer the parameter to the dest comp ? 
    I can use the following code to transfer a value from origin to dest , but how to transfer an object , can you give me some sample code ?
    CONCATENATE l_url '?'
                   '&guid=' lv_guid
                   into l_url.
    CALL METHOD window_manager->create_external_window
          EXPORTING
            url    = l_url
          RECEIVING
            window = lo_window.

  • Parameters from abap web dynpro to visual composer

    Hello ,
    Can we pass output parameters from abap web dynpro to visual composer?
    <i><u>For Example:</u></i>
    ID NUMBER that we got in the application (Abap web...)
    and we want to pass it to import parameter of visual composer (start-point)
    I know about the mapping(in GP) but how we can see the output parameter of the abap web dynpro in GP-callable object(output parameters).
    When we use GP (callable object), we have input/output parameters.
    I need to map from abap web dynpro <b>(output)</b> to visual composer <b>(input)</b>
    Thank You,
    Boaz.

    Hi Boaz,
    Unfortunately it's one of the GP restrictions that it's not possible to transport parameter values from an ABAP web dynpro UI into the GP context. Vice versa is feasible, i.e. you can use an ABAP web dynpro UI and fill it with parameter values from GP context.
    Regards,
       Jan

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

  • How to send Variable from a web dynpro abap application to anthor

    HI all:
        I have two web dynpro abap applications .
        I want to send a Variable from a web dynpro abap application to another  web dynpro abap application  using post method.
        Because, now I have used append_field_url  to send Variable,but this method will display the Variable in the URL.
        I do not need this result.
        I need the Variable from a web dynpro abap application to another  web dynpro abap application  and the Variable will not display in the URL.
        Can you give me an example?
        Thanks.

    HI Nawal Kishor Mittal :
    I have tried your method,but I can not get the value of variable.
    My code is as follows:
    The first web dynpro abap application:
    DATA:BEGIN OF l_send,
         l_value TYPE string,
         END OF l_send.
    l_send-l_value = '400001'.
    EXPORT l_send-l_value FROM l_send TO SHARED MEMORY indx(aa) ID 'YTEST_MATNR'.
    The second web dynpro abap application:
    DATA:BEGIN OF m_send,
         s_value TYPE string,
         END OF m_send.
    IMPORT m_send-s_value TO m_send FROM SHARED BUFFER indx(aa) ID 'YTEST_MATNR'.
    DELETE FROM MEMORY  ID 'YTEST_MATNR'.
    Thanks.

Maybe you are looking for