Attachments given in the portal to be stored in R'3

Hi,
We have a requirement, where the user will be attaching an attachment of  any type ( like JPEG, PDF, DOC, XLS etc) and that needs to be stored / handled in R/3. And it should be shown later.
Is anyone have any idea how to handle this?
I came to know from portal person that they can send the file in binary format and the file type too. After that how can I save it in R/3?
Please note that I'm a ABAP programmer.
Appriciate you help.
Thanks,
Kishore

Hello,
I was facing the same problem on a project. Here is the solution we took :
_ In a SAP BAPI, you add an import type XSTRING. This import will receive the file in binary.
_ From this Import, use 2 fonction modules : SCMS_XSTRING_TO_BINARY and then C13Z_RAWDATA_WRITE.
SCMS_XSTRING_TO_BINARY will rebuild the file from XSTRING to the original BINARY format :
  CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
      buffer          = i_file => Xstring BAPI Import
      append_to_table = 'X'
    IMPORTING
      output_length   = wv_filelength => used in the next call function
    TABLES
      binary_tab      = wt_data_tab => The binary table you'll use in the next CALL FUNCTION
Then, C13Z_RAWDATA_WRITE will write the file in the specific folder in SAP :
  CALL FUNCTION 'C13Z_RAWDATA_WRITE'
    EXPORTING
      i_file           = wv_file_appl => Destination folder (such as /data/win/xxx/yyy.txt )
      i_file_size      = wl_filelength => coming from the previous function
      i_lines          = wv_lines => Number of lines of binary_tab
    TABLES
      i_rcgrepfile_tab = wt_data_tab => coming from the previous function
    EXCEPTIONS
      no_permission    = 1
      open_failed      = 2
      OTHERS           = 3.
Come back to me if you have any questions.
Best regards,
Sebastien

Similar Messages

  • Where does portal details gets stored in the backend

    Hi Gurus,
    Where does portal contents gets stored in the portal related backend ?
    Example:  We have Content Administration under which we create iviews, pages, worksets and roles. Where does this gets stored ? do they get stored in some table as shown below ?
    Table:
    Parameters:
    iview   'Report a Problem' iView Path      Add Padding Inside Tray   Allow Client-Side Caching   Application Name
    Values:
    Test       com.sap.portal.epsolman.EPSolman     Yes                                     Yes                                Testapp
    How can we fetch the details ?
    Regards,
    Rashmi

    Hi Rashmi
    To get the data from the portal database you need to use a datasource lookup.
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/BC_JMS");
    Connection con = ds.getConnection();
    The following datasources are provided by default for reading data from portal database
    SAP/BC_JMS,SAP/BC_UME, SAP/BC_WDRR.
    You can read more about JDBC Connector Service in the link [http://help.sap.com/saphelp_nw04/helpdata/en/31/4cc81b275a419c8c72dca94366318a/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/31/4cc81b275a419c8c72dca94366318a/frameset.htm]
    You can also refer to this wiki for more details
    [http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables|http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables]
    Hope this helps.
    Best Regards,
    Ritesh Chopra
    P.S: Please grant points if the answer was helpful

  • Where is the default group information stored for a portal user?

    Hello -
    There is a field in the WWSEC_PERSON$ table called DEFAULT_GROUP, and it is populated with an ID from the WWSEC_GROUP$ table but it seems like there is more to the overall picture here.
    If I try to manually update a users group via SQL,
    UPDATE WWSEC_PERSON$ SET DEFAULT_GROUP = 318 WHERE USER_NAME = 'XXXXXXX'
    Then check the portal profile for the user 'XXXXXXX' I do not see their 'Default Group' as being updated. (However the default group is in effect because these users are sent to the correct group when they log in.
    What do I need to modify for the group name to show up for the user on their profile page?

    Yannick -
    Thank you for the reply. Do you know which table is used in OID? Basically why I need to do this is we hire many new employees every week and create accounts in AD. We sync AD -> OID but the people who create the new users never inform me that they have been created so they never get a default group assigned. This causes them to go to the 'Portal Builder' page when they login to the portal.
    To fix this issue Im writing a powershell script to automatically update the default group of all employees that do not have a default group assigned. Do you know if a better method I can accomplish this for bulk OID records automatically? I'm very much open new/better ideas this was the best method I could think of currently.
    Thanks again.

  • In MIRO transaction, Where will be the image path get stored?

    Dear Friends,
    In MIRO transaction, Where will be the image path get stored?
    There must be some standard tables/functionality which is maintaining PATH. Please help me to find out the Document Path Details..
    Thanks in Advance.
    Regards,
    Lijo

    Hi,
    this is the content of the oss note (hope it helps):
    Symptom
    Where are the documents that you can create and display using the generic object services (System -> Connections or System -> 'Services for the object') physically stored?
    Solution
    Storing attachments using generic services
    The generic object services offer a separate option via the 'Copy desktop document', 'Connect Internet address (URL)' and 'Create a note' services to add an attachment to a business document.As of Release 4.6C, these services are called 'Create attachment', 'Create an external document (URL)' and 'Create a note'.
    These services should enable the end user to easily enter attachments without document characters (memos).Correspondingly, there is no archiving concept for this type of attachment.
    Technically speaking, notes, PC attachments and URLs are treated as SAPoffice documents and result in corresponding entries in the SOOD and SOFM tables. The contents of the attachments are stored in the SOC3 table.As of Release 4.6B, the contents of PC attachments are stored using the Knowledge Provider (KPro).The KPro allows you to connect an external storage system so that the contents of the PC attachments no longer place a burden on the database. If an external storage system is not connected, the contents of the PC attachments are written to the SOFFCONT1 table as of Release 4.6B.The administrative information necessary to locate the document in the Kpro is in the SOC3 table.
    The content of notes and URLs continues to be stored in the SOC3 table.As these documents are usually small, the additional effort involved in storing them in the KPro is not justified.
    If the PC attachments are not to be stored in the SOFFCONT1 table, you must assign a category to the SOFFPHIO document class using transaction SKPR08. The category is created in transaction OACT and refers to a repository on a HTTP content server. If documents that have already been stored are to be moved to the content server, see note 389366.
    For more information on connecting an external Content Server, see the online documentation for the SAP Knowledge Provider or the information available in the help portal under Basis -> Basis Services -> Business Workplace -> Administration of... -> Information on Documents... -> Configuring an HTTP Content Server for Documents.
    The relationship between the attachments and the business documents is provided via the Object Relationship Service.
    Defining attachments using the archive link
    If an optical archive was connected using the archive link and the corresponding settings for the document type were maintained for the object types of a business document, documents can be stored in the Content Repository, directly from the PC, via the 'Establish relationships for the stored document' or 'Store the business document' service.
    In addition, refer to the online documentation for more information on configuring the archive link.
    Best regards.

  • Unable to log in to the portal - missing Directory Service?

    Hi!
    I'm unable to log in to the Management Portal, getting this error message:
    "We are having trouble logging you into the portal. Your subscription does not have an associated directory and this is preventing us from logging you in. Please contact support."
    I've tried to call Microsoft regarding this issue, each of the four times I was routed forward, given phone-numbers for Azure support and redirected, each call ended with basically the same reply "uuhhh... I don't support Azure, sir, and I don't know
    how to help you..." - Microsoft needs to inform their frontline people better!
    Anyways, at some point I was told that I have to "file a ticket" in the Azure support forums, and that a representative will call me up after. So here is the ticket, and I'm anxiously awaiting a reply.
    In case I'm not clear - I have an urgent need to access the portal, as I need to put some more assets in there, aka *you're losing money, Microsoft!* (maybe that'll get your attention.. ;) )
    Thanks in advance,
    Thomas Qvidahl, supporter and fan of Azure, though faith is waning..
    Best regards,
    Thomas Qvidahl
    Senior consultant, MCITP: EA & SP2010, MCT
    EVRY Card Services AS
    Nordland, Norway

    hi Thomas,
    We apologize for the inconvenience that caused by this encountered issue.
    Firstly, I suggest you  could try David Messner's solution from this thread (
    http://social.technet.microsoft.com/Forums/windows/en-US/8713e5ca-965f-4e81-b6ea-8a9e95c58b79/we-were-unable-to-find-any-subscriptions-associated-with-your-account?forum=windowsazuremanagement ).
    If it doesn't work, I would like to suggest you to try the one that mentioned by Tabrez at: 
    http://social.msdn.microsoft.com/Forums/en-US/7a2acffb-6419-4a3d-8fb4-c8258790a2bb/why-cant-i-sign-up-for-the-1month-free-trial
    [quote]
    Contact support here:   https://support.microsoft.com/oas/?prid=14238.
    -tm
    [/quote]
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to log into the portal-After Upgrade from NetWeaver 7.0 to 7.3EHP1

    Dear Experts,
    We have poltal landscape(NW 7.0 Dualstack SPS27) with our customozed themes and par files(Company name,logos and colours)
    Recently we upgraded the one of portal from NW 7.0 to NW 7.3EHP1 . Upgrade has been successfilly completed with small issue.
    After upgrade all urls are working(/nwa, /sld) except /irj/portal.We know that NW 7.3 EHp1 accepts only ear file i.e we converted the our customized log on par file to ear file through par migration tool and the same was deployed successfully through NWDS 7.3 version.After deploying we are able to access the
    /irj/portal url with our customized par(means ear file) without issues,
    We are unable to log into the portal after giving the correct user id and password,getting the portal runtime error as foloows.
    Portal runtime error
    An exception occured while processing your request.Send the exception ID your administrator
    Exception id:
    see log files for details about this exception
    Default.trc log file(/server0/log)
    #EP-PIN-PRT#tc~epbc~prtc~api#C00061FD2733006C00000005000056CB#9034950000000004#sap.com/com.sap.portal.runtime.system.hooks#com.sap.portal.prt.
    runtime#J2EE_ADMIN#4##43E00B85A79911E380F800000089DCC6#3a483a0fa79911e3903000000089dcc6#3a483a0fa79911e3903000000089dcc6#0#Thread[HTTP Worker
    [@900472845],5,Dedicated_Application_Thread]#Plain##
    08:14_09/03/14_0005_9034950
    [EXCEPTION]
    java.lang.RuntimeException: Could not create Resource Repository root folder in PCD
    at com.sap.portal.resource.repository.ResourceRepositorySrv.initRepositoryRootContext(ResourceRepositorySrv.java:140)
    at com.sap.portal.resource.repository.ResourceRepositorySrv.init(ResourceRepositorySrv.java:93)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
    at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
    at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
    at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
    at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
    at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
    at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
    at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
    at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
    at com.sap.portal.resource.repository.WebResourceRepositorySrv.init(WebResourceRepositorySrv.java:71)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
    at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
    at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
            at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
            at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
            at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
            at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
            at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
            at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
            at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
            at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
            at com.sap.portal.resource.repository.WebResourceImportService$ResourceImporter.<init>(WebResourceImportService.java:248)
            at com.sap.portal.resource.repository.WebResourceImportService.importApplicationResources(WebResourceImportService.java:172)
            at com.sapportals.portal.navigation.NavigationMimeRepositoryService.loadAllPicsToWRR(NavigationMimeRepositoryService.java:186)
            at com.sapportals.portal.navigation.NavigationMimeRepositoryService.init(NavigationMimeRepositoryService.java:160)
            at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher$3.service(RequestDispatcherFactory.java:518)
            at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:363)
            at com.sap.portal.prt.core.RequestDispatcherFactory$ServiceRequestDispatcher.init(RequestDispatcherFactory.java:503)
            at com.sap.portal.prt.broker.PortalServiceItem.initServiceInstance(PortalServiceItem.java:347)
            at com.sap.portal.prt.broker.PortalServiceItem.getServiceInstance(PortalServiceItem.java:210)
            at com.sap.portal.prt.broker.PortalServiceItem.load(PortalServiceItem.java:578)
            at com.sap.portal.prt.om.ObjectsManager.createObejctHandle(ObjectsManager.java:234)
            at com.sap.portal.prt.om.ObjectsManager.getObjectHandle(ObjectsManager.java:147)
            at com.sap.portal.prt.broker.PortalAppBroker.getPortalService(PortalAppBroker.java:498)
            at com.sap.portal.prt.service.ServiceManager.getPortalServiceItem(ServiceManager.java:431)
            at com.sap.portal.prt.service.ServiceManager.get(ServiceManager.java:220)
    at com.sap.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:130)
            at com.sap.portal.pcm.iview.admin.PcmIviewCommon.getAdditionalAttributes(PcmIviewCommon.java:358)
            at com.sap.portal.pcm.iview.admin.PcmIviewCommon.initLayers(PcmIviewCommon.java:173)
            at com.sap.portal.pcm.iview.admin.AdminBaseiView.createAttrSetLayersList(AdminBaseiView.java:177)
            at com.sap.portal.pcm.page.admin.AdminBasePage.getCustomImplementation(AdminBasePage.java:76)
            at com.sap.portal.pcm.admin.PcmAdminBase.getImplementation(PcmAdminBase.java:642)
            at com.sapportals.portal.navigation.LightningHelperService.getFrameworkPageAttributesValues(LightningHelperService.java:143)
            at com.sapportals.portal.navigation.LightningHelperService.getFrameworkPageAttributesValues(LightningHelperService.java:171)
            at com.sapportals.portal.navigation.fpm.util.PhaseConfiguration.prepareAttributes(PhaseConfiguration.java:71)
            at com.sapportals.portal.navigation.fpm.util.PhaseConfiguration.storeRelatedAttributesInSharedStorage(PhaseConfiguration.java:35)
            at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doFrameworkPhase(NavigationFpmListener.java:535)
            at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doPhase(NavigationFpmListener.java:122)
            at com.sapportals.portal.pb.fpm.FPMContainer.distributeEvent(FPMContainer.java:63)
            at com.sapportals.portal.pb.fpm.FPM.doDocumentHook(FPM.java:179)
            at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:100)
            at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:119)
            at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:186)
            at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:665)
            at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:183)
            at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)
            at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)
            at com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)
            at com.sapportals.portal.navigation.PortalLauncher.doContent(PortalLauncher.java:116)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: javax.naming.InvalidNameException: Character not allowed: ':' in 'pcd:resource_repository'
    at com.sapportals.portal.pcd.pl.PcdName.checkComponent(PcdName.java:64)
            at com.sapportals.portal.pcd.pl.PcdName.checkNameComponent(PcdName.java:39)
            at com.sapportals.portal.pcd.pl.PcdName.padd(PcdName.java:636)
            at com.sapportals.portal.pcd.pl.PcdName.add(PcdName.java:626)
            at com.sapportals.portal.pcd.gl.util.StringUtils.tokenizeIntoPcdName(StringUtils.java:112)
            at com.sapportals.portal.pcd.pl.PcdName.appendUrlInternal(PcdName.java:408)
            at com.sapportals.portal.pcd.pl.PcdName.<init>(PcdName.java:245)
            at com.sap.portal.resource.repository.ResourceRepositorySrv.initRepositoryRootContext(ResourceRepositorySrv.java:121)
            ... 132 more
    1)We are suspecting this issue is related to the theme issue.How to update the theme in the upgraded portal(have a backup of themes)
    2)Want to know if we update a theme where it stored at the operating system level(in NW 7.3 EHP1 as well as NW 7.0)
    3)Is there any post steps after portal upgrade.
    Request you suggest.
    Regards
    Maruthi

    Hi
    Refer the SAP Notes
    1942399 - Fix usage of unregistered class loader while processing HTTP request in an application being updated or stopped at the same time
    1744820 - Migration 7.3 fails while executing migration of pcd_upgrade
    1703578 - WPC migration stops during connection creation
    1918086 - ERROR: Unable to get iView
    Regards
    Ram

  • Report taking too much time in the portal

    Hi freiends,
    we have developed a report on the ods,and we publish the same on the portal.
    the problem is when the users are executing the report at the same time it is taking too much time.because of this the perfoemance is very poor.
    is there any way to sort out this issue,like can we send the report to the individual user's mail id
    so that they can not log in to the portal
    or can we create the same report on the cube.
    what could be the main difference if the report made on the cube or ods?
    please help me
    thanks in advance
    sridath

    Hi
    Try this to improve performance of query
    Find the query Run-time
    where to find the query Run-time ?
    557870 'FAQ BW Query Performance'
    130696 - Performance trace in BW
    This info may be helpful.
    General tips
    Using aggregates and compression.
    Using less and complex cell definitions if possible.
    1. Avoid using too many nav. attr
    2. Avoid RKF and CKF
    3. Many chars in row.
    By using T-codes ST03 or ST03N
    Go to transaction ST03 > switch to expert mode > from left side menu > and there in system load history and distribution for a particular day > check query execution time.
    /people/andreas.vogel/blog/2007/04/08/statistical-records-part-4-how-to-read-st03n-datasets-from-db-in-nw2004
    /people/andreas.vogel/blog/2007/03/16/how-to-read-st03n-datasets-from-db
    Try table rsddstats to get the statistics
    Using cache memory will decrease the loading time of the report.
    Run reporting agent at night and sending results to email. This will ensure use of OLAP cache. So later report execution will retrieve the result faster from the OLAP cache.
    Also try
    1. Use different parameters in ST03 to see the two important parameters aggregation ratio and records transferred to F/E to DB selected.
    2. Use the program SAP_INFOCUBE_DESIGNS (Performance of BW infocubes) to see the aggregation ratio for the cube. If the cube does not appear in the list of this report, try to run RSRV checks on the cube and aggregates.
    Go to SE38 > Run the program SAP_INFOCUBE_DESIGNS
    It will shown dimension Vs Fact tables Size in percent.If you mean speed of queries on a cube as performance metric of cube,measure query runtime.
    3. To check the performance of the aggregates,see the columns valuation and usage in aggregates.
    Open the Aggregates...and observe VALUATION and USAGE columns.
    "---" sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
    if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
    In valuation column,if there are more positive sign it means that the aggregate performance is good and it is useful to have this aggregate.But if it has more negative sign it means we need not better use that aggregate.
    In usage column,we will come to know how far the aggregate has been used in query.
    Thus we can check the performance of the aggregate.
    Refer.
    http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
    performance ISSUE related to AGGREGATE
    Note 356732 - Performance Tuning for Queries with Aggregates
    Note 166433 - Options for finding aggregates (find optimal aggregates for an InfoCube)
    4. Run your query in RSRT and run the query in the debug mode. Select "Display Aggregates Found" and "Do not use cache" in the debug mode. This will tell you if it hit any aggregates while running. If it does not show any aggregates, you might want to redesign your aggregates for the query.
    Also your query performance can depend upon criteria and since you have given selection only on one infoprovider...just check if you are selecting huge amount of data in the report
    Check for the query read mode in RSRT.(whether its A,X or H)..advisable read mode is X.
    5. In BI 7 statistics need to be activated for ST03 and BI admin cockpit to work.
    By implementing BW Statistics Business Content - you need to install, feed data and through ready made reports which for analysis.
    http://help.sap.com/saphelp_nw70/helpdata/en/26/4bc0417951d117e10000000a155106/frameset.htm
    /people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/0dbf65e04311d286d6006008b32e84/frameset.htm
    You can go to T-Code DB20 which gives you all the performance related information like
    Partitions
    Databases
    Schemas
    Buffer Pools
    Tablespaces etc
    use tool RSDDK_CHECK_AGGREGATE in se38 to check for the corrupt aggregates
    If aggregates contain incorrect data, you must regenerate them.
    202469 - Using aggregate check tool
    Note 646402 - Programs for checking aggregates (as of BW 3.0B SP15)
    You can find out whether an aggregate is usefull or useless you can find out through a proccess of checking the tables RSDDSTATAGGRDEF*
    Run the query in RSRT with statistics execute and come back you will get STATUID... copy this and check in the table...
    This gives you exactly which infoobjects it's hitting, if any one of the object is missing it's useless aggregate.
    6
    Check SE11 > table RSDDAGGRDIR . You can find the last callup in the table.
    Generate Report in RSRT
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    Business Intelligence Journal Improving Query Performance in Data Warehouses
    http://www.tdwi.org/Publications/BIJournal/display.aspx?ID=7891
    Achieving BI Query Performance Building Business Intelligence
    http://www.dmreview.com/issues/20051001/1038109-1.html
    Assign points if useful
    Cheers
    SM

  • Can the Portal Activity Report show unique users per page?

    Hello all
    I guess this is a rather simple question, but can someone tell me if the portal activity report can show a count of unique users per page per week for instance?
    Or will it just show which users have visited the page in a list without aggregating them to a number? And if the users are aggregated to a number, is it only uniwue users that are counted for the given period?
    Regards,
    Martin

    Hi sogaard,
    It shows the no of unique logons.isnt it.
    Try these blogs
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5497
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5436
    Hope this helps
    Regards
    Vineeth

  • How can we call Tcode from the Portal?

    Senario:
    2 BAPI’s are developed:
    1. The information say... ABC is stored into the table from the portal using the Create BAPI.
    2. The change in this ABC information is done using a particular <b>Tcode</b> …say xyz. This is a report that calls the change BAPI inside.
    The ABC information change will be done either through the Tcode in ECC or through the EP.
    3. The Tcode has been created in ECC.
    Please let me know who will be responsible to call this tcode from the Portal and how?
    I am very very new to EP field so please help...

    Hi Jignesh,
    If you have already performed these steps and are able to see the iview that you have created. Then I think your issue has been sorted out.
    To explain it to you in detail.
    Let us suppose, you have created a SAP Transactional iview to access the TCODE-SE38.
    Now, as soon as the user clicks on the iview, it will authenticate by asking for the username and password for the backend system...if your SSO is not in place.
    Now, if your asking me how to make the iview visible.
    You can add assign this SAP transactional iview to a page,a workset or a role and add the corresponding page, workset or role to the user in USER ADMINISTARTION by making it an entry point.
    Or to make the iview as an entry point, right click on the iview that you have created and open the properties, then for the option that says entry point choose yes.
    I guess that answers your question.
    Let me know if you have need any further clarifications on the same.
    Regards,
    Sandeep

  • Error while login to the portal

    Hi All,
    When I try to login to the portal as a user who dont have Super administrator role and have only "Everyone" role are getting the following error.
    Error occurred while trying to access desktop: "portal_content/every_user/general/com.sap.portal.defaultDesktop". The object does not exist or you are not authorized to access it. If this problem persists, contact your system administrator.
      Log Off
    I followed the steps which are given in the other threads as a solution but still facing the problem.
    In my main rules we have given condition like If user = * then use the general default desktop and in the default desktop permissions that Everyone role has read permission . Even then the problem is not solving.
    Can anybody help plzzzzz........
    Thanks in advance.

    I'm not sure what you mean by "content admin" vs "system admin". Content admin is used mostly to navigate to the portal content studio where you can work with PCD objects and set permissions. You will not see all PCD objects here, so things like rules etc won't be visible.
    System admin is a role. It has many functions, including the system landscape editor, where you can work with systems, and the portal dispay area, where you can work with display items, such as rules.
    There is also a permission editor where you should be able to set permissions on any object.
    So, what do you mean  by asking if you should use content admin or syetm admin?

  • Can we use the Portal of a different BW system than we get the data from?

    Hi Guys,
    we use a BW on HANA ABAP System with a Business Objects Server Connection in a proof of concept scenario. The BW system HS1 has Usage Type ABAP only. Besides of this we have a “normal” BW System, P70with a Usage Type ABAP as well as Usage Type JAVA (J70). As a third component we do have a BO Server, where we have stored some DesignStudio Reports with Data from HS1.
    We would like to use the existing J70 Portal of our “productive” BW Portal as an access point to the design studio reports.
    What I am wondering: 
    Can we use the SSO Ticket that we get when we log in our portal environment to connect to our BO server?
    Are we able to use then BO Reports that are connected to another BW System?
    How we do this or do we have to take something into account?
    Regards,
    Cemal Aslan.

    hey Cemal,
    it might depend on your releases... we currently have a test scenario with a Portal that is being used to display reports from a 7.31 BW system as well as the embedded 7.31 BW system of an ECC6 (EHP6) ERP system (as far as the Portal is concerned, that's just another BW system). The Portal is a 7.31 system as well.
    I don't know too many (technical) details as anything beyond the BW server is out of my hands. I think this was not possible in older versions of the Portal though...
    Cheers,
    Raf

  • Working with documents via BEx Analyzer not using the portal

    Hello,
    i read that we are able to create (work) with documents (comments) via
    BEx Analyzer. When i want to add a comment how it is described in the
    help we get connected to the portal. We dont want to use the portal for
    that. Therefore we searched a way to skip the portal. We read that in
    BW Versions before 7.0 the portal was not connected but since 7.0 we
    have the portal connectivity, but it should also possible to not use
    the portal and to access directly the BI Server. I searched for the
    Customizing to do so but i could not find it where to switch to the old
    logic.
    And another question is when we use the Portal with the knowledge base . The documents are stored in the document framework (SKWF). Is it the same as the Datawarehousing Workbench --> documents. This storage we want to use.
    Can anyone give me a hint?
    Kind regards,
    Murat

    Hi Murat,
       We are also facing the same issue of when trying to create/access the documents from BEx analyzer it is connecting portal , we need to bypass portal and directly access the document browser in BW server.
      In your thread you mentioned it is done. So can you please let me know how did you enable the old configuration?. It will be very much helpful to us.
    Awaiting for your reply.
    Thanks,
    V.Senthilkumar

  • Attach video file as a help to BW reports on the portal

    Hello,
    I would like to attach video file as a visual manual to BW reports published on the portal (one vide file to many reports)
    Can somebody tell me what is best way to do it.
    Thanks

    Hello.
    The best way is your way and depends on your requirements and available resources.
    I can only give you a few points to start from:
    1. You may use either Help property of BW reports iviews or [Dynamic Navigation iView|http://help.sap.com/saphelp_nw04/helpdata/en/32/66c53e5ae84d3be10000000a11405a/frameset.htm] to point users to a video. The second variant is most visible to users.
    2. Video may be stored:
    2.1.  in KM and played by:
      a) software on user's workstation.
      b) custom developed iView which holds streamed video.
      c)  javascript/flash video player embedded in custom KM html page.
    2.2. on an intranet media server or external video hosting as Youtube. If a security concern does not matter, in general you have only provide a URL to the video.
    Best regards,
    Aliaksandr Zhukau

  • Working with the Portal Error Stack in PL/SQL

    Hi,
    In brief, this is a question about the persistence of errors on the stack, as they appear to disappear without warning. Any help would be appreciated, if you'd like background, read on.
    I'm writing PL/SQL web applications and as ever one of the required tasks is user validation.
    I have a form on a page which submits directly to a stored procedure. If the validation within the proc is ok, the value(s) get inserted into a DB table and the user gets directed to another Portal page. If there is a user input error then the code reloads the original page (via redirect) with the necessary errors displayed.
    I used to use the Session storage to hold any error messages and then check to see if any errors existed at the point of page redirection, and this worked fine.
    Now that I figure that I should do the job properly and use Portals' error stack, everything falls over!
    It would seem that between moving from one page to another any values held in the stack are lost, yet I know they are definitely getting put there in the first place as I can view them, as long as I don't redirect the Portal page.
    Any ideas??
    Thanks in advance.
    Dan

    1.) Create a hidden item on your page.
    2.) In your Page Rendering PL/SQL Process add logic which assigns 'EDIT' or 'NO_EDIT' to the hidden item.
    3.) Create a "Message" HTML region which conditionally displays based of the value of your hidden item being 'NO_EDIT'.
    4.) Make your edit field conditionally Read Only based on the value of your hidden item being 'NO_EDIT'.
    There may be an easier way but I got this to work
    Mike

  • Publish a BEx role in the portal

         Hello!
         I would like to know if any of you have ever encountered this situation. Is it possible to somehow publish in the portal a link to a BW role, so all the queries/workbooks stored inside can be opened from there? The thing is that the users generate in these folders their own queries from time to time according to business requirements, and they would like them to be available from the portal. If this approach is possible, then the maintenance required for the portal content administrator would be minimal when they create new content under these roles.
    I have used KM content for BO folders, but I do not know if something like this is possible for BW roles. If possible, could you please provide some how to's?
       Thank you very much,
       Victor

    Hi,
    You need not to create web template to publish query in portal.
    there are two ways for publishing
    1)Go to query designer Click on Query -> Publish-> To portal
    here you select the path where you want to create the iview
    2)Log in to portal setect the folder in which you want to publish report.
    right click -> create new iview -> select BI 7.0 iview -> next -> iview name ie report name -> next -> Application parameter -> here you need to write QUERY =Query technical name -> next -> finish
    Try this,
    Regards,
    Ganesh

Maybe you are looking for

  • Reliability of Itunes U  Server

    How reliable is the Itunes U server? Apple says that Itunes U is up 24/7 but how reliable is the server really? Can we depend on Itunes U to really be there even at 3 or 4 in the morning?

  • E31 Graphics Card Advice

    Hello: I have been shopping around for a few months for a replacement for my Thinkpad T60p. I was convinced I would by a w520 but then I started considering desktops. I'm semi-retired and don't really need a laptop as much as I did when working full

  • Accessing object by dynamically creating it's id?

    Hi All, hopefully this is a quick one, I just can't figure it out: I'd like to be able to access objects by their id, but I want to be able to do it dynamically. For example: I have two objects, already instantiated, object_01 and object_02 and would

  • VBUND information in table COSS

    Hi Everyone, is there any possibility of bringing the Partner information (VBUND) in the table COSS? thanks

  • I forgot my admin password

    Because I forgot the admin password, Im unable to downloads and updates How do I reset the password?  I know can use my apple I.D. but the process asks for ?? guess what..admin password Please Help God Bless