Link to SRM 550 Contract from ABAP WebDynpro Application
Hello,
I developed an ABAP web dynpro application in our SRM system that display a contract list.
How can I do a link from the contract number in the displayed List to the contract screen of the SRM system
( The contract Transaction in the SRM with the contract No )
Thank You in Advanced
Bella
go to window
create suspend outbound plug and resume inbound type
when create an outbound plug of Suspend type a parameter Url is automatically created,
fire the outbuond plug with the Url to a BSP page where you have JavaScript.
and fromt he BSP navigate back to WDA again which you can do using by reading the url parameter sap-wd-resumeurl, which contains the WDA URL
Abhi
Similar Messages
-
Calling Javascript from ABAP webdynpro application
Hai All,
I want to call a Javascript from ABAP-Webdynpro application. If anyone has done this. Please let me know.
Thanks & Regards,
H.K.Hayath Basha.go to window
create suspend outbound plug and resume inbound type
when create an outbound plug of Suspend type a parameter Url is automatically created,
fire the outbuond plug with the Url to a BSP page where you have JavaScript.
and fromt he BSP navigate back to WDA again which you can do using by reading the url parameter sap-wd-resumeurl, which contains the WDA URL
Abhi -
Cannot save the Interactive form downloaded from abap webdynpro application
Hello Everyone,
Can anyone help me here.
I have created an interactive form in SFP tcode and used in abap webdynpro application.
scenario is i can downloade the form,fill it, sign it,save it and submit the form.
Some thing is going wrong when i try to sign the form downloaded from the application.It is giving the error ->
The document could not be saved. there was a problem in reading the document(26).
When i try to sign the form save as dialog box will come where we can save the filled form.but here when itry to save it is giving above error.and also i cannot save thye form form file option.
but form is working fine from sfp tcode not form application link.
What is going wrong.Can somebody please help me here.
Regards,
Menaka.H.BCheck the enabled and readOnly property of the InteractiveFormUI element in your application.
enabled should be true and readOnly should be false.
Also just FYI interactive forms are licensable in Productive environment for which you need Adobe Credentials. You may contact SAP Account Manager and Note 736902 for it.
Chintan -
Calling Java webdynpr application in ABAP webdynpro application
Hi All,
I have a requirement to call a Java webdynpro application from ABAP Webdynpro application. Is it possible? If any of you have done, please let me know how to do it.
Regards,
Basha.Hi,
And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
Thanks,
Anand -
SOFM: Dsiplay method is not working when called from ABAP Webdynpro
Hi All,
I want to open an attachment from ABAP Webdynpro.
I have approached in this fashion:
1) Get the attachments as SOFM object key
2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
3) Then I am calling the DISPLAY method
It is not opening.
But, if it opens when I driectly execute the function module. It open when I directly test the business object.
Any Idea ?
Thanks & Regards,
DebDisplay Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
Read the attachments and get the content and use FileDownload UI element to show it to user.
Abhi -
PR05 Transaction Iview from Abap Webdynpro
Hi,
From abap webdynpro, on action of one button, i'm calling PR05(Travel Expense Manager) screen by passing the parameters as follows and calling NAVIGATION_ABSOLUTE method:
BUS_PARAMETER-KEY = 'PTP00-PERNR'.
BUS_PARAMETER-VALUE = LS_EMPLOYEE_NODE-PERNR.
Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
CLEAR BUS_PARAMETER.
BUS_PARAMETER-KEY = 'PTP1000-REINR'.
BUS_PARAMETER-VALUE = LS_HEADER_NODE-REINR.
Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
It opens PR05 screen, with the correct employee list, but it does not populate the tripnumber and also it should skip the first screen.
In the IView, i have already given OKCODE='MOD' for change of the trip and also PROCESS_FIRST_SCREEN=YES.
In the business parameter i try to add for selecting the particular line in the table control of the PR05 screen, but that doesn't work.
BUS_PARAMETER-KEY = 'PTP1000-MARKER(01)'.
BUS_PARAMETER-VALUE = 'X'.
Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
CLEAR BUS_PARAMETER.
BUS_PARAMETER-KEY = 'TRIPCHANGEINTERACTIV'.
BUS_PARAMETER-VALUE = 'X'.
Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
So any inputs on how to auto select the line based on the trip number and go directly to particular change trip.Hi Alex,
is there no possibility to open the transaction by calling a link? For example like this way:
host, port, system, mandant, user, password, tcode (e.g.: 192.168.100.2:6000:xi?mand=300&user=xyz&passwd=xxx&tcode=se16).
Do anybody other know if there is a possibility doing like this?
Greetings, Alexander -
How to open a brfplus Catalog from abap webdynpro screen.
How to open a catalog from abap web dynpro application. and also what roles are to be provided to a user for restricting access only to the objects in the given catalog.
Hi Pratik,
do you use NetWeaver 7.0, Enhancement Pack 2 (or higher)?
Then you can then define an own UI mode class and set it via SET_UI_MODE( ) in IF_FDT_WD_UI_EXECUTION before you call EXECUTE_CATALOG_BROWSER().
An explanation how to define a UI mode class is available in the chapter "Configuration through a UI mode class (7.0/7.1 EHP2)" of the document [Embedding a BRFplus Object in an ABAP WebDynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50e44bf9-9135-2d10-2ea2-b13e5be8661d]
Hint: With help of the interface IF_FDT_WD_USER_CONFIGURATION you have the possibility to hide views in the navigation view by using the respective, listed parameters (e.g.. GC_PARAMETER_FAVORITES_VIEW). Please be aware of that the configuration is just available to adapt the UI, it does not fulfill the requirements to act as an authority concept. If you do not set the parameter GC_PARAMETER_HIDE_SETTING_DLG of the interface IF_FDT_WD_CONFIGURATION to false, the user is also able to change it via the configuration dialog in the BRF+ workbench.
With the current available BRF plus standard authority concept you can prevent that the user can see the content of objects like applications but you have no influence to prevent the user from seeing UI artifacts like the repository tree. Please consult the documentation to learn more about its capabilities.
Kind Regards,
Marco -
Convert smartform as PDF from ABAP Webdynpro
Hi,
I want to convert smartform as pdf from ABAP webdynpro.
Flow: SmartForm-->Generating Function Module -->Getting Output Data --> Converting OTF to PDF --> Open/Save PDF file in ABAP webdynpro.
What are the sequence of function modules to be used for this?
OR
Is there any other way to convert smartform as pdf from ABAP webdynpro?
plz give me the flow and FM'details clearly in detail.Look here https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
Cheers
Graham Robbo -
Convert smartform to pdf from ABAP webdynpro
Hi,
I want to convert smartform to pdf from ABAP webdynpro and
I want to display pdf in ABAP wedynpro view or portal iview.
what are the steps needs to be followed?
what are the classes and interfaces needs to be used?Hi,
Please check this it might be useful.
Data: tab_otf_data type ssfcrescl,
wa_out_opt type ssfcompop,
wa_con_params type ssfctrlop.
wa_rspoid type rspoid,
parameter:p_file like rlgrap-filename no-display.
Follow control parameters
wa_out_opt-tdimmed = 'X'.
wa_out_opt-tdnewid = 'X'
wa_con_params-no_dialog = 'X '.
if you want print direct pass
wa_out_opt-tddest = 'printer' (SAP Printer)
If you are using multiple header records use loop other wise no need
note that when multple headers
pass count and count > 1 means more than one header change control parameters to create single spool for all.
Loop itabXXXX. " multiple header starts
count = count + 1.
if count > 1.
wa_con_params-no_open = ' '.
wa_out_opt-tdnewid = ' '.
endif. " multiple header ends
call function fm_name
exporting
control_parameters = wa_con_params
output_options = wa_out_opt
header_header = wa_ven
importing
job_output_info = tab_otf_data
tables
header_details = itab_final
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
at last. " multiple header starts
wa_con_params-no_close = ' '.
wa_con_params-no_dialog = 'X'.
endat. " multiple header ends
endloop.
you will get the otf data and spool id from 'tab_otf_data'
read table tab_otf_data-spoolids index 1 into wa_rspoid. " Now you get spool no in wa_rspoid.
" pass spool in to rstxpdft4 it converts to pdf".
submit rstxpdft4
with spoolno = wa_rspoid
with p_file = p_file
and return.
I feel that your problem will solve....
Thanks,
Hari -
Running R/3 reports from ABAp webdynpro
Hi experts,
I have a theoretical question:
There is normal ABAP report (not webdynpro) in the R/3 system.
Is it possible to run this report form an ABAP webdynpro application?
In my understanding this means, I have to create the Selection screen of the report in Webdynpro, then call the report from the R/3 system like:
SUBMIT Z_REPORT
WITH PNPPERNR = PERNR-PERNR
AND RETURN
EXPORTING LIST TO MEMORY.
then retrieve the values
IMP_KEY-PERNR = PERNR-PERNR.
IMP_KEY-SEQNR = '99999'.
IMPORT it_result FROM MEMORY ID IMP_KEY.
Of course when I have the results I have to create another view, with a table to display it.
My questions are:
-Is my way of thinking correct?
-Is there any other way to do this?
Thanks
N.G.>-Is my way of thinking correct?
Pretty much so. I guess best design long term might be to rebuild the report as native Web Dynpro - perhaps separating the data selection and logic out into a class. However this is good way to reuse existing development.
I notice that you have an explict IMPORT FROM MEMORY. I assume this report is doing some custom export to memory. If you just want the list output without needing anything special within the report being called, then you should use the function module LIST_FROM_MEMORY and LIST_TO_ASCI. However if you place an export int the inner report the returned contents are probably easier to process than the list format. I guess its really your choice.
-Is there any other way to do this?
This way is pretty direct. You could redesign the report, but I'm assuming you are asking for other ways to reuse the existing report. Your main concern might be if the report takes to long to run. You might have to submit the report to the background. This will likely require changes to the report to write the results into a database table instead of exporting to memory. However this has the added benefit of freeing the dialog work process of the WDA while the report runs. -
Debugging ABAP Code From Within Webdynpro Application
Hello Experts,
We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function.
In order to do that we:
1. Defined a JCO connection with "Single Server Connection" as the Destination Type.
2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.
3. We have activate the external debugging in se80 Utilities -> Settings
4. We have set an HTTP (external) breakpoint in the ABAP code,
As mentioned in the article:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
However, we recieve a dump in the R3 system:
RFC_DEBUGGING_NO_DIALOG_USER
ShrtText
RFC debugging is only possible with dialog user
What happened?
You attempted to debug a program by RFC. However, in this destination
there is a user whose user type permits communication without dialog.
This means, for example, that debugging with a system user is not
possible.
What can you do?
Restart the program and take note of the following:
You can do one of the following:
1. You can change the user listed in the RFC destination and enter a
dialog user.
2. In the target system of RFC you can change the user type of the user
listed in the RFC destination to 'dialog'.
3. You can avoid this runtime error by omitting the RFC debugging.
If in the ABAP debugger the statement cursor points to the statement
(CALL FUNCTION ... DESTINATION), you must choose the function
'Execute'.
We checked and the user we use is defined as dialog in SU01 and the user that the webdynpro use to call the functio is the same user as was logged in.
What else should we do?
Thanks,
EyalHello Eyal,
You mentioned the following..
1. Defined a JCO connection with "Single Server Connection" as the Destination Type. 2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.*<---The system that you logged into is your source system*
3. We have activate the external debugging in se80 Utilities -> Settings
4. We have set an HTTP (external) breakpoint in the ABAP code,
and the name of the system defined in the RFC connection will be your target system.
As per the response (dump error message) in this target system you need to have a dialog user.
And this dialog user needs to be defined in the RFC destination that is being used to connect to the target system.
Regards,
Siddhesh -
Basic questions with respect to ABAP WebDynpro Application
Hi All,
I have two basic questions with respect to an ABAP WebDynpro application :
a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
Thanks & Regards,
Sushanth HulkodSushanth Hulkod wrote:
> a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
>
> b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
Answer - By providing direct link of the WD application created in SE80, creating iView for webdynpro abap application in the portal environment and NWBC environment
b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
Answer - Yes it can be developed in ECC. Webdynpro ABAP is introduced in NW 2004s (SAP NetWeaver 7.0 or ECC 6.0)
Thanks,
Chandra -
How to get workitem id in ABAP-Webdynpro application
Hai All,
When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application.
Please let me know how to pass this.
Thanks & Regards,
H.K.Hayath Basha.Hai Kari,
Thanks for the link, i am looking into it.
Hai Naresh,
Where should I give this link,
http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
What I have done is,
In SWFVISU transaction I maintained the following entry,
Task = TS99000208
Visualization Type = WD_ABAP
Visualization Parameter Visualization Parameter value
APPLICATION = ZWD_OFFICIAL_012
NAMESPACE = SAP
and registered this task in in universal worklist.
Where the specify the code you mentioned.
Thanks & Regards,
H.K.Hayath Basha. -
Debugging abap webdynpro application
hi gurus,
an abap webdynpro application is runninf fine in developmernt server but not in production system. i transported the application again to refresh the application in production. but still the error persists. now i want to debug the abap editor in production system. so i wrote code 'BREAK POINT' in abap editor. but program is not stopping at this code. in dev as well as in prod system. please suggest.
Moderator Message: There is a separate forum for Webdypro for ABAP. Please post your question there.
Edited by: kishan P on Nov 29, 2010 1:25 PMHi
Few links to check:
External debugging is not working
Re: Debugging Abap webdynpro appln
Re: Unable to Debug WD ABAP application
Dedug is not working in Production Server.
a) Check on number of R/3 sessions opened at a time.
b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system. -
Steps for ABAP WebDynPro Application Creation in SE80
Hello
i can create ABAP WebDynPro iViews
but i dont know how to create ABAP WebDynPro Applications in R3
can someone help me out how to create simple ABAP WebDynPro Application in R3 from where i can create ABAP WebDynPro iViews
useful points will be rewarded
Regards
JMHi John,
You can create a ABAP webdynpro application in the transaction SE80.
Only precondition is u have authorization to develop Webdynpro Programming
in SE80.
Go to SE 80 --> Select webdynpro ABAP --? Create Project --> enter the name
and text-->save it --> right click ur Project Node --> create --> View.
Note: In Webdynpro Programmin if u want to create view or window or any new object u have to use rightclick on the project root node or corresponding node.
Regards,
Ramganesan K.
Maybe you are looking for
-
I updated Firefox to version 29.0.1 and now it won't let me set a home page.
When I open Firefox, it opens to the Trovi search page, which I don't want. I tried setting the home page by opening the site that I want and dragging its tab to the Home icon, but it didn't change the home page. I also cannot change the default sear
-
Coloring email link differently from nav bar links
Hi: Please go to tedandada.com. Click on "contact us" on menu on the left. On the "contact us" page you will see two email addresses. They are black. I would like them to be red before they are even rolled over or clicked to open an email program. Ho
-
when i set my default project page to any jsp it must run first on IE when i press run button of Jdeveloper toolbar but i see one strange when i made change in another JSP and after save when i tried to run project from run button of toolbar it displ
-
Model Aggregate tables to speed up query processing
Hi, Can anyone help me in the topics "Model Aggregate Tables to Speed up Query Processing" "Model Partitions and Fragments to improve application performance and usability" Am new to this concept, haven't worked on this before. Regards, Arun
-
CR: Hide context menu on download page?
Hi, business needs require, that we publish some documents via the collaboration room in the SAP Enterprise Portal. Only registered members to the room should have the possibility to download documents, additional rigths for members must not be possi