Can we use call method or call action in dynpro.

hi all,
In the view of a web-dynpro, can we call one action inside another action..?
or can we call a method inside an action..
if so plz help...
thanks in advance,
jithin.

Hi Jithin,
Suggest you that, you keep your logic in a method which you are using for create(event).
the same method you can call in modifyview so that after you create again the modifyview will get trigger and then it fills your dropdown.
or
after create functionality is done then call a method to fill the dropdown.
try to modularize your code using methods then you can
re-use it.
still you need any clarificatinos let me know.
Regards,
Mahesh

Similar Messages

  • Can i use call transaction in BAPI

    Can I use call transaction in a BAPI and create master record.

    There is no reason AS LONG AS this BAPI will not accessed from an external system.  BAPIs are intended to accessed by external systems... otherwise, creating a Func Module is just fine.
    I would be cautious with using BDCs.  SAP continually changes screens with each upgrade.  When you use BDCs, you are TOTALLY dependent on those screen fields.  And when an upgrade changes a screen, you have extra work to do to fix your BDC in the new version.
    By using a BAPI or a Func Mod, your impact from an upgrade is greatly reduced.
    Remember to reward points accordingly.
    Message was edited by: John Jakabcsin
    Message was edited by: John Jakabcsin

  • I have updated ios6 in my iphone 4s. afterthat i can't use call from skype

    i have updated ios6 in my iphone 4s. afterthat i can't use call from skype

    MMS requires a cellular data connection.

  • Can we use Call transaction and session method in same program ?

    Hi experts,
                     Is it suggested to use call Transaction and session method in the same Program ?
                     i have a doubt , why cant we use multiple call transactions in same program instead of session method if we have multiple transaction updations ?

    Hi Dengyong Zhang,
    we can use the call transation and session method in same program.
    However for better performance it's benificial to use call trasaction method of BDC. but if u want to upload very large amount of data then Session method is more preferable to use.
    Session method is one of the method of BDC.
    U can also use BAPI to upload the data in SAP but it's a different concept than BDC. Performance wise BAPI is more advantageous than BDC.

  • Can I use object methods in a class

    I have a class ball and I am in the process of creating it's move method. I want this method to make the ball move depending on certain factors.
    One of these factors being where a bar has been stopped. I have a bar class which extends JProgressBar and when stopped, produces a number. I want this number to be available to my ball class in some way so it can use it to determine how far the ball has to move. The number can be output using its method getValue() but I am unsure how this can be used by another class.
    I doubt this is possible, but I am sure there are ways to achieve what I want. Any help on this subject would be great.

    Methods in one class can call methods defined in another class, subject to access restrictions (public, protected, package-private). This is pretty basic, so you should be able to get the meat of it from your text or tutorial. Look there, or in the following for explanations and examples, and post again if you can't get your code to work.
    http://java.sun.com/docs/books/tutorial/
    http://java.sun.com/learning/new2java/index.html
    http://javaalmanac.com
    http://www.jguru.com
    http://www.javaranch.com
    Bruce Eckel's Thinking in Java
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java

  • Can i use 2 methods to deploy icon files in Oracle IDS?

    Dear all,
    I'm using Oracle 9IDS(Forms) and i'm trying to use 2 methods to deploy icon file:
    -In development phase, i use defaul.icon.path and defaul.icon.extension in registry.dat file and imagebase=documentbase. My icon are well deploy when i run application from form builder.
    -In deployment phase, on the same plateform, i use jar file following these steps:
    1- I store jar file in same directory with all runtime files(fmx, mmx, etc.)
    2- i create a virtual path(/forms90/Tel/) to map with this directory
    3- in formsweb.cfg, i put the following line:
    [myapp]
    imagebase=codebase
    archive_jini=f90all_jinit.jar,/forms90/Tel/images.jar
    When i call my application directly (http://localhost:8889/forms90/f90servlet?config=myapp),
    icons don't appear.
    I would like to know, what's wrong?It's possible to use theses both methods for deploy icons on the same plateform?
    Thank u for your help

    Hi Franck,
    I thank that red correctly the document(how deploy icon on web).But that isn't the matter.I update my formsweb.cfg as you advise me
    [myapp]
    archive_jini=...,/forms90/images.jar
    imagebase=codebase
    Icon don't appear at runtine while other gif files(splashscreen,logo) appear.Notice these others gif files are compressed in the same jar file. Notice also, that when i use default.icon.path parameter in registry.dat file, icons are well deployed.
    It's incomprehensible.
    Thanks you for your help!

  • Can we use a method in addActionListener ??

    Hello Everyone,
    can anyone tell me how to use a method in addActionListener ?
    if u have any example , plz send me
    Thanks & Regards

    [url http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html]How to Write an Action Listener
    You can invoke your method when you provide implementation for the actionPerformed(...) method.

  • Can i use Response method in livecycle designer to render or open pdf doc?

    Hello,
    Can anybody please tell me is it possible to use response method available in the adobe livecycle designer which takes the input value to open the pdf doc.
    Case 1: if we send adobe form throgh mail as pdf doc,then at the receiver side if the user open the pdf doc a popup should come asking for the input value.This popup will be from the response method.
    Case 2:if we save the adobe form as pdf doc on to our desktop and then if we try to open the pdf doc a popup should come asking for input value.
    Is it possible to do ?
    If yes then in which event of livecycle designer we should write that response method and in what way?
    If no,is there any other way to do this?
    Thanks in advance,
    Menaka

    Yes i have tried in other events of livecycle designer.
    In Formready event -> if i do preview pdf,first it will display form and then it ll ask for password.But with this event only if i save the pdf to my local desktop and try to open it ll not ask for password anywhere.
    In Layoutready event ->Pdf preview in designer is working fine,but when i save it my local desktop and try to open it ll not ask for passward.
    Could anybody tell me how to do it.
    Menaka.

  • Can I use  a method in super()

    Hi,
    I hope to use a method in super(). Can I?
    like this
    public Example(Class1 obj1, Class2 obj2){
    super("This is an example"+getString());
    public String getString(){
    return string;

    It can be compiled successfully. Then you have a serious compiler bug. Report it to the vendor and start using another compiler.
    But this method
    getString() cannot be revoked. I have no idea what you mean by that?
    So I hope to know if
    there are some ways to use methods in super()?If your compiler was working, it'd tell you that instance methods can not be invoked here.
    Class (static) methods however, are fine.

  • Can we use equals method in JSTL

    hia all,
    is there is possible to use equals method in JSTL c:when tag. if so please give me an example or else please tell me some solution.
    regards
    subramanian

    Have you tried it anyway? Where exactly are you talking about with "contents"?
    Remember that the == operator in JSTL isn't the same as the == operator in Java. In JSTL it invokes the Object#equals() method behind the scenes, while in Java it checks the equality of the reference.

  • Can't use call logs/ no notifications

    Hey I've got a 3GS and for the last weeks I've noticed when someone rings me it will not show up in my call log, it will not gave that little red 1 on top of the icon and the logs that are already there will not clear when I press clear all, I just rang my iPhone with my nokia and I get a notification bubble on the screen but then there is nothing on the call log... So I never know if I missed a call or not...
    Does anyone know how to fix this ?

    The basics from the manual are reset, reboot/restart, and restore.
    I'd recommend you start by restarting the device. Press and hold the Home and Sleep/Wake button until you see the white Apple logo, ignoring the slide to power off prompt.
    IF that doesn't resolve the issue, a reset of all settings would be next.
    Followed by a restore from backup and restore as new as needed until you find a resolution.

  • How can I use local variable in LabVIEW-Action?

    Hi All!
    There is local variable (for example "MyVariable") in local scope of project. There is Action-step, created by LabVIEW. One of input terminals step is "Sequence Context".
    How can I access to MyVariable by Sequence Context? Unbundle? It does't work.
    Thank you.

    On the TestStand palette there is a VI called TestStand - Get Property Value.vi.  Use that.  Attached is an image showing how to use it.  The trick is making it produce the correct data type.  Do that by right clicking on the VI and selecting Select Type.  Then you can choose the type.  I think in LV 2010 and TS 2010 it is a polymorphic VI and you can just change it.  I wrote an example here for Chaz: http://forums.ni.com/t5/NI-TestStand/How-to-execute-two-steps-in-parallel/td-p/1449874
    It's the second example that's attached.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    AccessLocalVar.JPG ‏67 KB

  • How can i use C# method to SAP IDoc

    Dear Friends
    i have to do one scenario in which i have to connect to database let us say SQL Server but i can't touch Database directly i can call a C# method(3rd party application is in .NET) and using XI i have to send it to SAP iDOC.
    can any one help me in this how to proceed
    Thanks in Advance.
    Ishika

    <i>Do you have any document for that on how to do it with webservices.</i>
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    See this
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Prateek

  • How can I use staitc method?thanks!

    here is my code :
    class a
    void go()
    System.out.println("now you are calling a.go method!");
    public class b extends a
    public static void main(String args[])
    a t1=new a();
    t1.go();
    It can be compiled and excuted perfectly,but I read from book that "in static method ,we can olny call static variable or method....." ,but t1.go() method is not static method ,why? thanks!

    static methods cannot refer to the methods and variables in their scope. They can however instantiate an object and use it... just like you did in your code.
    Think about this.
    public class SuperString extends String{
      public static void test(){
        String hello = "Hello";
        System.out.println(hello + " The string length is: " + hello.length());
    }in this example whe have String class that we added a static function to. It is otherwise the same thing as a String. Notice how I can instantiate and use a String class, but If I tried something like this
    public class SuperString extends String{
      public static void test(){
        System.out.println(this + " The string length is: " + this.length());
    }it would fail.

  • How can I use instance methods created with HashMap

    class Template
    static HashMap customer;
    a few methods created various customer
    public static display() //to display a particular customer information among i've created above
                 String objectName,currentObjectName;
              Customer customer;
              Scanner scan=new Scanner(System.in);
              System.out.print("Please enter the customer name");
              objectName=scan.nextLine();
              Iterator iteratorForCustomer=CustomerMap.entrySet().iterator();
              Map.Entry customerEntry=(Map.Entry)iteratorForCustomer.next();
             while(iteratorForCustomer.hasNext())
                    customerEntry=(Map.Entry)iteratorForCustomer.next();
                    if(objectName.equals((String)customerEntry.getValue()))
              System.out.println("Name : " +customer.getName()); //I'm trying to reference to an instance method getName() here but i can't do that .
    }The problem is I've created as many as I want and later in the program I tried to redisplay a particular customer information based on the input (objectName). User type in the objectName and I tried to look for a particular customer Object in the HashMap and display only the relevant customer information. Is there any way to do it ? Thanks everyone in advance.

    Peter__Lawrey wrote:
    use the get method
    [http://www.google.co.uk/search?q=map+tutorial+java]
    [http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html]
    And then either look at a generics tutorial, or, if you're stuck on a pre-1.5 version of Java, find out about casting

Maybe you are looking for

  • Issue with WEBSERVICE- PROCESSDIALOG method

    Hi Guys,               I am calling WEBSERVICE->PROCESSDIALOG method in a task. This is listing a task in UWL in EP. When I open and process this task getting the following error. Page not found or Available. How to find out which view is called when

  • Patch 10.1.2.2?

    Does anyone know if you need to recompile all fmbs after applying the 10.1.2.2 patch? Also, are all Developer Suite patches now going to be included with the App Server patches instead of as separate patches?

  • Trying to Find Sample Java Implementation for GATE Information Extractor

    I would like to semantically index a large repository of unstructured documents (over a million) using a GATE Information Extractor, as described in chapter 4 of the Oracle Semantic Technologies Developers Guide 11g Release 2 (E11828-08). Page 4-11 s

  • HELP! iPhoto Crashes on my new iMac12,1 10.6.7

    The error message reads: Process:         iPhoto [4791] Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier:      com.apple.iPhoto Version:         9.1.2 (9.1.2) Build Info:      iPhotoProject-6050000~2 Code Type:       X86 (Na

  • How do you record addresses for a group in contacts?

    How do you record addresses for a group in contacts?