Calling  Report in   Customized Method   Created in  ZBUS2081

Hi ,
I have created ZBUS2081  in that I  have  create one Customized  method  ZEMAIL  .
now  in SE38   i have  wriiten  logic  to send  email to  person   .
I want to use  this  report in ZEMIL   method   .   even I  used that  report  by  using   SUBMIT    but  it's  not  working    .
mail is  not  going to respective person   .    the code which  i have written for sending  mail   is correct   .
Please  suggest  any   solution   if  any code is  available  or  is there  any  link availabe then  please provide it .
Regards,
Sandeep

Hi Sandeep,
Create a method which refers to report. System will generate the code "Submit ZREPORT WITH SELE CRITERIA AND RETURN". This will surely work if you pass all mandatory selection paramters. If the problem is with mail then check the parameters/code used for sending the mail.
Regards,
Vaishali.

Similar Messages

  • How to call Apps Module Custom Method from Entity Object / View Object ?

    Hi All,
    I create a custom method in AppsModuleImpl.java. How can I call that custom method from a setter method on Entity Object / View Object ?
    (I have tried to use Configuration.createRootApplicationModule(amDef,config); but it is not the correct way, is it? )
    Below is my code :
    The setter on MyEntityImpl.java :
    public void setKodeprd(String value) {
    setAttributeInternal(KODEPRD, value);
    if (getProduct() != null) {
    // CALL the getSalesPrice custom method from here, HOW ??
    The Application Module custom method :
    public Number getSalesPrice(String priceCode, String kodePrd) {
    Number price = new Number(0);
    String [] theKey = {priceCode, kodePrd};
    Key priceKey = new Key(theKey) ;
    ViewObject SalesPrice = getSalespricedView1();
    Row[] salesPriceRow = SalesPrice.findByKey(priceKey, 1);
    price = ((SalespricedViewRowImpl)salesPriceRow[0]).getPrice();
    SalesPrice.remove();
    return price;
    Thank you for your help,
    xtanto

    inside the EntityObjectImpl :
    YourAppModuleImpl am = (YourAppModuleImpl)getDBTransaction().getRootApplicationModule().findApplicationModule("YourAppModuleorServiceName");

  • How to pull call reports from Customer Service phones

    I have a building that has normal users and a group of customer service users and I would like to pull a report showing how many incoming and or outcgoing calls just from customer service.How would you recomend doing this?

    You need to specify what products and versions you are using.
    https://
    Cisco Unified Communications Manager Call Detail Records Administration Guide, Release 8.6(1)

  • Calling Reports from Forms, and creating Reports objects

    Hello I'm trying to create a Form which lists and launches all of our Reports. In our Client/Server set up we just have a Form which is based on a lookup table of Reports. When the user selects a report on the Form RUN_PRODUCT is used to call the report.
    In Forms 9, do I have to create a Report object in the Form for every Report in our system and do I really have to modify the Form every time a new Report is created to add the new Report in?

    Hello,
    <p>No, one single report object could fit for any report, if you modify its properties at runtime.<br>
    For information, I have written a Forms 9i module able to run any report with 0 up to 10 parameters</p>
    <p>Hope this helps</p>
    Francois

  • Cannot use user classes in webservices interface of appmodule custom method

    Hi,
    I need to expose an application module's custom method that uses user defined classes as parameters and return types as a web service interface. I have not been able to do that. Below are more details.
    In particular, I have an app module that has a client interface with a custom method that takes and returns a serializable Emp object (user defined classes/objects). I need to expose this app module as a web service through the use of a service interface.
    When i run the "Create Service Interface" wizard, under service custom methods (Create Service Interface Step 2 of 4 wizard), i don't see my custom method under "Available."
    In addition, the JDev message log says: Business Components: Method "yourCustomMethod(Emp):Emp" cannot be exposed via service interface because the return type "com.mypackage.Emp" is not supported.
    From what i understand by reading the docs below, it seems that in an application module's service interface (Webservice) you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). In other words, i cannot use my user defined object in the custom method parameters and return types.
    This seems to be an artificial limitation of webservice creation through the use of app module because one can use complex/user defined objects in methods of a java class and expose them through a webservice.
    I would appreciate if of the tooling PMs can make a well thought out comment.
    11.2.3 What You May Need to Know About Method Signatures on the Service Interface
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
    9.8.4 What You May Need to Know About Method Signatures on the Client Interface
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcservices.htm#CHDFHGII
    Thanks,
    AJ
    ps: I am using Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013.

    Hi,
    question 2 doesn't apply as the client interface is for Java access to public methods. For the Service Interface, the document lists the supported data types you can use in arguments and return values. To expose a custom methods, what about using a POJO that accesses ADF BC (using create root application module) and then expose your POJO as a JAWS service. This will allow you to expose the data queried from ADF BC through your custom classes.
    Frank

  • Not able to save bindings when calling bindings.getOperationBinding("update") in customized method.

    Hi All,
    I'm new to ADF and trying to learn it.
    I'm using JDev version 11.1.1.6.0.
    My use case is mention below :
    1. I've created 2 Bounded task flows and calling one task flow from another task flow using task flow call activity.
    2. In child task flow, i've created view activities with Train component. View activities have text fields, radios buttons, tables etc which can be filled by user.
    3. I want to save the page data to payload if I move to next view activity using Next button or by train bar.
    To accomplish this scenario, I'm calling a customized actionListener on click of Next button/Train Stop Bar in which I'm using below mention code :
    BindingContext bindingContext = BindingContext.getCurrent();
    BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
    OperationBinding obj = bindings.getOperationBinding("update");
    if(obj != null){
         obj.execute();
         if(!obj.getErrors().isEmpty()){
              System.out.println("Not able to save data......");
         else{
              System.out.println("able to save data......");
    But I'm not able to save page data to payload/bindings. If i close the window using browser close button and move back to previous train stop in which i've filled the data, the data get lost and all the text fields/Radio button become empty.
    If I use Save button provided by Oracle BPM, then I'm able to save it. and data reflected even after if i close the window using browser close button.
    So I also try to use the below acode but did not get any success :
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application app = fctx.getApplication();
    ELContext elContext = FacesContext.getCurrentInstance().getELContext();
    InvokeActionBean invokeActionBean = (InvokeActionBean)app.getELResolver().getValue(elContext, null,  "invokeActionBean");
    invokeActionBean.setAction(actionEvent);
    invokeActionBean.action();
    Can somebody please let me know, what am I doing wrong here or if I'm missing anything.
    Any pointers/suggestions for its resolution are welcome.
    Thanks in advance.

    Hi Timo,
    Yes, it is the same binding which is called from BPM Save button.
    I did not use the debugger but i tried to print the OperationBinding object which was showing me proper binding for update.
    Even when i tried to print the return value of invokeActionBean.action(); method, it print the proper string "closeTaskFlow".
    So if I see it logically, then I'm just trying to call the methods of InvokeActionBean from my customized method.
    If methods of InvokeActionBean not being accessed, or if it was not getting called, then it should not print the "closeTaskFlow" as return value.
    I only want to save page data into bindings once I'll move away from page precisely on moving next.
    If there is any other work around for this issue, please let me know.
    I've also tried to use Explicit/Implicit save points provided by ADF but that did not work too.

  • How to create the custom method and make it available to clients:

    Hello, Can any one help me with this problem ASAP??
    I am trying to work on an example of "Customizing the Query and Creating an Associated Custom Method"
    from http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/developing_mvc_applications/adf_pviewcustommethod.html?tp=true#method. To do that, the first task is to create the custom method and make it available to clients.
    Following instructions in the helponline documentation, I completed the three steps: (1) "Specify a custom query for the View Object definition for EmployeesView", (2) "Add the custom method to the application module Java class", and (3) "Make the method available to clients".
    The following is the error message I got to test the application module. Can anyone tell me what the message really means and what I should do. I am wondering if there is any mistakes in the document.
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID FROM EMPLOYEES Employees WHERE Employees.SALARY > :1 and Employees.DEPARTMENT_ID = :2
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) ORA-01008: not all variables bound

    You need to set values for the parameters in your query before you try to execute the query in the view object.
    So you need to call the setBindVars method before the query.

  • Is it possible to call a custom method in App Module from a backing bean?

    I would like to know if a custom method in App Module can be called from inside a backing bean.
    I am not sure if it is logically right to call, from a backing bean, a custom method in App Module. But would like to know if that makes sense or if it is possible.

    Hi..
    Yes it is possible.You have to add that method for client interface of AppModule.Now you can see that method in Data Controls(Refresh the data control). To call this method using bean it should add as method action to bindings(Click Bindings>+>methodAction>and Create action binding).
    Now you can call this method in bean class.
    Check following example use this concept to execute view criteria
    http://adf-lk.blogspot.com/2011/05/oracle-adf-create-view-criteria-and_4727.html

  • Adding and Calling custom method to the application module or view object

    My project uses jheadstart 10.1.2.
    I want to run "oracle reports" from my uix page. I have coded a method which takes "VOParameter view object" as a parameter to run report.
    I have generated the input page (parameter page) which based on VOParameter view object, by using jheadstart for using jheadstart lov, date etc. advantages. But I dont know how can I add custom method on application module or view object implementation class and custom button on uix page to call from uix page.
    THANKS for your help

    Yes, method binding has been added to the page UI model.
    I have find some clue that When I darg and drop metod as a submitButton, the code "
    <SubmitButton text="runReport" model="${bindings.runReport}" id="runReport0" event="action" />"
    is added to the uix page code. I change this code like this;
    <button text="runReport" model="${bindings.runReport}" id="runReport0" event="action" onClick="submitForm('dataForm',1,{'event':'action','source':'runReport0'});return false"/>
    by adding onClick method and changed submitButton to button tag..
    Then button action is triggered. But I can not pass to the design part of the uix page. It gives me the message like that "The document is not a valid state" But it works. I dont know why?

  • Entering into the method created in custome controller but no output

    Hi Experts,
    Please help me to get the data.I have followed the same process to access the database but no output i am getting.But the method created in custome controller is called and message is also displayed.But no error it is showing.Please tell me where i am wrong.
    Regards
    Nutan

    Hi Isaias,
    Method is
    public void ExecuteBapi( )
        //@@begin ExecuteBapi()
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    manager.reportSuccess("entered");
           try
               {          wdContext.currentZbapi_Role_Getlist_InputElement                ().modelObject().execute();
                  wdContext.nodeEt_Role().invalidate();
                   catch(Exception e)
                             e.printStackTrace();
    And the action which is calling this method is:
    public void onActionDisplayRole(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionDisplayRole(ServerEvent)
        wdThis.wdGetFetchDataCustController().ExecuteBapi();
        //@@end
    Please check it where am i wrong? Urgent need
    Regards,
    Nutan

  • How to create new TC which will call report group "MGRO"?

    Hi Abap-Experts,
                                    I want to create new transaction code which should call report Group MGRO. After executing the new transaction, the first screen of the user should be the selection screen of report group "MGRO" to run the report group.
                                   Can anyone please guide me by giving some example for this?

    The query was resolved

  • HT1351 Why do my custom playlists created in my iPod disappear when I sync? They used to sync when they were called on-the-go.

    Custom playlists created in the iPod used to be called 'on-the-go' and would sync to your PC.  Each time you created a new one it would be called on-the-go1, on-the-go2, etc.  Sometime ago there was a software update that allowed you to name them in the iPod, only now they don't sync to the PC.  They simply disappear.  It's as if there is only a one-way sync, from the PC to the iPod because if I create one on in the PC, it will sync to the iPod.  Is there a setting that will allow 2-way syncing?  I can't find one.  This used to work.

    What version of iOS are you running on your iPod Touch currently? I assume you have your iPod set up to automatically sync with your iTunes library?
    B-rock

  • Call EJBHome method create() from C++

    We have problem, when we call first EJBHome method create() from C++(using CORBA VisiBroker for C++ 4.3) : exception CORBA::BAD_OPERATION

    Basically, I just want a C++ program to be a client of my java server (which already has a JNI layer).
    Would IPC using sockets (both the client and the server will always be on the same host) be as efficient as shared memory or NamedPipes?

  • Transport of Customized or created report.

    Hi Experts,
    I have a requirement to develop report in SAP BI, those reports are not available in Business Content.
    For this Please advice me on below queries.
    1. How to transport developed reports or how to add user developed(created) reports in TR?
    2. Can I develop report on production directly if all fields are available as per requirement?
    Thanks you in Advance.
    Regards

    Hi Taniya,
    Development should always be done in development server. Please follow below steps to move customized report to production:
    1) Create query in development, check and save.
    2) Go to RSA1 -> Transport Connection. Select Query under Query Elements -> Query and drag it to right side.
    3) Check all the objects you want to transport.
    4) Grouping -> Only necessary objects,Click on the truck icon ( Transport objects). Give appropriate package and create new request.
    All the objects for the query will be assigned to the request created.
    Goto SE10, check if all the objects required are present in request and release it. Give request no to BASIS guys, they will take care for rest.
    That's it.
    Hope it helps.

  • Calling custom methods from Nested Application Modules

    We are having a problem with passing parameters to our nested App Modules.
    We have a custom method in our nested app module and when we drag that method from our data control palette in our page everything seems to work just fine. We are binding our NamedData values to #{requestScope.<field>} where the fields are inputText controls. When we run it will execute the function but the parameters are null.
    It seems to me that the Nested App Module can not evaluate the EL expression, or in other words when it gets evaluated it returns a null.
    Can anyone help with this?
    Thanks,
    Peter

    If you use an EL expression of some hard-coded value instead of #{requestScope.XXX} does that value correctly get passed to the function?
    In other words, are you 100% sure that EL expression is not evaluating to null ?
    If you drop an AM method as a parameter form on a page, you'll see that by default it's NamedData elements use EL expressions that reference attribute bindings that are bound to local page-def variables, rather than to #{requestScope.something}

Maybe you are looking for

  • Edit work published to a folder??!

    Hi all, I've just done some work with iWeb and published it to a local folder on my HD. When I figure out how to ftp it my ISP it'll go on the www. Problem - how does one open up the work in iWeb to edit it? The files are still in the same spot they

  • My 'Security and Privacy' settings won't open

    Ever since installing OS X Mountain Lion, when I click on 'Security and Privacy' under 'Settings,' it just continues to say 'Loading Security & Privacy' but nothing loads. I cannot get into it at all (screen shot below)... Does anyone have any ideas

  • Macbook Pro Freezes After Activating Mission Control

    I am updated currently to 10.7.4, and I am having a problem that could not be duplicated after a 4 day stay at my local Apple store. Basically the computer freezes up and becomes unresponsive. The last two times it has happened, I noticed (Possibly a

  • Mass maintenance problem

    Hi all, I'd like to execute a mass copy for purchasing info records (transaction code: MEMASSIN). Comparing with another mass maintenance transaction such as XK99, why there is no mass creation for the info records? Is it configurable? Thanks

  • Get Serial Numbers of a line item in a material document

    Hello everyone! My requirement goes like this:  For a material document, if a material code is serialized, I will also need to retrieve the corresponding serial numbers listed in the material document.  Is there a function module or table that I can