Passing paramters and calling a PCUI screen from a BSP Application
Hi,
We have developed a custom BSP application which displays a list of Opportunities in a HTMLB table view based on a search criteria.
When I click on a particular opportunity no., I should call a PCUI screen which should display that particular opportunity details.
Any help is greatly apperciated.
Thanks,
Vasu.
You are going to have to be more specific in what you want.
First I would read the following pieces of info. They will help you with general problems, also with creating an Iterator and read the select rows of a table.
BSP Element - Dynamic tableView with Internal Table
<a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator">BSP Programming: HTMLB TableView Iterator</a>
Just shooting from the hip I am assuming you are clicking on a selected ROW in the tableView where you defined the tableView with <i>selectionMode="SINGLESELECT"</i> and <i>onRowSelection="MySelectEvent"</i> then on the OnInputProcessing Event Handler you read the selected row (see <a href="TableView and selected row)
So and of course once you read the selected row in the OnInputProcessing event handler you can do further porocessing.
However if you are wanting to provide the user with the ability to click an icon or text link in the row then please refer to the Iterator for that.
Similar Messages
-
Calling a Perl script from a BSP application
Hi all,
Is it possible to call a Perl program that resides on a different server from a BSP application. If so, how do I do it.
Thanks,
Shiraz.If I understand correctly what the script does then when you type the script by itself into the webbrowser do you get a response? If it works that way then you can quite easily use something like this:
<htmlb:gridLayout columnSize = "1"
rowSize = "1"
height = "600"
width = "100%" >
<htmlb:gridLayoutCell columnIndex = "1"
rowIndex = "1" >
<phtmlb:matrix width = "100%"
height = "100%" >
<phtmlb:matrixCell col = "1"
row = "1" />
<iframe id="MyIFrame" src="<%= lv_url %>" border="0" width="100%" height="100%" frameborder="0" />
</phtmlb:matrix>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>
See: is it possible to define xhtml:tabscript width by using %
Just give your perl script as the URL for the iframe. Again this only works if calling the perl script in the browser works. -
Calling Java screens from Oracle Forms application
I am working with a client that has a large Oracle forms application. Since rewriting the entire application in Java is not an option at this time, the strategic direction is that any new modules that are to be created for the application are to be done in Java and called from the Forms menu. The decision as to what tool to use to develop the Java modules is still under debate. What is the best (most seamless) way to do this...calling a Java screen from a Forms application? If anyone has any experience in this, or can direct me to some literature on it, it would be greatly appreciated. Thanks.
This is a web app in Forms/Reports 10g R2 running off Oracle AS and an Oracle db. The challenge for us is that the direction is that any new enhancements (screens) are to be built using Java (in either ADF Faces or Swing, another point for debate later) and then called from the Forms app. The business client is only paying for the enhancement. They don't care about moving off Forms to Java, so any extra work on the part of IT to do this, has to be fairly minimal and doable within the project budget. The movement to Java is an IT direction. Is there a way to do this without having to build a java framework for the entire Forms application (which I assume would take some time and involve retesting the entire app)?
-
How to call a sub screen from abap report
Hellow friends,
how to call sub screen 1001 prog name SAPLMGD1
and main program SAPLMGMM screen 4000 of tcode MM02.
i need to call the sub screen from abap reportHi Rajesh,
You can use FM MATERIAL_MAINTAIN_DIALOGUE to go to subcreen MRP1 in MM02.
Please check this sample code from other thread and enter 'MRP 1' for p_dytxt.
REPORT zsritest.
TABLES mara.
DATA: lv_bilds LIKE t133a-bilds,
ls_t130m LIKE t130m,
ls_rmmg1 LIKE rmmg1,
lwa_view TYPE mbildtab,
lwa_auswg TYPE mgauswg,
lt_views TYPE STANDARD TABLE OF mbildtab INITIAL SIZE 0,
lt_auswg TYPE STANDARD TABLE OF mgauswg INITIAL SIZE 0.
PARAMETERS: p_matnr LIKE mara-matnr,
p_werks LIKE marc-werks,
p_dytxt LIKE mbildtab-dytxt.
SELECT SINGLE * FROM mara WHERE matnr EQ p_matnr.
CHECK sy-subrc EQ 0.
CALL FUNCTION 'T130M_SINGLE_READ'
EXPORTING
tcode = 'MM02'
kzrfb = 'X'
IMPORTING
wt130m = ls_t130m
EXCEPTIONS
not_found = 1
wrong_call = 2
OTHERS = 3.
CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
EXPORTING
branche = mara-mbrsh
materialart = mara-mtart
tcode_ref = ls_t130m-trref
* KZRFB = ' '
IMPORTING
bildsequenz = lv_bilds
* KZ_BILDS_CHANGED =
EXCEPTIONS
wrong_call = 1
not_found = 2
OTHERS = 3.
CALL FUNCTION 'SELECTION_VIEWS_FIND'
EXPORTING
bildsequenz = lv_bilds
pflegestatus = mara-pstat
TABLES
bildtab = lt_views[]
EXCEPTIONS
call_wrong = 1
empty_selection = 2
OTHERS = 3.
ls_rmmg1-matnr = mara-matnr.
ls_rmmg1-werks = p_werks.
READ TABLE lt_views INTO lwa_view WITH KEY dytxt = p_dytxt.
CHECK sy-subrc EQ 0.
lwa_auswg-auswg = lwa_view-auswg.
APPEND lwa_auswg TO lt_auswg.
CALL FUNCTION 'MATERIAL_MAINTAIN_DIALOGUE'
EXPORTING
irmmg1 = ls_rmmg1
* IRMMG1_REF = ' '
KZ_EIN_DARK = 'X'
t_tcode = 'MM02'
* FLG_MATNR_RES = ' '
p_pstat = mara-pstat
* FLG_STAT_ALL = ' '
* CALL_MODE2 = ' '
* IMPORTING
* MATERIAL_NO =
* UPDATE_OK =
TABLES
iauswg = lt_auswg[]
EXCEPTIONS
no_authority = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Ferry Lianto -
Can we call a selection screen from List output
Hi Folks,
Can we call a selection screen from the list output?
I mean for ex:-
i am getting the data from MAKT and displaying it in the list output having a button EMAIL.
When I press that button it should call a selection screen asking the user to enter EMAIL id .
Thanks,
K.Kiran.Hi
U can create a dynpro as SELECTION SCREEN and call it using CALL SELECTION-SCREEN statament:
SELECTION-SCREEN BEGIN OF SCREEN 100.
PARAMETERS: P_MAIL(80) TYPE C.
SELECTION-SCREEN END OF SCREEN 100.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'MAIL'.
CALL SELECTION-SCREEN 100.
IF SY-SUBRC = 0. "User press F8
ELSE.
" User press exit or back
ENDIF.
U can use the addition STARTING AT ..... ENDING AT ..... if you need to show the selection-screen as popup
Max -
Calling a Selection Screen from a Function Module/Method
Hi,
I would like to call a selection screen from a function module or method. I understand it is not possible by the definition. Are there any alternative options as I am looking for the Variants Save option on the screen. Any thoughts?
Thanks
RaghavSince i don't know your exact requirements (standard SAP selection screen? your own selection screen?) the onl;y thing i can come up with is:
1. in your function pool create your own screen with a subscreen area
2. create your own selection screen as a subscreen.
3. include the selection subscreen in the first screen
4. call the first screen in your function. -
Passing data from one bsp application to another
Hi,
I have few queries that most of you would have done in ur projects:
1. I want to pass data from one bsp application to another:
eg based upon selected row of table view which populates material no and descriprion to another application which open the entire material master data.
Now, i have both the pages in diff bsp applications in place but unable to pass the selected material code to the second bsp application.
Had it been two different pages of same application I was able to achieve it with set parameter()
2. To stop the application from reprcessing the data:
eg: Suppose I have a bsp page where user fill details of a customer and on submitinng the details a customer is created in background and the entire page is disabled by my code. Even now if the user press refresh (F5) button then another customer gets created in the background. So basically i want to avoid the reprocess of the onSubmit event
Few lines of sample code would be very helpful.
Best Regards,
Saurabh TripathiHi,
When I am writing the following code in appl1/page1:
export abc from transactionID
to data buffer lv_page_data.
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE
EXPORTING
NAME = 'TRANSACTIONID'
APPLICATION_NAME = RUNTIME->application_name
APPLICATION_NAMESPACE = RUNTIME->application_namespace
USERNAME = ls_name
SESSION_ID = runtime->session_id
DATA_VALUE = lv_page_data
DATA_NAME = 'lv_page_data'
and following code in appl2/page2:
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
EXPORTING
NAME = 'TRANSACTIONID'
APPLICATION_NAME = RUNTIME->application_name
APPLICATION_NAMESPACE = RUNTIME->application_namespace
USERNAME = ls_name
SESSION_ID = runtime->session_id
DATA_NAME = 'lv_page_data'
CHANGING
DATA_VALUE = lv_page_data
IF lv_page_data IS NOT INITIAL.
IMPORT abc to transactionid
FROM data buffer lv_page_data.
ENDIF.
still the code doesn't work. Please explain and guide
Best Regards,
Saurabh Tripathi -
Calling an MVC controller from a BSP
Hello,
I'm trying to call an MVC controller from a BSP (Page with flow logic) using bsp:call / bsp:goto and am also passing a parameter. There are two problems:
- parameter is not available to the do_init method of the controller class but is available to the do_request method
- do_init is being called at every event (button click, dropdown etc.)
I've checked that my BSP application, controller and bsp page are all set to stateful (with lifetime = session where applicable).
Please suggest what I can do in this case?
Thanks and regards.
Rajendra Tewanifor the precise solution the exceprts :
in the DO_REQUEST method of the controller class just use
<variablename> = request->get_form_field( '<url param name>' ).
suppose the url is init.do?node=ABC to read the value within the controller
data: nodevar type string .
nodevar = request->get_form_field( 'node' ).
with due thanks to raja for this -
How can i call a jasper report from a java Application
Hi,
i am chiranjit , currently i working in a web based ERP project, in this project as a report building tool we are using JasperReport wih eclipse plugin . in eclipse report's are generating very well but i am unable to call that report from a java application because i have no idea about the How to call a Jasper Report from a Java Application . so please send me the necessary class names, jar files names and programe code as early as possible.
ChiranjitAhh, kind of a duplicate thread:
http://forums.java.sun.com/thread.jspa?threadID=631642
@OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
� {� -
How can i call a VB6 project from my java application using JNI
hi
can anyone tell me the procedure of calling a VB6 project from any java application using JNI
if anyone does know then tell me the detail procedure of doing that. I know that i have to create a dll of that VB6 project then to call it from the java application.
if anyone know that procedure of creating dll file of an existing VB6 project please reply
please if anyone know then let me knowAhh, kind of a duplicate thread:
http://forums.java.sun.com/thread.jspa?threadID=631642
@OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
� {� -
How to call BSP pages from a BSP application of another package
Hi,
I have a BSP application in one package and I want to call pages from another BSP application in a different package.
Is it possible? How it would have to do it?
Thanks in advance
RegardsHi,
You cannot call a page fragment in a seperate window or seperately in the same window...
Page fragment is used only for including a fragment in your page....
It is not a seperate page..!
To call a page fragment, you have to use the include directive...
eg :
<%@include file="Carrier_report_logo.htm" %>
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.
Message was edited by:
Tatvagna Shah -
Opening SAP screen from an internet application
Hi,
I have a requirement in which it is needed to open up an SAP transaction screen from an internet application(salesforce.com).I have written a batch file which opens up the SAP transaction XD03 screen.This batch file can be called from a java program.But since our tool is an internet application,the java code has to be converted to a web service.
Is there any other approach to open SAP screen from internet applications?
Thanks & Regards,
VineethaResolved
-
Premere and After Effects are missing from Cloud Adobe Application Manager... please help ASAP
Short and to the point: If they don't show up, your system doesn't support them. Refer to the Tech Specs on teh product pages and make up your mind...
Mylenium -
How can I execute a query from a BSP application?
How can I execute a query from a BSP application?
I´m trying to execute a Query from intranet. I´ve been looking for examples, but the templates I´ve found doesn´t help me.
does anybody has an example?
Thanks.Hi
Have you designed the BSP application ?
design it first with one page
page will have layout and Event handlers
Design the layout with the fields
in the event handler there are events
in the event On Initiailization or ON inputprocessing write the select query similar to what we write in routine ABAp and fetch the data into ITAB and that has to be passed to the Layout
see the doc
BSP
To learn how to create Web applications with Business Server Pages, you can work through the simple tutorials that build on each other. You should be able to run through all of the steps described here in your own system.
If you want to develop Web applications with BSPs, your system must meet the following requirements: Prerequisites for Creating Web Applications.
The following tutorials are available:
· First Tutorial: First Steps with Business Server Pages
· Second tutorial: A Small BSP Application and A Small BSP Application with HTMLB
· Third tutorial: Our First Online Bookshop
· Fourth tutorial: Further Developing the Bookshop
· A small Tutorial is also available for your first steps with the Model View Controller design pattern.
· For a more complex MVC tutorial based on the third tutorial, see: Our Little Online Bookshop Using MVC and HTMLB
When creating BSP applications, note the browser dependencies described in Note 598860.
steps:
1) start the transaction RZ10.
2) now u u have to select Profile name, so select the INSTANCE Profile from the list of options given with the Profile parameter list.U may find multiple instance profile in the list, so select the profile in which ur server name is given.
3) u will also find three options in the same window.
Administrator data, Basic Maintenance, and Extended Maintenance. So select the last one from that.
4) Now click on change button.
5) here u will find parameter icm/host_name_full, so now set it as FQDN.
6) Now copy ur settings with new version number.
7) Activate that version.
8) And now please restart ur WAS.
So this will set ur FQDN, and also don't forget to login using Admin User.
Now u also check for following service are active in your ICF setting or not,( just start transaction code SICF)
/default_host/sap/bc/bsp/sap
/default_host/sap/bc/bsp/sap/system
/default_host/sap/bc/bsp/sap/public/bc
/def ault_host/sap/public/bc
/default_host/sap/public/bc/ur
/default_host/sap/public/bsp/sap/public
/default_host/sap/public/bsp/sap/public/bc
/defaul t_host/sap/public/bsp/sap/system
/default_host/sap/public/bsp/sap/htmlb
if not then activate all.
check this link
Read this weblog...
/people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
http://www.thespot4sap.com/articles/SAP_WAS_Creating_BSP_Apps.asp
it consists of screen shots also
Check it.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
Regards
Anji -
Calling PCUI call list mgt screen from ICWC
Hi,
My business requirement is to have visibility on the status of the call lists in ICWC.
This cannot be done using standard ICWC screens, so I'm looking to PCUI application CRMD_CLMANAGEMENT to get it done.
So I created the transaction launcher class with the wizard. As transaction parameter I enetered the call list ID. The purpose is to have the selected call list opened when the PCUI screen is opened.
However, seem to be facing issues passing over the correct parameters.
When I select a call list and open the PCUI tx, I get the message: Execution not possible; data flow errors
When I select a bp and open the PCUI tx, the screen opens but there is no call list selected - you can't even search for it. The only possible feature is the ability to (start to) create a call list. (but PCUI could not complete this action either).
My questions are as follows:
what parameters do I need to pass over to CRMD_CLMANAGEMENT in PCUI?
How do I pass over these parameters? Can it be done via the wizard or do I need to do it via additional programming?
How can I get the search function working on the PCUI screen?
Best regards,
CarlHi Thirumala,
Thx for you input, but this does not really tackle the problem. The suggested line of coding only helps if you don't need to pass any compulsory parameters to the PCUI application.
I want the PCUI application to open the call list that was selected in ICWC, or at least a list of call lists that are active for the user. The goal is the end user being able to have some kind of call list mgt transaction.
Best regards,
Carl
Maybe you are looking for
-
I've only had this iphone 5 for a few months, i was able to talk to people perfectly fine but now for some reason, i have to put them on speaker phone or use my headset to hear them, if i don't have them on either, i can't hear anything they are sayi
-
B1DE (2.1) with VS2010 on Windows 7
Hello all, for the benefit of others wanting to run this configuration, it works fine. Here's what I did to make it work: - Download B1DE installer and install (I installed "Just for me", selecting VS2008 as VS version) - Download B1DE Source Code -
-
Hi All, I have got one requirement where i have to copy one iview(Create Education Document) from ESS Business Package.When i am trying to see the iview preview the webpage will open and it is showing following error Error when processing your reques
-
Where to find apache conf on mac 10.8.4
Hi, I have probably read all topics in here about apache but nothing is applicable to me.. I want to know where I can find the apache conf/document root. I have tried going to /Library/WebServer/Documents and theres no apache conf or anything to do
-
I just purchased a G-Raid from Apple for my Mac Book Pro (OS 10.6.8) and they said it would be very easy to set up. It is not. I wanted to use it as additional storage and then it's second disk as back up to its first (so I guess this this would be