How to call 1 function from1 system into another function of another system

tell me the solution.......
Moderator message : Not enough re-search before posting. Thread locked.
Edited by: Vinod Kumar on Jun 13, 2011 2:08 PM

In the Function 1 of System 1, you can call using below syntax..
CALL FUNCTION 'Function_name'  DESTINATION
Function_name is Function 2 and Destination is Address of second system

Similar Messages

  • How to Call an ADF Bounded Task Flow Located in Another Web Application

    Hi.
    I'm working in JDev 11G TP3.
    I've read the section from the 11G documentation on Working with Task Flow Activities,
    specifically the section 15.5.3 on How to Call an ADF Bounded Task Flow Located in Another Web Application.
    I've followed the instructions but still can not seem to call another task flow in another application correctly.
    Can someone send a small example specifying how the (TaskFlow Reference) section
    should be filled in, and just a general simple outline of process to set the whole process up.
    Thanks

    Your EL for the remote-app-url needs to return something like this
    "http://www.acme.com:80/myapp/faces/adf.task-flow"
    where "http://www.acme.com:80/myapp/faces" is the root of the url you'd normally use to access the remote application.
    I filed two bugs:
    bug 6944247 to improve the documentation
    bug 6944246 to fix the fact that you currently have to specify the 'adf.task-flow' part. You shouldn't need to do that. But doing so for now will get it to work.

  • How to call the Report program into Function module

    Hi Experts,
    Actually I want to create the DataSource. But I have only the ALV report program. I need to create function module but I don’t know how to call the ALV report program using in function module  
    So could you please any one send the Document or step by step method?
    Advance Thanks,
    Sathis

    If the report is just based out of a table than create a Generic Extractor using View.
    If its an InfoSet query than create a Generic Extractor on that InfoSet.
    If its an ABAP report than create a Generic Extractor using FM
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33

  • How to call a dialog program with return value in another dialog program

    Dear All,
    How can I call a dialog program with return value from another dialog program?
    Regards,
    Alok.

    Hi Alok,
    You can you SET/GET parameters to do this.
    This is some information about this.
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETERstatements.
    To fill one, use:
    SET PARAMETER ID pid FIELD f.
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID pid FIELD f.
    This statement places the value stored under the pid ID into the variable f. If the system does not find any value for pid in the SAP memory, sy-subrc is set to 4. Otherwise, it sets the value to 0.
    Thanks,
    SriRatna

  • How to Call third party Jar into Application

    Hi Can any Expert help ?
    I want to put third party Jar into my application but i have some problem occur.
    1. how to call jar with parameter in application ?
    2. when i exit the third party jar task, it will exit my main task too. How to set my main tast exit stats standalone ?
    3. I have over 10 jar files in one application, how can i set a classpath for client to call JNLP, instread of load all jar to client before run.
    Thanks.
    Sanki Poon ([email protected])

    1) Sounds like you are trying to launch the third party from it's application main instead of using it as an API How does your code interact with it or is that not important?. You don't call a jar, you load a class. You could use a exec http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html to run the java launcher and pass it all it's command line stuff(But this may not be possible security wise via WebStart).
    2) if it is launched in the same JVM and it calls a System.exit there is nothing you can do about your app closing too. It would need to be in another instance of the JVM
    3) Under the resources tag you can have as many jar tags as needed.
        <resources>
            <j2se version="1.5.0" java-vm-args="-esa -Xnoclassgc"/>
            <jar href="/jsf-wita/apps/MathMLWebEditor.jar"/>
        </resources>

  • How to call precedure in impl into java bean

    Dear all,
    i'm tried to call procedure at impl.java into java bean.
    but, there is error which is it cannot find the root of this.getDBTranstation
    any idea.
    TQ

    Hi
    Please tell me
    How to call ethod in AppModuleImpl from other bean?
    I have created method in AppModuleImpl
    public String callFuncWithArgs(String p_company, String p_division, String p_user, String p_wrkord_type,
    String p_service_type, String p_HOLD_CODE_TYPE) {
    return (String)callStoredFunction(VARCHAR2, "WS_tran.Margin_TO_USER(?,?,?,?,?,?)",
    new Object[] { p_company, p_division, p_user, p_wrkord_type, p_service_type,
    p_HOLD_CODE_TYPE });
    This method is working after run APPModule. But I want to call this method from SparesTEOImpl class and
    public boolean validateUnitPrice(int unitprice) {
    //want to call here AppModuleImpl
    callFuncWithArgs(String p_company, String p_division, String p_user, String p_wrkord_type,
                                       String p_service_type, String p_HOLD_CODE_TYPE) here
    Please tell me how to call , I wrote in following ways but I got error...
    public boolean validateUnitPrice(int unitprice) {
    String margin=appImpl.callFuncWithArgs("00004","SDWSG", "S1","CSH", "SP","M");
    System.out.println("Output"+margin);
    return margin;
    After that I got the following error.
    Exception in thread "main" oracle.jbo.InvalidOwnerException: JBO-25301: Application module AppModuleImpl_0 is not a root app module but has no parent
        at oracle.jbo.server.ComponentObjectImpl.getRootApplicationModule(ComponentObjectImpl.java:177)
        at oracle.jbo.server.ApplicationModuleImpl.getDBTransaction(ApplicationModuleImpl.java:3656)
        at model.AppModuleImpl.callStoredFunction(AppModuleImpl.java:128)
        at model.AppModuleImpl.callFuncWithArgs(AppModuleImpl.java:160)
        at model.SparesTEOImpl.validateUnitPrice(SparesTEOImpl.java:55)
        at model.SparesTEOImpl.main(SparesTEOImpl.java:67)
    Process exited with exit code 1.
    Please tell me how to solve this problem...

  • How to call a Search help in a function module?

    Hi Experts,
    I am a novice to ABAP, I am working on search helps. My requirement is to call a search help in a function module.
    Can anyone  please throw some light on this.
    Any inputs will be helpful.
    Thanks,
    Amita

    yes you can do that..
    in side the source code ..
    write the select statement according to requirement and pass the internal table to below function moduel and return field to yor help field..
    call the below fm inside the function module..
    'POPUP_WITH_TABLE_DISPLAY' or 'REUSE_ALV_POPUP_TO_SELECT'
    see the sample code...
    FUNCTION Z_MFG_PLANTS_F4 .
    "*"Local Interface:
    "  IMPORTING
    "     REFERENCE(W_WERKS) TYPE WERKS OPTIONAL
    "  IMPORTING
    "      REFERENCE(W_MATNR)    TYPE MANTR OPTIONAL
    Alv popup display
    DATA : gc_selfield     TYPE slis_selfield,
           gt_fieldcat_drd TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    p_werks = W_WERKS.
    data : begin of t_marc occurs 0,
                werks type werks,
                matnr type matnr,
            end of t_marc
    select matnr werks from marc into table t_marc where werks = p_werks.
      IF t_disp[] IS NOT INITIAL.
      gt_fieldcat_drd-seltext_m = 'Material'.
      gt_fieldcat_drd-fieldname = 'MATNR'.
      APPEND gt_fieldcat_drd.
      CLEAR : gt_fieldcat_drd.
      gt_fieldcat_drd-seltext_m = 'WERKS'.
      gt_fieldcat_drd-fieldname = ''WERKS'.
      APPEND gt_fieldcat_drd.
      CLEAR : gt_fieldcat_drd.
    Allow the user to select the required plant
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Material Selection for Plant'
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 70
          i_screen_end_line     = 20
          i_tabname             = 'T_MARC'
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_MARC
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc  0.
      ENDIF.
      READ TABLE t_MARC INDEX gc_selfield-tabindex.
      IF sy-subrc = 0.
            w_matnr = t_matnr-matnr.
      ENDIF.
    ENDIF.
    ENDFUNCTION.
    rgrds,
    Shweta

  • How to Call Same Adaptive RFC across different Backend R/3 Systems

    Hi Everyone,
    I have been troubled for the last 3 or 4 days on how I should develop Web DynPro code to call the same RFC on different backend R/3 systems.  Don't really want to maintain my own Jco connects within a SAP Connector project and I don't really want to import 3 or 4 of the same models.  Can someone please inform what is the best approach?
    Thanks.

    Hi Glen,
    There is one other way of doing this which needs a bit of data maintenance.
    The webdynpro app will connect to one R/3 backend. In the same R/3 create RFC destinations to all others backends where the RFC's needs to be called. Create a table where u maintain for what value which backend system should be called. Add rfc_dest as an import paramter in all the RFCs in the backend system where the webdynpro app is connected and call those systems using RFC destinations.
    For e.g. you have one HR system and multiple FI systems based on Company codes.
    Connect your webdynpro app to the HR system. Create a table in the HR system which will contain data like given below
    CoCode                        RFC Destination
    1000                             RFCDEST1
    2000                             RFCDEST1
    In the RFC's in HR system add both CoCode and RFC Destination as additional input parameters. From the front end u can pass different values and call the same RFC's from different systems.
    Regards
    Prakash

  • How to call LabVIEW ActiveX dlls into VB6

    I'm jumping in on a project written primarily in VB6. I'd much rather wirte code in LabVIEW so what I am looking for is some example code for calling LabVIEW activeX dlls into VB6. Does anyone have example code? I need to see how the LabVIEW libraries and classes are called and used in VB6.

    Hi Drewdafis,
    Refer to this link for example code on calling a LabVIEW DLL from Visual Basic.
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • How to call a file object into LinkedList?

    Hey all,
    I know LinkedList uses a String to be identified like: List<String> list = new LinkedList<String>;I was wondering if there was a way to convert a file object so that the LinkedList can use the file as a basis of sorting? I tried link.set(inputFile), but that doesn't work, as usual I tried List(file) list = new LinkedList(file); but that doesn't work either. I would use an array, but I heard people say not to use array or container when working with a large database?
    Right now, my only code to sort looks like:
         public boolean isAscending(File iFile) throws IOException
              List list = new LinkedList();
              ListIterator li = list.listIterator();
              if(li.hasNext() && iFile != null){
                   return true;
               else
                    return false;
         }}I know it's incorrect, but I need to call a .txt file into LinkedList, but as I said before, the methods that I know how to work with doesn't work with it?

    Sorry guys, I made a big mistake!
    Sorry for wasting your time, I got it fixed by myself!

  • How can i download my contacts into an in car phone system that only accepts v.card format

    How do I import contacts into an in car phone system that only accepts a v.card format.

    You can't. If the system doesn't support the PBAP bluetooth profile, you can not transfer your contacts to it.

  • How to Call SAP ECC transactions into CRM IC Webclient Profile Screen

    Dear all,
    We are implementing IC Webclient application for our Clientu2019s call center operations.
    All sales related activities are being created in back end SAP ECC system like, starting from Quotation to Sales Order, Deliveries and Billing.
    Client wants to see all relevant ECC reports of Sales transactions in IC Webclient Screen.
    Connectivity between SAP CRM and ECC has already been established and we did all basic configuration for IC Webclient, but donu2019t know how to and where to call ECC transaction in IC Webclient Screen.
    I am looking for suggestions from any of you to handle this requirement successfully. I would be grateful if you send me any documentation which addresses this requirement.
    Your suggestions and help will be highly appreciated.
    Thank you,
    Raghu ram.

    Hi,
    Step-by-step process for the same is as follows:
    1. Create a launch transaction to launch the relevant BOR object at the following
    IMG->CRM->IC WebClient->Basic Functions->Transaction launcher -> Configure Transaction Launcher (Wizard).
    This wizard is very useful and easy way to create a launch transaction and guides through each step and generates a handler class for you.
    2. This transaction now has to be incorporated in the Navigation bar. For this you have to create navigation bar entry and navigation bar profile.
    IMG-> CRM-> IC WebClient->Basic Functions -> Define Navigation Bar Profiles
    Here you have to first Define Entries where you would input Launch transaction ID created in step 1 and then Define the Navigation Bar Profile.
    3. Assign the Navigation bar profile to IC WebClient profile.
    Please note that you can you Transaction launcher for incorporating any web links, PCUI Transactions, CRM Transactions, ERP transactions etc.
    Regards,
    Deepak

  • How to call a specific method in a servlet from another servlet

    Hi peeps, this post is kinda linked to my other thread but more direct !!
    I need to call a method from another servlet and retrieve info/objects from that method and manipulate them in the originating servlet .... how can I do it ?
    Assume the originating servlet is called Control and the servlet/method I want to access is DAO/login.
    I can create an object of the DAO class, say newDAO, and access the login method by newDAO.login(username, password). Then how do I get the returned info from the DAO ??
    Can I use the RequestDispatcher to INCLUDE the call to the DAO class method "login" ???
    Cheers
    Kevin

    Thanks for the reply.
    So if I have a method in my DAO class called login() and I want to call it from my control servlet, what would the syntax be ?
    getrequestdispatcher.include(newDAO.login())
    where newDAO is an instance of the class DAO, would that be correct ?? I'd simply pass the request object as a parameter in the login method and to retrieve the results of login() the requestdispatcher.include method will return whatever I set as an attribute to the request object, do I have that right ?!!!!
    Kevin

  • How to call method of one EJB3.0 project in another EJB3.0 project

    Hi,
    I would be thankful if someone could help me in this -
    I am using SAP Netweaver 7.2 and have two EJB3.0 projects.
    Now I am trying to instantiate a class of one EJB project into another and when I get a run time exception as -
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError
    I have tried to add it under the Java Build Path -> Projects but it only helps during compile time.
    I have also tried checking the projects under "Project References" but it still gives the same problem
    Here is the code and where exactly its failing -
    import java.util.ArrayList;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.MessageDriven;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import org.csagroup.wsecomm.OrderSearch;
    import org.csagroup.wsecomm.SalesOrderSearchQueryInImplBean;
    import VendaOrders.ServiceClientImpl;
    import com.sap.scheduler.runtime.JobContext;
    import com.sap.scheduler.runtime.JobParameter;
    import com.sap.scheduler.runtime.mdb.MDBJobImplementation;
    import com.sap.xi.appl.se.global.SalesOrderID;
    * Message-Driven Bean implementation class for: HelloWorldBean
    @MessageDriven(
              activationConfig = {
                        @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "JobDefinition='HelloWorldJob'"),
                        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue") })
    public class HelloWorldBean extends MDBJobImplementation {     
         * @see MessageListener#onMessage(Message)
         public void onJob(JobContext ctx) {
             Logger logger = ctx.getLogger();
             logger.info("Hello World Testing onJob().....");
             try
                  logger.info("Before Order Search...");
                  OrderSearch os = new OrderSearch();   *// this is where it fails*
                  logger.info("Before os...");
                  SalesOrderID salesOrderIdBeginRange = new SalesOrderID();
                  logger.info("Before salesOrderIdBeginRange...");
                  salesOrderIdBeginRange.setValue("1");
                  logger.info("After setValue(1)");
                  SalesOrderID salesOrderIdEndRange = new SalesOrderID();
                  logger.info("Before salesOrderIdEndRange");
                 salesOrderIdEndRange.setValue("99999");
                 logger.info("After 99999");
                 os.setBeginRange(salesOrderIdBeginRange);
                 os.setEndRange(salesOrderIdEndRange);
                 SalesOrderSearchQueryInImplBean salesOrderSearchQueryInImplBean = new SalesOrderSearchQueryInImplBean();
                 logger.info("After salesOrderSearchQueryInImplBean");
             } catch (Exception e){logger.info("Exception is...." + e.getLocalizedMessage());}
            // TODO Auto-generated method stub
    I am able to see the message in my logs till "Before Order Search.." and fails when I try to instantiate OrderSearch class which is in another EJB 3.0 project.
    Thanks for the help in advance.
    Edited by: Shiv Khullar on Aug 19, 2010 10:30 PM

    Hi,
    I am not sure if my posting was in readable format.
    As soon as try to add the code, all the formatting is lost.
    I would explain once again - My code is generated by the webservice "Generate Client code" i.e using WSDL into an EJB 3.0 Project. Now I am trying to call a method of the bean which takes a class object (OrderSearch) as the parameter.
    When I am trying to instantiate this OrderSearch class in my another EJB3.0 project its failing.
    Safter- Thanks for your reply but can someone help me who has worked on a similar issue.
    Thanks,
    Shiv

  • How to call standard CRM transactions into Webdynpro component

    Hi,
    i have a requirement where i need to call the the standard CRM transaction like <i>activity worklist</i> and <i>activity creation</i> into the webdynpro component. Please let me know how to do it, would appreciate it, if provided with a sample code.
    Thanks,
    Suri

    Hi Suri,
    You could use suspend/resume mechanism to jump to the ITS version of these transactions (in case they are ITS-enabled). Starting the SAPGUI from within the browser environment, transferring data/starting a transaction and then returning to the browser is not possible.
    Best regards,
    Thomas

  • How to call BSP pages from a BSP application of another package

    Hi,
    I have a BSP application in one package and I want to call pages from another BSP application in a different package.
    Is it possible? How it would have to do it?
    Thanks in advance
    Regards

    Hi,
    You cannot call a page fragment in a seperate window or seperately in the same window...
    Page fragment is used only for including a fragment in your page....
    It is not a seperate page..!
    To call a page fragment, you have to  use the include directive...
    eg :
    <%@include file="Carrier_report_logo.htm" %>
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.
    Message was edited by:
            Tatvagna Shah

Maybe you are looking for

  • IWeb quit unexpectedly while using the SFWordprocessing plugin after 10.6.6

    installed snow leopard OS X 10.6.6 so I could run Pixelmator. opened up iWeb and was tooling around with a 2nd website as to not alter my current website. I added in a imovie and played around with a pg before closing, pretty sure I did not save it j

  • Best practice for web servers behind a router (NAT, ACL, policy-map, VLAN)

    Hi, I'm a new Network admin, and I have some configuration questions about my installation (see attachment). I have 3 web servers behind a router. Public interface: 3 public ip adresses Private interface: router on a stick config ( 3 sub-interfaces,

  • Adding users in OCS R2

    dears, is there a way or script that i can use so i can add a mailbox, calender and assigne a portal to users on OID why do i have to add a mailbox, calendar and assigne a portal for every user created on OID alone it taks time. or is there a portal

  • Failed to reactivate expired credit

    it always response "sorry, you can't reactivate you credit at the moment, please try again in 15 minutes". whenever I tried it always said that, this is not right...

  • Apple ID sub-account moved to iCloud retains parent ID name

    Cross posted from iPhone discussions: This one puzzles me. Moved family pack accounts to iCloud individually with no problems. The sub-account my spouse uses seems to retain my name as the user Apple ID when she sends mail from her iPhone 4s. I've vi