Skip to Content
author's profile photo Former Member
Former Member

development environment

Hi, i am trying to set my development environment to modify an standard iview of PORTAL 6.0 sp2.

My iviews´s id is BSPOrder and his name is Orders, i need necessary steps or information to get the .par file, to change my iview in eclipse 2.1, tomcat 3.2.2 and PDK 5.0.

Where I can get the source code of the iview?.

When I try to import any .par file in eclipse i have a lot of compilation errors.

Thanks and excuse me for my english.

Add a comment
10|10000 characters needed characters exceeded

Related questions

12 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 05:56 PM

    Hi Detlev,

    when i´m trying to get the class, where BSPOrders is constructing my iview, following the source code by decompiling classes of appintegrator package, i have find that a page is created with layers using abstracts classes ¿is ok?.

    is there any way to modify my standard iview without changing any classes?.

    I have download the libraries from portal to local developing and after decompiling the appintegrator.bwc.par i get some compilation errors.

    I have used jar class finder but there are some packeges that i can´t find, Can you help me with this?.

    com.sapportals.iviewserver.systemlandscape.service.ISystemLandscapeService;

    com.sapportals.iviewserver.systemlandscape.service.ISystemObject;

    com.sapportals.portal.ivs.iviews.IDesigntimeSLService;

    com.sapportals.portal.pcd.pcm.builder.IPcmObject;

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Julián,

      You are trying to change an BSP iview?

      If this is the case, you don´t need to change nothing in the Portal, you should change the BSP application directly in the backend system.

      Hope this helps,

      José

  • Posted on Jan 28, 2005 at 10:07 AM

    If you use EP 60 SP2 ,

    u must use PDK 60.2.2

    BR,

    Oliver

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 12:32 PM

    hi,

    but, how can i install pdk 60.2.2 (.epa file) in my local enviroment with tomcat , eclipse etc.?.

    I have imported the .epa file in my remote portal but i need to work in my local enviroment with portal libraries.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julián,

      there is no local tomcat environment for EP6. Such an development environment existed (OK, still exists) for EP5 (that was the PDK). Now the PDK for EP6 is content within the portal, so for a local runtime environment you need to have a local portal installation (with PDK deployed).

      On the other hand, just for having the portal libs at hand, just copy them from .../irj/root/WEB-INF/... so you can set them into the build path of an eclipse project.

      Hope it helps

      Detlev

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 08:30 AM

    thank you Detlev Beutner,

    i´m trying to work with netweawer sp9 in my local envroment, i have imported my .par from Portal in eclipse but when i´m doing the export operation, Tomcat sends me an error "remote user is not in request object", do you know how to solve this?.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julián,

      work with netweawer sp9

      Things seem to change very fast, three days ago you have been on SP2?!

      .par from Portal in eclipse

      For SP3 and above, ie NetWeaver, things have changed again. The IDE no longer is Eclipse but NetWeaverDeveloperStudio (that is Eclipse - some features + many plugins). Please always use a NWDS version corresponding to your J2EE/EP SP, ie NWDS 2.0.[X] for WAS J2EE / EP 6 SP[X].

      Tomcat sends me an error

      ?!?!?! I already mentioned that Tomcat doesn't make sense anymore from EP6 on.

      Hope it helps

      Detlev

      PS: Please consider awarding point for helpful answers by pressing the star button on the replies in question. Thanks in advance!

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 09:58 AM

    Detlev Beutner,

    my portal versíon is EP6.0 sp2 and the razon of my changes is because i don´t have things clear i´m new in Sap development after of this i´m been developing in java environment , what is the best enviroment to develop with this enviroment(PORTAL 6.0 sp2) in local enviromet?, netweaver?, eclipse with web server ?.

    thanks for your help Detlev Beutner.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Juliu00E1n,

      > portal versu00EDon is EP6.0 sp2

      OK 😊

      > what is the best enviroment to develop

      > with this enviroment(PORTAL 6.0 sp2)

      > in local enviromet?,

      > netweaver?,

      > eclipse with web server ?.

      NetWeaver is the common platform for the "new" SAP software, for J2EE server / Enterprise Portal this is from 6.30/6.40 / EP6 SP3 on. So this does not fit your needs.

      Eclipse is the best or best supported IDE for EP6 SP2. You will need different plugins, depending on what you want to do (iViews, KM services...). You will find all plugins when you have PDK for EP6 SP2 installed within an EP6 SP2 installation under \usr\sap\[...]\j2ee\j2ee_[...]\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\portalapps\com.sap.portal.pdk.util.developmenttools\eclipse

      There is no need and no sense for an extra web server; as said in my first posting: "for a local runtime environment you need to have a local portal installation (with PDK deployed)."

      Hope it helps

      Detlev

      PS: Points to helping people...

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 11:21 AM

    Hi Detlev,

    in my proyect, is not posbible to have a local Portal installed so i have installed pdk6.0 in the remote portal that i´m working with.

    I need to change or modify in the remote Portal a standar iview (BSPOrder), do you know how to work with it and how to find the source code to change my iview?.

    do you know some link or documentation to work with iviews in my environment (Remote Portal)? ¿what about .par files?

    Thanks Detlev.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julián,

      not posbible to have a local Portal installed

      so i have installed pdk6.0 in the remote portal

      that i´m working with.

      OK, that's the second case I described above: "On the other hand, just for having the portal libs at hand, just copy them from .../irj/root/WEB-INF/... so you can set them into the build path of an eclipse project."

      I need to change or modify in the remote Portal

      a standar iview (BSPOrder), do you know how to work

      with it and how to find the source code

      to change my iview?.

      If you have found the iView within the PCD, you can see under "Code Link" to which PAR file / component this iView is linked.

      Now you can download the PAR file or if you have file access to the portal installation just look under .../irj/root/WEB-INF/portal/portalapps/[appname]

      There you will find the public part (API) under /libs and the private part under /private/libs.

      The source code for standard iViews is not delivered. I don't know how it is with BSP*. Anyhow, the best friend of a SAP EP developer is a good decompiler 😊

      Hope it helps

      Detlev

      PS: Seems to be very, very hard to use the points rewarding system?! Just click on it (or did no answer within this thread help you?).

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 12:06 PM

    Hi Detlev,

    your help is being very useful for me.

    I'm using a java developer user in my portal to upload and download .par files, and the iview that i have to modify has a code link "com.sapportals.appintegrator.bwc" (more or less), but what is my surprise when i import the .par file to eclipse environment and there aren´t any .jsp in the pagelet directory.

    where are the components in that enviroment to modify my iview?, do you think that i´m doing something wrong in what i said?.

    As you said i have decompiled the source of my iview but i get a lot of compilations errors, when i put that source in eclipse enviroment, how can i solve that errors?.

    Excuse my english please.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julián,

      the iview that i have to modify has a code link

      "com.sapportals.appintegrator.bwc"

      Hm, the question is, if you really should / want to modify, especially for the next question you ask:

      my surprise when i import the .par file to eclipse

      environment and there aren´t any .jsp

      in the pagelet directory

      The app integrator application / bwc component is for integration external (BW) content into the portal. It does no rendering by itself, so it has no visual surface. So it's all but surprising that there are no JSPs.

      Just a general remark: Even the standard portal components with visual surface very seldom have JSPs. Most GUI development within the standard components is done programatically.

      As Oliver said, you should first get familiar with the App Integrator functionality before modifying something. (I won't say there is no situation to think of which makes sense modifying this component, but I'm not sure if this is the case for your issue).

      where are the components in that enviroment

      to modify my iview?

      This cannot be generally answered for we do not know exactly what you want to achieve.

      lot of compilations errors

      ...

      all the libraries(jars) that i need

      to compile my source code are in .../irj/root/WEB-INF/...

      Right. But it does not make too much sense to include the whole portal libs into your build path for each portal project you open. If you want to know how to do it manually, search on SDN forum for WINRAR, JARFinder etc. This is a standard issue.

      Anyhow, a colleague of mine is just developing some additional Eclipse plugins to do such tasks automated; unsure when he got it, but if, we for sure will offer the tool on SDN.

      Hope it helps

      Detlev

      PS: Now it's the fourth time that I ask you to reward points for people helping you, it gets a bit boring with the time... You see these nice radio buttons on the left side, you can choose them on each answer which helped you. That's the SDN way of saying thanks, but if does not, seven years of frustrating bad sex are the consequence. Ask Mark!

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 12:28 PM

    Hi Oliver,

    as Detlev told me in a mail before,

    if i well understood, all the libraries(jars) that i need to compile my source code are in .../irj/root/WEB-INF/... ?.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 03:39 PM

    Hi,

    so if the code link of my iview is com.sapportals.appintegrator.bwc, for your comments, do you think the code of my iview is dinamicly generated for components (classes) of arquitecture sap portal?.

    Once I have installed pdk 60.2.2, do you know how to access to examples of appintegrator?.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julián,

      in general, if you want to know what a component does, look into the dir, portalapp.xml (appname here: com.sapportals.appintegrator). There the component is defined (here: bwc). For this component a class is defined. Decompile, watch.

      do you know how to access to examples of appintegrator?.

      Docu can be found under Java Deveopment Role -- Documentation -- Services -- Portal Services -- Applicaton Integrator.

      Hope it helps

      Detlev

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 04:38 PM

    hi Detlev,

    the things to do, that you have commented in the previous mail, are the same to download a .par (...bwc.par) and decompile the source include in the jar files includes on it?.

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.