How to define exit plug for interface view?
hi experts,
I am trying to define exit plug for interface view , but i am not able to make interface view into change mode. it doesnt allow me. what should be done/
Thanks,
saurin shah.
Hi ,
Check the Interface in the Window this will reflected in the Interface Window
Regards
Vikranth
Similar Messages
-
How can I exit from full-screen View?
On the View menu, I clicked "Full screen View", but then I couldn't find any way back to normal view. I had to Force-Quit Firefox to escape.
How do you exit from Full Screen View?
(I tried Esc, Ctrl-C, and many other key combinations)
Thanks, PeterRTry F11.
-
How to create transaction code for maintenance view
hai friends,
i hope every thing goes good.
i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
i tried and i donot know the screen number and program name and where can i give the view name.
if any one know please post in details.
thanks in advance.Hi Elam,
You need to create a "Parameter Transaction".
What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
Now save the transaction and there you have it.
Hope this helps.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful. -
How to define a Value for an Attribute of an Class
Hi,
How to define a Value for an Attribute of a Class ...
( I need to change the value of an Attribute of a class in standard program ....
Ex...
cl_hrce_masterswitches=>infotype_framework_is_active
Here infotype_framework_is_active is the attribute .. its value in standard program is 'X'... Now i need to change it as ' '.
How to define it and set value as ' '.Hello Surendar
The static attribute INFOTYPE_FRAMEWORK_IS_ACTIVE is read-only and there is not SETTER method to manipulate its value.
However, the attribute is filled in the CLASS_CONSTRUCTOR:
METHOD class_constructor.
IF ce_is_active = true OR
global_payroll_is_active = true OR
mngmt_global_empls_is_active = true.
infotype_framework_is_active = true.
perid_infotype_is_active = true.
ELSE.
infotype_framework_is_active = false.
perid_infotype_is_active = false.
ENDIF.
ENDMETHOD.
Thus, you need to analyze how attribute CE_IS_ACTIVE, GLOBAL_PAYROLL_IS_ACTIVE and MNGMT_GLOBAL_EMPLS_IS_ACTIVE are filled in the CLASS_CONSTRUCTOR.
For sure you will find customizing settings that are responsible for this.
Regards
Uwe -
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
How to define Substitution rule for Businee area
Hi experts,
Could you please guide me to define substitution rule for Business are.
Below is the requiremnt :
I want to assign different business area for this cost centre.
While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
Example : Cost centre 11310 and businee area Y020.
Businee area Y020 is picking from cost centre 11310 while posting document.
I want to assign different business area for this cost centre.
For that I want to define substitution rule.
I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
Substitute business area with Y045.
It is not working .
Please guide me where I did mistake and how to rectify the same.
Thanks in advance for your quick response and points will also assign for helpfull answer.
Regards,
AmarHi Paul,
Thaks for your reply.
Yes, you are correct. SAP is changing this back to BA from Cost centre.
Why can't we use Substitition for the above issue.
Then what is solution for my issue.Please suggest any alternative solution.
Thanks in advance for your help.
Regards,
Amar. -
How to define Approval Hirearchy for Fixed Assets?
Hello All,
Couls someone please tell me How to define Approval Hirearchy for Fixed Assets which should be different as compared to normal item purchase.Reply me ASAP
Regards
AdityaHi,
The AP invoice approval used AME rules for finding the approver. You can base you AME rules on virutally anything.
In this particular case, you can base your AME rules on one of the followings:
1. If any of the Distribution Accounts contain Fixed Assets natural account
2. You can define a separate document category which should be used with invoices for FA Purchase and use the category in AME rules to find approver
3. You can have a DFF at the Invoice Header level to indicate that this is a fixed asset purchase invoice and have this DFF to be used in AME rules.
Gajendra -
How to define new colors for the form?(Finish)
Hello! Everyone!
I want to define new colors for the new form.
But I don't find where I can define it.
How to define new color for the form?
Thanks in advance!You have to set the Canvas color or as I said earlier you need to use one of the available color schemas on the OAS or Builder runtime.
If you want to use user defined colors in the builder, then you need to create a new color palette and use it.
I personally haven't tried it, but there is a section in the online help that describes how to do this.
Tony -
How to define the texts for UI element Dropdownlistbykey?
Hi everyone,
I don't know how to define the texts for Dropdownlistbykey. It seems that Dropdownlistbykey has an attribute "selected key", but where can I bind the texts I want to display when user clicks the downwards
arrow?
Thanks in advance.hi,
you can use this code :
method WDDOINIT .
DATA : node_info TYPE REF TO if_wd_context_node_info,
value1 TYPE wdy_key_value,
set TYPE wdy_key_value_table,
k1 type string value 'M',
v1 type string value 'MAGO',
k2 type string value 'S',
v2 type string value 'Saurav'.
value1-key = k1.
value1-value = v1.
APPEND value1 to set.
value1-key = k2.
value1-value = v2.
APPEND value1 to set.
node_info = wd_context->get_node_info( ).
node_info = node_info->get_child_node('FOR_DROP').
node_info->set_attribute_value_set( name = 'DROP_KEY' value_set = set ).
I hope it helps.
Thanx. -
How to define script object for plug-in
hi all,
I'm new developer in InDesign Server.
I'm having a look at the SnipRunner & BasicPersistInterface.
In the file SnippetRunner.jsx:
// get the SDKCodeSnippetRunner object
var snippetRunner = app.sdkCodeSnippetRunnerObject;
In the file BasisPersitInterface.jsx:
app.basicpersistinterfacePreferences.bpiData = "default";
if (app.basicpersistinterfacePreferences.bpiData != "default") {}
really, I dont understand where & how to define the "sdkCodeSnippetRunnerObject" & "basicpersistinterfacePreferences" in the source code of plug-ins written in C/C++
so anyone can help me on this?
thanksThis is a very basic question. F1 help on statement form will do.
-
How to define document protocol for Custom/Generic message of ASCII types
We need define for B2B document protocol for Custom over Generic message type to receive/process ASCII message (either fixed or indefinite length) from Trading Partner, can anybody tell us if you have done it with detailed example and instruction:
1) In creating protocol revision/document definitions, do I need an Edifecs .ecs file? if yes, how to create the format for indefinite string? if not what I should put in document
definition for 'IDoc ecs File' ? (we actually we may have two different types
of ASCII message, not sure how to differentiate them)
2) Does Identifying expression need message/document translated into XML first ? since it's for
'Identifying XPath Expression' which implied existence of XSD
3) Please provide detailed example you accomplished this in B2B
Thanks in advance for any help!Yes its something on the similar lines but looks like this comparator needs to be at some specific place.
I tried to implement comparator interface in the custom domain data type class but it still throws the same exception.
Looks like RowComparator needs to be defined somewhere. any idea where?
The complete exception is below:
Caused by: oracle.jbo.JboException: Cannot find compare routines for test.MyString
at oracle.jbo.RowComparator.compareValues(RowComparator.java:108)
at oracle.jbo.RowComparator.compareRows(RowComparator.java:146)
at oracle.jbo.RowComparator.compare(RowComparator.java:158)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.sort(Arrays.java:1210)
at oracle.jbo.server.ViewObjectImpl.sortRows(ViewObjectImpl.java:6752)
at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:995)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1177)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1331)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1249)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1243)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6715)
at org.calwin.view.bean.Table.tableSorting(Table.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) -
Fire outbound plug of interface view controller?
Hello Experts-
In my WD project I have two apps A and B.
I need to navigate from app A to app B.
In the interface view controller of app A, I have created an outbound plug called GotoB.
I determine the URL of app B using the WDURLGenerator and store that value in a string.
In a view of the app A I have the code:
<code>
wdThis.wdGetAInterfaceViewController().wdFirePlugGoToB("URLtoB");
</code>
For some reason nothing seems to be happening when the event triggers in the view of app A that runs the above code. The view of app A just seems to refresh. The one thing that does happen is that on the refreshed view of app A if I click on the button to trigger this event again I get an 'app A has expired' WAS error.
What am I missing here? How can I make the navigation from app A to app B work?
Thank you,
- Vik.Hi,
well step by step:
1) Create component Component1 (package="com.sap.sdn", window name = "Component1CW", View name="Conponent1CV")
2) Create component Component2 (package="com.sap.sdn", window name = "Component2CW", View name="Conponent2CV")
3) Create application "App1" (package="com.sap.sdn", Web Dynpro component="Component2", the rest - by default)
4) In Component1CWInterfaceView create outbound plug "GoToComp2"
5) In Conponent1CV add Component1CWInterfaceView as required controller
6) In Conponent1CV add button and in action handler put following:
public void onActionGoToComp2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionGoToComp2(ServerEvent)
wdThis.wdGetConponent1CWInterfaceViewController().wdFirePlugGoToComp2();
//@@end
7) In component Component2 add Component1 as Used Web Dynpto Component (name="Component1CU")
8) In Component2CW embed view (Component1CWInterfaceView) as Embed Interface View of a Component Interface, and set this view as default.
9) In Component2CV add inbound plug "FromComponent1"
10) In Component2CW link embedded View Component1CU.Conponent1CWInterfaceView.GoToComp2 with Component2CV.FromComponent1
11) Build-deploy-run. Click on button. It should work.
Regards, Maxim R. -
How do I save settings for a View?
Hi
Anyone who can help me, it'll be great...
I have created a view in eclipse. When the user opens the eclipse workspace that view is also opened. The user can use the view to search for code. When the workspace is closed the view is saved because the program calls saveState when the workspace closes.
However, when the user has the view open and does a search and then just closes that view (without exiting the workspace) the search criteria that the user previously enters does not save... so when the user opens the view again all the default search criterias are loaded.
What do I use to save the view state?
ThanksThis question is really best asked in an eclipse newsgroup, e.g. the RCP group:
http://www.eclipse.org/newsgroups/index_project.php
All I can tell you (I'm just starting out fiddling with this myself) is that FAQ 204 in The official Eclipse FAQ 3.0 is "How does a view persist its state between sessions". It says that you can use the JFace IDialogSettings facility for persisting view state in the case where your view is closed but not the workspace. Is that something you are familiar with? -
How to define FORMAL parameters for TABLES in OOPS?
Hello Experts,
Below is the custom code, would like to put in a user-exit
PERFORM my_routine
IN PROGRAM my_report
TABLES standard_sap_vbap_tab
USING standard_sap_variable
CHAGING standard_sap_variable
Pls. let me know How to write the FORM in perspective of data objects defination in OOPS for the above routine.
FORM here_pl_let_me_know_how_to_define_the_data_objects
ENDFORM.
Thank you
Moderator message: please search for available information/documentation before asking.
Edited by: Thomas Zloch on Nov 10, 2010 3:40 PMThis is a very basic question. F1 help on statement form will do.
-
Fireing outbound plug of interface view from within component
Hi all,
is there a better way of firing an outbound plug of an wd component interface view than from within the interface view controller itself?
The problem is, that you easly get a cyclic reference if you evaluate inbound component plugs in the interface controller (usage from int view ctrl --> int ctrl needed) and then try to fire an outbound plug from this interface controller (usage comp int --> comp int view usage needed).
One workaround is to use some custom controller with usage of the interface view, but this doesn't seem to be a nice solution.
So is it possible to fire outbound comp plugs from, lets say the component controller - without any usage releation to the comp int view - instead, maybe via wdComponentAPI? If yes, could you provide a code snippet?
Thanks you and best regards,
ChristianHi Christian,
this is not possible by using the public API only, i'm afraid. It is of course possible, if you decide to forget about the possible drawbacks of using methods and classes reserved for internal use. But you have to use it at your own risk. I hacked this together some weeks ago, don't know whether it still works
* Fires an outbound plug of an interface view with parameters.
* @param wdComponentAPI Component API "owning" the interface view.
* @param windowName Name of window
* @param plugName Name of outbound plug
* @param callerParameterMap optional Map of plug parameters.
public static final void fireOutboundPlug(
IWDComponent wdComponentAPI,
String windowName,
String plugName,
Map callerParameterMap)
throws WDRuntimeException {
// Find window requested
IWDWindowInfo windowInfo = wdComponentAPI.getComponent().getComponentInfo().findInWindows(windowName);
if (windowInfo == null) {
throw new WDRuntimeException(
"Can't find window: " + windowName + " in component: " + wdComponentAPI.getQualifiedName());
// Get info of interface view
IWDInterfaceViewInfo ifViewInfo = windowInfo.getInterfaceView();
if (ifViewInfo == null) {
throw new WDRuntimeException("Window: " + windowName + ", no interface view info found");
// Find outbound plug
IWDOutboundPlugInfo outboundPlug = ifViewInfo.findInOutboundPlugs(plugName);
if (outboundPlug == null) {
throw new WDRuntimeException(
"The interface view: " + ifViewInfo.getName() + " has no outbound plug: " + plugName);
// Parameter passing
Collection plugParameters = outboundPlug.getParameters();
// TODO make check optional, check caller map parameter keys against existing
if (plugParameters == null || plugParameters.isEmpty()) {
// No caller parameters allowed.
if (callerParameterMap != null && !callerParameterMap.isEmpty()) {
throw new WDRuntimeException(
"The outbound plug: " + plugName + " has no parameters, callerParams must be empty/null.");
// TODO This is a hack, use of internal WD runtime classes and methods (don't use productive).
InterfaceView ifViewController =
(InterfaceView) ((Component) wdComponentAPI.getComponent()).getController(ifViewInfo.getName());
ifViewController.navigate(outboundPlug.getName(), callerParameterMap);
Please remember, that not everything which is technically possible, makes sense
Regards
Stefan
Maybe you are looking for
-
anyone here who can help me?
-
How to resolve Self Joins in OBIEE
Hi All Could any one help how to resolve the Self Join relations in OBIEE (ex. "SCOTT.EMP" table has "EMPNO" column which is referenced by "MGR" column in the same table. Request: Need to drill down from the Top manager to his employees and so on Ano
-
Hi I changed the datafile offline, and the database is noarchivelog mode. After a few days I want to bring the datafile online. Since there will be no transactions to this datafile, during recovery oracle only need to update the checkpoint scn of thi
-
Problem when install ODAC 11g " Updating registry key "
Hi every one, I have O/S Windows XP with service Pack 3 , and i install Oracle DataBase 10g Release 1 , and install Microsoft Visula Studio 2005. The problem is : When install ODAC 11g v.11.1.0.6.21 and the install reach ( progress ) to 60% i see a m
-
Numbers iOS icon??
What does the arrow pointing up in the corner of my spreadsheets in Numbers mean? They are on all of them. Thanks!!