WebDynpro method tab - defining a method
Hi all ,
I 'am trying to define a method in Method's tab . but I can't do correctly the type "returning"
I define parameter , type = returning asociate type I and default = 1.
When I try to change the state of the parameter. Syntax error throws " The field x cannot be changed"
anybody can help me ?? with this ?
thanks in advance,
>
nishant patel wrote:
> Hi,
> I want to create my own method in Web dynpro with importingand exporting parameter as a table is it possible to do?
> If yes how can it be done.
>
>
> Thanks,
> Nishant
Most certainly. Just go to the methods tab of the component controller or the View. You can create a method there. Double click on the method to bring up the method editor. Above the ABAP editor is a table where you can input exporting or importing parameters. Supply a parameter type that is a table type ( data dictionary table type) as you can use the "TABLE OF" statement within the Associated Type column.
Similar Messages
-
Define Measurement Method as Default in Progress Analysis
Hi All,
I have defined Measurement Method 0000000003(Milestone) in progress analysis for my company code.
But while running CNE1 for my project it is not picking the measurement method i have defined for my company code but it is picking the 0-100 Method .
Please advice.
MuzamilHello All,
I have read all the posts on the subject, we are facing the same problem as reported by Muzamil. I have done the follwing
1. Creat Progress Version
2. Define Measurement Method as Default Values
2.1. Define measurement methods for WEBE
2.2. Ddfine measurement methods for all activity types
3. Assign progress versions to the WBS Elements and Activities in their progress tabs.
But, wen I run CNE1, SAP does not pic the default methods while analyzing progress. SAP uses 0-100 method, which is not right.
Please propose some solution
Regards,
Murtaza -
Automatic Payment program: Payment method not defined for vendor abroad
Hi All,
I have a situation wherein the client has a company code in Poland . The Company code is trying to make a payment via f110 to a vendor based in sweden. The vendor wants payment to the invoice to be made in Polish Currency i.e. it wants clearing to be done in Company codes local currency.
But F110 is throwing the error Payment method not defined for vendor abroad. Can you suggest what could be the possible Error.
Regards
NitinNitin,
Have you followed the above advice, i.e. used the same medium format just allowing foreign payments for it?
AFAIK, the Poland banks require a separate format for foreign payments, if only because international bank nbr SWIFT has to also be given and not just the IBAN.
At my company, the Deutsche Bank Poland requested IDocs to be set up instead, I'm working on it now..
thanks -
Syntax error in Define entitytype method in MPC class.
Hi,
I am trying to create Odata service by creating new entity type and entity set at service level creation itself (Data model-->Create). Now at the time of generation of classes I am getting syntax error fields are not defined in method, Define Entitytype of MPC class. Could you guide me on how I can generate classes here.
Br,
Venkat Konanki.Hi,
I am trying to create Odata service by creating new entity type and entity set at service level creation itself (Data model-->Create). Now at the time of generation of classes I am getting syntax error fields are not defined in method, Define Entitytype of MPC class. Could you guide me on how I can generate classes here.
Br,
Venkat Konanki. -
Hi Experts,
If I specify a method in Secondary method in Method Tab page[Activity] task method and Secondary method had been executed simultaneously.
But in Before Method, Secondary method is working but the task method is not executed.
Like wise, In After Method, task method is working but the Secondary method is not executed.
Can any one help me.
Points will be Surely Rewarded.So, if you want them to start "simultanously", perhaps you can use an asynchronous background method as the Before method.
Message was edited by Kjetil Kilhavn:
Ahhh, but you can't according to the documentation in ECC 6.0! The Before method must be a "synchronous function" and is executed before the task's method and on the same screen.
The After method is also executed on the same screen and is a synchronous method. If you use an asynchronous method as your main method, this should probably appear to execute simultaneously. It can e.g. be used to display an image from the archive. However, this is exactly the purpose of the Secondary methods that are neither Before or After methods. -
Exception '1250' is not defined for method 'CREATE' object type 'MESSAGE'
Dear experts,
I set up the document distribution (SWU3, backgroundjob SMTP, activated the workflows, flagged the linkages, etc). Now, I have still a error:
Exception '1250' is not defined for method 'CREATE' object type 'MESSAGE'
Does anyone know what the cause of exception 1250 could be?
Thanks in advance and kind regards,
Samuelhi,
SAP ITS is SAP Internet Transaction Server which provides connection between SAP ERP system and html client.
Check with bassis, i think TCP/IP or work station application not configured yet. i guess?
Benakaraja
??P -
Exception '1003' is not defined for method 'SENDTASKDESCRIPTION' object type 'SELFITEM'
Hi All,
Please help me in this. I am trying to send a mail when user rejected the item in his inbox. I am getting error like
Exception '1003' is not defined for method 'SENDTASKDESCRIPTION' object type 'SELFITEM'. I tried so many ways like no attachments,send express ,siganture,encryption all disabled but still the same error from user outbox who ever rejects it.
Regards,
Madhu.Hi Madhu,
This exception is raised means you have checked the Signature check-box and encrypt check box.
Now you have unchecked that the issue should be solved , but if it is still giving the same exception synchronize your run time buffer using the t-code SWU_OBUF .
Let me know if the issue is still there.
Regards
Bikas -
Revision: 17982
Revision: 17982
Author: [email protected]
Date: 2010-10-01 00:39:15 -0700 (Fri, 01 Oct 2010)
Log Message:
Bug: BLZ-564 - Some classes in flex-messaging-core.jar define main methods for debugging purposes. This creates an unintended entry point and the main methods should be removed.
QA: No - just removed main methods
Doc: No
Checkintests: No - just removed main methods
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-564
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/services/messaging/selector/NumericValue.ja va
blazeds/trunk/modules/core/src/flex/messaging/util/Base64.java
blazeds/trunk/modules/core/src/flex/messaging/util/Hex.java
Added Paths:
blazeds/trunk/modules/core/test/src/flex/messaging/util/Basae64Test.java -
Calling a method from a static method
hello all,
I'm calling a non-static method from a static method (from the main method). To overcome this i can make the method i am calling static but is there another way to get this to work without making the method that is being called static?
all replies welcome, thanksWhen you call a non-static method, you are saying you are calling a method on an object. The object is an instance of the class in which the method is defined. It is a non-static method, because the instance holds data in it's instance variables that is needed to perform the method. Therefore to call this kind of method, you need to get (or create an instance of the class. Assuming the two methods are in the same class, you could do
public class Foo
public static void main(String[] args)
Foo f = new Foo();
f.callNonStaticMethod();
}for instance. -
Calling view controller method from component controller method
Hi,
Is there any way to call view controller method from component controller method?
Thanks,Hi Khandal.
You should not make you component controller dependent from a view controller.
But what you can do is to define an event in the component controller. The view
controller can register for this event.
In the stage where you currently want to call the view controller method just fire
the event. In the event handler method in the view controller you can call the
method then.
Why do you need to call a view controller method? Can you give more details
about the scenario?
Cheers,
Sascha -
Planning method/Basic and Planning method/forecast field values are grey
Hi Experts
The Planning method/Basic and Planning method/forecast field values are grey in my project profile.
What customization would influence for this setting. I wish to change from 2 to 4. Please advise the solution/
warm regards
ramSivaYou can change the above field values only from WBS scheduling profile. If you want to change them, choose 'free scheduling' method.
Regards,
Mahendra -
Hi Expert,
Please let me know How to find out recently updated Contacts details of customer at the Communication tab defined at the Site level in oracle AR.
Thanks in advance.Hi -
Please use the below code to get the Contacts at the Account level.
where Sold to Org id is the Customer Account Id.
SELECT hp2.person_last_name||', '||hp2.person_first_name
FROM apps.hz_parties hp,
apps.hz_parties hp2,
apps.hz_relationships hr,
apps.hz_cust_accounts hca
WHERE 1 = 1
AND hca.party_id = hp.party_id
AND hca.cust_account_id = :sold_to_org_id
AND hr.subject_id = hp.party_id
AND hr.relationship_type = 'CONTACT'
AND hp2.party_id = hr.object_id
AND hr.object_type = 'PERSON'
AND hp.party_id = hr.subject_id
Thanks
Vyaghresh
Edited by: user11990386 on Jun 20, 2011 2:33 PM -
Contacts details of customer at the Communication tab defined at the Site level in oracle AR
Hi Expert,
Please tell me that how I find out recently updated Contacts details(Multiple contacts) of customer at the Communication tab defined at the Site level in oracle AR
Thanks in advance.Hi Octavio,
Thank you for sending me this query. I am working on Customer Interface in R11i. For updating the records I need to check already existing data for a particular customer in a particular site. I am getting all the details except the communication tab details.
I am writing the below query but it is giving multiple rows and same data. Some phone numbers and email addresses are missing in the communication tab . Please correct me what mistake i am doing.
SELECT hcp.email_address,
,hcp.phone_area_code
,hcp.phone_number
,hcp.phone_extension
,hcp.phone_line_type
FROM ra_customers rc
,ra_addresses_all raa
,hz_party_relationships hpr
,hz_contact_points hcp
WHERE rc.party_id = raa.party_id
AND rc.party_id = hpr.object_id
AND hcp.owner_table_id = raa.party_site_id
AND rc.orig_system_reference = 'C100233' -- This I will get from the file for update
AND raa.orig_system_reference = 'A100961' -- This I will get from the file for update
AND hcp.orig_system_reference = '<Phone Reference>' -- This I will get from the file for update
Regards
Dev -
Action Method vs. HandleEvent method
Hello,
Can anyone tell me what the difference between the action method and the handleEvent method?
Or more specifically, what can you do in one method that you can't do in the other?
Thanksschapel is correct. Those are methods from the old JDK 1.0.x hiearchical event model and have been deprecated. But to answer your questioin, the action() method is overriden to handle action events (e.g., menu item selection, button press, ENTER key pressed in a TextField) whereas the handleEvent() method is where all events are dispatched from (including the action() method). Typically you override the handleEvent() method to dispose of a frame (see attached sample JDK 1.0.x application code).
import java.awt.*;
public class Hiearchical {
public static void main(String args[]) {
new HiearchicalFrame();
class HiearchicalFrame extends Frame {
Button ok = new Button("OK");
HiearchicalFrame() {
super();
/* Size the frame */
resize(200,200);
/* Center the frame */
Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();
Rectangle frameDim = bounds();
move((screenDim.width - frameDim.width) / 2,(screenDim.height - frameDim.height) / 2);
/* Add button to frame */
add("South",ok);
/* Show the frame */
show();
public boolean handleEvent(Event evt) {
if (evt.id == Event.WINDOW_DESTROY) {
dispose(); System.exit(0);
return super.handleEvent(evt);
public boolean action(Event evt, Object obj)
if (obj.equals("OK"))
System.out.println("You pressed the OK button!");
return false; //don't propogate the event up the containment chain -
EjbHome method vs stateless bean method
Does the ejbHome<method> and stateless bean method share the same concept?
Hi,
Basically the ejbHome<Method> will be the call onto the home object and it inturn uses the bean to make a call where as the stateless session bean method will be a call onto the ejb object.
So in the client code making a call you just make a looup and call the ejbHome<method> whereas in case of stateless session bean , you need to make a lookup and create and then use the object.
Hope this helps...
Bhgaya
Maybe you are looking for
-
Anyone have any luck on sequencing Itunes 12?
Hey everyone, I was wondering if anyone has had any success on sequencing itunes 12. I followed the instructions for iTunes 11 here: http://stealthpuppy.com/sequencing-apple-itunes-11-with-app-v-5/ but, it didn't work properly. One of the issues I
-
How to Replace ',' with '.' in workarea
Hi , I am getting amount field from workarea wa_amount wa_amount = 27.777,00 But I want to display output like 27,777.00 ( replace , with . & . with ,) Please let me know the best possible way to do this Regards rahul
-
I own a I phone 4. I recently changed my service from AT&T to Straight Talk. It was working fine but then I deleted the vpn file on accident. Now when I try to get on line I get a message that I am not signed up with a cellular data network. Does any
-
Can't see photo icon on my iPad? Anyone know how I can enable it?
Can't see photo icon on my iPad. My kids might have deleted it by mistake. Anyone know how I can enable it? Thanks.
-
HT4134 what happened to my clear cache button that used to be under the safari drop down menu?
what happened to my clear cache button that used to be under the safari drop down menu?