Direct RFC pull from SAP without staging files

Hi,
I am able to use OWB 10.2.0.2 to execute an ABAP report, ftp the generated file and load it into a DW table. This works fine as documented and demoed.
There is a requirement to get comments for a certain report. Comments can be arbitrarily long and can have any delimiter in them. To put them in files can become extremely tedious. Now I do not think that the client should be getting comments in a DW but this is the requirement I have to work with.
What I would like to do is call a SAP functional module and get the result piped into OWB using RFC protocol. This is how many SAP applications that use the RFC protocol get data out of SAP instead of staging it in a file first. OWB uses RFC to connect to SAP as well. And I noticed that there is an execution function module field in the connection explorer. Is this something that can be done through that?
Thanks

Here are a few bits on SAP. For your scenario could you go against the underlying database tables? The default for extracting from SAP is to generate and run ABAP reports.
However, if your source tables are all transparent tables, you can always extract directly from database through PL/SQL. To do that:
1. create an oracle module with proper credential to connect to the databases used by SAP.
2. In the SAP mapping, change the generation language from: ABAP (default) to PL/SQL.
Note, extracting directly from database is not typical in an SAP shop.
1. Data consistency:
SAP application server manages its own transactions, which are different from database transactions.
2. Security:
In the database level, you will see the data belongs to all clients this is not good:)
In each PL/SQL mapping that you created, you need to manually add a filter on MANDT to view the data for a specific client.
3. DATE format handling.
In the database level, date columns are typically stored as VARCHAR(8).
In each PL/SQL mapping that maps some data columns, you need to add
transformation operators on those DATE columns: TO_DATE( column, 'YYYYMMDD')
Cheers
David

Similar Messages

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • Invoke MII Transaction thru RFC Call from SAP

    Hi,
    We want to get the data from Oracle DB table thru MII (12.0.2).
    We need to use RFC call from SAP to MII.
    Is it possible to invoke the MII transaction thru RFC by setting in Message Listener?
    We have used iDoc messages but not tried with RFC.
    How to do that?
    Regards,
    Senthil

    I feel MII doesn't have anything equivalent to RFC in ECC. You may try web services in an ABAP program
    Hope the article below helps you
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9f101377-0c01-0010-269f-c3ee905d583b&overridelayout=true
    Regards,
    Musarrat

  • RFC connection from SAP Data services to SAP ECC

    We have data services set up in linux machine. I am trying to set up RFC connection between data services and SAP ECC.
    From data management console after creating RFC connection i am getting "RFC_bad_connection" error message. Username , password, system number, hostname and client is working from SAP GUI and has all the authorizations. SAP  gateway and service is name is correct.
    Did anyone had similar issue and what was the solution. Do we have start the RFC connection from linux data services machine, i didn't see any sh executable to do so.
    Thanks in advance for helping to solve the RFC connection issue.
    Edited by: gupta sasha az on Dec 19, 2011 7:24 PM

    I am new to SAP and we have just started work on Data Services.
    I wanted to know the complete procedure as in how can I establish a connection between Data Services and ECC.
    Thanks for your help and time.

  • Regarding RFC Communication from SAP R/3 to SAP J2EE Engine 6.40

    Hello,
         We have an application deployed in SAP J2EE engine 6.20. From SAP R3 (SAP R/3 version is 6.4C), We are communicating to the application deployed in SAP J2EE Engine 6.20 using RFC protocol. EJB module (Deployed in SAP J2EE Engine 6.20) which is being invoked from a Function Module using RFC protocol has the same name as the Function Module name. We were able to communicate to SAP J2EE Engine 6.20 this way.
         Currently, I have deployed the same application in SAP J2EE Engine 6.40.  I have followed the same procedure which i have used while depolying and working with SAP J2EE Engine 6.20. But, it is not working, and i was not able to communicate to SAP J2EE 6.40, the same way i did in SAP J2EE Engine 6.20. 
       Please let me know whether the procedure for communicating to SAP J2EE Engine 6.40 has changed in comparison with SAP J2EE Engine 6.20.
    Also,Any pointers regarding RFC and JCO implementation in SAP J2EE Engine 6.40 willl be helpful.
    Thank you.
    Regards,
    -Shabir Rahim.

    Hello ,
          The Connection in sm59 is established successfully> there were no Error thorwn in SAP when testing the connnection. But when i am making background call using a Function Module in SAP R3, the calls reaches Application deployed in SAP J2EE Engine 6.40, But it is failing with the error as,
    #1.5#005056A24413003C000000240000126000042853BD899290#1170240034258#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    #1.5#005056A244130042000000000000126000042853CFDB80F8#1170240341655#/System/Server##com.sap.engine.services.dsr#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Error#1#com.sap.engine.services.dsr#Java#DSR_36#com.sap.engine.services.dsr.res.DSRResourceBundle#Error while taking over external passport null#1#null#
    #1.5#005056A244130042000000030000126000042853CFDB86BD#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A244130042000000040000126000042853CFDB8745#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter java:rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A24413003C000000280000126000042853CFDBC4AA#1170240341686#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    Here, //DCEUR/Z_AIS_IPC_CFG_PRICE is the Funcrtion module name in SAP R/3 6.4C.
    Also Please let me know whether is there any Operating Differences between WAS 6.20 and WAS 6.40, for JCO/RFC based Communication( ie Comunicating with WAS 6.40 from SAP r/3 using RFC Protocol). Any materials and Information on how to work on SAP J2EE Engine 6.4 will also be very helpful.
    Thank you.

  • From sap to excel file with different sheets?

    can  i upload   an internal table  from  SAP to single Excel file with different sheets for example like : sheet1, sheet2, sheet3.......sheet10. , but need to upload data from sap to excel worksheets ie. from multiple named tabs in Excel. Is this possible, and if so, please can you help and advise me how?
    thanks
    venkat.
    Edited by: Matt on Feb 16, 2009 2:15 PM  Removed excessive question marks...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi venkat,
    Yes indeed it is possible to write data from internal table to different excel sheets. Check out SAP's Microsoft OLE functionality.Search on SDN for OLE . Following are some links
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sample%252bprogram%252bto%252bopen%252bexcel%252bsheet%252busing%252bole
    You can also check out FM ALSM_EXCEL_TO_INTERNAL_TABLE to check how to read different worksheets.
    Using the above two resources you can create a program that can upload data to multiple worksheets in the same workbook.
    Also see this link
    Creating Excel with More than one page
    Edited by: aditya aghor on Feb 16, 2009 1:57 PM
    Edited by: aditya aghor on Feb 16, 2009 2:02 PM

  • Migrating from SAP DMS to File Server

    Hi,
    Our client is currently using the SAP DMS to store documents for the EHS module. This has brought with it lot of handicaps.. primarily the huge size of the database. There is an initiative now to move from SAP DMS to a file server where the files would be physically stored whereas the linking would be made via SAP EHS module.
    This effectively means that the things would remain as they were.. only that the specifications in EHS would now be pointing to a new location for its documents.
    My question is whether this is a techinallly feasible solution and second how should the migration be done. keeping in  mind that the linkages should be kept intact.
    Suggestions are solicited... points are guaranteed.
    Thanks!
    Aviroop

    Hi Aviroop,
    Got any idea about how File server works with DMS ?
    I am in urgent need for details about the file server functionality and configuration.
    Can I use a sharepoint site (internet site0 as a file server?
    Pls send me some documents regarding this to my mail id [email protected]
    Thanks in advance and warm regards
    Purnendu

  • RFC connection from SAP R/3 to OS400 server

    Hi,
    I am trying to establish an rfc connection between an R/3 system and OS400 server.
    I dont have much experience on communication interfaces i have seen different options in SAPRFC.ini file but still i wanted to get some expert comments from the experts.
    Please help me on this.
    Thanks
    Junaid.

    Hi,
    We had the same scenario here also. You can call .NET code from ABAP program using SAP .Net connector.
    The data can be downloaded to SQL server based on periodic job wise (every Half an hour or 1 Hour) .
    1. Write an ABAP report to get new personnal numbers from HR master tables based on created date.
    2. Create a RFC to pass employees details.
    3. You can create a proxy in .NET server stub code based on the above RFC.
    4. Write code to get data .NET object and establise a connection to SQL server.
    5. Write code to push data into SQL server tables.
    6. After you complete the .NET code, when you generate this code will create an exe file.
    7. You have to execute that exe with few command line arguments.
    8. The command line arguments need to setup in RFC destination (SM59).
    9. In that ABAP report call this RFC with RFC destination as you defined.
    .NET code can be done by .NET person.
    Let me know if you have any clarifications.
    Thanks & Regards,
    Govind.

  • RFC Connection From SAP to Iseries server

    Hi,
    I wish you can help me wtih this issue.
    We are running ECC 6.0 on iseries v5r3m0.
    We are trying to connect to an other non-SAP V5r1M0 system. We are using OSS note 146624 for this purpose.
    Our first problem is that we cannot copy pgm files to a V5R1 system from V5R3 system. This can be solved with manual extraction kernel.
    However our problem is that we are getting an "SQL Error 0" short dump when we start abap report. What ever the entry in DBCON table is we get this short dump.
    Did anyone configured RFC connection to a non-SAP Iseries system? What methos should we use?
    Best Regards

    Hello Volker,
    it is some time ago, you posted the original message here. I have a follow on question and I hope you can help.
    Apart from the redbook I can't find any documentation about rfc with iseries and that gives some examples but no real explanation about what you are supost to do 
    I followed the rfc example "ILE RPG evoked from ABAP" and I can get it to work, as long as I ask for only one parameter from the ABAP.
    Do you know how to get multiple parameters from ABAP? Just repeating the RfcGetData with different parameters doesn't work. The ABAP will cancel with "no data to receive" on the second parameter.
    Also do you know how to create a rfc-trace for these requests?
    Best Regards.
    Richard la Croix

  • RFC connection from SAP to AS400 system

    Hi ,
    I am working on a Interface requirement wherein I need to get connected to AS400 fetch some data and update in Shipment Document in SAP at runtime.
    I am thinking about calling RFC but not sure whether it will work or not.
    Has anybody worked on the requirement like this.
    please help me out with this regard.
    thanks in Advance,
    Nitin

    Hi Nitin,
    RFC works other way around. Means you can login from other system to SAP to get the data using RFC. For your requirement you can ALE.
    Regards,
    Atish

  • How to print data from SAP without showing the screen.

    I need to develop one RFC.It will call by third party tool like XMII.
    Required data will come from XMII and RFC should print data directly from printer.
    RFC should call transaction QM02>Notification>Print>Item Selection>select one of the Shop paper -->Print (No.of copies and name of printer will be given by XMII)

    Hi Priya,
    Build a process chain, to load the Cube and after the load completed, delete the PSA used to load the Cube.
    Also include in this chain a generated ABAP program to selective delete data from your DSO based on some selection/variant , ex: Fiscal Year or something.
    Also check the design and find a reason for using DSO, if no reason then just load into CUBE.
    Hope this helps.
    Thanks,
    Naveen Rao Kattela

  • How can I go back to Snow Leopard from lion without loosing files, etc.?

    I recently downloaded Mac OS X Lion, but I can't stand it. I've heard you can't get a refund from the app store but I'm not sure how that works and I'd realy like my money back. Also, if I do downgrade, I'm not sure how to back up my files. I have music, documents, and pictures I don't want to lose. I don't have time machine. I have a usb but I'm not sure if it is capable of holding music from itunes? Other than that I'm not sure how else to back up things. I realize I have a lot of questions and I'm not exactly well informed with this stuff so any help would be greatly appreciated (:

    See Kappy's going back to SL from Lion guide and Bombich's Get Ready for Lion tutorial.

  • Purchase order emails are sent from SAP without attachment.

    In SAP Business One, the user goes to Purchase order > clicks on the email icon >"Would you like to attach an edited report to the email?' > Yes > Send > Email is sent to the vendor.
    If the connection to the B1SHR(mapped to network drive under general settings) was temporarily lost for a minute, the attachment is not saved.
    Unfortunately, SAP allows you to proceed to send the email and does not alert you to the fact that the attachment was not saved.
    Is there any setting in SAPB1 to get an error message when this occurs? Has anyone else come across this problem before?

    Maeve,
    There is no setting in Business One to activate an error on this type of event.
    I have run across a similar issue before.
    Unfortunately if connectivity to the shared folder is lost during the saving process, B1 will not be able to throw an error due to the fact that as far as the application is concerned it has completed the task successfully.
    If your users are experiencing this type of connection loss on a fairly regular basis, it may be something that needs to be addressed by the network administrator, IT dept., or Internet service provider(if they are connecting separately from the local network).
    Otherwise, users would need to manually verify that the attachment was saved prior to sending the email.
    I hope this has helped.
    Kind regards,
    Lucas

  • Print a pdf file from sap

    Hello,
    I'm looking for a way to print a .pdf file from sap . The file  was created manualy and is in a newtwork folder.
    I have to send the print to a network printer . Is it possible to use the AcroRd32.exe as a command line?
    Thank you.

    hii,
    try this
    CONVERT_OTFSPOOLJOB_2_PDF
    http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm
    PDF - Printing a PDF file from ABAP or SAP Script
    regards,
    Sri.

  • How can i debug a rfc being called from sap

    hello Gurus,
    We made a RFC call from SAP r3 to sap grc nfe......we did not receive any data in sap grc .......we go to SM58 and there it gives
    the message "Name or password is incorrect (repeat logon)u201D.
    How can i find out where the data has stuck.
    Please help.
    BR
    Honey

    HI,
    please have a look at the link below..
    this may help u !!!
    [Re: how can i debug a rfc being called from .net connector (NCO) v2.0?;
    Best of Luck !!1
    Regards
    Ravi

Maybe you are looking for

  • Need help in creating WEB application....

    Hi I Created WEB application using jsp,java classes. I kept All jsp files and classes in web-inf classes folder and created a war file and deployed that one in WEBLOGIC 7.0. I need to start a class while starting the server. I configured the startup

  • Set Password for Custom application

    HI all, I want to set password in my zdevelopment. I have a screen where user first need to keep password and then only he should be able to process further. Now my query is how to encrypt the password. Kindly guide....

  • Pivot query, phantom behavior, possible bug?

    Hi experts, Oracle 11g We are trying to construct a binary type table using a pivot query. (I know there will be no 0's, I will fill that in later.) The query to create this table is as follows: create table TEMP_T1 as             select * from (    

  • Windows 7 crashes when scanning with security essentials in bootcamp

    Hi Hope someone can help. I believe all my software is up to date. When I run a complete scan using W7 security essentials in boot camp I get a Blue Screen. Any suggestions? Thanks Barry

  • My Tamron 10-24 is listed as Unknown Lens

    Any way to fix this? Details are: Lightroom version: 5.3 [938183] Operating system: Windows 8 Business Edition Version: 6.2 [9200] Application architecture: x64 System architecture: x64 Camera Pentax K5 WIth latest Firmware 1.16 Shooting Format - DNG