I need material on ABAP Webdynpro..
Hi Experts,
I want to learn web dynpro ABAP; So please give me the materials or the links where i can get. I am looking for your help..
Regards,
Kali
Hi,
Go through the below link for the material on Webdynpro Abap.
http://help.sap.com/saphelp_erp2005/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm
U can find the basic step by step tutorials from the link,
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
Some advanced tutorials,
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
Hope this helps,
Sachidanand.B
Similar Messages
-
Need some suggestions on ABAP webdynpro ..
Hi
I am actually a java guy. But now i m moving to Object Oriented ABAP. I have to work in ABAP Webdynpro. Could anyone please tell me
How much time it will take to learn OOAbap ?
Could u please suggest me which book is best for learning OOABAP ?
Any online books are available?
Thanks & Regards
Ravi Shankar BFor ABAP OO:
http://www.sapgenie.com/abap/OO/index.htm
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
1) http://www.erpgenie.com/sap/abap/OO/index.htm
2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
<b>For ABAP Webdynpro:</b>
Look at the below thread for documents & example..
I want some Material for WebDynpro Applications?
Re: i need material on ABAP Webdynpro..
<b>*Reward each useful answer</b>
Raja T -
hi
I need material on ABAP objects if any one has please send it to my
mail ID [email protected]
thanks,
Subba Rao.Hi,
Check this..
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
these links
http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
For funtion module to class
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
for classes
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
for methods
http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
for inheritance
http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
for interfaces
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
1) http://www.erpgenie.com/sap/abap/OO/index.htm
2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
Message was edited by:
Vishnu Reddy -
ABAP Webdynpro-layout Icons-invisible
Hi Experts,
We are having ECC6.0 implemented in our Organisation.
I need to develop ABAP webdynpro Object.The layout is ready but Im not able to drag and drop the icons in the layout.
What can be the problem?? Expecting your reply at the earliest.Hi
You mean to say that you r not able to include icons from tool
bar to your layout , r u in change mode .
cn u explain more . -
Need to open an ABAP WebDynpro application from Portal UWL work item
Hi All
I need some suggessions on how to navigate to an ABAP WebDynpo application iview from a mail(Work Item) in portal UWL.
Requirement in detail:
Agreements will be created from portal( Agreement Creation Application is developed in ABAP webDynpro and iview has been created with in the portal for this WD application). as and when the agreement is created a mail (ECC Workitem) should trigger to the approver, who has access to portal and check the mail(Work Item) from the portal UWL.
The mail body should consist the link to the Agreement created in portal ( Link to navigate to the Agreement Creation ivew).
So, the main requirement is user should navigate to the Agreement creation iview when he open the mail from UWL.
Mail can be sent from ECC by using ABAP Function modules or by creating a workflow
Please advice me on how can we achieve this requirement.
Thanks & regards
Vijay Bedamsetty
Edited by: VIJAY BEDAMSETTY on Apr 19, 2011 5:42 PMHi,
You can call the iView directly by using NavigationTarget..
http://myServer:50000/irj/portal?
NavigationTarget=ROLES://portal_content/myFolder/myRole/myIview
Plz note that the iView you are calling should be part of a Role.
And the PCD location of the iView in the Role must be given for Navigation Target.
Check this URL
http://help.sap.com/saphelp_nw04s/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
Thanks
Prashant -
Do ABAP WebDynpro objects need to be added to auth.object S_SERVICE in ECC6
do ABAP WebDynpro objects need to be added to authorization objects in PFCG in ECC6.0?
(Same as we add Java WebDynpro object names to S_SERVICE authorization object in PFCG)
Thanks,
TiberiuI found authorization object S_ICF where I can add the ABAP WedDynpro applications.....unless someone else has a different opinion, I plan to close this thread....
Tiberiu -
Adobe Interactive forms - ABAP Webdynpro or JAVA Webdynpro?
Hi,
I am an ABAPER and I got few requirements for Adobe Interactive forms Offline Scenario/Online scenarios & ALV reports.
I have practiced a session ( How Tou2026execute an RFC model with inputs from Interactive Formswith RFC Module ) -JAVA webdynpro where it interacts with SAP via BAPI.
Now my question is I am bent more towards ABAP.. I want to do this in ABAP but unfortunately I haven't found any similar material for ABAP webdynrpo.Could anyone pls suggest me !
FYI.. We are also developing some ALV Webdynpro reports and I am using PURE ABAP which i like it.
So the other reason is we don't want install NWDI and complicate this structure as we don't have ESS/MSS requirment here. Just we need some forms/reports on portal.
Any suggestions and links which can help me here?
rgds
VaraHi Vara,
You can develop Interactive forms using WD ABAP also.
[E Learning- Interactive Forms using WD ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3]
WD Java is useful in case, when your ABAP system is less than ECC 6.0. Otherwise you can achieve same functionalities in WD ABAP also.
Hope this will help you.
Amit -
BRFplus + BPM + ABAP Webdynpro Architecture
Hi Gurus,
We are setting up Data Governance model in our company. As a part of this, we are currently evaluating various options. We are also considering BRF plus solution. Some of our high level requirements are as follows
1. Break SAP transactions for Material Master and regroup the fields according the new business processes in different screens in web front end (possibly ABAP WebDynpro)
2. Set up a workflow solution for new business processes (possibly BPM or Business Workflow)
3. Integrate Business rules and validations, data checks and so on using BRF plus in to the workflow.
What that means is that whenever users make changes to the Material master Data in web front end, then a workflow is triggered and rules are applied to the data before the data is changed/created.
My questions are as follows
1. Do we really need all these 3 components namely ABAP Webdynpro, BPM or Business Workflow and BRFPlus to achieve what we want to achieve? Or we can achieve this without having one of the components mentioned above?
2. If yes or no, how the architecture should look like?
3. How do we integrate these techonologies (which features of what component)
4. Any examples you can share?
ShaiI don't see the need of web dynpro or BPM if you only want extra data validations.
You can integrate extra rules into your regular system as is using BRFplus for extra validations. -
Error while trying to call a ABAP webdynpro appl. as a link on html form
Hi,
When I am trying to call a ABAP Webdynpro aplication as a link on html form. I get the following error
Error when processing your request
What has happened?
The URL http:///sap/bc/webdynpro/form_ap/ (Path of ABAP webdynpro application) was not called due to an error.
Note
The following error text was processed in the system DRD : Error in Web Dynpro Runtime System
The error occurred on the application server DRD_06 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_REQUEST_INPLUG_PARAMETERS of program CL_WDR_CLIENT_APPLICATION=====CP
Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_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
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DRD in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server DRD_06 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server DRD_06 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 102 -u: -l: E -s: DRD -i: DRD06 -w: 0 -d: 20081002 -t: 032939 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Any help will be greatly appreciated.
Thanks
RMRM,
url clearly shows that it is unable to get host and port.check how you are building that url in html page
Thanks
Bala Duvvuri -
Deleting row from table in ABAP webdynpro
Hi all,
Can anyone help me regarding deletion of a row from a table in ABAP webdynpro.
I have written a code like this :
DATA:
NODE_STUDINFOSYS TYPE REF TO IF_WD_CONTEXT_NODE,
ELEM_STUDINFOSYS TYPE REF TO IF_WD_CONTEXT_ELEMENT,
STRU_STUDINFOSYS TYPE IF_COMPONENTCONTROLLER=>ELEMENT_STUDINFOSYS .
navigate from <CONTEXT> to <STUDINFOSYS> via lead selection
NODE_STUDINFOSYS = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_COMPONENTCONTROLLER=>WDCTX_STUDINFOSYS ).
get element via lead selection
ELEM_STUDINFOSYS = NODE_STUDINFOSYS->GET_ELEMENT( ).
deleting data selected via lead selection
NODE_STUDINFOSYS->REMOVE_ELEMENT( ELEMENT = ELEM_STUDINFOSYS ).
*But I am getting an error:*
Error when processing your request
What has happened?
The URL http://hsdnt24s11.hclt.corp.hcl.in:8000/sap/bc/webdynpro/sap/znet310_add_del_sech/ was not called due to an error.
Note
The following error text was processed in the system HE6 : The lead selection has not been set. VIEW_ADD_DEL_01
The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HE6 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server hsdnt24s11_HE6_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server hsdnt24s11_HE6_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 800 -u: SUMANK -l: E -s: HE6 -i: hsdnt24s11_HE6_00 -w: 0 -d: 20081220 -t: 155832 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Can anyone help me???Hi Suman,
this issue seems to be not specific to the FPM. I would like to suggest you to address this problem in the ABAP forum.
Best regards,
Thomas -
Hi Experts,
I am new to ABAP WebDynpro and self-learning going through SDN stuff and other online-help. Please provide me
your kind explanation on below doubts.
1. When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
2. How to read the index of a particular selected row in table?
3. How do you change position of a particulr node dynamically?
4. Is it possible to execute a component without a window?
5. Is it possible to run a VIEW without embeding into a window in Webdynpro application?
6. How to read the content entered in PARAMTER and SELECT-OPTION elements in ABAP Webdynpro? Can anybody pass code how to read entries?
I mean GET_ATTRIBUTE or GET_STATIC_ATTRIBUTES is used for reading attribute value.
7. Is it possible to fix the Message window position? Show at the bottom of a screen? Please provide some code for this.
8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text. Please provide me example code.
Thanks in advance for the support and useful explanation!
Regards,
Meera.Hi
Refer the answers inline
1) When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
GET_ATTRIBUTE
Method to get the values of a context attribute.
The prerequisite for this method is that the application knows the data type of the attribute.
The value of the given attribute is copied to the export parameter. To do this the export parameter must have a data type to which a value can be written.
GET_STATIC_ATTRIBUTES
This method copies the static attributes to the transferred variable. If the structure is not identical, a move-correspondingis performed, which is not as efficient as a direct move, but is still useful in many cases.
Static attributes are those that either have been declared or that belong to the structure with which the node was declared.
2) How to read the index of a particular selected row in table?
data: lr_element type ref to if_wd_context_element,
lv_index type i.
lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lv_index = lr_element->get_index( ).
3) How do you change position of a particulr node dynamically?
Explain Bit deeply
4) Is it possible to execute a component without a window?
No it is not possible, actually the component view can be viewed by embedding it to the window
5) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
No it is not possible, without window you cant run the view
6) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
navigate from <CONTEXT> to <MAIN_NODE> via lead selection
LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
get element via lead selection
LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT( ).
get single attribute
LO_EL_MAIN_NODE->GET_ATTRIBUTE(
EXPORTING
NAME = `INPUT_VALUE`
IMPORTING
VALUE = LV_INP_VALUE ).
7) Is it possible to fix the Message window position? Show at the bottom of a screen?
Yes it is possible to show the messages by using the message area UI element in the needed position
8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text.
Im working onit and let you know after i complete.
Regards
Arun.P -
ABAP webdynpro with interactive form - launching failure
We are doing some prototype in the solution manager box using ABAP webdynpro and Adobe Interactive Form. I created a webdynpro with a very simple Adobe form embedded in an view.
But when I test the webdynpro, I got the following error page in internet browser, any idea?
Error when processing your request
What has happened?
The URL http://md1as086.medimmune.com:8001/sap/bc/webdynpro/sap/z_wd_bookflight_gebo/ was not called due to an error.
Note
The following error text was processed in the system SMT : WebDynpro Exception: ADS: Request start time: Tue Mar 06 11:53:06 EST 2007(200.101). ?ꯂ.RuntimeProcessor.process(RuntimeProc
The error occurred on the application server MD1AS086_SMT_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMT in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server MD1AS086_SMT_01 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server MD1AS086_SMT_01 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 200 -u: CHEUNGJ -l: E -s: SMT -i: MD1AS086_SMT_01 -w: 0 -d: 20070306 -t: 115305 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework TeamHi,
Is you ADS Configured ?
Check that out.
Regards
<i><b>Raja Sekhar</b></i> -
How to create a view to display Multiple lines of Text using ABAP WebDynpro
Hi,
I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
Thanks for your time!
Madhavi.Find the sample codes:
data sapscript_lines type tlinetab.
data sapscript_lines1 type tlinetab.
data sapscript_tline type tline.
data sapscript_head type thead.
data text type string.
data formatted_text type ref to cl_wd_formatted_text.
call function 'DOCU_GET'
EXPORTING
id = 'TX'
langu = 'D' "Germany language
object = 'WDR_TEST_HELP_EXP1'
IMPORTING
head = sapscript_head
TABLES
line = sapscript_lines
EXCEPTIONS
no_docu_on_screen = 1
no_docu_self_def = 2
no_docu_temp = 3
ret_code = 4
others = 5.
if sy-subrc <> 0.
text = space.
endif.
formatted_text = cl_wd_formatted_text=>create_from_sapscript(
sapscript_head = sapscript_head
sapscript_lines = sapscript_lines
" set it into the context
if Not ( formatted_text is initial ).
wd_context->set_attribute(
name = 'FORMATTED'
value = formatted_text->m_xml_text ).
endif.
clear sapscript_head.
clear sapscript_lines.
*Get the text created by SO10
CALL FUNCTION 'READ_TEXT_INLINE'
EXPORTING
ID = 'ST'
INLINE_COUNT = 1
LANGUAGE = 'E' "English language
NAME = '85XX_FOOTER'
OBJECT = 'TEXT'
LOCAL_CAT = ' '
IMPORTING
HEADER = sapscript_head
TABLES
INLINES = sapscript_lines1
LINES = sapscript_lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
OTHERS = 7
formatted_text = cl_wd_formatted_text=>create_from_sapscript(
sapscript_head = sapscript_head
sapscript_lines = sapscript_lines
" set it into the context
if Not ( formatted_text is initial ).
wd_context->set_attribute(
name = 'FORMATTED1'
value = formatted_text->m_xml_text ).
endif. -
How to call a RFC of a remote system from an ABAP webdynpro component
Dear Experts,
I am a newbie in ABAP Webdynpro.
I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
How do I do that ?? Please help.
Regards,
Mamai.Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
And the regarding the method of calling it depends on your FM.
if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
if it is simple straight forward RFC you can directly call it.
for creating RFC service call call use this method
1. Starting the Wizard
To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
through the creation process.
Press Continue.
2. Choice of Controller
On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
embed service calls in view controllers.
a. Select radio button Use Existent Controller
b. Do not change the default entry for component: <CC name>
c. Enter for controller COMPONENTCONTROLLER
d. Press Continue.
3. Service Type and Service Selection
a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
destination here. Press Continue.
b. Select the service: for Function Module enter <RFC name>. Press Continue.
4. The Required Methods and Context Elements
On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
required by the service call as well as to the required methods. The proposed names are based on the names of the
embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
box.
a. Adapt Context: Select from Nodes/Attributes . Press Continue.
b. Specify Method Name: leave all entries as provided: Component: Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
5. Completing the Choice
When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
and contexts at your disposal for using them within your Web Dynpro component.
or if you want to call directly the use the call statement with destination -
Calling different views at runtime based on my condition abap webdynpro
Hi friends,
Could you pls help me in this issue.
I am new to webdynpro abap.
I have an action on my first view.
basically its a sales order linktoaction. when i click it, i have to check a condition.
if process type = A,
then navigate to view 2(different abap webdynpro component's view)
elseif process type = B,
then navigate to view 3(different abap webdynpro component's view)
endif.
I only have experience in calling one view for a action, so i dont have much idea on this how to acheive.
I have this IF condition, on action event.ON that i need to call view of another application.
thanks in advance,
NirajaHi Niraja,
If you want to pass parameters to a WDA application you can pass them by URL link.
Example: http://...?pass1=value1&pass2=value2 In this case you pass two parameters to the application.
In WDA application you can control parameters in windows, you can add parameters in the plug 'Startup' which names are same as URL parameters, and then you can create notes/attributes in the context of windows then map them to the context of view. In the method of startup plug you can pass the parameters to the context of windows. You can search WDA help by WDA application parameters.
You can check this [link |http://****************/Tutorials/WebDynproABAP/DynamicViews/Window.htm]for dynamic view navigation in a window. And no its a pdf file. It takes you to another website where they have explained it with step-by-step screenshots.
You may also be interested in checking out this [link |http://****************/Tutorials/WebDynproABAP/views/navigation.htm]where they have explained Navigation from one View to other View along with parameters using Plugs with out using Component Controller context. It too isn't a pdf & does take you to another website.
Hope these help.
Regards,
Uday
Maybe you are looking for
-
How can I transfer video taken with my iPhone to my iPad WITHOUT using a computer or iTunes? I'm going to Europe for a month and want to use my iPhone to take pics and video, then come back to the hotel room and use my iPad to edit/store each evening
-
Adobe Acrobat 9 causes Windows to crash
Adobe Acrobat Pro 9 crashes Windows when I try to open multiple PDFs. This does not occur when opening multple PDFs in the Adobe Reader program. Any ideas? Are you only allowed to run on instance of Adobe Pro - I would expect a simple message indicat
-
'?' appearing in DBMS_OUTPUT
hi, I have a procedure which is fetching some data into a cursor. then printing it using FOR loop with DBMS_OUTPUT.PUT_LINE(). when this procedure is run manually, it outputs result normally. But when the same procedure is triggered with Control-M to
-
How does installing programs work when user folder moved to separate drive?
Hi everyone I have my user folder on a separate drive from my boot drive. I have set up a new installation of OS X on a third drive and pointed the main account's user folder on that third drive to the user folder drive. This means that the dock that
-
MYSQL 'Limit' equivalent function in Oracle8
Hi, i am currently trying to convert some mysql expressions/functions so that i am able to use them with an Oracle database. The function is 'Limits', for example:SELECT BI.title, BI.authors, BI.edition FROM bookinfo BI, booksonsale BO,users U WHERE