Custom Button in Sap Standard webdynpro Component
Hi Friends,
i have one requirement
1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
2. but when i click this button, one Z webdynpro component should run,
Can any one please give me idea on this
Thanks and Regards
Kumar Srini
Hi,
copy below given code and paste inside of your on action method,
Note: just change the url address
data: l_window type ref to if_wd_window_manager.
data: l_cmp_api type ref to if_wd_component.
data: str type stinrg.
data: result type if_wd_window.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZWEBDYNPRO COMPONENT NAME'
IMPORTING
out_obsolute_url = str.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window = l_cmp_api->get_window_manager ( ).
result = l_window->create_external_window(
url = str ).
result->open( ).
Similar Messages
-
Adding an Input field in Standard Webdynpro Component in SAP SRM
Hi Friends,
I want to add one input field in sap standard webdynpro component in SAP SRM MODULE
the component name is /SAPSRM/WDC_DODC_RFQ_H_BD
view name is V_DODC_RFQ_H_BD
Upon clicking on SAVE button , it shud save in database
what is the name of database table and how to solve this problem
Thnx
SriniHi Kumar,
By using Enhancement Framework you can do this.
How can we add a new field to the Standard Webdynpro application?
Also check this..
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81
Cheers,
Kris. -
Enhancing Standard webdynpro component
Hi friends,
I have never worked on enhancing standard web dynpro components,
Now i have got requirement, In SRM webdynpro component i have to place Custom Label and Custom Hyper Link, when i click on that hyperlink, one pop up window shud be open, can any please guid how to enahnce this standard webdynpro component
Thnx
Kumar SriniHi,
To Enhance any standard compoenent, and specially a "VIEW" just follow the below steps:
1. Go to SE80, Give the Component Name and press Enter
2. Go to the Desired "View"
3. Click enhance button (ICON Like spiral,6th from left to right of Application toolbar)
4. A Pop up will appear asking your Coposite Enhancement name and Enhancement Implementation name. Create "NEW" on both the occasion.
Now for UI Enhancements:
a) Click the "ROOT UI Element container" , right click add the custom UI elements and assign Property values as per your requirement( like binding,text,action etc.,). It is just like adding UI elements in Z-Compoent.
b) Create actions wherevr required
For Coding Level enhancements:
Here, for all the methods which are in the standard compoenent will have "PRE" and "POST" Exits. The difference is "PRE" Exits will render before calling the actual code and "POST" Exit will render after rendering the actual code.
Note: Till Enhancement Pack (EHP3) we had only PRE & POST Exits. And Now on from EHP 4 and More we do have an option "OVER WRITE" Exit.
Apart from Exits, we can create our own Events/event Handlers. These Event Handlers will work only for the enhancements.
We Can write our own logic in the newly created event/event handler.
Regards,
S.Meganadhan -
Adding a new field to a standard webdynpro component's layout
Hi all,
I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD') layout.How do i go about adding a new field to the standard component's lay out?
can anyone help me with the necessary details?
Regards,
Abhinay.Check if this is useful to you (Login required)
https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
Rgds/Kiran -
How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)
I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
The requirement looks very simple but for this, as per my knowledge, I have to create a new Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
Can we do it any other way to handle this kind of situation?
Thanks in advance for your suggestions and help.Hi Phani,
You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
Let me know if this helps. -
Best practice when modifying SAP Standard Development Component
Hello Experts,
What is best practice when modifying SAP Standard Development Component (Java Web Dynpro)? Iu2019m looking for the best method to do modifications to SAP Standard DC so that my changes will be kept (or need low maintenance) after a new service package (or EHP) is applied.
Thanks,
KevinHi,
'How to use Busiess Packages in Enterprise Portal 6.0' is available in this link.
http://help.sap.com/bp_epv260/EP_EN/documentation/How-to_Guides/misc/Using_Business_Packages.pdf
Check out for the best practices.
Regards,
Harini S -
Where I can get SAP standard webdynpro application source code
Dear Experts,
Where can i get sap standard WebDynpro application source code, because i need to copy that source code and modify that according to my application.
My scnario.
Actually i need to develop Carloan WebDynpro application, but its similar ESS-> Travel Expenses->Plan my Travel Expense .. standard WebDynpro application model, so please any one suggest how to copy that source code means where can i get that source code, and when rebuilding time what type of problems facing..
please anyone suggest
appreciate if you help regarding this..Hai saradha ji,
thank got i know you are the right person for solve my problame, because i study your blogs, please don't be leave this thred till the my problame solve,
ok once i find sca file what i want do steps.. please tell me..
give me any document step by step. i don't have FPM. i don't have market place ID, so i unable to download .
please send related artical this mail id [email protected]
first i search sca file in my development server once got file.. let you inform.
sincerely -
Changing the attributes of Standard Webdynpro component
Hi Friends,
There is one table ui element in standard webdynpro component, right now we can select only one row, now i want to select multiple rows, can any one help me how to change this property
Thnx and Regards
Kumar SriniHello Kumar,
if this node is statically created in the standard component then you can't change the selection cardinality. By statically created means, if you can see the context node in the Context Tab of the controller.
If its dynamically created, then in the Post-exit method, you can delete this context node and create it again (via coding). while creating you can set the Selection Cardinality to multiple.
Hope this helps.
BR, Saravanan -
Add a Button to SAP Standard Transaction by using userexit
Hi All,
How to add a Button to SAP Standard Transaction by using User Exits ?
If any one is having step step material on the same , please forward me.
my id is : [email protected]
Thanks in advance
RKUSER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Standard Webdynpro Component for Sales Order / Quotations ?
Hello Experts,
Is there any standard ABAP Webdynpro Component available for Sales orders / Quotations etc. ?
Else we have to create everything customized for the customers ?
Regards,
Ravi SharmaLORD_MAINTAIN - for sales order maintenance. Shipped with ERP 6.0 (no enhancement packages required - although there are improvements in the later enhancement packages).
-
View custom payslip using the standard webdynpro application in ESS
Dear All,
We want to display a custom developed payslip in the Salary Statement webdynpro application in the ESS. Our Custom Payslip gets called from a custom program. Can anyone please let us know how to call this program from the standard webdynpro salary statement appplication.
With Regards,
Kaustuv Goswami.Hello,
What you have to do is create an iview for Webdynpro Application which you deployed on the portal ....add it to the workset and the role ....then copy the PCD Location of it and then goto the ECC SPRO -> Cross Application Components -> Home Page Framework -> create a new Resource and specify the PCD Location in the URL of the PCD Column of it ...then create a Service ...assign the resorce created for it ...and then finally add the Service to the SubArea you want and it will show in the portal under that SubArea like Personaol Information or others....
Hope it helps.
Shikhil
Edited by: Shikhil Arora on Dec 4, 2008 3:56 AM -
How to move the fields in the standard webdynpro component.
Hi ,
I am new to webdynpro dynpro.
I have a requirement in which i have to move the standard fields to some other place.
The webdynpro component isn HRRCF_C_PERSONL_DATA_UI.
In this i have to move the fields location and poastal code above the fields country and region which comes in ADDRESS .
First i enhanced the application . then i right clicked the field , but the up menu is disabled since it is a standard one.
kindly give suggestion to move the fields.
Thanks & Regards,
S.VelsankarHi
You need to delete that UIElement from standard component and create similar new UIElement, Now you can move your UIElement as per your requirement. if you want to come back to original state of your component, delete your enhancement and the deleted UIElement will be back.
Thanks
Vishal Kapoor -
How to increase size of button in sap netweaver webdynpro
hi
iam using sap netweaver webdynpro
i have one application i want to increase size of button
i will increase width but i want ot increase height
of butto
how is it possible
byeeeeeeeeGuruvulu,
Not sure whether it helps, but try this trick: set imageSource to some transparent GIF with necessary height.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
HIi,
according SAP Note Note 1054005 - FAQ: Job Scheduling Management with SAP Solution Manager we want to design a customer role with this roles as templates.
But:
There are a lot of open authorization objects.
We need proposal how to fill this role with adequate values.
Does anybody has designed customer roles from that standard roles ?
What values are advisable ?
Regards,
Roland FischlDear Aviya Paul,
1. Who will responsible for Authorization Matrix?
Authorization Matrix that define "what position may have access to which authorization/ role" shall be developed by User (Management), with support from BASIS. User is the one who have the authority to decide, while BASIS should help User in understanding the technical knowledge of access authorization.
2 to 5. BASIS. -
Creation of a custom TAB in SAP standard Transcation
Hi Experts,
Request the ones who created a customized TAB in any standard trascation .Say in ME22N. We will have some tabs at Line item level. Now our requirement is to add one more tab. For that we need to know
whether we have to create screen through se51 and attach it to screen ? or we should use any user exit or badi to create screen or we need to create screen by using configuration?
If anybody having hand-on knowledge about this TAB creation...request you to share the same....Detailed information and fast response will be highly appreciated...Ofcourse reward points for suitable entry.....
Thanks,
SampathHi
IF you want to add one subscreen in the PO screen then use MM06E005 screen exit .
Create your screen and activate the exit and the screen will appear on the ME21n screen.
Other wise use the BADI for PO screen.
Thanks
Lincon
Maybe you are looking for
-
How does the Java card simulator work? and other misc questions
First, I have a class inherited from Applet. Okay, I did that. How do I convert this class to a CAP file? I mean I have a class file which is compiled by javac, do I use this file to convert into a CAP file? What is an AID? Do I make up this AID? In
-
Issue SLFI should open in read only or display mode
If we open an issue in CRM_DNO_MONITOR we can choose whether the issue should be opened in change mode or read mode. We can do this by means of >Extra > Settings and then choosing for Display or Change in the General tab. This way we can read issues
-
E Mail not working in PSE 12?
Hi, I have the trial version of 12. I set up the E Mail to the Adobe Mail Server. I do not use Outlook, but G Mail. I received a verification code, and put it in. it seemed to accept that. However, whenever I try to use Photo Mail or E mail attachme
-
Help with a broken ipod?
one day wen i was comming home from my friend's house i happened to slip off my skateboard and had a nasty fall...unfortunately i landed on my ipod...it was working fine but the screen was blank but still played music...so i figured it wasnt a big th
-
Performance problem with GotoDate
hi everyone! we're facing a performance issue when looking at historical data based on GotoDate(). The following points apply to our case: - the problem only appears for one specific table, it's not a global problem (at least we currently only found