Webdynpro for ABAP treeBynesting table column Usage
Hi Experts,
I am trying to use treeByNesting table column in webdynpro for ABAP.
Can anyone please share me the code.
I am not getting how to use the recursive node.
I need to develop a tree structure whose leaf if determined at run time, so thought to use this UI element. But right now I am getting an error like : ASSERTION FAILED.
Please suggest how to use recursive node and how to load the child.
Regards,
Kalyani.
Hello friend,
I think these links will help you much in solving your error.
Please visit these links,
http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynProABAPApplicationusingTreeand+Frame
http://www.****************/Tutorials/WebDynproABAP/Tree/Page1.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm
Thanks,
Sri Hari
Similar Messages
-
In webdynpro for ABAP alv table issue
hello gurus,
i am new for webdynpro for ABAP.i strucked at one point at designing time.anybody could you suggest me on this.
thanks in advance.
let me explain my scenario first.
in my webdynpro for ABAP developement i have one alv table having ten fields.i am featching the data for eight fields from one Ztabale and updating , for rest of two fields we need to fill after displaying output using the respective F4 help. Right now these two fields are in input editable mode.now i am getting the values successfully from F4 help and at the same time it is allowing MANUAL ENTRIES also but as per my requirement it should not allow any manual entries . for this i have made these two fields are in readonly mode as like as rest of fields to avoid the MANUAL ENTRIES but at this time i didnot get any F4 helpfor those two fields.
so how can i achive my goal in this thing could any one suggest me.
my final conclusion is we need to get only F4 help values into those two fields . it should not allow any manual values at any point of time.
best regards,
babuya hi harshit,
my self also used same code in my action part . here i have one table with four fields carrid , connid , fldate , price.
for carrid i have created freely programmed search help.but if it is in display mode there is no F4 help in enable mode.
in context for attribute carrid
DATA lo_nd_flight TYPE REF TO if_wd_context_node.
DATA lo_el_flight TYPE REF TO if_wd_context_element.
DATA ls_flight TYPE wd_this->element_flight.
DATA lt_flight TYPE wd_this->elements_flight.
navigate from <CONTEXT> to <FLIGHT> via lead selection
lo_nd_flight = wd_context->get_child_node( name = wd_this->wdctx_flight ).
select connid fldate price from sflight into CORRESPONDING FIELDS OF TABLE
lt_flight UP TO 20 ROWS.
@TODO handle non existant child
IF lo_nd_flight IS INITIAL.
ENDIF.
get element via lead selection
lo_el_flight = lo_nd_flight->get_element( ).
alternative access via index
lo_el_flight = lo_nd_flight->get_element( index = 1 ).
@TODO handle not set lead selection
IF lo_el_flight IS INITIAL.
ENDIF.
get all declared attributes
lo_el_flight->get_static_attributes(
IMPORTING
static_attributes = ls_flight ).
CALL METHOD lo_nd_flight->bind_table
EXPORTING
new_items = lt_flight
set_initial_elements = ABAP_TRUE
index =
DATA: lo_cmp_usage TYPE REF TO if_wd_component_usage.
DATA: lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
instantiate ALV component usage if necessary
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
pass reference to data node to instance of ALV usage
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
lo_interfacecontroller->set_data( r_node_data = lo_nd_flight ).
Configure ALV
DATA lr_config TYPE REF TO cl_salv_wd_config_table.
lr_config = lo_interfacecontroller->get_model( ).
**declerations
DATA: lt_columns TYPE salv_wd_t_column_ref,
ls_columns TYPE salv_wd_s_column_ref,
lr_input TYPE REF TO cl_salv_wd_uie_input_field,
name TYPE string,
lt_node_info TYPE wdr_context_attr_info_map,
ls_node_info TYPE wdr_context_attribute_info,
lv_tabix TYPE sy-tabix,
lr_info TYPE REF TO if_wd_context_node_info.
TYPES: BEGIN OF ty_name,
name TYPE string,
END OF ty_name.
DATA: lt_name TYPE TABLE OF ty_name,
ls_name TYPE ty_name.
**for getting node info
*Get the context node information
lr_info = lo_nd_flight->get_node_info( ).
lt_node_info = lr_info->get_attributes( ).
LOOP AT lt_node_info INTO ls_node_info.
CASE ls_node_info-name.
WHEN 'CARRID'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
WHEN 'REGIONALOFFICER'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
WHEN 'INSPECTORNAME'.
ls_name-name = ls_node_info-name.
APPEND ls_name TO lt_name.
ENDCASE.
ENDLOOP.
*Logic for Table Horizontal Scrolling
lr_config->if_salv_wd_table_settings~set_visible_row_count( 13 ).
" lr_config->if_salv_wd_table_settings~set_width( '1085' ).
lr_config->if_salv_wd_table_settings~set_width( '100%' ).
lr_config->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
" lr_config->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).
lr_config->if_salv_wd_table_settings~set_first_visible_scroll_col( 'CARRID' ).
lr_config->if_salv_wd_table_settings~set_cell_action_event_enabled( abap_true ).
Set the table editable .
DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
lr_table_settings ?= lr_config.
lr_table_settings->set_read_only( abap_false ).
lr_table_settings->set_read_only( abap_true ).
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_column TYPE REF TO cl_salv_wd_column.
DATA: lt_string TYPE STANDARD TABLE OF string,
ld_string TYPE string,
ld_int TYPE i,
lv_index TYPE i.
Make few columns editable and attach inputfield, if permitted.
DATA lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
CLEAR lt_string.
APPEND 'CARRID' TO lt_string.
LOOP AT lt_string INTO ld_string.
lr_column_settings ?= lr_config.
lr_column = lr_column_settings->get_column( ld_string ).
CREATE OBJECT lr_input_field
EXPORTING
value_fieldname = ld_string.
lr_input_field->set_read_only( abap_true ).
lr_column->set_cell_editor( lr_input_field ).
ENDLOOP.
CLEAR lt_string. -
How to create an editable table in webdynpro for ABAP? Help!
Hi Experts,
I have a requirement where I have to create a webdynpro for ABAP table for new row/rows entry, delete row/rows and update row/rows data. This is something like table control in normal ABAP.
how can I achieve this? Is there any such feature in ALV component?
Any code sample will be really helpfull.
Please help!
Thanks
GopalHi,
yes, the ALV is integrated into WDA, have a look at this: http://help.sap.com/saphelp_nw2004s/helpdata/en/74/fd4142646ab46be10000000a155106/frameset.htm
Regards, Heidi
PS: look at the WDA Knowledge Center under https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943, there you can find several ALV tutorials
Message was edited by: Heidi von Geisau -
How can i read local excel file into internal table in webdynpro for abap a
Could someone tell me how How can i read local excel file into an internal table in webdynpro for abap application.
thank u for your replyDeep,
File manuplations...............................
1. At the presentation level:
->GUI_UPLOAD
->GUI_DOWNLOAD
->CL_GUI_FRONTEND
2. At the application server level:
->OPEN DATASET : open a file in the application server for reading or writing.
->READ DATASET : used to read from a file on the application server that has been opened for reading
-> TRANSFER DATASET : writing data to a file.
-> CLOSE DATASET : closes the file
-> DELETE DATASET : delete file
If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......
call function 'GUI_UPLOAD'
exporting
filename = p_file
filetype = 'ASC'
has_field_separator = '#'
tables
data_tab = t_data
p_file : excel file path.
t_data : internal table
<b>reward points if useful.</b>
regards,
Vinod Samuel. -
Monitor usage of Webdynpro for Abap Application
Dear all,
How does one monitor how many times a Webdynpro for Abap application is called by users? We have an i-view in the portal that calls a WD4A program in the back-end system. Is there anything in the portal or back-end that will give us the usage information?
Thanks, NeetaHi Thomas,
We are not necessarily looking for performance data but how many times a bsp and/or function module is called. The idea is to try and determine how many calls are made to SWN_WIEXECUTE BSP via a URL (http://<hostname>:xxxx/bc/bsp/sap/SWN_WIEXECUTE/MAIN.DO to track a usage of a new workflow approval/rejection process.
We also want track how many calls are made to SAP_WAPI_WORKITEM_COMPLETE function module to track approval/rejection of a workflow process via Portal UWL.
Best Regards, Neeta -
Need to create a Calender in WebDynpro for ABAP
Hi,
Tcode SSC1 displays owner's calender. I need to create same calender in WebDynpro for ABAP. I couldn't find any standard component usage for the same. Is there any component usage for the same or is there any altenative to create the same?
It's quite urgent.
Thanks,
MaheshHi
You have to use DateNavigator Control to get the left hand side screen in SCC1 and
for the right hand side one you have to work with table Control
for Date Navigator UI control see WDR_TEST_EVENTS
and to get the right hand side screen see WDR_TEST_TABLE see the view SingleMarkableCell.
Using both these standard components you can achieve this.
Abhi -
WDA: TreeByNestingTableColumn and ALV in webdynpro for ABAP
Hi,
1) I am trying to implement a tree with nested structure and multiple columns. I am using RecursionNode in the context and UI element TreeByNestingTableColumn. I am not able to figure out how to make a distinction between the key and parent key. In TreeByKeyTableColumn, we use key and parent key to differentiate. Is there any link which explains how to implement TreeByNestingTableColumn in Webdynpro for ABAP? (I got a link for webdynpro for java though).
2) Can ALV be used to implement a tree structure instead of using Table with TreeByNestingTableColumn or TreeByKeyTableColumn? Then I would be readily able to use ALV features like sort etc. If it can be used is there any link which explains how to do it in Webdynpro for ABAP?Hi Srinivasa,
I can answer the first point. If you use a recursive node and TreeByNestingTableColumn, there is no need to have a rowKey and parentRowKey, since the recursion with the context already defines the hierarchy. As far as I know someone posted a blog that explains how to use the TreeByNestingTableColumn in Web Dynpro Java. I don't have the link available, but this blog would be good place to start. The implementation in WDA and WDJ is pretty much the same here.
Kind regards,
Thomas -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
Follow-up webdynpro for abap using portal theme nw2004s, sp12
Hello,
I wanted to get a follow up to this thread,
Re: webdynpro for abap using portal theme nw2004s, sp12
We are having a problem with the way reports developed in Web Dynpro for ABAP displayed in the portal (the pop-ups and dropdowns look out of wack). The issue appears when we wrap the reports into portal themes (either standard or custom). As per the thread (the link for which I posted above), the suggestion was to apply WDFORCEEXTERNALSTYLESHEET parameter to the WDP, however our system doesn't have this parameter in the system, but it seems like I can create my own parameter. Can some on give me all of the properties assigned to WDFORCEEXTERNALSTYLESHEET in table WDY_APP_PROP_DEF.
Thank youHi Brad, I was trying to apply the note 1033496 but our ABAP servers does not have the WDFORCEEXTERNALSTYLESHEET parameter available in WDY_APP_PROP_DEF table. All other notes are not applicable to our issue.
The portal is NW2004s SP12, the ABAP server is NW2004 SP11
Regards.
Message was edited by:
Aleks Ozerov -
Excel File Upload In Webdynpro For ABAP
Hi All,
I have a doubt regarding EXCEL file upload for Webdynpro for ABAP.
I am able to get the path of file using 'FILEUPLOAD' UI element.Now I need to upload the EXCEL file into ALV.I have tried out with GUI_UPLOAD and other excel upload function module.But these Function Module throws Dump.
Can you please suggest how to go about it.It will be a great help if u can suggest any function module or method.Hi Amita,
Insetad of using GUI_UPLOAD use 'HR_KR_XSTRING_TO_STRING'
Here is the sample code,
TYPES :BEGIN OF str_itab,
name(10) TYPE c,
age(10) TYPE c,
END OF str_itab.
DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
i_data TYPE STANDARD TABLE OF string,
lo_nd_sflight TYPE REF TO if_wd_context_node,
lo_el_sflight TYPE REF TO if_wd_context_element,
l_string TYPE string,
fs_table TYPE str_itab,
l_xstring TYPE xstring,
fields TYPE string_table,
lv_field TYPE string.
DATA : t_table TYPE if_main=>elements_data_tab,
data_table TYPE if_main=>elements_data_tab.
* get single attribute
wd_context->get_attribute(EXPORTING name = `DATASOURCE`
IMPORTING value = l_xstring ).
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
in_xstring = l_xstring
IMPORTING
out_string = l_string.
SPLIT l_string AT
cl_abap_char_utilities=>newline INTO TABLE i_data.
* Bind With table Element.
LOOP AT i_data INTO l_string.
SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE
fields.
READ TABLE fields INTO lv_field INDEX 1.
fs_table-name = lv_field.
READ TABLE fields INTO lv_field INDEX 2.
fs_table-age = lv_field.
APPEND fs_table TO t_table1.
ENDLOOP.
lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB' ).
lo_nd_sflight->bind_table( t_table1 ).
ENDMETHOD.
if correct give correct answer
Thanks & Regards,
Meenachi.R -
Issue regarding cell action in webdynpro for abap alv
hello gurus,
i have one requirement in webdynpro for abap alv.i have one alv table in that i have one coloun employee name.
for that i have provided F4 help and that is editable field.if i select value from F4 help it is getting value correctly and it is showing properly at the same time it is allowing values entered manually insted of from F4 help.but as per my requiremnet it should not allow any manually entered values.how can i get this functinality. i am not aware indepth od WDA.
could you go through my isssue and could you revert me some solution.
thanks in advance.Hi,
I dont think this is possible because when you can change the value using F4 then it would obviously be
possible to enter manually.
You can try using a drop down instead because in drop down you cannot enter values manually,
But this would be good if the values that can be shown in drop down are very low, if the values are more
then again user will face problems selecting values.
Else you can try out what srinivas suggested, But dont know whether we can have two cell editors at a time
inside a single cell of ALV. Please post the answer if you have found any other way to do it. -
Hi all,
I have recently started learning Web Dynpro for ABAP.
I have worked in WebDynpro for Java.
1)I wanted to understand pros and cons of WebDynpro for ABAP and Java.
2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
3)What should be preferred when considering performance issues - WD for ABAP of Java?
Any Web Log or Link in this context will be helpful.
Thanks a lot,
RashmiHi,
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
see the links below, Understand them and start developing.
chk out the links below:
General Tutorial for OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
Have a look at these links for OO ABAP.
http://www.sapgenie.com/abap/OO/
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.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://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
SDN Series:
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Basic concepts of OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
OOPS in ABAP
oops consept in abap
ABAP with OOPS
http://www.abap4.it/download/ALV.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.erpgenie.com/abap/controls/alvgrid.htm
OOPS with ABAP
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
http://www.sapgenie.com/abap/OO/
Regards
Srinivas.K
Message was edited by:
Armin Reichert -
E-mails with Interactive Forms by WebDynpro for ABAP
Hello,
I plan to use WebDynpro for ABAP and Adobe Interactive Forms.
I want to send e-mails with PDF files which are created by Interactive Forms.
Please let me know
- How to send e-mails by WebDynpro for ABAP
- How to attach PDF files.
Best regards,
KojiThanks,
I checked WDR_TEST_MAILT, but I want to know is
how to send e-mails using ABAP method because
in my case addresses and some data are stored add-on tables, and extract them on e-mails.
Regards,
Koji -
How to make cell editable alv in WebDynpro for ABAP?
I make Column editable ALV.(See under source code)
But I can't make Cell editable ALV.
How to make Cell editable ALV in WebDynpro for ABAP?
and..how to get changed data?
DATA: l_value TYPE REF TO cl_salv_wd_config_table.
l_value = l_ref_interfacecontroller->get_model( ).
* { EDITABLE
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_input_field TYPE REF TO cl_salv_wd_uie_input_field,
lr_column TYPE REF TO cl_salv_wd_column.
lr_column_settings ?= l_value.
lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).
CREATE OBJECT lr_input_field
EXPORTING
value_fieldname = 'TOTAL_COUNT'.
lr_column->set_cell_editor( lr_input_field ).
DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
lr_table_settings ?= l_value.
lr_table_settings->set_read_only( abap_false ).the code seems to be correct....but where are you writing it?
put the code in the wddoinit method and it should work.
have a look at this article..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1 -
Webdynpro for ABAP and Portal Integration
Hi Experts,
we created a WebDynpro for ABAP application for portal. The application will modify/update few fields in backend sap HR table PA0006 (infotype 6) . The end user (portal user) should be able to update his data in backend with the iview created on this application.
I have below two questions in my mind.
1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro for ABAP application.
2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
Thanks
Ajay1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro for ABAP application.
Answer: If you use, for exemple ITS to access this Webdympro, you will not need any action on portal for sure. Actually you will just need actions on portal, if you want to make some customization on portal side. If you want just show the Webdympro how it is, your action are all on backend..
2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
If you access via ITS, te custome will acess the backend with the user you have set on the SSO or user-mapping. The portal there is nothing to do in this regards, you must just take care of this on backend.
Please evaluating the answer you are contributing for the SDN keep growing.
Edited by: Fabio Sarmento on Sep 19, 2011 2:41 PM
Maybe you are looking for
-
How to get the request xml string in Business service.
Hi I have following requirement 1) XAI inbound service will get a input xml request feed and call the Business Service. 2) Business service will do some validation and do the insert in the database. My BS schema is as below <schema pageAction="change
-
Return delivery - J1IS - posted automatically
Hi, I need a clarification on blw issue, I have posted migo (101) with excise capture and post option.. where all are updated correclty, i have checked the number range also and it updated correctly. Later, i'm returning the material to vendor (122)
-
Ipod Classic Buffer Overload with apple lossless
My 160GB Classic occasionally pauses or stalls for a few seconds much like the buffer is overloaded and is reloading. The pause is intermittent (never the same place in same song), it lasts about 2 seconds then the song resumes right where it left of
-
I installed adobe CS6 on a clean Windows 7 64 system. Every time I launch Illustrator (64 or 32) I get error "Error loading plugins. Drop Shadow.ai." I have no idea how to fix this. Can anybody please provide some suggestions? Thanks! -billb
-
AE CS5 not opening with 'installizing media core'
I just updated my mac pro laptop to an 0SX 10.9 and installed my adobe suite cs5. Aftereffects gets stuck when opening with the text 'installziing media core'. I have no 3rd party apps on my computer as it's brand new. I have quicktime pro 7. Please