cancel
Showing results for 
Search instead for 
Did you mean: 

Call Bsp page from Another Standard BSP Application.....

Former Member
0 Kudos

Dear all,

i am tring to call a POP-UP window from Standard Bsp Applicatio SRMSUS.

i had already added Button (Attachment) on the existing standard bsp page, and also get the button event in DO_HANDLE_EVENT.

on that button i want to open popup window in which my Custom BSP page should open.

how can i call Custom bsp page on this button click.

Is there any Call Url or Any method or any FM to call my BSP page.

for reference please find the screenshot below..

i have added the Attachment button here

Please Help, I am new to Bsp.

thanks,

Nilesh.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

now i am able to display my custom bsp on the button click

but the layout is not proper.

can any body help me in this.....?

current screen and layout code :-

SCREEN DISPLAY:

CODE:

<%@page language="abap" %>

   <%@extension name="graphics" prefix="graphics" %>

   <%@page language="abap" forceEncode="html" %>

   <%@extension name="htmlb" prefix="htmlb" %>


        <br>

       <tr>

       <td>

       <p>&nbsp;&nbsp;<font size=4><b>Attachments Page </b></font></p>

       </td>

       </tr>

      

      

       <table cellpadding="20" width="650" cellspacing="2" border="2" size="3" >

      

       <tr><td valign="TOP">

      

       <htmlb:tableView id             = "po_item_list"

                        headerText     = "PO Item List"

                        table          = "<%= it_item_lst %>"

                        selectionMode  = "SINGLESELECT"

                        onRowSelection = "rowSelection"

                        selectedRowIndex = "<%= ITEM_LST_INDEX %>"

                        headerVisible  = "true"

                        footerVisible  = "false" >

         <htmlb:tableViewColumn columnName = "PO_NUM"

                                title      = "Purchase Doc No" />

         <htmlb:tableViewColumn columnName = "PO_ITM"

                                title      = "Item No" />

         <htmlb:tableViewColumn columnName = "MATNR"

                                title      = "Material" />

         <htmlb:tableViewColumn columnName = "DESCRIPTION"

                                title      = "Description" />

       </htmlb:tableView>

       </td>

       <td>

       <htmlb:textView text   = "File:"

                       design = "STANDARD" />

       <htmlb:fileUpload id          = "uploadID"

                         onUpload    = "UploadFile"

                         upload_text = "Upload Files" />

       <br>

       &nbsp;&nbsp;

      

       <htmlb:tableView id              = "attach_list"

                        headerText      = "Attachments List "

                        table           = "<%= it_attach_lst %>"

                        selectionMode   = "SINGLESELECT"

                        visibleRowCount = "10"

                        onRowSelection  = "rowSelection"

                        selectedRowIndex = "<%= ATTACH_LST_INDEX %>"

                        headerVisible   = "true"

                        footerVisible   = "true" >

         <htmlb:tableViewColumn columnName = "PO_ITM"

                                title      = "Item No" />

         <htmlb:tableViewColumn columnName = "FILE_NAME"

                                title      = "File Name" />

       </htmlb:tableView>

       <br>

       <htmlb:button id      = "del"

                     tooltip = "Delete selected Attachment"

                     text    = "Delete"

                     onClick = "OnInputProcessing()"

                     design  = "STANDARD" />

       <htmlb:button id      = "view"

                     tooltip = "View selected Attachment"

                     text    = "View Attachment"

                     onClick = "OnInputProcessing()"

                     design  = "STANDARD" />

       </td>

       </tr>

       </table>