Help on Interface views
Hi,
I am aware that there is a 1:1 relationship with Interface view and a window.
1) But I am not sure for the purpose of the inbound plug "Default". What is the significance.
2) What does the plug type - startup / Resume/ Standard refer to ?
I am also aware that if a window has 'n' number of views and the user want to see a particular view on the startup, we have to enable the default option as 'True' in the view properties. There is only one view which can be made to have dafault as 'True'
Any suggestions to help me get clear would be welcome.
Regards
Gandolf
Hi Gandolf,
Please refer the following links which will help you in getting a fair idea about the navigational links and plugs.
Resume and Suspend Plugs:
http://help.sap.com/saphelp_nw04s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm
Inbound and Outbound Plugs:
http://help.sap.com/saphelp_nw04s/helpdata/en/47/455c6980f81962e10000000a114a6b/frameset.htm
Hope it helps.
Cheers,
Manoj
Similar Messages
-
[Solved]How to create ADF interface View
Hi All,
I have a design problem that I need some help with.
In one of the pages in our application, we have two drop down boxes one with account type and another with account name (label) and account number (value).
The account types are Escrow, Credit and Misc (some other types). all three types are in three different tables.
Now the problem is, in the page when the account type is selected, the second drop down box should be filled with respective account numbers.
So my question is Can I create an interface view and implement in all three different account type views and use it for second drop down box.
Thanks in advance for your help.
Thanks
Praveen
Message was edited by:
bpraveen
Message was edited by:
bpraveenYou might do a VO with a union of the three tables - use a custom SELECT like this:
SELECT 'Escrow' account_type, account_number, balance, ... FROM escrow_accounts
UNION
SELECT 'Credit', account_number, balance, ... FROM credit_accounts
UNION
SELECT 'Misc.', account_number, balance, ... FROM misc_accountsUse NULL for any column in a table that does not have that column. I'm not sure if you can use Entity Objects (one EO per table) with such a VO to make the data updatable - it might have to be a read-only VO.
Or create a database view with this SELECT and base the VO on that view instead of a table. You can even make the view updatable with INSTEAD OF triggers and base an EO on the view. -
Dynamically change embedded interface view in window
I have a Maincomponent M which embedds in its Mainwindow an interface view V_L from a component definition interface cid L. CID L handles the layout with several views and has two at runtime chosen variants (= cid_L-implementating components ) L1 and L2.
now my wd-application starts e.g. with layout L1 and I want to switch at runtime via a button or an event to L2. how can I achieve this?
Because M embedds in its window V_L (which can be filled by L1 or L2) I tried to delete the component in the usage of L1 and create the new component for showing L2.
but this doesn´t work. should I change some navigation links dynamically? because I thought when I create component L2 the interfaceview V_L is filled and I it´s automatically shown in its higher-ranking Mainwindow from M which embedds V_L.Hi Thorsten.
Is your scenarion as follows.
You define an outbound plug in your main (e.g. 'OUT') at design time.
Then you start the application and you create a dynmic navigation using OUT
to L1 and embedd L1 in M this way.
Then you click a button and create again a dynamic navigation using OUT as outbound to L2 and embedd L2 in M?
If so you create 2 navigations which will be triggered when you fire OUT.
You can test this by setting the break point on the fire method. Somehow you will come to a point where you will see a table which stores the navigations and should contain 2.
I have a table with authorisation which contains all necessary data for the navigation to a corresponding component. I use the authoridation ID as name for the outbound which have to be created dynamically. And I use a Hashtable to store the value. This is of the type CL_C2S_SAPI_HASHTABLE. I create the object as attribute in view controller. Then each time a link is clicked I check whether the hashtable already contains a value for this authorisation. If not I call
prepare_dynamic_navigation and use the ID as outbound. Afterwards I store it in th hashtable.
lv_outplug = wd_this->outbound_plugs->getvalue( lv_auth ).
* the navigation to the specified auth is performed
* for the first time and have to be created.
if lv_outplug is initial.
lv_outplug = lv_auth.
try.
l_view_controller_api->PREPARE_DYNAMIC_NAVIGATION(
source_window_name = 'W_MAIN'
source_vusage_name = 'V_MAIN_USAGE_1'
source_plug_name = lv_outplug
target_component_name = lv_comp
target_component_usage = 'USED_COMPONENT'
target_view_name = 'W_MAIN'
target_plug_name = lv_plug
target_embedding_position = 'V_MAIN/UI_COMP_CONTAINER' ).
* save outbound_plug for later usage.
wd_this->outbound_plugs->setvalue(
exporting
name = lv_auth
value = lv_outplug
catch cx_wd_runtime_repository into lr_exception.
data s type string.
s = lr_exception->get_text( ).
raise exception type cx_wdr_rt_exception.
endtry.
endif.
l_view_controller_api->fire_plug(
exporting
plug_name = lv_outplug
Hope this helps.
Cheers,
Sascha -
Dynamically embed interface view in window
Hi,
I am reusing the same WD ALV component in different tabs on the same view
of my application. The WD framework does not allow to embed the same interface view of the same component usage more than once on the same view -> error message '... is already embedded in your view...'
So as I don't want to slow down the application and create 5 component usages of the ALV reuse component because of this, I would like to dynamically assign the same
instance interface view to the currently viewed tab. In each tab, there would be a view
container to embed the interface view. I tried calling the method below in both wdDoInit and on the plug handler of the default inbound plug, but no success so far
I implemented the method as far as I understood the saphelp correctly:
http://aiokeh.wdf.sap.corp:1080/SAPIKS2/contentShow.sap?_CLASS=IWB_EXTHLP&TMP_IWB_TASK=DISPLAY&_LOIO=4C60154219FCE12CE10000000A1550B0&_SLOIO=7C3545415EA6F523E10000000A155106&RELEASE=700&LANGUAGE=EN&_SEQNUM=71&_SCLASS=IWB_STRUCT
method EMBED_ALV_VIEW .
data: L_VIEW_CONTROLLER_API type ref to IF_WD_VIEW_CONTROLLER,
L_VIEW_CONTROLLER_API = WD_THIS->WD_GET_API( ).
L_VIEW_CONTROLLER_API->PREPARE_DYNAMIC_NAVIGATION(
source_window_name = 'RPM_DASHBOARD_WINDOW' "embedding app window
source_vusage_name = 'RPM_DASHBOARD_VIEW_USAGE_1' "own local view containing all those tabs
source_plug_name = 'DEFAULT' " inbound plug for the window above
target_component_name = 'SALV_WD_TABLE' "alv reuse component
target_component_usage = 'SALV_WD_TABLE' "usage name of this component
target_view_name = 'TABLE' "interface view name of embedded component
target_plug_name = 'DEFAULT' "startup plug for this interface view
target_embedding_position = 'CNT1' ). "own view container on view.
Thank you for your help!
CHeers, RobertHi Robert,
Check out the following:
In the Wiki they have added a feature about inputfields/dropdownboxes.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/dynamicuseof+Dictionary&
you can also check the weblogs by Thomas:
/people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
/people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
/people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
You could use MultiPane or RowRepeater. WDR_TEST_EVENTS contains an example for both.
Hope this will help you.
Cheers,
Darshna. -
Trigger GP process by giving process URL in Interface View outbound plug
Hi,
My Requirement is,
I have 1 GP process implemented in webdynpro.
From 1 of my view I am calling the process completeion(executionContext.processingComplete();) code, written in interface controller.
After this code I need to start the same process once again, without clicking any link.
For this I have created 1 outbound plug in the interface view of my window(out blug for WebDynproCOInterfaceView with parameter "Url").
Then after calling executionContext.processingComplete();, I gave
wdThis.wdGetWebDynproCOInterfaceViewController().wdFirePlugGotoUrl("Process Instantiation URL"); in my view.
but it is giving error,"WDRuntimeException: Cannot navigate from view WebDynproCOInterfaceView via non-existent outbound "
Also I tried to start the gp process througn coding also
what I tried is,
IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user1 = wdUser.getSAPUser();
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user1);
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("EB0B28E08B6011DB0145EB416E0",userContext);
EB0B28E08B6011DB0145EB416E0 is the process ID.
This code I have tried by giving before and after the completion of the previous process(process9executionContext.processingComplete();)
But this also didn't work..No error came. But process didn't start again after thecompleted once.
Please help me out.
Thanks
smithaHi Rupam,
thanks for the reply
I have given EXIT type of outbound plug only. But it won't work if the view is in portal.
When I tried to create the process using GP API the process is creating in Background. For me , after the completion of one process , automatically next should trigger and the corresponding view should be visible for the user.
Process is triggering using GP API but, the view is not visible to user.
Please help me
Thanks
Smitha -
Add Embed Interface View of a Componenet instance
In a WebDynpro project (not DC), we create two webDynpro components WA, WB.
WB is is declared as Used Web Dynpro Components in WA. When we want to embed the interface view, in the pop-out window, we can see the Component Instances node with a "+" , but we can not open the node to select. This case can be reproduced on some machine, but in another machine it works properly.
We use NW 2004 with SP11, any one know how to solve the problem?Hi Robert,
Check out the following:
In the Wiki they have added a feature about inputfields/dropdownboxes.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/dynamicuseof+Dictionary&
you can also check the weblogs by Thomas:
/people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
/people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
/people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
You could use MultiPane or RowRepeater. WDR_TEST_EVENTS contains an example for both.
Hope this will help you.
Cheers,
Darshna. -
Component Usage / Interface Views
Hi Experts,
I have added two fields in CPGOE_DETAILS/ovefdetails view through AET.
Now I want to attach search help to those fields through compoent usage.
So I have created component usage of BP_HIER in the CPGOE_DETAILS.
I am able to call the search help view : SearchHelpNodesVs because it is default view in Interfave view SearchHelp for the first field.
for the second field i want to call the view : SearchHelpVS which is also available in interface view SearchHelp.
Please suggest the solution.Hi Naresh,
the window SearchHelp has two different inbound plugs which you have to use.
- IP_SEARCH_NODES opens BP_HIER/SearchHelpNodesVS
- IP_SEARCH_TREES opens BP_HIER/SearchHelpVS
Just use the correct inbound plug to get the search you want.
Best regards
Matthias -
Regarding navigation from Interface View
Hi All,
i am trying to pass data from one component to other component via exposing the interface view controller of second component to 1st component via Used Webdynpro Component concept.
I am able to navigate from one component view to 2nd component view with the action of fireplug from 1st to 2nd. but i am not able to do
vise versa.
What i got, after embedding the 2nd view in the 1st component window, inbound plug is created automatically. If in the same view(embedded interface view) i try to place out bound plug i m not able to do. how to get this navigation from 2nd view to 1st view.
Please help me out.
Regards,
DeepakHi deepak,
I didnt work on it but giving just an idea....
till now you did....
i am trying to pass data from one component to other component via exposing the interface view controller of second component to 1st component via Used Webdynpro Component concept.
I am able to navigate from one component view to 2nd component view with the action of fireplug from 1st to 2nd. but i am not able to do
vise versa.
What i got, after embedding the 2nd view in the 1st component window, inbound plug is created automatically. If in the same view(embedded interface view) i try to place out bound plug i m not able to do. how to get this navigation from 2nd view to 1st view.
now to do vis versa you have to do all this things for other component. I mean expose 2nd component via Used WD component concept. now embed 1st view in 2nd component window. just reverse of what you did till now.
and take a view set where in first view area show the first navigation, and in the second view area of view set show the second navigation.
Am I clear?
PraDeep -
What is the purposeof interface view property?
what is the purposeof interface view property?
Hi Rafi,
Interface View means Communication between two views in diff Contrallers.
http://help.sap.com/search/highlightContent.jsp
Regards
Vijay Kalluri -
Hi all ,
I need some help on materialized view. I have to make a MV in dbms_dtm schema
I have 2 tables like below
sales and orduct
salescolumns: salesid,prodid,subid,charges
and product columns: subid and billid
sales.subid = product.subid.
i need a materialized view for this columns salesid,prodid,sum(charges),count(subid) and billid in dbms_dtm.
have to create another materialized view for below tables
order and ordertype
order columns: orderstaus,ordertype,address,ordertypeid
ordertype columns: ordername,subordername,ordertypeid
order.ordertypeid = ordertype.ordertypeid
need a materialized view for columns orderstaus,orderstaus,ordertype,address,ordername,subordername and granularity for this cloumns.
please some give me some guidens on this issue
Thanks in advanceYou should read chapters 8 & 9 of the Data Warehousing Guide:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/basicmv.htm
Just saying "you need a materialized view" doesn't provide enough information on what you need or how you plan to use it. -
Need help with interface development
Hi i need help with requirement below with developing interface between or online order system and sap plz lemme know what is bapi i use for creating customer, update and assigining partner id to costumer.
SAP Development
1. Using standards SAP functional module (with BAPI), create interface that will create/change Ordering party customer in SAP. Following fields are mandatory for customer creation:
MANDT Client
VKORG Sales organization
VTWEG Distribution Channel
SPART Division
KDGRP Customer Group (= ZORP)
KUNNR Customer number
NAME1 Name 1
NAME 2 Name 2 (if required)
SORTL Search term (short description)
ZZALTKN Search term 2 (old customer number)
LAND1 Country
ORT01 City
PSTLZ Zip Code
REGIO Region (state in USA)
STRAS Street
TELF1 Primary telephone number
TELFX Primary Fax number
ZZPRPLANS Payment Plan
CCINS Payment card: Card type
CCNUM Payment cards: Card number
CCDEF Payment Card: Default Card Indicator
ZBDGID Customer Budget ID
ZHOLD Budget Hold indicator
ZZCOSTCENT Cost Center
2. Upon successful customer creation system will issues S (success) message that customer has been created.
3. New ordering party customer created in step ½, will have to be assigned as new partner to its belonging Sold-to/Ship-to customer. Use standard SAP customer functional module in order to perform this partner ID assignment. Partner ID for ordering party should be ZO.
1.7 Enhancement Functionality
Apart from creating a new interface to do the required functionality, the Order Create Interface also has to be changed to accommodate a field to pass the Ordering Party Number on the Order. The technicalities of how we are going to implement the interface will be laid out in the Tech Specs.
Thanks
in advanceYou have double posted, please mark this one as "solved on my own" and refer to this thread
need help with interface development
Regards,
Rich Heilman -
Need help for interface to process employee expenses
need help for interface to process employee expenses
i have used the interface tables as
AP_INVOICES_INTERFACE
AP_INVOICE_LINES_INTERFACE
are they the right one
is there a concurrent program or any API for doing interfacehi,
i think what ever table are using for interfacing expenses correct.
but you have to enter invoice type as expense report.
Regards,
Srikanth -
I need some help with Interfaces since I'm really new to OOP.
I have 1 interface, 1 class implementing the interface and 1 main function. Here is the structure:
public interface t_action
public boolean isvalid(int a, int b);
public class sec implements t_action
public boolean isvalid(int a, int b)
/* Implmentation of this method */
public class main()
public static void main(string args[])
boolean valid = false;
/* Need to call isvalid in public class sec
and assign it to the "valid" variable above
}My Question is:
How do i call the method "isvalid" in class sec that implements the t_action interface? I need to assign it to my variable "valid" in class main
Any help is appreciated.
Thanks.
MAZ@McMaster EngineeringHey all...
Thanks for your contribution.
As I said earlier here: "I'm new to Java" so cut me some slack!!!
I've been doing C programming all my life so java is similar but quite foreign to me since I started learning it recently on my own
If this were a normal class and not an interface, it would be:
class_name myclass = new class_name();
myclass.isvalid(a, b);But why is it:
interface_name i = new class_implementing_interface();
i.isvalid(a,b);Thanks -
"Help" in List View, Why?
Noticing some odd behavior: when you right click on any object in list view, the first contextual item is "Help". In icon or column view there is no "Help" and the first selectable action is "Open". Oddly, "Help" in list view does nothing. Can anyone explain this behavior. More importantly, can anyone tell me how to change it?
Limnos wrote:
What do you want it to do?
Actually, I'd prefer it not be there. I'd like the first selectable item to be "Open" regardless of what view I'm in. -
Hello,
I want to add inbound plug to one standard WebDynpro component.
I've tried to enhance a Window with one inbound plug, but this plug does not appears in interface view inbound plug list.
How to add inbound plugs to interface of standard components? Is it possible?
Edited by: Andrey Bytchkov on Oct 31, 2010 3:25 PMHi,
I can't add neither outbount nor inbount plugs to standard component FITV_FPM_START.
I've double clicked in interface view APPLICATION_WINDOW, but I can't click to enhance button, because it is disabled.
Is it possible to enhance standard webdynpro component interface views plugs?
Edited by: Andrey Bytchkov on Oct 31, 2010 9:21 PM
Maybe you are looking for
-
Hi Gurus, SDN is the only place where i can get a soloution for my problem. How to find the serial nos associated with a material document(MBLNR). if we take a material document no from MSEG or MKPF table... how to find the related serial nos for the
-
Anyone using Lync audio with Adobe Connect?
We are in talks to move from PGi integrated audio to the Lync Audio, but don't know where to start. Any pointers or info will be really appreciated. Never worked on SIP or UV in Adobe Connect environment. Thanks in Advance. Regards, Amit
-
Does any one know how to clean smart cover surface?
I have a polyurethane cover. It's light green color, but since I've been using it since long time it's gone on to become dirty and s got stains on it. Ho do I clean it now? I m afraid to use water... Any solutions?
-
I purchased a Ipod Touch two weeks ago. Everything works fine except the loading of album art. I can only load 13 of the 23 album art pictures onto Ipod. They all appear in Itunes but only 13 sync to Ipod. All the music syncs no problem. I tried re-s
-
How do I send a link or page to my childs I phone ?
can I send a tex message to my kids I phone from my Dell PC?