How to run  Sync RFC from a report prog

Hi Everybody,
             COuld you guys pls tell me how to execute Sync RFC using a report. I have written this code but it gives error.
data wa type c.
CALL FUNCTION 'Z_HR_NO_ALTINN_TX'  DESTINATION 'Q3A2X7A'
  exporting
    PASSWORD = 'k'
    importing
    status = wa.
commit work.
Pls guide.
Regards,
Ashish

Thanks Michal for your reply.
     To answer your questions:
I tried with commit work.
data wa type c.
CALL FUNCTION 'Z_HR_NO_ALTINN_TX'  DESTINATION 'Q3A2X7A'
  exporting
    PASSWORD = 'k'
    importing
    status = wa.
2) Yes my RFC Destination is working.
3) Sorry I didn't get your third question. Could you pls elaborate a bit more.
This is the error i get when i execute the above report.
<b>ShrtText</b>
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryEx
<b>What happened?</b>
    Error in ABAP application program.
    The current ABAP program "Z_ALTINN_TEST" had to be terminated because
     the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    The error occurred in an RFC call to another system.
    The target system has also written a short dump.
    Consult this short dump for more precise information about
    the cause of the error.
<b>Error analysis</b>
    An error occurred when executing a REMOTE FUNCTION CALL.
    It was logged under the name "RFC_EXTERNAL_ABORT"
    on the called page.
Ashish

Similar Messages

  • How to Run Batch files from inside Reports.

    Hi All,
    I have 2 questions.
    1) How to change the direction of the reports with Arabic orientation i.e Right to left Change without changing the registry.
    2) How to execute a batch file from report or before execution of the report i.e before opening the report.
    I want to set few environmental variables before opening the report. How do i achieve this?
    Request the forum community to discuss and help me out on this issue.
    Thanks in advance

    Thanks Inol
    Though my report is running NLS variable values given in the batch file is not getting picked.
    Here is my batch file contents. My NLS Variables are not getting picked in the reports. I want that to be picked up and the reports orientation should change automatically as per the NLS variables given in the batch file.
    Please go through my batch file code.
    set NLS_LANG                   = AMERICAN_AMERICA.UTF8
    set NLS_CALENDAR            = GREGORIAN
    set NLS_DATE_FORMAT      = dd/MON/yyyy
    set FORMS60_PATH           =   <Enter Relevant Path>
    set REPORTS60_PATH        =  <Enter Relevant Path>
    set PATH=%PATH%;c:\forms6i\bin
    set ORACLE_HOME             =   c:\forms6i
    set TNS_ADMIN                 =   c:\forms6i\NET80\ADMIN\TNSNAMES.ORA
    rwrun60.exe d:\DOTNETORION17_bin\elist_rg1.rdf userid=scott/tiger@thai P1=10Please help me out in getting this value picked and run the report.

  • Question: How do I sync contacts from my iPad to my MacBook Pro running Mavericks?

    How do I sync contacts from my iPad to my MacBook Pro running Mavericks?
    rbarge

    Contacts sync via iCloud.
    Set up iCloud on your iPad and your MBP, with the same iCloud account on both, with the same Apple ID.
    On the Mac you set this up with System Preferences > iCloud, and have Contacts checked in the box on the right.
    It looks very much the same on the iPad, Settings > iCloud.
    If you have set this up and it's still not working, then sign out of and then back into your iCloud accounts.

  • How to run a Oracle 9i .JSP report from outside 9i Reports Builder

    Hi,
    I have successfully created a .JSP report from within 9i Reports Builder. It runs fine and generates desired output using Run -> Web Layout from the Reports Buider menu. The output is a .htm one.
    Now, my requirement is to run this .JSP from my application without using Reports Builder. In other words, I want to integrate this .JSP with my existing application which will fetch data dynamically for the user. There is no hint to this solution in the 9i Reports Tutorial available at OTN.
    A sample code would be highly helpful.
    Regards,
    - Partha

    partha,
    you deploy a reports-jsp to your oracle9i application server like any other JSP. copy it to a directory in the application servers document tree.
    when you execute the reports-jsp it will need a reports server (in process or stand alone) to execute since the actual data-management is done by the reports-server.
    regards,
    philipp
    PS : if you have further reports related questions, you might want to post those in the reports forum here on OTN.

  • How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

    Hello
    We use SRM Server 5.5 with classic scenario.
    We want to call RFC in R/3 from webdynpro ABAP.
    How can we do that?
    We are developing the web report using webdynpro abap.
    So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
    When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro.  So we call the R/3 RFC to display the PR, PO data.
    But I tired to call the RFC in R/3, We could not call it.
    How to call the RFC from R/3 to SRM, when we use webdynpro abap?
    Thank you,
    Best Regards,
    SH.

    Hi
    <b>Please look at the following threads as well -></b>
    WebDynpro in SRM
    BAPI's /RFC's in SRM
    BAPI to Change Shopping Cart by RFC
    SRM60 and webdynpro
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    SRM60 and webdynpro...
    <b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
    <u>For getting Purchase requistion data, use the function modules -></u>
    META_REQUISITION_CHANGE        Change purchase requisition              
    META_REQUISITION_CREATE        Create Requisition                       
    META_REQUISITION_DELETE        Delete/close purchase requisition        
    META_REQUISITION_GETDETAIL     Display requisition details              
    META_REQUISITION_GETITEMS      Display requisition items                
    META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions
    <u>For getting Purchase order data, use the function modules -></u>
    META_PO_CREATE                 Create purchase order                    
    META_PO_DELETE                 Delete reservation                       
    META_PO_GETDETAIL              Display purchase order details           
    META_PO_GETITEMS               Display purchase order items             
    META_PO_GETRELINFO             Display purchase order release information
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

  • How to trigger sender rfc from r3 system

    Hi experts,
    can any body send  documents about " how to trigger sender rfc from r3 system"
    regards
    sandeep.

    HI Sandeep,
    To send RFC data on timely basis you can schedule the programs.
    In Partner Profile use setting collect program. Use program RSEOUT00 to send data at particular time.
    You can schedule the report RSEOUT00 according to your requirements. So it flushes all the idocs in the background as per your schedule this program.
    Plese refer the below thread, it will help you.
    Re: Triggering Idocs from sender  side
    Idoc triggering from a transaction
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How can you Sync something from one iPad to another?

    How can I Sync things from one iPad to another?

    I'd take a look at this thread, and the referenced ( at the bottom) kb. 
    https://discussions.apple.com/thread/3018061

  • How can I sync apps from my iTunes on Macbook Air without syncing apps from the iPad 2 to my Macbook Air?

    How can I sync apps from my iTunes on Macbook Air without syncing apps from the iPad 2 to my Macbook Air? (As my Macbook Air is only 64GB and my iPad is 64GB and that my Macbook Air only has 40 GB left...) Or is there no other way but to sync apps from iTunes to iPad without syncing apps from iPad to iTunes(it says Backing Up , then it says Converting files to iTunes, then it shows the name of the app on the bottom...)

    Yes, sign in with the same Apple ID as your stolen one in the new iPod Touch.

  • How Can I sync contacts FROM my iPhone TO my AOL E-mail?

    How can I sync contacts FROM my iPhone TO my AOL E-mail? In other words, I want to keep all of my iPhone contact information intact and make AOL "mirror" it (and not wipe it out when I sync thru iTunes).

    The iPhone supports syncing contacts with Outlook 2003 or 2007, or with Windows Contacts with Windows, and with the Address Book or with the Entourage address book on a Mac.
    If you aren't currently using one of the supported applications on your computer for contact info - the supported address book application on your computer is empty, before syncing contacts enter one contact in the supported application on your computer. Make this contact up if needed, which can be deleted later. This will provide a merge prompt with the first sync for this data with the supported application on your computer, which you want to select.
    After this, you can export the contacts from the supported application on your computer that is supported for import by your AOL online address book - if AOL includes such an option.

  • How can i sync music from my phone onto my new computer without losing it all? my old computer's hard drive crashed so it is unusable.

    how can i sync music from my phone onto my new computer without losing it all? my old computer's hard drive crashed so it is unusable.

    If you do not have a back up of the crashed hard drive you can download an app to copy from the iPhone to iTunes on the new hard drive.
    I have used Pod2Mac.  There is also Pod2PC.
    There are numerous choices, some free, some payed.  Do a Google search.

  • How do I sync photos from my pc to ipod touch, I have tried everything suggested by the help pages?

    How do I sync photos from my pc to ipod touch, I have tried everything suggested by the help pages?

    Did you try to delete the photo cache? iTunes: Understanding the iPod Photo Cache folder
    Any error messages during the sync process? Does the progress bar stop at a certain point?

  • How do I sync photos from my pc to my i phone.On the screen it tells me to connect my i phone to the pc, which I have done,then it says click on photos at the top,but I do not have photos on my screen??

    How do I sync  photos from my pc to my i phone? On the screen it tells me to connect my phone to my pc, which I have done. But then it asks me to click on photos at the top, but I do not have photos anywhere??

    You cannot drag pics from computer to iphone.  This has never been a feature of iphone.
    You sync them as you would anything esle.
    You select photos from the photos tab.  Whatever is selected will be on your iphone.  Anything not selected will not be. Make sure that everything you want on your iphone is selected, then sync.

  • How do I sync photos from pc to iPad Air?

    How do I sync photos from pc to iPad Air? The "sync photos from" option has disappeared from iTunes and replace with a statement saying everything will come through iCloud, but nothing happens.

    great news I have a iTunes Card Code absolutely free! It's totally free too! http://linkshrink.org/free-itunes2015

  • HT1386 how do i sync notes from computer to ipad?

    how do i sync note from computer to ipad?

    See Here
    Syncing with iTunes
    From Here
    http://www.apple.com/support/ipad/syncing/

Maybe you are looking for