How do I seperate code in BSP ?
Hi,
How do I seperate code in BSP ?
(I do not want to make classes or "external" FM.)
In abap I can use the form-statement.
form ShowConfirmedPO.
endform
//Martin
Hi Martin,
I am a little bit curious. Why you don't want to create any classes/FMs? Believe me if you want to write complex bsp applications which are easily maintainable, extendable and have a good testability you should always use MVC and MVC needs classes. You have all the cool tools available use them
And regarding your question I don't think there is another way to structure your code when you don't want to use classes.
regards
Thomas
Similar Messages
-
How to call Java API from BSP?
I have a requirement to call Java API from BSP application.
I have checked the forum and found that it is possible by using some ABAP codes.
However there is no pointer on how this is done.
Can someone explain the details on how to call Java API from BSP is done?
I found class CL_EJB_JAVA_OBJECT_METHODS to call a method in EJB but can't find function or SAP class to call Java API.
Actually is there any BSP extention which can used to call Java API?
Thanks,
Hendricheck out these weblogs, it should give you an idea how to go about it.
/people/ignacio.hernndez/blog/2006/12/04/speech-synthesis-listen-the-application-server-is-talking-to-you
/people/puru.govind/blog/2006/12/20/let-abap-speak
Regards
Raja -
How to write html code in narrative
Hi,
How to write html code in narrative to get following format
desc value1 Value2 totalvalue
a 10 20 30
b 20 30 50
Totalvalue 30 50 80
Total % 0.3 0.5 0.8
Can any one help guide on writing HTMl code for above table format in narrative type of display data at report level
Thank you
ManuHi Balu,
If you are using the Web Application server (WEBAs), Then you can create applications using BSP( Bussiness server pages). Which is some what luike JSP.
Or
In SE80 , Try to create internet service files uisng BHTML. In the dropdown select internet service. And then try to create the HTML templates
Thanks,
Sarayoodharan.K -
How to find function code for buttons on toolbar in oops alv
Hi experts,
I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALVHi Prakash,
-->First you have to set the pf status in your alv program by,
{FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS}
-->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
i_callback_pf_status_set = 'PF_STATUS'}
*-->Then doble click on that pf status,
From the menu bar, select Extras->Adjust Template->List Viewer,
This will give you the existing statndard gui status of the program*
->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
i_callback_user_command = 'COMM'
And make a subroutine of the name 'COMM'i.e,
FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA: okcode TYPE sy-ucomm.
okcode = ucomm.
CASE okcode.
WHEN 'REF'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'MANSI'
txt1 = 'CREATED BY'
txt2 = SY-UNAME
TXT3 = ' '
TXT4 = ' '
endcase.
Hope it helps you
Regrds
Mansi -
How to find Transaction code from Report/program name ?
Dear all,
How to find Transaction code if i know Report/program name ?Hi,
In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
if any transaction is created for the program u can find it under the transaction folder.
revert back for further queries.
Regards,
Sravanthi -
I have 2 email accounts in my phone. A gmail acct and an Outlook acct. After upgrading to 7 there is only 1 inbox and it is titled "All Inboxes". This has combined both email accts into one list. How do I seperate the inboxes and be able to open each account seperate?
In Mail app, on the upper left side you will see <Mailboxes Click on that and you can select individual email acounts or choose to have them all in one.
-
I have 2 ipods,one for music and the other for old time radio shows.Each had their own file.My computer crashed and I had to buy a new one.Now both ipod files are merged into one.How do I seperate them on the computer?
Hi Craig
Unfortunately, in your case, there isn't really a way to separate them as far as I can think.
You could try restoring from a backup, and choosing an older backup perhaps
Cheers -
How Can I Seperate to Accounts that Are Currently Sharing (by accident)?
Hi,
I have accidentally, merged accounts with my daughter by using the same UserID (e-mail) and now they are shared. How can i seperate the accounts again without losing any info, etc?
Thank youI was thinking in line with purchased music. I have two accounts, by accident. Jobs stated on Mon day that the iCloud is the truth and iTunes Match doesn't care where you got your music. I am sorry if I gave bad advice.
-
How do i seperate 2 iphones from using the same itunes account?
Recently moved from aus to nz, sold my other phone and now have a new phone in nz, hooked it up to my itunes to set it all up and get old info. Now ive changed it to new nz number and removed old number from itunes acct, updated billing and email on account info and all through my phone (icloud/imessage etc) but still getting messages from other phone in aus coming through. Pls help - how do i seperate the 2 phones?
Go to iCloud.com.
Log in with your Apple ID & Password.
Go to Find My iPhone.
Select the device that you sold.
Erase the device.
Remove it from your iCloud account. -
How can i seperate my iphone from my ipad within itunes
Good evening,
How can I seperate my iphone stuff from my ipad stuff within itunes? I do not want eveything on my ipd to be uploaded to my iphone and vice verse. Please help I'm new the Apple family.You'll need to restore it. See:
http://support.apple.com/kb/ht1212
http://support.apple.com/kb/HT1808
Regards. -
How to print claim code for envy 5530 without connecting to internet?
how to print claim code for hp envy 5530 without connecting to internet. We do not have wireless internet and we are trying to set up the eprint app for our samsun android phones and ipad. We need to print off the claim code from the printer but it seems we need to have internet for that. is there any way around that?
ThanksHi,
You have to, without connecting to the internet, the claim code (if you can get one) is useless.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How to Print Bar codes in SAP script.
Hi Experts,
Could you please tell me how to print bar codes through sapscript (the steps basically)?
<<text removed by moderator>>
Thanks in advance,
Suchi.
Edited by: Matt on Nov 13, 2008 2:04 PM - do not use ASAP or urgent.hi,
check these.
[https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
[http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm] -
How to write source code in smart forms?
hi friends,
can anyone can help me in writing sorcecode in smartforms r
any materail link.
if it is helpful points can b rewarded.Thanks in advance.Hi,
Check this link for
how to write source code in smart forms?
http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
You can write Source Code in smartforms By Choosing Program Lines.
Check this link with Screen Shots
http://****************/Tutorials/Smartforms/PO/page1.htm
Reward All Helpfull Answers
Regards
Fareedas
Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM -
How to create t-code for a table and how to create transaction variant???
Hi,
I have created a custom table zsark.
Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
Now,
1. how to create transaction code to a table. Can any one give me the
staps??
2. how to create transaction variant for the above requirement???
Thanks & Regards,
SarkarHi
1 Goto SE93 transaction
2 Choose 5th option Transaction with parameters
3 Give transaction : SM30, Check Skip Initial Screen Press Enter
4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
5 Press one more time F4, choose update , mark it X on right side.
6 save the transaction.
Thanks
sandeep
reward if helpful -
How to create transaction code for a Z-table
How to create transaction code for a Z-table?
Se93 --> then which radio button to be selected? and what is the program nam e to be givenHi Sam,
<b>Procedure to create a TCODE for ZTABLE:</b>
Create a table maintainance/View for the Z* Table.
Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
<u><i>Se93 --> then which radio button to be selected</i></u>
Select the parameter transaction as a radio button.
<u><i>what is the program nam e to be given</i></u>
no need to give any program name. Instead you have to give the transaction code name as SM30.
Pls mark the helpful answers.
Thanks
Eswar
Maybe you are looking for
-
Trying to sync my new i6. It's been stuck on step 2 of 5 for an hour. Syncing mail accounts. Why the delay?
-
Why do we need to create Packages?
Packages I know are used to group procedures together. But why do we create packages when stored proc alone is sufficient.
-
I know I can do scroll using two fingers, but I have not figure out how to do back and fwd using touchpad. is it possible?
-
IPAD loses podcasts downloaded via iTunes Store
I've subscribed to several free podcasts via my MacBookPro and sync'd them with my iPAD. I tried to download some directly from my iPAD where it lets you click "get more" and browse the iTunes podcast library. I selected and download (or so I thought
-
Why can I no longer insert a picture in a header in the newest Pages?
Since updating pages I can no longer add a picture into a header. It doesn't matter if it's inline or floating. Cutting and pasting won't work either. It's been very tough not to throw my laptop out the window. I know this program pretty well at this