Create Transaction for Webdnypro ABAP Application
Hi Guru's,
1.I created one webdnpro application for reimbursement form .Now the user want run the application in SAP tcode , for that i created one tcode in SE93. Thats fine . When i run the application through the T CODE some standard toolbar buttons(BACK,EXIT AND CANCEL ) are came .
My requirement is i have to deactivate the buttons or else i have to write my own logic inside those buttons. I found the screen no by Menu bar ----->system---------->status .But its asking access key for edit the screen .
How i can deactivate the buttons are or else i have to write my own logic for those buttons.Give me yours valuable suggestion .
2. How i can print the entire my application in that TCODE. I created one button called PRINT.but it is not working .anyone have code for. print the application when i click PRINT button .
Thanks,
Pasumpon Karuppaiah
Hi,
It is the standard transaction WDYID, when you try to change, you will be prompted for access key as it is a modification. the GUI status is set using PF-STATUS 'HTMLVIEW' . In PBO, you can comment the PF status using modification or in PAI, you can write the handling for back button using OK Code.
And, to print WDA application, use the following code in on action Print button:
data: l_api_componentcontroller type ref to if_wd_component,
l_appl type ref to if_wd_application. l_api_componentcontroller = wd_comp_controller->wd_get_api( ). l_appl = l_api_componentcontroller->get_application( ).
l_appl->print_page( ).
Check this help for more details: Printing Web Dynpro ABAP Applications - Web Dynpro for ABAP - SAP Library
Hope this helps u,
Regards,
Kiran
Similar Messages
-
Creating iView for WD ABAP application - Handling URL parameters
Hi,
I have a Web Dynpro ABAP application with me for which I have to create a iView in portal.
This application has certain parameters to be passed via application URL.
How do I take care of these URL parameters when iView is called?
Thanks and regards,
AmeyHi Sandip,
I have created an iView for WD ABAP application.
But for some unknown reason, it just displayed a tiny cross symbol while previewing it.
Here are the properties of iView I created :-
Authentication Scheme = basicauthentication
Application Name = ZPLdaApp
Application Parameters = dp=2&tn=ZGLTCO_ATTCH&so=ZGLTCO_ATT&dt=ZLDA_TCO&in=WD_ABAP_TEST
System = mysap400
Web Dynpro Client = Windows client
Any idea what is going wrong here?
Thanks and regards,
Amey -
How to create transaction for a maintenance view, Thank you.
How to create transaction for a maintenance view,
Thank you.
deniz...Hi Deniz,
Go to se93.
Then create the new T.code.
Under that select parameter Transaction.
Then give the sm30 in the t.code in default values tab.
check the checkbox skip initial screen.
in classification tab.
click checkbox inherit gui attributes..
Now below..
In the default values..
select
viewname and give ur table name.
UPDATE= Xsave
view - table name ( Should be upper case
update X ( should be upper case).
http://www.sap-basis-abap.com/sapbs011.htm
Hope this helps you.
Regards,
Viveks -
Getting prob while creating view in webdynpro ABAP application
Hi Guys,
I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
can anybody let me know how to solve this problem.
Thanks In Advance
Regards
RavikumarI think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
Please reward if useful. -
How to create transaction for table maintinance generator
what is the procedure(steps) to create transaction for a table maintinance generator
Hi,
The link will be useful for ur requirement.
allaboutsap.blogspot.com/2007/04/table-maintenance-in-sap-step-by-step.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
REgards,
Sarosh -
Hi experts,
Can anybody help how to create transaction for table maintenance generation?
Thanks in advance,
Zak.Hi
Check this:
Table maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.
Create a table maintance program for a z table :
In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .
Or
You can create a PARAMETER TRANSACTION for the transaction for SM30 .
Follow these steps :
1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
3. In the next screen enter default values:
transaction : SM30
check the check box skip initial screen
4. Scroll down you will find a table control for default values
Name of the screen field | value
VIEWNAME | your ztable name
SHOW | X
Save your work.
Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
Regards,
Vishwa. -
How to create transaction for FM
Hi All,
Can anybody please let me know How to create transaction for FM which can direct run by passing value and return the result.
I want to create transaction code for my function module.Please let me know how we can achieve that. tahnsk in adavance.
Regards,
Kalpana
Message was edited by:
kalpana kHi,
You can create transaction code for your FM. First create a report program in SE38. and call you FM as shown in below example.
report Zxyz.
constants: gc_viewname like dd02v-tabname value 'YFIT_COST_RATE'.
start-of-selection.
call function 'TABLE_CUSTOMIZING_MAINTENANCE'
exporting
tabname = gc_viewname
exceptions
no_views = 1
others = 2.
if sy-subrc <> 0.
message a007(e2) with gc_viewname.
endif.
similar to this FM you can call your FM and you can write your processing logic after FM call.
thanks,
sksingh -
Create iView for Web Dynpro Application
Hi guys,
I've created a Web Dynpro Application via NWDI and deployed to the j2ee server. Now, I'm trying to create an iView to link to that application. The steps I've done are:
1. Create iView for Web Dynpro Application
2. Select "Create iView from each application View"
3. Select my application.
That's when the error occurs at step 3. I select my application and click next, but an error msg keeps appearing telling me to "To continue, select at least one application" despite having already done so. Can anyone enlighten me on this? Thanks!
ZHenminHi,
First make sure the applications runs fine standalone. Also the versions for WAS and EP are maintained correctly. Actually, this error seems to be occur for many users. Check this thread too.
Open new Web Dynpro iView in EP7
If nothing works, restart the server and try creating the iView again.
Regards,
Harini S -
Create Transaction for web-dynpro ABAP
hi
Can you help me in creating a transaction for web-dynpro ABAP.
thank you.If you want a SAPGUI transaction code that will launch your Web Dynpro ABAP application then I suggest creating a parameter transaction code that wraps around the SAP standard transaction code WDYID. You can use the parameter STARTMODE to decide if you launch your browser within the SAPGUI window or if it opens a new browser window. You will get SAPGUI based Single Sign On with this transaction code as well. Here is an example of a TCode I setup:
http://www.flickr.com/photos/tjung/2758987559/
And here is what it looks like when running in place within the SAPGUI:
http://www.flickr.com/photos/tjung/2758987583/ -
Problems creating new Web Dynpro ABAP application
All,
I am following this tutorial to create my first Web Dynpro ABAP application
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/501b42b5815133e10000000a155106/frameset.htm
In this tutorial I was asked to create a component as Local object.
But after giving the name of the component, I get an alert saying
"Object can only be created in SAP Package"
When I confirm this, I was shown a "Create Object Directory entry" dialog box which asks for attributes like Package.
And this box has Local Object button, when clicked I get the message "Test Objects cannot be created in foreign namespaces".
I found some other article through Google
http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf
According to this, I tried to give $TMP as Package. But still have the same error
"Test Objects cannot be created in foreign namespaces"
Where am I and what should I do to create a new project?
Thanks.Thanks Abinav.
My problem is with naming convention only. Component name starting with Z solved my problem. -
Runtime Error for WD ABAP Application in Portal
Hello Everyone,
I developed a WD ABAP Application and then created an iview in portal for this WD ABAP application and then assigned this iview to a role.
Now, when I click on this WD ABAP iview it is working fine for the first time. If I click on the iview "again" it is throughing the following error message. Please let me know why I am getting this error.
The following error text was processed in the system DV1 : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server sapdv5_DV1_00 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
I greatly appreciate your help.
Regards,
Gopal.
Edited by: Gopal on Sep 17, 2009 7:09 PMHi Gopal,
I m not sure enough regarding this error but on searching i came accros a thread in wjhich some solution is provided which might help you.
User session (HTTP/SMTP/..) closed after timeout
just go thru this ..
regards,
anand -
Issue on Creating RFx in webdynpro ABAP application - SRM Business Package
Hi
We are in to SRM 7.0 with the same version of Business Package in SAP Portal also.
I am trying to create a RFx from Portal which in turn calls the webdynpro ABAP application (Strategic Purchasing->Strategic Sourcing->Create Documents->RFx)
sap/bc/webdynpro/sapsrm/wda_l_fpm_oif.
This Application has some button called "Tech RFx", "Permissions" etc., When I click on those buttons it throws the error as below :
"There is no iView available for system "SAP_SRM": object "TechResp". For more information, contact your administrator."
Please let me know where we are missing. I have checked all the Portal permissions. Even I can able to access all other iviews except this two buttons.
Any settings or parameters required on webdynpro ABAP side.
Regards,
Raja.JDear Raja,
this behavior occurs if the IView com.sap.pct.srm.gp.iv_tech_resp
is not assigned to the role which is assigned to the user.
Please assign this IView to the desired user.
Here are the steps to follow in your systems:
STEP 1: Login to the Portal with Content Admin Authorization.
STEP 2: Navigate to Portal Content -> Content Provided by SAP ->
specialist -> SRM7.0 -> Core -> Roles -> Open the desired role and
choose Navigation Folder.
STEP 3: Now navigate to Portal Content -> Content Provided by SAP ->
specialist -> SRM7.0 -> PPS -> iViews -> Tendering -> Select Tech
Responses (Technical name is iView com.sap.pct.srm.gp.iv_tech_resp) and
right click and choose 'Add iView to Role' -> Delta Link and save.
STEP 4: Log off and login with the user and check the issue.
Best regards,
Tamas -
Setting dynamic language for WD ABAP application iView
Hi,
I have created an iView for a WD ABAP application which runs with two languages, EN and FR.
When I run this application with app parameter sap-language=EN or FR, it works fine in corresponding language.
How do I set this in its portal iView so that it picks up browser language?
Thanks and regards,
AmeyHI Amey,
The language is determined in the order below.
1. sap-language URL parameter
2. Default language in the setting for the system logon
3. Web browser languages (Accept-Language)
4. Default language of the SAP system
Refer to
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/7b/fb57412df8091de10000000a155106/frameset.htm
Just clear the logon language parameter for the user in SU01 and it should pick the browser language.
If you change the browser language, you will have to logout and login again to the portal for the changes to take effect.
Thanks
Prashant -
Iview for Webdynpro ABAP application with TimedTrigger
Hello,
I created an IView for a WebDynpro ABAP application. This application uses a UI element TimedTrigger. Without portal integration this TimedTrigger works fine. Inside an IView this TimedTrigger element does not work anymore. Did anyone have a similar problem? Does anyone have a solution for this?
Thanks and regards
Marchi,
Go through this link
[****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
Hope it will help you.
Regards,
Rohit -
Online Help for WD ABAP application
We develop a WD ABAP application ("as a product") and want to provide an online help. In our last version we used an HTML online help (about 250 static HTML pages)
1) I see the option to create such an help in the Knowledge Warehouse. Since we develop a product this help there would not be of any use for customers who do not have the KW. Or am I wrong here?
2) Since the number of HTML pages (250+ html files, lots of images and directories) is significant I doubt I want to import them all to a WD application's MIME repository.
Q: Is there any better option than 2), or is 1) an option at all.Hi Frank,
You could also store the online documentation on any kind of web server and link to it from the web dynpro application. Btw.: The WebAS supports WebDAV, which allows you to upload large quantities of files in a convinient way. Moreover, since the type of mime objects is online documentation, you might consider adding it to the public part of the mime repository. Storing it inside of a Web Dynpro component would require users to be authenticated in order to read it.
Best regards,
Thomas
Maybe you are looking for
-
When I insert a format extension the design view disappears?
Hi, I'm just following one of the tutorial from Lynda.com and found that when I change the format of a variable from a record set something very odd happens ... certainly not what happens in the tutorial. Okay .. here is what I'm doing ... I've insta
-
Hi all, I am having a problem with opening downloaded files. I downloaded the windows media player for mac os from the microsoft website. The players icon is on my desktop. How the hec do I run it?? When I doubleclick on it it says script editor cann
-
how to cascade update?
-
Is it possible to film from a Canon XL1 or GL1 directly to the ipod hard drive? The physical size & 80 gig memory of the Ipod would make it ideal on a shoot. Thank you for your time.
-
Reg SUPRESS in message mapping
Hi Guys, i have a requirement to map the items from source based on a condition(if flag = X).if the condition is true then need to create item segment in target else donot create segment. here iam facing a problem with SUPRESS. if the first item is f