BSP Question

Hi All,
I am basically a bw developer and new to BSP.
I had developed a BSP report for my users along with other existing bw web reports, it was an ABAP report which we converted to a BSP page. From the user point of view it is an R/3 transaction they run and see the output.
My issue now is, along with this transaction, there are various other ABAP programs that the users run as transactions that do a global consolidation on Financial Data. Each program is basically taking user inputs..checking with various conditions..based on data in financial tables, sometimes giving user the ability to change certain data, send error messages, trigger loads in BW , run backgroud jobs, etc.
Now they are asking, can all this be done in BSP, so that the users who use the BW web reports(sometime do not have front end GUI) are able to run these Consolidation programs on the web.
I know its hard to answer this question, without having more information, but is it possible to do everthing which an ABAP program does in BSP ?
pls suggest
Raj

Hi,
   If you fallow abap objects or object orientation concept in designing/converting to bsp the task will be very easy. you have to fallow MVC design pattern for BSP. since in MVC we seperate out the business logic(Model), control flow(Controller) and the presentation(Views) from each other hence the conversion or implementing the apab program functionality in bsp becomes easy.
   In mvc you will write all your codes(ABAP) in a class and then simple instantiate the object of the class in your model.
   The view will contain the presentaion or say frontend which will be visible to the user.
   And inside the controller you can write the control how your pages shoud react on user action and so.
    I hope MVC is the best solution since using it we can in many cases reuse the code we have written in abap which is not meant for bsp.
    Through this you can simple create an instance of your class in model containing your consolidate programs, and can make them executable on user command.
    It is possible to do what an abap program does in bsp also but you have to fallow object orientation concept or mvc design pattern. it will make task easy too.
For MVC design pattern check these links:
http://help.sap.com/saphelp_47x200/helpdata/en/12/1eeeb4245d1f4f96c989519261b0f6/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/1d/20693c4b1c6646e10000000a11402f/frameset.htm
Hope this will help you. If not reply.
Regards,
Hemendra

Similar Messages

  • Webdynpro BSP Question

    Hello,
    We have a BSP Application running on Portal. Now we want to call a Webdynpro Java Application to execute some code in the background at the time when BSP Application is loading. Is this possible to do and how .?
    Any help would be highly appreciated.
    Thanks

    The UWL Workitems are coming from the Custom Guided Procedure Workflow Process which we have implemented , these workitmes do not serve any purpose to the user but since these are steps(Actions) are part of the Process , they show up in the UWL.
    The Workitems can be cleared from GP Admin., but we need an automated way through which these workitems get cleared.
    Can you please give more details on how I can write a WebService ,and wrap the functionality of WDJ and call it from BSP?
    Thanks.
    Edited by: PortalPerson on Oct 19, 2011 7:28 PM

  • Related to BSP

    Hi friends,
    I would like to know oe to use the select-options in BSP
    programing.
    Thanks in advance.
       regards,
      kishore

    Hi,
    please note that there's a BSP forum (id=49) for BSP questions. There you can find more information, see How to create select-option like element in BSP? Please help!
    Have a look at the chapter of Brian McKellar's and Thomas Jung's book on advanced BSP programming which is mentioned in the thread above.
    Regards, Heidi

  • Popup-window in BSP

    Hello,
    I am new at BSP's so I hope someone can help me.
    When I click on button in a BSP-page i call a popup-window using something like this
    function Popup(url){
      window.open(url,"MyPopup",'height=100,width=300');
    In that new window there are 2 buttons (Y/N), I leave the popup with the client event self.close().
    Now the problem is that the page which triggered the popup doesn't do an 'ON_CHANGE_REQUEST'.
    So I cant' figure out on which popup-button the user has clicked.
    Anyone a clue ?
    Thanks in advance.
    Dirk.

    Hi,
    this is rather a javaScript question than a BSP question (or a solution, since I'm new to BSP as well).
    Try to use in javascript window.opener in the client window. Using that you can do with your y/n buttons:
    <button name="y_n_submit" value="yes" onClick="javascript:window.opener.call_some_javascript_function('yes')">
    <button name="y_n_submit" value="no" onClick="javascript:window.opener.call_some_javascript_function('no')">
    This function is a javascript in the opener window that can handle the input.
    Regards,
    Leo
    Link for the javascript stuff:
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/obj_window.asp

  • BSP session management in Portal

    Hi all,
    I'm not sure if this is a Portal or BSP question...
    I have several BSP Iviews in my portal, and when i'm navigating between the different iview, I'm getting a large number of session of type  "Pluggin HTTP" in SM04 transaction.
    When the users logoff in the portal  some of the sessions aren't close.
    So I have two problems:
    1- when the user is using the portal is there way of closing the bsp session when he moves to another iview?
    2- why aren't all sessions been close?
    Any ideas?
    Thanks for the help.
    Best regards,
    Paulo Ruivo

    Hi Paulo,
    Make sure that your system is configured properly to handle HTTP Protocol.
    I mean if your URL BSP page begins with http, you need to configure your system, within the portal, with http protocol.
    Same remarks are available for HTTPS Protocol.
    <b>Portal view point</b>
    - To configure your system, within the portal go to :
    System Administration -> System Configuration -> System Landscape.
    - Select the System you are using to connect to the backend
    - Edit its property "Was Protocol"
    <b>Backend view point</b>
    Check that all your BSP pages have this property <i>"Unchecked"</i> :
    Properties -> Transfer Options -> Https
    Best regards. Allan.
    Don't forget to reward points, if it helps.

  • BSP call new URL page blank

    Hi,i call from my bsp application a new url with:
    navigation->USE_AUTO_SUBMIT_FORM( TARGET_FRAME = '_blank' ).
             navigation->CALL_APPLICATION( url = url_role ).
    call the new url ok, but my page turn in  blank, i want to see my page, when i call the new url, how i do that?
    thanks
    Angel G.

    Hi,
    why do you need two statements? I thought the following statement should be enough..
    navigation->goto_page( url = 'http://www.sap.com' ).
    Regards,
    Suresh Datti
    P.S. PL post BSP questions in the BSP forum for a better response

  • Answer to Weblog Question for Sumith Rajagopalan

    Sumith Rajagopalan I hope that you read the BSP question forum as well as the weblogs.  You posted a question in the discussion forum on the following weblog:
    /people/thomas.jung3/blog/2004/08/09/bsp-download-to-excel-in-unicode-format
    For some reason I can no longer post comments to this or any other weblog right now.  I assume there is problem on the SDN side.  Therefore I thought I would post the answer here until the problem is resolved. 
    It appears to be a simple typo in your code. You had:
    response->set_header_field(
    name = 'content_disposition'
    value = 'attachment;filename=webforms.xls' ).
    The correct code is:
      response->set_header_field(
          name = 'content-disposition'
          value = 'attachment;
          filename=webforms.xls' ).
    Please note that is is a dash not an underscore in the content-disposition header field name.

    Yes Thomas, it was the typo.  Thanks.  It is working perfectly now.

  • Questions on using classes inside BSP pages

    Hi Group,
    I have a few questions on how to use classes,interfaces,parameters in classes,
    and etc., relating to OOPs concepts that can be implemented in BSPs.
    Pls send me some link wherein I can explore things and use it in BSPs.
    Thanks & Regards,
    Vishnu.

    Hi Raja,
    I am facing issues like this:
    1) When I use the code in my BSP as under:
    <%
    class ZCL_MODEL_03 definition load.
    data ref1 type ref to ZCL_MODEL_03.
    data cust_id type c value "1000".
    data c_id type c.
    create object ref1.
    c_id = cust_id.
    call method ref1->CHECK_CUSTOMER changing cid = cust_id.
    %>
    Cannot we define variables in the Scriptlet?? or we need to do only in the attributes sections only?? or in both??
    2)I am not able to use both exporting & importing things in my method call.
    eg.,call method ref1->GET_CUSTOMER
                      exporting cid = cust_id
                      importing c_id = eid.
    In the method definition, I am only using simply logic like, I was trying to send a value into the "cid" defined in the method and putting that value into "eid" which was defined exporting, but, still I could not get the value into "c_id" that I have defined in the BSP page.
    Note: in both the things(in BSP and class definition as well, I am using the same
            type for defining the attributes.
    3)When can we define a "Returning" option in the Class method's parameter    
       Definition? and how can I use it with an example?
    Thanks in advance.
    Regards,
    Vishnu.

  • Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus

    Hi BSP experts,
    Any Experts have solutions for below.
    We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
    The scenario is like this: The PDF is getting called the via URL:
    The code is like this
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE runtime->application_url '/' guid '.pdf'    INTO   URL.
    <u><b>This URL is called in the front end LAYOUT.</b></u>
    <iframe src="<%= URL %>" width="100%" height="600px">
    </iframe>

    you missed one question of mine  <b>Do you create the PDF after creating the GUID ?</b>
    try giving a fixed URL just to test.
    Aman

  • Update on question for parameters in URL opening a BSP iview

    Hi again gurus.
    I wanted to do an update on this thread: How do you create a URL with parameters for a BSP iview? but choose to do the update as this new question instead.
    Well, in order to open a BSP iview from an external page shown in an Application Integrator iview in our portal AND FILL IN A FIELD, a link of this type is used on the external page:
    http://<server:port>/sap/bc/bsp/sap/z_purchase_req/process.htm?System=ABG_R3_ARD&mnr%3D9780198603641
    If you read the other thread you will see that I couldn't use a link of the following type since it opened up something like the stuff found under "System Administration > Support > SAP Application" and there asked for BSP application and start page!
    http://<server:port>/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.BSP?System=ABG_R3_ARD&SAP_TCode=Z_PURCHASE_REQ&STARTPAGE=process.htm
    But the first link works so far as it opens up the correct transaction BUT the parameter won't get into the field. Does anyone know how to "format" the parameter correctly? When you open an iview of Transactional type you can use a URL like this (and it works also with writing parameter into a field):
    http://<server:port>/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=ABG_R3_ARD&SAP_TCode=ZARTS2&SAP_Dynp_Params=S_MATNR-LOW%3D9789146212720
    It's the part ...&SAP_Dynp_Params=... that is of interest here. Should it also be used when working with URLs opening BSP iviews or not? Or should something similar be used instead? The name of the field "mnr" is correct in the BSP URL, at least I think so, I found it in the Web Application Builder under tab "Page Attributes". I have tried both "=" and "%3D" in the URL but neither works.
    Any suggestions about the parameter format for this link or another completely different but working URL format would be extremely appreciated!
    Best regards
    Benny Lange

    the Appintegrator Documentation says you can use something like <User.[AttributeName]>, so <User.email> and <User.company> (not sure about capital letters) should work.
    Hope that helps.
    PD

  • BSP and Webdynpro real time questions

    Hello gurus,
    Can any one help me in proviiding me with the real time scenarios in BSP's and Webdynpro for ABAP.
    i have just been trained on them but not really worked. If you all can also provide me with the interview questiosn it will be very helpful.
    Thanks.

    Hi Rao,
    Wrong place to be looking for Interview questions my friend try google instead , if you are looking for some excercises than try this link Web Dynpro ABAP exercises from TechEd 2007 for ABAP Trial Version
    Happy Learning,
    Chaitanya.

  • BSP interview questions

    hi BSP GURUS,
    anyone have BSP interview questions plz provide me.
    thanks and regards,
    bala.

    Hi,
    As mentioned in /people/michael.eacrett/blog/2006/05/23/see-no-evil-hear-no-evil-speak-no-evil-and-write-no-evil--to-remove-postings-on-sdn-forums-or-not, /people/sap.user72/blog/2006/06/30/ebooks-free-shop
    and /people/eddy.declercq/blog/2006/07/14/from-the-grumpy-old-man-how-to-copy-a-cat
    this is copyrighted material which may not be copied without the permission of the author.
    Check also things like
    http://www.amazon.com/s/ref=nb_ss_gw/103-6826608-2100629?url=search-alias%3Daps&field-keywords=sap+certification&Go.x=0&Go.y=0&Go=Go
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • BSP Interview questions needed

    Dear All,
    I have started learning BSP and I feel quite comfortable in that. But I need to go much further into it. Can anyone send me the BSP interview questions, FAQs and good tutorials i any ?
    Thanks,
    Srinivas

    you should not suppose to ask any kind of questions related to interview, so please search and find your self.

  • Tableview question in BSP programming

    Hi All,
    I am new to the HTMLB programming.
    I am trying to use a Tableview in a BSP page.
    This table contains multiple-page data.
    When I navigate to a certain page in this view(for example page 3)and select a row, it triggers an event and branches to another view, which is fine.
    However when I navigate back to this tableview, the tableview does not keep the selected page and row, it always goes to the first page and shows the first row.
    How can I keep the selected page and row in the tableview?
    Any attribute in the tableview I need to set up in order to do this?
    Thanks a lot,
    Bin

    supply the tableview attributes 'SelectedRowKey' or 'SelectedRowIndex' with a class attribute where you collect all selection.
    Cheers.
    Marc

  • Question on passing parameters between 2 pages in a BSP application

    Hi Group,
    I have defined a page attribute "zcid" in both the pages where I need this attribute value. And in one page I calculated a value and assigned it to this attribute. And also I checked the attribute as "Auto" in both pages.
    And I used navigation->set_parameter( name = 'zcid' and value = zcid ), I was getting an error saying, use "." after name and not proceeding any further.
    Please let me know the procedure for accessing a value of an attribute in Multiple pages within a BSP application.
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Vishnu
    To pass the parameter,
    Firstly the name of attributes should be same of both pages and the check of AUTO should be checked on target page.
    I am giving you small example to pass the Firstname parameter from Default.htm to Result.htm .
    the Parameter name in Default.htm is --> fname type string.
    --> Auto should not check
    the Parameter name in Result.htm is --> fname type string.
    --> Auto should be checked.
    in Default.htm inputprocessing use the code
    navigation->set_parameter( 'fname' ).
    navigation->next_page( 'TORESULTS' ).
    or
    For more detail you may also go through the following links
    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
    If this will helpful please reward the points
    Kuldeep Verma

Maybe you are looking for

  • 8GBytes memory upgrade on HP G60-550CA

    Product Name: HP G60-550CA Operating System: Windows 7 64 bits The standard quantity of RAM installed on a HP G60-550CA is 4GBytes, but looking at this laptop specifications, it can support up to 8GBytes of RAM. I bought 2X 4GBytes PC2-6400 to replac

  • Visual Studio takes long time to start up

    When starting Visual Studio on my machine it used to take a few seconds to start up and be ready to either open or create a new project. Recently however I am finding that it is hanging - stuck on "Updating the News Channel"  and "Connecting to " Vis

  • [SOLVED] World of Warcraft's Launcher crashes after a few seconds

    Recently I run into problem with World of Warcraft. I have kind-of solved it, but I am posting it in case someone else experiences it as well. I haven't played it for a while, and when I tried to run it yesterday the Launcher would start downloading

  • Java ME SDK 3.0 Problems

    I need to develop J2me (Midlet for graduation project)...I installed Java ME SDK 3.0 after installing JDK 6.0 I was running Java ME SDK 3.0 and I faced some errors: An error: A java.io.IOException exception has occurred java.net.ConnectException:conn

  • White Screen of Death at Startup - Boot Camp Based Problem

    I recently received my Intel-based 20" iMac yesterday and this morning I set it up and transfered all of my files from my old Windows XP computer successfully. I then played around with the iLife suite and a few other programs and decided I should pr