Hi give me step by step about BSP please no links i have all

Hi give me step by step about BSP please no links i have all
Thank you,
Jagrut BharatKumar Shukla

Hi
Example 1: A simple “Hello World” example
1.     Go to SE80 or TOOLS->ABAP Workbench->Overview->Object Navigator.
2.     Then go to BSP Application in Repository Browser
3.     Give a name starting with ‘Z’ and the click on display.
Click ‘yes’ and then again a window will appear which asks for description of that BSP Application as shown below:
And then press ‘Save’ button and give a package Name (give $TMP for local objects).
4.     Now Right-Click on your BSP Application and create a Page
Give Page Name and description and page type as ‘Page with Flow Logic’. And then press ‘Save’ Button.
Here in the ‘LAYOUT’ portion some default code is written.
Delete this code and write your own code as shown below:
There is some default code written in the Layout section. We’ll replace this code by our own. In this first page we will use HTMLB to create the layout of the page. The extension that we use has to be specified. We’ll add the title and heading. Then we’ll add the input field for the user to enter his/her name and a button which the user presses to go to the next page.
     The code written is –
<%@page language="abap"%>
<%@extension name="Htmlb" prefix="htmlb" %>
<htmlb:content design="design2002">
    <htmlb:page title="first page to take in user's name" >
    <htmlb:group id = "group1"
             design = "sapcolor“
bodyColor = "#44AACC"
             tooltip ="Tooltip for group1">
    <htmlb:groupBody>
        <htmlb:form>
        <br><br>
<font color = "#0000EE">
        <h2 align="center">Enter your name</h2>
    </font>   
    <br><br><br><br>
    <center>
      <htmlb:gridLayout cellSpacing = "0"
                        cellPadding = "0“
width       = "50%"
                        height      = "20%"
                        columnSize  = "2"
                        rowSize     = "2"
                        >
    <htmlb:gridLayoutCell columnIndex     = "1"
                          rowIndex        = "1"
                          horizontalAlignment = "CENTER"
                           >
      <font color = "#0000EE">
      <htmlb:label id     = "l_name"
                   text   = "User name"
                   for    = "user_name"
                   design = "EMPHASIZED"></htmlb:label>
      </font>
</htmlb:gridLayoutCell>
    <htmlb:gridLayoutCell columnIndex     = "2"
                          rowIndex        = "1"
                          horizontalAlignment = "CENTER"
                          >
     <htmlb:inputField  id ="user_name"
                     value = "<%= user_name %>"
             />
    </htmlb:gridLayoutCell>
    </htmlb:gridLayout>
    <br><br><br>
    <htmlb:gridLayout   cellSpacing = "0"
                        cellPadding = "0"
                        width       = "50%"
                        height      = "20%"
                        columnSize  = "1"
                        rowSize     = "2"
                        >
    <htmlb:gridLayoutCell columnIndex     = "1"
                          rowIndex        = "1"
                          horizontalAlignment = "CENTER"
                           >
<htmlb:button id = "b_next"
                   text = "NEXT"
                   onClick = "onInputProcessing(b_next)"></htmlb:button>
    </htmlb:gridLayoutCell>
      </htmlb:gridLayout>
        <br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br>
      </center>
          </htmlb:form>
     </htmlb:groupBody>
     </htmlb:group>
  </htmlb:page>
</htmlb:content>
Now activate both the application and Page by pressing on the ‘ACTIVATE’ button.
6.     To call your BSP application press F8 or click test Button from 
Your BSP Application, a window asking for user-name and     password will appear :
Give SAP user-name and password and the press ‘OK’.
Example2: Displaying Database tables
For displaying tables from your BSP Application follow points 1 to 5.
In order to display a database table, you need to create an internal Table, select entries from database table to this internal table and then finally display the internal table.
1.     Create an internal table by clicking ‘Page Attributes’ TAB and
Then declare your internal table as shown below:
2.     Now for selecting entries from database table, Go to
  ‘Event Handler’ TAB then go to OnInitialization event and write
  the code for selecting entries from database table into the
  internal table
3.     Finally write the code in layout for displaying the table
Activate both the application and the page and then run the application as explained above
Thanks & regards
Ravish Garg
+
*If you find it useful, plz reward points+

Similar Messages

  • I want to sync my ipod touch voice memo with my new Macbook pro, but iTunes give me a message asking me to erase ipod library, I have all my music staff on ipod and I want your help with that..

    I want to sync my ipod touch voice memo with my new Macbook pro, but iTunes give me a message asking me to erase ipod library, I have all my music staff on ipod and I want your help with that..
    Please
    please

    For small, independent developers, this "not commonly downloaded" error is a common issues in browsers.  You can see complaints from developers here:
    http://social.msdn.microsoft.com/Forums/da-DK/iewebdevelopment/thread/19c57259-c a6e-4f10-a26e-d2f5e03fa52d
    I have placed the setup program inside a .zip file to as a workaround.
    Thanks for reporting this!

  • I am trying to update my itunes and iphone. Everytime I trie comes out a message about 'key access'. I've done all the steps from the support and nothing worked out. I cannot unistall and now I can't open it anymore also. What should i do, please?

    I am trying to update my itunes and iphone. Everytime I trie comes out a message about 'key access'. I've done all the steps from the support and nothing worked out. I cannot unistall and now I can't open it anymore also. What should i do, please?

    Isn't that only used when a PC will not boot?
    What options does booting with this give me?
    Thanks
    JK MCP
    Hi,
    USB recovery disk was used to recover your system when it encounter problem. You can try to use it to fix your problem instead reinstall system. However, there is no method to keep your program whenreinstall system.
    Roger Lu
    TechNet Community Support

  • Can someone give me step by step directions on how to view temporary files on an ipad2?  Thank you.  Carla

    Can someone please give me step by step directions on how to view temporary files on an iPad 2.. Thank you

    What temporary files are you talking about?

  • My ipod touch is not showing in itunes therefore, not syncing. I've gone through the trouble shooting steps about 5 times.

    My ipod touch is not showing in itunes therefore, not syncing. I've gone through the trouble shooting steps about 5 times.

    Did you try here:
    iOS: Device not recognized in iTunes for Mac OS X
    If you  have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
    Next try on another computer to help determine if you have an iPod or computer problem.

  • Can u give clear steps how to load 3 data target at a time by the help of p

    can u give clear steps how to load 3 data target at a time by the help of parllalesim

    hi,
    create the load infopackage type and give the infopack you need to load.
    create 3 similar process types.
    chain should have this flow
    start -> delet index(if cube is the target) -> load target(connect the load process to start process) parallel -> and process -> create index(if cube)/actiavtion of ods(if ods)
    Ramesh

  • Pls give me step by step sequence of Automatic Payment Prog

    Hi,
    Pls give me step by step sequence of Automatic Payment Program.
    Thanks in Advance

    Hi,
    Automatic Processing :  In this processing the system prepares open item to be paid and prepare a payment document & to this payment document the system prepares a cheque with the payment advise note automatically
    Configuration of Automatic Payment Program :  SPRO -  Ref-IMG-FA-A/R&A/P u2013 Business Transaction- Outgoing Payments u2013 Automatic Outgoing Payment u2013 Payment Method/Bank Selection for payment program u2013 Set up all Company codes for payment transactions.(T.Code:FBZP)
    New Entries
    Company code : 6023
    Control data
    Paying Company code : 6023
    Enter & Save  back to menu item
    Setup paying  Company Code for Payment Transactions :
    New entries
    Paying Company Code : 6023
    Control Data
    Minimum amount for incoming payment ________
    Minimum amount for outgoing payment  500  INR
    Forms
    Sender Details
    Select Forms
    Form for the payment advice u2013 Select International Payment advice Note F_110_IN_AVIS
    Save          back to menu Item
    Setup payment methods per country per payment Transaction :
    New Entries
    Country IN
    Payment method X (any identification No or Alpha)
    Description Cheq
    Payment method for
    u2022     Outgoing payment
    Payment method classification    * Check
                                       Posting Details
                                       Document type for payment KZ
                                       Clearing Document Type     KA
    Use classic payment medium programs payment medium program RFFOUS_C
    RFFO  :     Program Code
    US     :     Country
    C     :     Payment
    Name of Print dataset :  LIST1S
    & SAVE  Back to menu Item
    Setup payment methods per Co code for Payment Transactions
    New Entries
    Paying Company Code : 6023
    Payment Method X
    Minimum Amount 500
    Maximum Amount  5000000
    Select form data
    Forms
    Form for the payment transfer medium F_110_PRENUM_CHECK
    (International u2013 Check (with check management)
    Next form
    Enter & Save  back to menu item
    Set up Bank determination for Payment Transaction : 
    Select Position button
    Paying Company Code 6023
    Paying Company Code     Name
    6023     Reliance Infocom
    Select Company Code
    Select Bank Selection : Ranking Order
    New Entries
    PAYMENT      CURRENCY            RANK ORDER          HOUSE BANK
    X          INR               1                   6SBI0
    X          INR               2                   6ICIC  (NEXT PREFERED BANK)
    ENTER & SAVE
    Select Bank Accounts
    New Entries
    HOUSE BANK     PAYMENT     CURRENCY        ACCOUNT ID    BANK SUB A/C
    6SBI0               X                   INR          6S002          211002
    6ICIC                X                   INR          6I002          211002
    If we do not specify currency --- all the currency accepted
    Save
    Select Available Amounts
    New Entries
    House Bank     Account ID     Days     Currency     Available for O/  Pay
    6SBI0             6S002     999         INR               500000
    6ICIC              6I002     999         INR               500000
    Save & Bank to Menu Item
    CHANGE VENDOR MASTER RECORD TO SPECIFY THE PAYMENT METHOD    XK02 :
    Vendor          1000000
    Co Code      6023
    Co Code Data
      Payment Transactions
    Enter
    Automatic Payment Transactions
    Payment Method    X
    & Save
    lly
    For all the Vendor Master Record specify the payment method
    Execution of Automatic Payment Program :-       Accounting u2013 FA u2013 A/P u2013 Periodic
    Processing F-110 u2013 Payments
    Enter Run Date : 20-04-2006
    Identification Code : YRK00
    Select Parameters
    Posting Date : 20-04-2006 Doc entered upto 20-04-2006
    Payment Control
    Company Code     Pmt Method          Next Posting Date
         6023               X               21-04-2006
    Accounts
    Select Vendor Accounts 1000000 to 3840099
    Specify the range of vendors
    Save the parameters
    Select Status Button
    Select Proposal Button
       Start immediately
    Continue
    Press enter key until the system displays a message payment proposal has been created.
    To Check Payments List u2013 Select Edit Proposal
        Continue
    The System displays
    Vendor      Item      PM       H.Bank                    Curr        Amount
    1000000          2          X           6S002    6SBIO        INR       500000-00
    To Block the Payment :   Double click on the item - again double Click
    Block
    Payment Block   A  Blocked for payment
    Continue
    Select back button
    Select exceptional list item u2013 Select Reallocation Block
    Payment Method X
    House Bank 6ICIC  61002
    Continue
    Select back button
    Save
    Select back button
    Select Printout/datamedium
    From printing/data medium exchange
    Program                Varient
    RFFOAVIS                            6023  AVIS
    Keep the cursor on first row/Columns Enter
    Name  : 6023 AVIS
    Select maintain Varients
    Select Continue Button
    Program run date
    Paying Co. Code  6023
    Number of Sample
    u2022     Print immediately
    u2022     Select attributes
    Varient Name
    Meaning     Payment advice form
    & Save
    Select back button
    Keep the cursor on 3rd row first column
    Program     Variant
    RFFOAVIS     6023 AVIS
    RFFOEDI1
    RFFOUS_C    6023SBI  (3RD ROW FIRST COLUMN)
    Select maintain Variant
    Paying Co Code : 6023
    Further Selection
    Paymethod   X
    House Bank  6SBI0
    Account ID 6S002
    Check Lot No : 2
    *     Print Checks                    Printer LP01   *  Print immediately
    *     Print Payment Advise Note          Printer LP01   *  Print immediately
    *     Print Payment Summery          Printer LP01   *  Print immediately
    Output Control
    Number of Sample Printouts     0
    Select Attributes Button
    Varient Name          6023SBI
    Meaning          State Bank of India
    Save
    Select back button
    From Printing
    Program Variant
    RFFOAVIS
    RFFOEDI1
    EFFOCUS_C 6023 ICICI
    Maintain Varient
    Paying Co Code : 6023
    Further Selections
    Payment Method X
    House Bank 6 ICIC
    Account ID 61002
    Check Lot No.2
    Print Control
    *     Print Checks                    Printer LP01   *  Print immediately
    *     Print Payment Advise Note          Printer LP01   *  Print immediately
    *     Print Payment Summery          Printer LP01   *  Print immediately
    Output Control
    Number of Sample Printouts     0
    Select Attributes Button
    Varient Name          6023ICICI
    Meaning          ICICI
    Save
    Select back button
    Select Status Button
    Select Payment Run
    Start Date : 20-04-2006  Start immediately
    Create Payment medium
    Select Continue Button
    Press Enter Key until system the display message u2013 payment run has been carried out
    Select Printout
    Print JOB
    JOB NAME          F11020060420-YRK00--?  1
    To check the job: System u2013 Services u2013 Output u2013Control u2013 Execute
    Spool No Type Date Time Status Pg Title Cheque
    *1167
    Select Display Content Button
    *1168               Payment Advice
    Post with Print Form  : 
    Accounting u2013 FA u2013 A/P u2013 Document Entry u2013 Outgoing Payment u2013 F-58
    Post+Print Form
    Payment method and form specifications
    Co Code   : 6023
    Payment Method X
    House Bank 6 ICIC
    Check Lot No : 2
    Alternative Form F110-PRENUM-CHK
    Printer
    Printer for Forms LP01       * Print immediately
    Payment Advice Printer LP01
    Enter Payments
    Document Date : 20-04-2006
    Posting Date      : 20-04-2006
    Bank Posting details
    Amount : 10000
    Value Date : 20-04-2006
    Payee
    Vendor  383001
    Select Process Open Items
    Select Partial Payment
    Simulate
    Post
    Print Parameters
    Output          LP01
    Number of copies 1
    *Continue
    The System display-PrintJob was generated System u2013 Services- Output Control
    Spool Req Number   XXXX
    Execute               Title
    Cheque
    u2022     Select  Display Content Button

  • I have never used Illustrator...can you give me step by step instructions to use your t-shirt template? I watched the tutorials, but they leave out basic information

    Can you give me step by step instructions to use the tshirt template for someone who has never used this program before

    a free trail of lynda.com could help
    lynda.com library | Trial Subscription
    You might also try adobe's set of tutorials.
    What you are asking is beyond the scope of this forum.
    It's sort of equivalent to asking for step-by-step instructions for using cruise control for someone who has never driven a car before.
    You will need to take some time to learn the program before you can successfully create work in it.

  • I am trying to retrieve my photos from my I phone 4s because the screen is smashed. The pc that I use is windows not an apple computer. Can anyone give me step by step instructions how I can get my photos? Also, I don't have icloud.

    I am trying to retrieve my photos from my I phone 4s because the screen is smashed. The pc that I use is windows not an apple computer. Can anyone give me step by step instructions how I can get my photos? Also, I don't have icloud

    If the iPhone is still working and the photos are in the Camera Roll (i.e., taken on the iPhone) then, when you connect the iPhone to your PC, it should be recognized as a Camera and Windows should start AutoPlay.
    See this http://windows.microsoft.com/en-us/windows/get-pictures-camera-computer#1TC=wind ows-7

  • How can  i do exception aggregation  please give scrreenshots steps in bi-7

    how can  i do exception aggregation  please give scrreenshots steps in bi-7

    HI Deba,
                 We can create exception aggr in inof object level........
    we can maintain at query level also.........
    Exception aggregation
    In the query definition, the exception aggregation that was specified with the InfoObject
    maintenance can be overridden. This overriding leads to a worsening of performance
    however.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bda556e9-0c01-0010-83b0-d519d6deb9e9
    Regards,
    Vijay.

  • Can anyone give me step by step for calling FM from one SAP to another SAP

    can anyone give me step by step for calling FM from one SAP to another SAP
    points will be rewarded,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    *& Report  RFC_FOR_CUSTOMER_LIST
    *& RFC to a Fn. module from another system which implements BAPI
    REPORT  rfc_for_customer_list.
    DATA:
      fl_status TYPE i.
    DATA:
      fs_message TYPE bapiret2.
    DATA:
      BEGIN OF fs_customers,
        id   TYPE s_customer,
        name TYPE s_custname,
      END OF fs_customers.
    DATA:
      t_customers LIKE
         STANDARD TABLE
               OF fs_customers.
    CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
      IMPORTING
        return = fs_message
      TABLES
        customerlist = t_customers.
    IF sy-subrc EQ 0.
      fl_status = 1.
      LOOP AT t_customers INTO fs_customers.
        WRITE:
          /10 fs_customers-id,
           30 fs_customers-name.
        AT LAST.
          WRITE:
            /,/5 'No of customers in R3N = ', sy-tabix.
        ENDAT.
      ENDLOOP.
    ELSE.
      MESSAGE 'RFC failed' TYPE 'S'.
      EXIT.
    ENDIF.
                           TOP-OF-PAGE EVENT                            *
    TOP-OF-PAGE.
      IF fl_status NE 0.
        WRITE:
          /12 'ID'   COLOR 6,
           32 'NAME' COLOR 6.
        SKIP.
      ENDIF.
    This is one small example...
    Regards,
    Pavan

  • What's the packing steps about inbound delivery ?

    Who can tell me what's the packing steps about inbound delivery ? thanks.

    You don't pack for inbound delliveries.. why would anyone do that?
    One reason might be that the goods are packed...and you want to have information on packaging and want to manage the packmat inventory.
    XG,
    One possible sceanrio might be:
    1. Create PO - ME21N (e.g.)
    2. Enter confirmation. (you have to maintain confirmation control in config) - ME22N
    3. Create inbound delivery with reference to shipping notification no. (or auto inbound delivery creation might be set) - VL31N (e.g.)
    4. Enter bacth for the delivery item if batch management is set for your goods. (e.g. VL32N)
    5. Click on "pack" icon (or menu > Edit > Pack) > When HU processing screen appears click on "pack" icon and create HU for the item - VL32N
    (Based on your settings auto packmat item might be generated when creating the HU. If you have packaging instruction you can use "automatic packaging" icon as well)
    6. If you use WM, please create the TO (menu > Subsequent functions > Create Transfer Order). You can carry out TO confirmation in LT12 if necessary - VL32N
    7. Post GR - VL32N
    (you can use VL06I to manage your IBDs)
    There are other scenarios as well...(e.g. you can set auto PGR for TO confirmation, etc)
    Regards,
    Csaba
    Edited by: Csaba Szommer on Mar 2, 2009 8:19 PM

  • Give the step by step approach to set up LIS?

    Give the step by step approach to set up LIS?

    Hello,
    Check this:
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    Assign points if this helps
    Regards,
    Jorge Diogo

  • HT3887 Having trouble connecting blutooth on my laptop. Devices are paired but it says "not connected". I've gone thru System Pref. with no luck. Can anyone give me step by step help to reconnect BLUETOOTH? plz, ty

    Having trouble connecting blutooth on my laptop. Devices are paired but it says "not connected". I've gone thru System Pref. with no luck. Can anyone give me step by step help to reconnect BLUETOOTH? plz, ty

    Hi:
    There are no dumb questions...answers, yes, but not questions.   Sometime I use acronyms and forget that I should explain things a bit more. 
    Resetting those two things sometimes helps and cannot hurt.
    SMC=system management controller:
    http://support.apple.com/kb/HT3964
    PRAM=parameter random-access memory:
    http://support.apple.com/kb/PH4405
    If that does not help, delete the phone from your computer (system preferences>Bluetooth), restart, and then add it back in:
    http://support.apple.com/kb/PH3660
    Barry
    P.S.  If everything fails and you are near an Apple store, make an appointment with a "genius" and take the devices in for them to assist.

  • Editing a scanned document in Adobe Pro XI but need to edit an image on the document with Photoshop.  Can anyone give me step by step instructions, please? I am desperate.

    Editing a scanned document in Adobe Pro XI but need to edit an image on the document with Photoshop.  Can anyone give me step by step instructions, please? I am desperate.

    chef gilly wrote:
    Yes sir!  If you tell me how to do that.
    When replying, click the camera icon above the reply box. Then click "choose file" and choose your file.  Etc.

Maybe you are looking for