Web Dynpro component - Flat file upload

Hi,
We have a requirement to upload a flat file to Planning cube (real time cube) through Web Dynpro component.
Web Dynpro component which we have developed is able to read the records from the flat file.
Now, the issue is u201CHow can we save the records read from the flat file to planning cubeu201D?
If anyone has worked on the similar requirement, pls reply. Thanks in advance.
Note : We have a planning sequence which will be executed on the click of UPLOAD button.
              This planning sequence has a filter on Infoprovider (cube which we are using for planning) and a planning function of type u201CFile uploadu201D in which we have defined the flat file format.
              Aggregation level is made on Multiprovider which has 2 underlying cubes (One is realtime and other one is standard).
Is there any function module in which we can pass the name of the flat file so that it will be uploaded in planing cube?
Regards,
Ankur

You can deploy solution provided by Marc Bernard within following SDN's contribution:
[u201CLoad a File into SAP NetWeaver BI Integrated Planningu201D |http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90cef248-29e0-2910-11bb-df8dece7e22c]
This uses webdynpro functionality.

Similar Messages

  • URL error while excuting web dynpro application for file upload  in IP

    The following error text was processed in the system DB1 : WebDynpro Exception: ICF service node for application /sap/public/bc does not exist
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

    Hello,
    have you typed the web manually? try using transaction SICF and "test" the service so the URL is generated by the system. You should find the webdynpro application under /SAP/public/bc/
    If the error continues re-import the transports.
    Cheers,
    C

  • Access files from Web Dynpro component

    Hi,
    I need to access files from a Web Dynpro component but I couldn't find any information. Has anyone done this?
    My questions are:
    1. Can I pack these files into the WD component so they can be deploy together?
    2. And what API should I use to access these files?
    Thanks,
    Kizza

    Hi,
    You can follow the Creating the JCO connections in the Content Administrator section in the following
    help.sap.com [link|http://help.sap.com/saphelp_nw70/helpdata/EN/f8/bdfe80d9a3b048a5fb32a7d149774e/content.htm].
    For the RFC_ERROR_COMMUNICATION error, you can check if the system sapmsR3D is defined in your
    SAP Logon pad or in the hosts file under Drivers -> etc folder.
    Regards,
    Alka.

  • BPS  Flat File Upload Error Messages

    Hi,
    I am using the BPS flat file upload and am getting error messages. These error messages are coming from the user exit in the characteristics relationships. Unfortunately the message does not indicate which line on the upload file the error is for. In the user exit it does not pass the line no of  the flat file that is being processed.
    Does anyone have any ideas how the message could be enhanced to indicate the line in error or if there is another exit I could perform the validation in?
    regards
    Paul Cairncross

    Hi Sai,
    The issue is not the particular message. The message is in fact my message in the user exit in the characteristic relationships. The issue is when using the flat file upload the message does not indicate which line in the file the message apply's to. Looking at the userexit no line number is passed. This is not a problem in the web as the specific line is highlighted when the user is keying in the data.
    Regards,
    Paul Cairncross

  • Errot at creation of callable object (Web Dynpro Component (GP Interface))

    Hi,
    I have made a Web Dynpro component and it has been built and deployed without problems.
    However, when I go to the Design Time in the portal to create the callable object, it dumps with this message:
    500 Internal server error
    The initial exception that caused the request to fail was:
    java.lang.UnsupportedClassVersionError: bad  version number in .class file
    Any ideas to what this is about ?

    Hi Peter,
    Check this link.It may be helpful.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/java/netweaver%252bdeveloper%252bstudio%252b(NWDS)
    Regards,
    Sumangala

  • Doubts while doing  example on WDJ-Using Web Dynpro Component Interface

    Hi
    I am doing the example mentioned in the PDF file WDJ - Using Web Dynpro Component Interface Definition.
    In the PDF file its mentioned the following code inside onActionCreateDC1:
    g_Usage.createComponent("com.sap.wd.childdc1comp.ChldDC1Comp");
    wdThis.wdGetWDCompInterfInstInterface().passInfo(
    "Created Child DC 1");
    I have one query that what is com.sap.wd.childdc1comp.ChldDC1Comp?Is it the component name of DC or the package name of DC?
    I have deployed the application.When i click on button Create Child DC1 i am getting follwing exception:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to load deployable object part 'com.wartsila.test.ChileDC1Comp', type 'Component' of deployable object 'wartsila.com/DP_TutWDInterfaces'.
    When i click on Create Child DC2 i am getting follwing exception:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:Failed to create delegate for custom controller com.wartsila.test1.ChildDC2CompInterfaceCfg. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Can anybody tell how can i solve it?
    Is it required to deploy the two child component also that is ChildDC1Comp and ChildDC2Comp?If yes then how to deploy these two child DC as when i am tryng to create application for these two component then default plug is showing blank thats why i am unable to deploy these child Dcs.
    Thanks
    Susmita

    Hi Susmita,
                      Is it required to deploy the two child component also that is ChildDC1Comp and ChildDC2Comp?
    Yes , u have to deploy both the components.
    when i am tryng to create application for these two component then default plug is showing blank thats why i am unable to deploy these child Dcs.
    U need not create an Application for deploying the component .Right Click on ur project --> Deploy.
    The problem is with ur Component, while creating a Component u should have created a Interface view and default StartUp plug.
    Just check whether u have Created the startup plug for ur interface view.
    Open the controller editor of ur interface view --> Select Plugs Tab .
    and in the plug tab , check whether u have Default Start plug (in Inbound Plugs Table).
    if there is no Default Start Plug , then click the Button New to create a Default Plug .
    in the pop up window -- select Stsrt Up and Give the name of the plug as "Default".
    After doing this , select the default plug and Right click on the plug -->copy  and Open the window Controller editor -- > select Plugs Tab --> check whether u have default plug (in Inbound plugs) in the Window controller .
    if the plug is not there , then paste the plug in the Window's Inbound Plug Table .
    Hope it helps
    Thanks and Regards

  • Web Dynpro component activation failed

    I tried to activate a web dynpro component and the activation failed. Have listed error messages from the request log and activation log. Do let me know what could be the issue. The application deployed successfully on my local J2EE.
    Request log details are as follows:
    ===== Processing =====
    BUILD DCs
         "hubbell.com/appl/ptl.wd.regtool" in variant "default"
              .. FAILURE: The build failed due to compilation errors. See build log for details. [result code: 202]
    ===== Processing =====  finished at 2005-11-29 00:09:48.813 GMT and took 18 s 899 ms
    ===== Post-Processing =====
    Check whether build was successful for all required variants...
         "hubbell.com/appl/ptl.wd.regtool" in variant "default"   FAILED
    ===== Post-Processing =====  finished at 2005-11-29 00:09:48.823 GMT and took 3 ms
    Change request state from PROCESSING to FAILED
    ERROR! The following problem(s) occurred  during request processing:
    ERROR! The following error occurred  during request processing:Activation FAILED due to build problems. See build logs for details.
    Activation log details are as follows:
    wdgen] [Info]    Initialize generation templates from configuration jar:file:/usr/sap/EDP/JC00/j2ee/cluster/server0/temp/CBS/79/.B/3223/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
        [wdgen] [Error]   com.hubbell.ptl.rgstr.app.Registration -->
       Application Registration: Component is missing
        [wdgen] [Error]   com.hubbell.ptl.rgstr.app.Registration -->
       Application Registration: Startup plug is missing
        [wdgen] [Error]   Generation failed due to errors (0 seconds)
    Build with ERRORS
    file:/usr/sap/EDP/JC00/j2ee/cluster/server0/temp/CBS/79/.B/3223/DCs/hubbell.com/appl/ptl.wd.regtool/_comp/gen/default/logs/build.xml:49: [Error]   Generation failed!

    There's obviously something missing in your WD DC: "Startup plug is missing". Your code has been checked-in to the inactive workspace. What you can do now is synchronize your DC with the server. You should get the same error then in your local NWDS and solve it.

  • Warning and Error encounter while building web dynpro component

    Hi,
    I encounter this while building the web dynpro component. I am currently using NWDI 2004s SPS11. can advise? Thanks in advance
    [Warning]: Path in Classpath for file webdynproadmin.jar not found.
    [Warning]: Path in Classpath for file webdynproclientserver.jar not found.
    [Warning]: Path in Classpath for file webdynpromodel_dynamicrfc.jar not found.
    [Warning]: Path in Classpath for file webdynpromodelimpl.jar not found.
    [Warning]: Path in Classpath for file webdynproprogmodel.jar not found.
    [Warning]: Path in Classpath for file webdynproruntime_designtime_coupling_api.jar not found.
    [Warning]: Path in Classpath for file webdynproruntime_designtime_coupling.jar not found.
    [Warning]: Path in Classpath for file webdynproruntime_repository_pmr.jar not found.
    [Warning]: Path in Classpath for file webdynproruntime_repository.jar not found.
    [Warning]: Path in Classpath for file webdynproservices.jar not found.
    [Warning]: Path in Classpath for file SapDictionaryTypeServices.jar not found.
    [Warning]: Path in Classpath for file SapDictionaryTypesRuntime.jar not found.
    [Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.
    [Warning]: Version for file webdynproadmin.jar not found.
    [Warning]: Version for file webdynproclientserver.jar not found.
    [Warning]: Version for file webdynpromodel_dynamicrfc.jar not found.
    [Warning]: Version for file webdynpromodelimpl.jar not found.
    [Warning]: Version for file webdynproprogmodel.jar not found.
    [Warning]: Version for file webdynproruntime_designtime_coupling_api.jar not found.
    [Warning]: Version for file webdynproruntime_designtime_coupling.jar not found.
    [Warning]: Version for file webdynproruntime_repository_pmr.jar not found.
    [Warning]: Version for file webdynproruntime_repository.jar not found.
    [Warning]: Version for file webdynproservices.jar not found.
    [Warning]: Version for file SapDictionaryTypeServices.jar not found.
    [Warning]: Version for file SapDictionaryTypesRuntime.jar not found.
    [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.
    Error The project was not built due to "Resource already exists on disk: / /bin/ProjectProperties.wdproperties.". Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent.
    And have this error encounter:
    Development Component Build (2007-07-02 15:14:00)
      Component name: timeoff/gp/ui
      Component vendor: test
      SC compartment: test.sap.com_CAF-TIMEOFF-TST_1
      Configuration: Tst_CAFDEV_D
      Location: Tst_CAFDEV_D
      Source code location: cocomo@cocomo
      DC root folder: D:\projects\ExitMgt\1\DCs\test\timeoff\gp\ui\_comp\
      DC type: Web Dynpro
      Host: cocomo
    DC Model check:
       All used DCs are available locally
       ERROR: Check for used DCs failed: Illegal component usage: compartment "test.sap.com_CAF-TIMEOFF-TST_1" does not use compartment "sap.com_SAP_JTECHS_1" of used DC "sap.com/tc/cmi"; using DC: test/timeoff/gp/ui(test.sap.com_CAF-TIMEOFF-TST_1)
       Build failed with errors.

    Hi,
    Make sure you have all these jars located in the folder C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.webdynpro.runtime_2.0.0\lib.
    If they are not there, search for them in the plugins folder. They should be available at some other location. Copy them to the folder I mentioned above. Or you can modify the class path to point to the existing location.
    Thanks
    Ram

  • No component usage created in enhanced web dynpro component

    Hi experts,
    I am facing the following problem:
    I'd like to enhance a web dynpro component in order to add a popup window. The popup is triggered by the process_event method. So far everything works just fine.
    But the popup needs to know some context attributes from the main component, and I cannot create a component usage in order to set the context mapping.
    Does anybody know how to solve this issue?
    Thanks and regards
    Jan Phillip Höft

    Hi!
    Thanks for your answers first of all.
    I need the popup to be a stand alone web dynpro component, so I guess the assistant class doesn't do the trick because I can not access it in the popup component.
    The popup is called when the business object is saved. So that the user is asked to notify other users that the document has changed. In this popup the user should fill in the message and click a button to send it and close the popup.
    So I tried the OBN approach as well but with two problems :
    1. I cannot close the popup component by coding (button click) because it has no direct parent component
    2. The save event is not run through properly so the document stays locked by the user. But I didn't look into this yet.
    So it would be perfect to have an embedded popup component which is based on a stand alone web dynpro application so it can be closed properly but it need at least access to the guid of the main component.
    Anybody got an idea for this?
    Thanks and regards
    Jan Phillip Höft

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • Transport issue when copying a web dynpro component

    Hello All.
    I have a web dynpro component lets say ZTest and now I want to copy this, I gave the new one a different name i.e. ZFINAL, now when I copied, it asked me for the trasnport and when I asked to create a new transport I got this message "Class ZIWCI_ZFINAL does not exist" and then I clicked the green arrow again and it created a transport for me. After this process I activated my web dynpro component successfully, my web dynpro component has 3 views and 3 windows. When I looked at my new transport (for ZFinal),  I only saw three tasks attached to teh transport i.e. 1. Interface 2. Info Object from the MIME Repository and 3. Web Dynpro Component but I didn't see Controller (Web Dynpro), Definition (Web Dynpro) and View (Web Dynpro) attached to my transport. Now I wonder when I release my transport to Q I may have issues.
    Note: My old trasnport (which has Ztest)has all the missing objects: (Web Dynpro), Definition (Web Dynpro) and View (Web Dynpro)

    I resolved it myself.. I had to write the transport entry manually for the views and windows and even the component controller definition.

  • The Web Dynpro component cannot be generated due to serious (syntax) errors

    Hi everybody,
    While I was developing a web dynpro application, I had an error but I couldn't understand this error. Before I took this error message, only I changed bound one context node to another context node in a RadioButtonGroupByKey.Therefore, when I pushed activate button, I took an error message.This error message said "The Web Dynpro component cannot be generated due to serious (syntax) errors". What does it mean ? How can I find out where is the error in the application. Also, I think the reason of this error message is about a BC problem. I am waiting for your comment urgently.

    Hi ,
    Just delete the context (by using the context binding) and bind the field with the correct node and try to activate .
    One more suggestion is that after deleting the binding and before binding to other node check it that whether that binding was properly deleted or not.Some times its not deleting the binding.
    Hopely my suggestion may work.
    Regards,
    Satya

  • Dynamic insertion of MIME object into a web dynpro component

    Hi,
    I want to dynamically insert a MIME object of type JPEG or type GIF into my web dynpro component at runtime.
    I was unable to find the database table which contains the list of MIME objects for a particular web dynpro component.
    Can you please help me out with this?
    Thanks in advance,
    Adithya
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on May 23, 2011 9:55 AM

    Hi Muzammil Bichoo ,
                                   when you copy the wda component, it will be copied and will be in active state, once all the components are activated means, windows, views, everything will be available.
    now create application for your component, if you have more than one window(interface view) select the one which you need for the application.
    Regards
    Sarath

  • Is it possible to serialize a web dynpro component controller?

    Hi,
    Is it possible to serialize a web dynpro component controller and deserialize it for use?
    I have one web dynpro application WDA1 for web dynpro component WDC1. And  another web dynpro application WDA2 for WDC2 will be opened in a new window triggered by a button action in WDC1.
    Iu2019d like to pass the object reference of WDC1 component controller to WDC2.
    I first tried to use a static member of a class object but found out that even the static member is initialized and set in WDC1, itu2019s still initial when I access it in WDC2.
    Then I searched the forum and found one article Passing Object ref to Webdynpro Application while calling from BSP screen .
    The recommended way is to serialize the object reference and store in a DB table, later on read it out and deserialize it for use.
    I tried serialization using the following code, but when itu2019s deserialized, the result is initial.
    Can anyone share some ideas on this?
    Serialize
      data: ostream type string,
               xslt_err type ref to cx_xslt_exception.
    ***** serialize model class
      try.
          call transformation id
          source model = wd_comp_controller
          result xml ostream.
        catch cx_xslt_exception into xslt_err.
      endtry.
    Deserialize
        data: istream type string,
              xslt_err type ref to cx_xslt_exception.
        istream = ls_db_sel-obj.
        data lr_wdc type REF TO ZIWCI_BY_WDC_SERIALIZE.
        try.
            call transformation id
            source xml istream
            result model = lr_wdc.
          catch cx_xslt_exception into xslt_err.
        endtry.

    When you say new window, I assume you mean new browser window. This is a separate user session then.  This is why the singleton pattern doesn't work.  Have you considered using a new dialog window instead of a new browser window.  It will be modal, but will share the same user session as the parent window.
    >Why do you choose this approach over cross-component usage ? component usage is the way webdynpro components are >to be reused.
    >You can also consider using Singleton OO pattern class to share data between these two components.
    Neither of these approaches will work if you are using separate browser windows. Such an approach results in two separate user sessions (perhaps even running on different application servers depending upon how you have load balancing setup) and therefore can't share data using either of these approaches.
    In general the idea of serialization and then writing the string ito a server cookie or other database table is sound.  I don't think you should try and serialize the component controller, however.  Serialization only saves and restores public attributes - not protected or private ones.  So in general a class has to be designed for serialization.  The component controller is much too complex and wasn't designed for such an operation. 
    I would suggest instead extracting the data you want to share out of component controller or context and serializing it into a custom class and passing that to the other component.

  • Problem in Flat File Uploading

    Hi everyone
    During a flat file uploading, I get a message for each record of my SKU (Stock Keeping Unit), for eg for SKU 1017023, I got a message
    <b>Value '1017023 ' for characteristic PISKU is in external format     RRSV     9</b>
    PISKU is the field name.
    The whole extraction is failing.
    Kindly provide me some suggestions as soon as poosible!!
    If possible mail me at
    [email protected]
    Regards
    Gajendra Singh

    Hi,
    It seems there is a space in the value '1017023 '.You have to edit in PSA and then send it again else delete the request and change the flat file entry and reload the data.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

Maybe you are looking for

  • BT Faster slow - lack of master socket the problem...

    My new BT Faster FTTC broadband is not delivering the promised speed, and I hoped someone here might have some knowledgable suggestions. I was promised a speed of 12-18Mbps down, but it's actually delivering (on first day) just over 8Mbps.  (The prom

  • Understanding the RH Server Query String

    Hello - This is my first post in the forums. I'm technically a new RoboHelp user, although I've been prepping for our company's move to RH/RH Server for a year. I'm configuring my projects, layouts, and server areas for our migration and populating s

  • " Starting Oracle Net Listener......."  Hangs  while installing vm manager

    Ive taken all defaults read install guide , checked availability of ports and made sure I have libaio. I've reinstalled on two separate machines and everytime install fails after I accept defaults. Logs don't show anything. ./oracle-xe configure is t

  • Network printer on EA4500

    Anyone got any idea how to connect a network printer (HP OfficeJet Pro K8500DN) to the Cisco AE4500. Cisco's installation CD only believes there are USB or Wireless printers? Solong

  • Rent a film with macbook air

    I rented yesterday a film into Itunes via my macbook air 13".  I have my Sony Tv conected to my macbookair, and itunes says i cannot watch this film into my Sony Bravia TV. I want to refund the price of the film because i cant watch it. I dont want t