Modification of Web Dynpro ABAP ESS Travel application
Hi,
I'm familiar with the modification process of ESS Web Dynpro Java applications using NWDI. However I have to adda button a view in the "Create Expense Report" iView which is a Web Dynpro ABAP application from ERP 6 Ehp3. On the click of this button a pdf report should be shown. The Web Dynpro ABAP application is FITE_EXPENSES.
Can anyone tell me what is the process for modifying ESS WD ABAP code? Do I copy and create a new application and then modify?
I'm not getting any documentation on this on SDN or SAP Help.
Regards,
Manish
Please try to avoid modification of WD4As. This is the last resort!
FITE_EXPENSES uses the WD-Component FITV_FPM_START, there it has the Application Configuration "FITE_EXPENSES". The Application COnfiguration is mapped with the Component Configuration "FITV_FPM_EXPENSES" (this is just for your interest how things are mapped here).
Bottom line the Application uses the WD-Component FITE_VC_GENERAL_DATA you can open it via TA SE80 as above poster suggested. Here. navigate to Views and open the View GENERAL_DATA_VIEW. Navigate to Tab METHODS, open Hook-Method WDDOMODIFYVIEW. Here you can make an implicit enhancement at the end of the method and dynamically generate a Button in runtime, this would be a cleaner approach than hard modification of the standard Layout.. I reccomend you to consider this!
best regards, Lukas
Similar Messages
-
Modification of Web Dynpro ABAP ESS application
Hi,
I'm familiar with the modification process of ESS Web Dynpro Java applications using NWDI. However I have to adda button a view in the "Create Expense Report" iView which is a Web Dynpro ABAP application from ERP 6 Ehp3. On the click of this button a pdf report should be shown. The Web Dynpro ABAP application is FITE_EXPENSES.
Can anyone tell me what is the process for modifying ESS WD ABAP code? Do I copy and create a new application and then modify?
I'm not getting any documentation on this on SDN or SAP Help.
Regardshi,
->You dont have to copy and create new application.
-> You can use Enhancement Framework Technology.
-> Look out for Blogs by Thomas Weiss. They are very useful.
-> Easiest way out to create new button would be as :
-> Put your application in display mode.
-> There is button for Enhancement in the tool bar (Spiral shaped).
-> Press that button and create a new enhancement.
-> Now add any UI Element you want to add.
-> In Enhancement Framework we do have some Post Exit and Pre Exit Methods.
-> Some Enhancement Points are already given by Standard SAP.
-> You can write the logic there and activate the Enhancement.
Check out this link for basic idea about enhancement.
http://help.sap.com/saphelp_nw04s/helpdata/en/0e/4d3e42fc94aa04e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
I hope above links will be helpful.
Thanx. -
Web dynpro abap : Call an application from another with parameters
Hi ,
Could you please tell me how to call an application from another with parameters?
Thanks a lot
Karim* Construct the URL
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = 'APPLICATIION_NAME'
importing
out_absolute_url = g_url.
* Append parameters to URL
data: g_par1 = lv_value. " value of your parameter
call method cl_http_server=>append_field_url
exporting
name = 'PAR1' " Parameter name
value = g_par1
changing
url = g_url.
* Call the Application
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = g_url ).
lo_window->open( ). -
Moving from Web Dynpro Java timesheet to Web Dynpro ABAP timesheet
Hi
We are in the process of moving from Web Dynpro Java ESS timesheet to Web Dynpro ABAP ESS timesheet. When using Web Dynpro Java ESS timesheet it is possible to enter time using a daily or weekly view.
When using the Web Dynpro version and ensuring the period type is set to weekly view for the data entry profile it is only possible to enter time on the weekly view, the tab for the daily view is no longer available.
Still using the Web Dynpro version and changing the period type to daily view I can enter time using the daily view and the weekly tab also becomes available, but the weekly tab is read only.
Do you know if it is possible to make daily and weekly timesheet entry for one data entry profile.
Thanks
MarkYes you can have only one view ie weekly or daily as per your CATS profile in CAC1.
but of course you can select multiple profiles
Configuration
The application configuration HRESS_AC_CATS_1 is provided by default and allows you to provide default values for the application parameters. It also allows you to specify the layout and appearance of the application.
The following application parameters are provided:
HIDE_CLOCK_TIMES_IN_WEEKLY
Hides the clock times in the weekly view.
MULTIPLE_PROFILE
Enables the selection of multiple data entry profiles from the dropdown list -
NW 7.3 + iView from remote source wizard + R3 Web Dynpro ABAP, not working
Hi,
I think this forum is my last resort.
I'm running NetWeaver 7.3 Enterprise Portal and also have an existing ECC6 on backend.
Our ABAP Programmer has built some WD4A application on ECC, I'd like to made them available
on EP as ABAP WebDynpro iView.
From the document, I know the way to create ABAP WD iView is different since 7.3. I have to use "iView from remote source" to do it.
On EP side, I have made an system alias (test ok) for ECC, assigned permission, provide mapping id/pwd, and test.
On ABAP side, all webdynpro app are activated (T-code sicf, /sap/bc/webdynpro, /sap/public/bc/webdynpro...). I can even test WAS by bringing up browser and access some sample ABAP webdynpro .
However, I cannot success on "iView from remote source" wizard and it always show me "Nothing found. Check your search Criteria.". Eventhough I use "*" as search criteria.
Anyone has the similar situation ? I even doubt that it is a placeholder of a feature , not working for now. Anyone made it work on NW 7.3 ?
More detail:
My System Alias for ECC:
Application Host: myr3.mydomain.com
SAP Client: 600
SAP System ID: DEV
SAP System Number: 00
Server Port: <leave it blank>
System Type: SAP_R3
Logon Method: UIDPW
User Mapping Type: admin,user
ICM Host: myr3.mydomain.com:8000
ICM Protocol: http
ICM URL prefix: <leave it blank>
SAP Netweaver AS Description: <leave it blank>
All other fileds are leave it as default value
I also assign a group to have "read" and "user" permission to this system
Also assign Alias to the system.
I also create a user belong to the group, assign his system mapping an ECC user ID & PWD to it.
I tested the System alias, it is working (both WEB AS test, and R3 test)
Then I try to create an iView on EP, under a PCD folder , new->iview->iview from remote source. A wizard show up. Then I can select the ECC alias just created, and provide * as application search criteria, and then select "WEB DYNPRO ABAP" as the application type. Then "GO"
as I mentioned, it always show "Nothing Found. Check your search crieteria"
But I'm sure the web dynpro applications are activated on R3.
OK, that's it, please help this one. Thanks
IF YOU DID MAKE IT WORK ON YOUR NW 7.3, PLEASE DROP A LINE HERE SO I KNOW IT IS MY OWN PROBLEM !!!
Edited by: Wilson KU on Nov 14, 2011 10:42 AM
Edited by: Wilson KU on Nov 14, 2011 10:46 AMThanks for the reply,
[About Backend]
I feel confident about the backend R3 system because I can use the WAS URL to access the sample WD4A application, for example, I can bring up the wd4a application ui in my browser. It is purely browser and R3 stuff, no EP involved.
http://soeprdev.mydomain.com:8000/sap/bc/webdynpro/bobf/demo_sales_order?sap-client=600&sap-language=ZF
I also already activate all nodes and sub-nodes (in SICF Services) under /sap/bc/webdynpro as well as /sap/public/bc/webdynpro. (and some other nodes to make icon and include work)
[About the system object in EP]
I have done all kind of test on the system object (alias):
1. In EP System Administration -> Landscape Configuration, I select the system object, click "Test Connection", It shows me a Check mark, and the detail message is SOE_DEV_600 connection
2. Edit the System object, then click on "Connection Tests" page, I see two lines there, check both and click test, here is the result:
SAP Web AS Connection:
: Test Details:
The test consists of the following steps:
1. Check the validity of the system ID in the system object
2. Check if the system can be retrieved
3. Check if the system object has a valid system alias
4. Check if an SAP system is defined in the system object
5. Validate the following parameters: Web AS protocol; Web AS hostname
6. Checks if the host name of the server can be resolved.
7. Pings the Web AS Ping service (works only if the service is activated on the Web AS, and only on ABAP Web AS)
8. Check HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. System retrieved successfully
3. Retrieval of the default alias was successful
4. The system object represents an SAP system
5. The following parameters are valid: ICM Protocol (http) ICM Host Name (soeprdev.mydomain.com:8000)
6. The host name (soeprdev.mydomain.com) was resolved successfully
7. The Web AS ping service http://soeprdev.mydomain.com:8000/sap/bc/ping was pinged successfully
8. An HTTP/S connection to http://soeprdev.mydomain.com:8000 was obtained successfully.
Connection Test for Connectors:
: Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection successful -
Web Dynpro Java to Web Dynpro ABAP
Hi all,
I am a web dynpro java developer with more than 3 years of portal development experience.
I am now put into a project with web dynpro ABAP(ESS/MSS customization).
Would like to know whether I should start concentrating more on ABAP or SAP HR?
I dont have any ABAP programming exp except that attended a training few years back.
And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
Please let me know where I should start to get myself refreshed before starting my work.
Any advice/docs are invited.
Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
Thanks
MeenaHi Meena,
As you have good experience of Web Dynpro JAVA.
I think you just need to comcentrate on ABAP skills.
You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
Then start doing some WD ABAP hands on.
My scenario is similar.
I am a portal and WD JAVA person and this is my first WD ABAP assignment.
I followed the above approach.
You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
The below link will help you a lot
[WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
I hope it helps. -
Customizing the standard web dynpro ABAP travel application
Dear All,
Scenario :
We want to modify the existing travel application------> Create Travel Request should open an interactive adobe form
which will capture all the data and update the backend table , instead of the web dynpro screen and similarly for plan trip .
I wanted to know what is the best practice or approach for this and how to go about it.
Regards,
GeetHi All,
Need your valuable inputs on this.Also when I was trying to replace the standard web dynpro abap screen for create travel request...coudnt find the view.I mean on the overview of Trips and Expenses there is a button for Create Request but I am unable to find the view where this button is placed....I think its getting created dynamically.
My concern is how to call my interactive form when the button for create request is clicked...dont know where to place it.
Regards,
Geet Bijlani -
Adding a field in Web dynpro java in Travel Request application
Hi All,
How to add a field in Web dynpro java in Travel Request application or can we copy the Web dynpro java application to Web dynpro ABAP and add a field. Experts, Can you please suggest me step by step in resolving the problem.
Thanks & Regards,
KumarHi Kumar,
First, in order to customise the ESS webdynpro Java iViews you need to be aware that, you are about to change the SAP standard iviews. In order to avoid this you can make a copy of the SAP standard one's and then try to customise the copied one's.
Now, you should have NetWeaver Development Infrastructure(NWDI) installed. Once it is installed you should also install the Netweaver Developer Studio (NWDS) on your computer.
Once you have these two installed, you should deploy the ESS Business Package onto the NWDI by creating tracks. There is a cookbook available on SAP Service Marketplace for configuring NWDI for ESS.
Once you have all the above mentioned tools, have a look at the following blog which clearly explains about the procedure of customising ESS iviews.
/people/vinoth.murugaiyan/blog/2007/08/24/essmss-customization-150-make-it-simple
Also check the following Wiki, this might be useful!
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/employee%252bself%252bservice
I hope this helps. Let me know if you have any issues.
Dont forgett to contribute points if this is useful! All the Best.
Regards,
PG -
Web dynpro abap application on Portal does not work via internet access.
Dear All,
I have created a web dynpro abap application and deployed the same on Portal.
The issue I am facing is that the webdynpro application works fine when the end user logs into Portal from Local Network,
However when the Portal is accessed from outside the local N/W via Internet, Portal is working fine for other applications like ESS
but the web dynpro application dont work.
Is this some configuration issue on the portal / abap development or any workaround is possible.
Regards
Abhinav DagarHi
Please try to use the [HTTP Watch 5.0 Basic |http://www.httpwatch.com/download/] tool to trace that WD Application link from the portal and you can easily find out the problem.
Regards
Prakash T -
How can I call a java object from Web dynpro ABAP application?
I made Web dynpro ABAP application and posted it to SAP EP.
For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
Is there anybody who experienced this kind of java interface issue?
I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
Any comment or suggestion would be greatly appreciated.
Thanks,
Raymond, ABAP Consultantif you have jco configured, then you can make calls to java api from ABAP .
check out this weblog.
/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
Raja -
BADI for changing Appraisal document application name for Web dynpro ABAP
Hi,
For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
how do we change application name to some custom web dynpro application name
Regards,
KothandHi Karim,
I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
Best regards
Renald -
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. -
Adding attachments to workflow from Web Dynpro ABAP Application program.
Hi,
workflow is supposed to start by a Web Dynpro ABAP Application.
The user can attach files to it.
A superior is supposed to review the files and either approve or reject the request.
I tried the following in Web Ddynpro ABAP:
CALL FUNCTION 'EWW_WORKFLOW_START'
EXPORTING
X_TASK = 'WS90000074'
IMPORTING
Y_WORKFLOW_ID = lv_WF_ID
TABLES
X_CONTAINER = lv_IT_CONTAINER
EXCEPTIONS
then followed by:
CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
EXPORTING
WORKITEM_ID = lv_wf_id
ATT_HEADER = lv_swr_att_header
ATT_BIN = Item_FILENAMEATTACHED
DOCUMENT_OWNER = SY-UNAME
LANGUAGE = SY-LANGU
IMPORTING
ATT_ID = lv_swr_att_id
The Workflow has only one user decision step and one notification Step.
In the user decision step, there is a binding from ATTACHOBJECTS to the task.
But, in the log, you can see the attachment in the Workflow Container of the workflow instance, but you don't see it in the task (neither Inbox nor UWL)
I have checked the binding it is correct. I am getting the attachment in workflow container in '_attach_objects' element. but this attachment has to go to the user decision step, so I am binding the '_attach_objects' of workflow container to '_attach_objects' of user decision step. But the attachment was not going to user decision step.
Could you please let me know where am i doing wrong?
Thanks,
V.Nagaraju@Ruslim Chang
Sorry to point out but the FM will return the Workitem ID only so there is no problem with the LV_WF_ID variable.
@vundralla nagaraju
Instead of making binding between attachobjects make binding between
WiGroup_ID <---- attachobjects
and then on the next step you try to make biniding in the user decision step by using WiGroup_ID.I think it should work. -
Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application
Dear All,
We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
It is working fine for 3 different forms but problem with only 1 form.
Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
Thanks,
Bharath.KDear All,
Thanks for your responses.
We had identified the reason.
Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
Thanks,
Bharath. -
No switch to HTTPS occurred in Web Dynpro ABAP application
We are building a Web Dynpro ABAP application and when I logon I get:
No switch to HTTPS occurred, so it is not secure to send a password
I want to suppress this message but I can only find a parameter that works for BSP applications (You can suppress the message using the property BspDontShowHttpsWarning. Goto SICF and locate your service, open node and choose tab error pages. At redirect URL add '&bspdontshowhttpswarning=X').
However, for Web dynpro this parameter does not work. Does somebody know if there is a parameter available for web dynpro ABAP applications to suppress this message?
kind regards
Angelique HeutinckAngeline
I asume that you are using a "Basic Authentication" method, if this is your case, you should configure the SICF service with the following parametters:
1) Go to SICF, /yourservice / double click
2) On the "Logon Data" tab, in the "Procedure" option choose "Alternative Logon Procedure".
3) On the same tab, at the "Logon procedure option", delete the SSO option, and change the Number of the another methods, raised the "Basic Authentication" to the first place.
4) Go to Error pages tab, flag "System logon", and after that click over Configuration, here check "Do no display warnings"
Hope this help you !
Maybe you are looking for
-
How do I get my iPhone to stop putting things in the cloud?
I put songs on my phone, through iTunes purchases I think, and then they go into the cloud so I have to re-download them, using my data, every time I want to hear them. I have no idea why they go away sometimes and not others either. I hate the delay
-
Aol mail not displaying correctly
Has anyone else got issues with mail not displaying? I've got loads of numbers and symbols instead. Totally illegible
-
Safari will not quit when I want to restart.
This problem repeats itself everytime I want to shut down or restart. I have to use Force Quit in order to restart or shut down. I"m using Safari version 7.0 (9537.71) on Mavericks (10.9). I have removed all Safari extensions and the problem is still
-
Scanner crashes. CanoScan 9000F, 13" rMBP, OS 10.8.4
Hi – The hardware/software: 13" Retina MacBook Pro running OS 10.8.4 CanoScan 9000F scanner, using MP Navigator 3.1 The problem: MP Navigator 3.1 crashes whenever I try to scan film - specifically in the Grayscale color mode. Whenever I try to scan f
-
Load balancing by equal cost Static Routes
Hello All, I have 2 WAN links for Internet connectivity and I want to load balance IP traffic on both links. If I use 2 default routes like this, ip route 0.0.0.0 0.0.0.0 serial 0 ip route 0.0.0.0 0.0.0.0 serial 1 then its enough to achieve load bala