Can BAPI Calls in a report trigger an IDOC using BAPI-ALE?

Hi,
I had a requirement to create PO using BAPI. The code is complete. But now I have to use an IDOc instead of BAPI since it is an asynchronous scenario.
Is there any possible way that after CALL BAPI step in the report, an IDOc will be triggered. Is it possible if i set BAPI-ALE?
If yes, do we need to call call_bapi_commit.
Regards,
Sreehari.

hi Shree,
What i understood from u r question is that u need to send teh created PO(created in by bapi ) through IDoc .
Correct me if i m wrong.
   you can trigger IDoc from report program easily . I think u have to use  bapi _transaction _commit  to commit and then trigger IDoc .
And also check the possiblity of change pointer as they r for the same.

Similar Messages

  • Creation of outbound idoc using BAPI

    Hi,
    How can I create outbound IDOC using BAPI. If I go to BD64 and add the message type PREQCR,it gives the message that 'add this message type using BAPI'.I have added with the option ADD BABI.After that I dont know how to trigger?.Please give me the procedure how can i create outbound idoc using BAPI.
    Thanks,
    Ravi

    You will have to do the MESSAGE OUTPUT DETERMINATION to trigger the IDOC. Once you have done the config, internally it uses the method that you have configured.
    Look at NACE transaction to do the config, for message output determination of a purchase order.
    You can even do it in the config --
    Go to SPRO transaction. SAP Customizing Implementation Guide --> Materials Management --> Purchasing --> Messages -->
    regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

  • Can u call a BIP Report from within Oracle Forms?

    Hi,
    We want to use BIP as a reports solution for a Forms 10g Application. Currently we use oracle Reports. I would be very grateful if anybody can show us how to do the following as I could not find it in any documentation. Of course, I get the feeling that these cannot be done, but I want to double-check.
    (1.) How to call a BIP report with a input parameters from within an Oracle 10g Menu? i.e. when the user clicks on the menu item, BIP should be started and it should run the report within the BIP.
    -- So we also need a way to pass parameters to the BIP
    -- Also BIP has a different username/password also
    Is this possible or NOT POSSIBLE( i.e. U have to ask the user to login to BIP and then run the report)?
    Thanks & Regards,
    CS

    Hi,
    Have a look in this document to get an idea how to do:
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    Regards
    Rainer

  • How can i call a jasper report from a java Application

    Hi,
    i am chiranjit , currently i working in a web based ERP project, in this project as a report building tool we are using JasperReport wih eclipse plugin . in eclipse report's are generating very well but i am unable to call that report from a java application because i have no idea about the How to call a Jasper Report from a Java Application . so please send me the necessary class names, jar files names and programe code as early as possible.
    Chiranjit

    Ahh, kind of a duplicate thread:
    http://forums.java.sun.com/thread.jspa?threadID=631642
    @OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to create an Invoice using a BAPI call from XI and trigger the sameIdoc

    Hi XI Gurus,
    I have a senario where in I need to create an Invoice from a XI using BAPI  and then I need to auto tigger the same INVOICE IDOC whcih has been created and this has to converted into EDI using Seebuger Adapter.
    1. How can be this achived??
    2. What is the BAPI that I need to use to create Invoive from XI
    3. What are all the configurations that I need to do to atuo tiggert an INVOICE Idoc when it is created.
    Please Help......
    Thanks in Advance...
    Suma

    Hi,
    Are you looking for BAPI <b>BAPI_ACC_INVOICE_RECEIPT_POST</b>?
    Hope this helps (please reward me if it does).
    Regards, Joerg

  • How to setup a form that can be called from multiple reports

    Hi,
    I want to be able to call the same form from several different reports. How can I set up the returning pages on the form with a variable so, after the form completes its activity, it will return to the calling page?
    Thank you
    Yannisr

    Hi yannisr
    I keep track of my page history with a collection plus a few named application items.
    On pageload, i push the current page number onto the top of the stack (unless it is already there due to a reload). So any page can return whence it came by branching to the item below the one on top. I have additional logic to recognize when you are traversing "backwards" so that I reduce the depth of the stack each time rather than adding to it indefinitely. For coding convenience, I keep the most recent 3 or 4 pages in named elements as well so that they can be directly addressed. So every page implemnts the Cancel function by redirecting to a page, where the pagenumber is in the application item &<MYAPP>_PAGELAST.
    This is handy for many reasons, I find it more practical than breadcrumbs if you have pages that can be invoked from many places in your application. And this saves you from submitting the current page before executing the branch which saves time and is safer (no need to remember not to update the database!).
    I normally add links to various master record display pages from within my reports, and the technique described above is perfect for that, because you can link from one page to another and another and then cancel, cancel, cancel your way back. I can post the source code if you think it might be useful.
    I am curious to know how you are using your form from within reports. Does it act as some soft of common subroutine to the reports, or is it just a display page for data common to many reports?
    Regards
    CS

  • "How can I call Drill down report in 10g Without hard code user/password"

    Dear All;
    Can I get the "Pasword" of the login user in oracle, because I want to use in report, i have get the
    User Name and Connecting string already but I can not get the Password. can I anybody tell me
    "How I get the Password in Oracle 10g"
    Give User Name: = SELECT SYS_CONTEXT('USERENV','CURRENT_SCHEMA') FROM DUAL;
    Give DB Name: = SELECT SYS_CONTEXT('USERENV','DB_NAME') FROM DUAL;
    BUT how I get the password............???
    regards;
    Zahid Hussain
    Edited by: zahid9999 on Jun 10, 2010 3:04 AM

    hi
    you can use openDocument for this.
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    I would suggest to use variables that build the HTML code for the hyperlinks dynamically, and display them in your crosstab. Set the display option for the related cells (ie. the cells where your variables are displayed in) so that the cell's contents as interpreted as HTML code.
    Regards,
    Stratos

  • How can i call the xml report from oaf page

    Dear all
    i have oaf page in that page i need to call xml report from that oaf page
    how is posible.
    Regards
    Sreekanth

    refer this link http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework
    --Prasanna                                                                                                                                                                                                                       

  • Call and Save Reports/Export to PDF using Dataplugin?

    Hello,
    My dataplugin is for various '.csv' files, and works perfectly when reading and loading the files. But, what would really be nice is if I could then somehow bring the data in those files into their appropriate report templates and then export that report as a '.pdf'.
    So, I tried adding:
          Call DataFileLoad([Filepath],[Script]
          Call DataFileSave([Filepath], ".TDM","TDM")
          Call Report.LoadLayout([Report Path])
          Call Report.Sheets.ExportToPDF([Path to save .pdf] ,False)
          Call Report.Refresh
          Call Data.Root.Clear()
    When I test the dataplugin by manually indexing a file, I receive the error: Variable is undefined: 'DataFileLoad'"
    So, if it is reading it as a variable does that suggest that it does not recognize functions unless they are stated in the sub?
    Is it possible to do what I would like it to do?
    Thanks.
    Solved!
    Go to Solution.

    Hi Kevin,
    DIAdem does not provide scheduling services, so some entity needs to tell DIAdem to start.  You can either manually set up a DIAdem to poll for files to pricess in an endless loop, or you can use the Windows Task Scheduler to launch a DIAdem instance periodically that automatically looks for files to process for a certain duration (after which it shuts itself down to avoid any potential long term memory leaks).
    R&D is interested in improving our offering for this use case, but as of DIAdem 2014 we do not have anything new available.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Can we call RFC in any other way except using adaptive

    Hi,
    I want to know if there is any possible way to call RFC other than using the adaptive model.
    Answers will rewarded.
    Regards

    Hi,
    you can use JCO or Enterprise Connector to connect with R/3.
    JCO-->http://www.sapdevelopment.co.uk/java/jco/jcohome.htm
    EC-->http://help.sap.com/saphelp_webas630/helpdata/en/79/c6213e225f9a0be10000000a114084/content.htm
    Regards,
    Naga

  • Can we call super class method from Overwrite method using SUPER keyword

    Hi All,
    For one of our requirement , I need to overwrite "Process Event" method of a feeder class  ,where process event is present is protected method. so when we are making a call , then its saying
    "Method  "process event"  is unknown or Protected  or PRIVATE ".
        But we are just copied the source code in the "Process Event" method to the Overwrite method.
    Can anyone provide me the clarification , why system behaving like this.
    Thanks
    Channa

    Hi,
    I think you can not.
    Because, only public attributes can be inherited and they will remain public in the subclass.
    for further detail check,
    http://help.sap.com/saphelp_nw70/helpdata/en/1d/df5f57127111d3b9390000e8353423/content.htm
    regards,
    Anirban

  • How can i call a method from the a subdirectory using packages

    This is my directory structure:
    java
    --p1
    --One.java
    --p2
    --Two.java
    package java.p1;
    import p2.Two;
    public class One
         public static void main(String args[])
              Two obj = new Two();
              obj.p();
    package java.p2;
    public class Two
         public void p()
              System.out.println("p method");
    ERRORS !!
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:3: package p2 does not exist
    import p2.Two;
              ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
                    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
                                  ^Help me out. Thanks.

    jinchuriki123 wrote:
    This is my directory structure:
    java
    --p1
    --One.java
    --p2
    --Two.java
    package java.p1;
    import p2.Two;
    public class One
         public static void main(String args[])
              Two obj = new Two();
              obj.p();
    package java.p2;
    public class Two
         public void p()
              System.out.println("p method");
    ERRORS !!
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:3: package p2 does not exist
    import p2.Two;
    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
    ^
    C:\Documents and Settings\ashutosh\Desktop\java\p1\One.java:9: cannot find symbol
    symbol  : class Two
    location: class java.p1.One
              Two obj = new Two();
    ^Help me out. Thanks.You don't have a class p2.Two, You do have a class java.p2.Two. Package paths aren't relative.
    Also, it's recommended not to use package names containing "java" or "javax" (or is it illegal to do so?). Change your package & folder names.
    db

  • How can i call webservices in trigger event

    Hi Everybody,
    iam new to webservices... how can i call the webservices when trigger fire?.
    any help would be appreciated,
    thanx,
    Reddy.

    This is not the right forum to post your question; You could get a better help if you post it at
    [http://www.nabble.com/Axis---User-f232.html]
    Regards,
    Alan Mehio
    London, UK

  • Facing issue in after report trigger in XML publisher

    HI All,
    I have a XML template in that i am calling a after report trigger like below :
    <dataTrigger name="afterReport" source="apps.testpkg.testupdate_fun(:HEADER_ID)"/>
    I am passing the header_id from my header block to the function.
    My Function looks like below:
    FUNCTION testupdate_fun(P_HEADER_ID IN NUMBER ) RETURN BOOLEAN AS
    BEGIN
    UPDATE TEST_TABLE SET PROCESS_FLAG='P' WHERE HEADER_ID=P_HEADER_ID;
    COMMIT;
    return true;
    EXCEPTION
    WHEN OTHERS THEN
    return false;
    END;
    The problem i am facing is it is updating only one record in the table.but in my header data block i am getting the details for more order numbers with header id like 1,2,3..., but it is updating only one header id in table, please help me out how to update record for all the header_id.
    Thanks

    Examples of combining all IDs into comma-separate list can be found here: http://www.oracle-base.com/articles/misc/string-aggregation-techniques.php . That list you need to send as parameter to the trigger. In the trigger you may split it again and update the records one-by-one, or you can build an EXECUTE IMMEDIATE statement to update the table, and in that statement the list can be used as a whole, no need to split it. Please, advise on which steps of this process you need more detailed assistance.

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

Maybe you are looking for

  • Displaying logo in alv report

    hi, what are the minimum requirements to display logo in alv report at the top of the page. i searched forums but did n't get the required answer.

  • Ichat 3.0.9 to ichat 5.0.3 connection problems

    Hi, situation as follows: Mac A : iMac G4 17" (domed body) running OS 10.4.11 and iChat 3.0.9 with external iSight camera Mac B : iMac G5 20" running 10.6.6 and iChat 5.0.3 When Mac A tries to call Mac B, a window pops up showing the cameras view of

  • Audio Motion Menu Limit

    Hello! I am at a stage in my project that i need to add a voice over to the dvd. The dvd consists of 110 static menus - which up until now has worked fine. I have an audio file that needs to be cut up for each section, and the file is 460mb - so each

  • RedHat 7.2 and Oracle 8.1.7 JRE Hangs

    I have just installed RedHat 7.2 (workstation - did up2date -u) and am trying to get Oracle 8.1.7 installed as well. After doing a 'startx' as the oracle user, I then goto the mounted cdrom drive and issue ./runInstaller. I then get the message: "Ini

  • New Time Capsule... real problems setting up!

    Hello! Well.. here goes. Hoping some of you guys out there will be able to help! Went and decided to treat myself to a Time Capsule yesterday seen as my small ext-hd i was using for backup is now full and only holds about a fortnights worth of back u