SDN Contest: SAP on Rails in a real Business Application

Hello,
please use this Topic to Discuss questions regarding my Blog <a href="/people/gregor.wolf3/blog/2006/09/30/sdn-contest-sap-on-rails-in-a-real-business-application">SDN Contest: SAP on Rails in a real Business Application</a>.
Regards
Gregor

I wrote to Gregor yesterday because I wasn't managing to connect to his system. He's fixed my problem and asked me to post here in case anyone else has tried to do the same thing.
Thanks, Gregor!
>>I've got Piers' code for checking Exchange rates that he used
>>to demonstrate his SAP4Rails and that runs fine on the demo
>>SAP system I have installed at home. I thought before I
>>started on your problem I'd run the Exchange rate code just
>>to make sure the connection worked.  I've updated my sap.yml
>>file to include the login info you give, but it's not
>>returning the BAPI_CURRENCY_GETLIST structure as it should.
>>It suddenly occured to me that maybe the problem is just that
>>the user SDNCONTEST doesn't have authorisation to access this
>>BAPI, rather than that the connection isn't opening
>>correctly! I'd really appreciate it if you could tell me
>>if this is what you expect, before I spend another
>>evening trying to work out what's wrong...
>I've now added the Function Group of
>BAPI_CURRENCY_GETLIST to the authorization.
>Can you please try again?

Similar Messages

  • I would like to know the version or name of SAP that is implemented in real

    I would like to know the version or name of SAP that is implemented in real time?

    This is a very generic question and really depends on what you are implementing (modules).
    The history of the "R/3" is
    3.0D Basis 300
    3.0E Basis 300
    3.0F Basis 300
    3.1H Basis 310
    3.1I Basis 310
    4.0B Basis 400
    4.5B Basis 450
    4.6C Basis 460
    4.71 Basis 6.20
    4.72 Basis 6.20
    5.00 Basis 6.40 (ECC 5.0 - Enterprise Core components)
    6.00 Basis 7.00 (ECC 6.0) - actually in RampUp
    All of those have increased business functionality and interfaces to other systems (CRM, BW etc.)

  • SDN vs SAP Community - Overlap/Duplication

    I particpate occassonally on the SAP Community BW forums, but the level of activity is much, much lower.  I sometimes see the same post on SAP Community and SDN, with replies on SDN and few if any on the Community site.
    I'm not trying to bad mouth the Community site, but I'm not clear on what the distinction is, or who the audience is supposed to be.  It seems like at a minimum, all of the "developer" types of questions should go to SDN, and if there is a need for business, future direction, etc, maybe that belongs on SAP Community. 
    I often feel like posting a reply to a technical post on SAP Community with a "Go to SDN" response, but have refrained, not wanting to upset the forum gods.  Especailly since the SAP Community folks are sending me a soccer ball for participation.
    At any rate, seems like a lot of duplicate effort on SAP's part the way it is now.

    Hi Pizzaman,
    > It seems like at a
    > minimum, all of the "developer" types of questions
    > should go to SDN, and if there is a need for
    > business, future direction, etc, maybe that belongs
    > on SAP Community. 
    Exactly I couldn't have said it better. Business and future direction questions in the SAP Community and all development related questions here on SDN.
    > I often feel like posting a reply to a technical post
    > on SAP Community with a "Go to SDN" response, but
    > have refrained, not wanting to upset the forum gods.
    > Especailly since the SAP Community folks are sending
    > g me a soccer ball for participation.
    If I am not mistaken they stopped that about a year ago.
    By the way, are you delivering Pizzaman? I would really love to have one with Anchovies on it. Yum, or Lecker to throw in a German phrase.
    All the best, Mark.

  • SAP Best Practices for Poultry & Agriculture Business

    Hi All,
    Hope you all are doing fine. This is to update you that I am presently handling an SAP end-end ECC 6.0 implementation project for Poultry & Agriculture business. Would appreciate sharing with me if there are any best practices for Poultry & Agriculture businesses. If not, please share with me the best practice which can be applied suitably to our industry. BTW, this implementation project is getting executed in Saudi Arabia.
    Thanks in advance for your valuable attention and immediate response.
    Regards,
    Ashfaq

    Hi,
    Welcome to SDN!
    SAP Best Practice Guide for Dairy:
    http://help.sap.com/bp_bblibrary/500/html/G90_EN_UK.htm
    http://help.sap.com/bp_bblibrary/500/html/G91_EN_UK.htm
    http://help.sap.com/bp_bblibrary/500/html/G95_EN_UK.htm
    http://help.sap.com/bp_bblibrary/500/html/G97_EN_UK.htm
    http://help.sap.com/bp_bblibrary/500/html/GF1_EN_UK.htm
    Could not find one for Saudi Arabia. Hence, sending you UK links.
    Regards,
    Naveen.

  • SAP Insider Sessions Related to Integrated Business Planning

    Register Here
    10 SAP Insider Sessions related to Integrated Business Planning:
    1)    A comprehensive guide to achieving an integrated S&OP process
    Tom Cassell, Capgemini
    Learn how to leverage SAP solutions to address key S&OP issues, including unsynchronized forecasts and unaligned supply plans, and take a look at...More »
    2)    Case study: Next-generation planning at Bose: An inside look at the company's deployment of SAP Sales and Operations Planning, powered by SAP HANA
    Raman Jayaram and Pankaj Agrawal, Bose
    Glean insights into the future of operational planning from one of the earliest adopters of SAP Sales and Operations Planning, powered by SAP HANA, and delivered on the cloud. Attendees will get a guided tour of Bose's journey towards real-time planning, and... More »
    3)    Gain full transparency across demand forecasting using SAP demand sensing and statistical forecasting methods
    Tod Stenger, SAP
    Learn about SAP's overall demand management strategy, how it is evolving with customers' needs for demand management, and how you can...More »
    4)    Leading practices for implementing SAP S&OP on SAP HANA
    Sanjeev Patil, EY
    This session shows attendees how to build an S&OP planning model to ensure a successful SAP S&OP on SAP HANA implementation. By attending, you will... More »
    5)    Live demo: Demystifying SAP's solutions for integrated business planning and supply chain monitoring
    Sandy Markin, SAP
    Attend this session to see a demonstration of the SAP solutions for integrated business planning and supply chain monitoring...More »
    6)    Maximize profitability and optimize inventory with SAP sales, inventory, and operations planning
    Sandy Markin, SAP
    This session provides an overview of SAP's integrated business planning solutions and how they enable the alignment of supply and demand in addition to optimizing inventory. Attend this session to...More »
    7)    SAP APO versus SAP Integrated Business Planning: Expert advice and key considerations for whether and how to migrate to SAP's new cloud-based supply chain planning suite
    Sachin Shetty, EY
    This session provides an in-depth analysis of SAP's new cloud-based planning module, in the context of real-world challenges, to help you decide whether...More »
    8)    SAP's solution strategy for enabling demand-driven business planning
    Martin Barkman, SAP
    This session examines SAP's current solution offerings and planned investments that support demand-driven business planning, including insight into how...More »
    9)    Achieving best-in-class response and supply management with SAP Integrated Business Planning and SAP APO solutions
    Michael Lipton, SAP
    The session addresses both the new generation of cloud-based SAP Integrated Business Planning solutions and SAP APO-based solutions used by many SAP customers today...More »
    10) SAP's roadmap for response and supply orchestration
    Patrick Crampton-Thomas, SAP
    This session provides an overview of SAP's supply chain strategy and solution roadmap for response and supply orchestration, highlighting new value opportunities for SAP customers. Attend to...More »
    Register Here

    no one

  • How to download an FPGA vi along with a real time application

    Hello
    I am targeting cRIO 9012, cRIO 9102. I downloaded the FPGA vi on flash memory and then built a real time application and set it as startup.  But there was no signals on the modules IOs which are handled by FPGA vi.
    Also the shared variables of that application when running as standalone aren't accessible. Please provide me the steps that should be followed to access the shared variables of a standalone real time system. Please help me resolve these problems.
    Best Regards
    Mani

    Hi Mani,
    What modules do you have?  What kinds of signals are you measuring?
    Have you deployed your shared variable library on your host PC?
    Regards,
    Jeremy_B
    Applications Engineer
    National Instruments

  • Hypervisor: Create Standalone Real-Time Application (Error at deploying: File not found)

    Hello,
    I am using Hypservisor. With "Build Specifications" in the project explore I want to create a standalone real-time application.
    In my first try I only want to print some texts onto the real-time console (HyperTerminal) using the function "RT Debug String.vi". I built the real-time application successfully and got the rtexe-file locally on the windows system. But as I tried to deploy the application to the target system, I got the error: "File not found". Please check the attached file "error.txt" for details.
    I don't understand which file is not found. Or I used "\" as path separators. Is it wrong? I'd appreciate if you'd have any idea of the problem. Thank you very much.
    Regards,
    Scarletice
    Solved!
    Go to Solution.
    Attachments:
    ERROR.txt ‏1 KB
    builds.zip ‏153 KB

    Hello Casey,
    Thank you very much for your reply and your interest in our project. We are using Real-Time Hypervisor for the setup of our test stand. We use the Windows system to show the GUI and the Real-Time system for the real-time machine control and online data storage. We use shared variables and shared memory for the data exchange between the two systems.
    The system works generally quite fine now. But we still have to face new problems at each step forwards. I'm sure, I'll have more questions. I'd appreciate your advices. Thanks sincerely.
    Best regards,
    Scarletice

  • CRIO and ni 9234 modules not working or communicating through fpga with accelerometers, fpga connected to real time application which is also connected to shared variables linked to modbus slave

    Hi,
    I have a compact rio which has a 4 way chassis attached to that chassis is three ni9234 modules they are linked using fpga to a real time application then using shared variables in the low speed loop that are linked to a modbus slave to communicate with dcs, the ni 9234's have accelerometers connected to them with iepe ac coupled option on the c modules, my problem is the real time application seems to be running okay even when power loss occurs it restarts with no problem and the fpga writes to the portable hard drive bin files fine but without a accelerometer connected I get low noise readings as soon as I connect a accelerometer to any one of the 10 outputs it just goes to a fixed number (0.03125) as soon as disconnect it again it reverts back to reading noise, I have run a scan on the modules and only get a spike when I connect or disconnect the accelerometer, I have tested the voltage at the pins of the module and I get 22 volts dc which makes it more likely that the hardware is not the problem but a software is maybe causing this to hang-up, I attach project and files for your perusal. I also carried out a new project which in scan mode directly linked the module input to shared variable and the same scenerio again. Help would be much appretiated. 
    Many thanks
    Jason
    Solved!
    Go to Solution.
    Attachments:
    logger 2plusmodbus2.zip ‏679 KB

    Whren using waveform acquisition with the 9234s we recommend the following FPGA and RT template.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209114
    it can be extended as a data logger with:
    http://zone.ni.com/devzone/cda/epd/p/id/6388
    or using shared variables combined with scan engine
    http://zone.ni.com/devzone/cda/tut/p/id/9851
    The FPGA in all of these, as well as the RT framework have been used successfully by 1000s of users.  I would recommend giving these a try. 
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Real-Time Application doesn't run; source code works fine

    The short version is I'm programming a cRIO and apparently the RT code isn't running after being deployed and I can't figure out why. This is further complicated that I'm doing all this remotely and I don't have direct access to the unit since I'm 500 miles away. I'm working through a couple of other guys who know some LabVIEW, but neither works at the site so they have to explicitely travel out there every time I have a bright idea.
    I was out there a few weeks ago. During this time I created a simple cRIO code, since I'm new to cRIO, that allowed the user to move a control and change a graph. It worked fine, but I should note it did not have an FPGA component. After that I worked on the real code, which reads some sensors, displays the results on a UI and logs the results. This did have FPGA. I used it in the LabVIEW environment and it worked fine, but I ran out of time before I could complete a release version and deploy the RT as a compiled application. I sent them the release version later, my contact deployed it but got network stream errors when running the UI.
    After hours of looking at network problems and sending over debug versions, I tried creating a log on the RT level so I could see what was going on. The log doesn't even open, even if it's the first command in the code. I pored through the forums and found http://forums.ni.com/t5/LabVIEW/cRIO-Troubleshooting-creation-and-deployment-of-startup/td-p/1956475... which took me in a new direction.
    I had my contact use the RT debug console and when he pulls up the RT front panel, it shows a broken run arrow. He clicks it and nothing happens -- no running, no bug list. If he pulls up the bug list manually, it's empty. Again the RT works fine if you run it through LabVIEW and not as a compiled real-time application. He also noticed that the Open FPGA VI was grayed out on the block diagram. No other icons are.
    So the problem appears to be that the compiled RT application is getting some kind of error but not telling me what it is, and it seems to be related to opening the FPGA. I've recompiled the FPGA and RT. I've had him recompile the RT himself, but not the FPGA because it would take hours. He's downloading everything correctly to the cRIO. The RT is set to run automatically. He's rebooting the cRIO every time he deploys the RT. They have LabVIEW on a computer there but it doesn't have the right drivers to run the code from the LV environment. I'm resisting having them install the dirvers because downloading big files is complicated there due to security restrictions and a lousy network connection at a remote site. Besides that doesn't solve the problem of the RT executable not running the same as the source code, which according to the thread above appears to be a thing.
    The latest thing I'm trying is that I sent him instructions for how to build a source distribution from the project I sent and try deploying that to the cRIO. Even if that works I'm not sure that's an acceptable solution because I assume running the VI rather than the EXE is slower, and they need speed on this project.
    I simply have no idea where to go from here. I probably need to get direct acess to the cRIO and I might be able to convince them to ship it to me so I can figure this out, but I'm not sure where I'd even start other than the standard voodoo debugging of "try stuff at random until something works". I'm open to suggestions if anyone has managed to solve this before.
    Code snippet of the first part of the project is attached, though I'm not sure how much good it will do. I'm really stumped and the client is getting frustrated with how much of the budget is going to fix this.
    Solved!
    Go to Solution.
    Attachments:
    RTMainSnippet.png ‏623 KB

    Have you checked the cRIO error log? Usually I'd access it through the LabVIEW project (right-click on the target, don't remember the exact menu options and I don't have the RT toolkit installed on this machine to check), but it must be stored somewhere on the cRIO as well, although I don't know if it's in a human-readable format.
    Which cRIO are you using? What exactly do you mean by "debug console"? (This may be related to the cRIO - the newer ones have video out, although I don't know if that's what you're referring to.) With a broken run arrow, you won't get an error list unless you're running in the development environment.
    Have you confirmed that the software installed on the cRIO matches the version you're using for development, including patch level? Get someone to connect to the cRIO with Measurement and Automation Explorer, and get a list of the software installed on the cRIO.
    Sounds like the ability to connect with a remote debugger would be helpful here, if you can get the right drivers installed on the machine with LabVIEW that's connected to the cRIO. Make sure all driver versions match what you're using. Any chance you could then do a remote desktop connection from your work site to the remote LabVIEW machine?

  • Attempt to build real-time application failed

    When I try to build my real-time application in order to deploy it to a crio device, it fails. I can run the program just fine by opening it and clicking run. It can deploy and run all day that way, but it needs the computer that way too. So I need to be able to build and deploy it. When I do a build preview it completes just fine with no errors. I have set the program I want to start up as the startup and my subVIs virtual folder under always include. This is typical procedure for deploying projects to the crio.
    When it crashes I am getting an error:
    The build was unsuccessful.
    Possible reasons
    An error occurred while saving the following file:
    C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\rvi\ClientSDK\Core\ModuleGeneration\CommunicationInterfaceUtility\niFpgaDmaChannelImplementation.ctl
    Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_RTEXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_CreateNewWizard_Invoke_CORE.vi->RTBUIP_CreateNewWizard_Invoke.vi->RTBUIP_CreateNewWizard_Invoke.vi.ProxyCaller
    <APPEND>
    Method Name: <b>Save:Target Instrument</b>
    I put in a service request (Reference#7259553) but I am just not getting help fast enough. I am on a real deadline here and I just sort of expected the application builder to work like it has always done. I have done this a million times with other applications and never had an issue like this. 
    Thanks in advance for your help guys.
    [will work for kudos]
    Solved!
    Go to Solution.

    With the fantastic help of applications engineer Will Schoettler, we were able to solve the problem.
    1. First we tried creating a new project file from scratch, adding all the files and compiling the fpga. Same error.
    2. Next we made individual builds deploying each subvi individually to see if one of them was causing the error. Each built without a problem.
    3. I tried to create a new build for the main crio program and tweek the settings. Instead of manually adding the subvi and variable library folder to the 'always include' section of the build option, I simply added the main VI to the startup programs list and was going to let LabVIEW figure out which VIs to add. For some reason this gave me a more verbose error explanation and gave the following reason as the last sentance in the error explanation
    "Due to operating system limitations, LabVIEW cannot create the folder because its complete path contains too many characters." 
    I moved the project folder to c:/ , fixed the broken references in the project, and it built the VI and deployed it just fine.
    The builder creates a directory with a really long path name within your project folder, so if you have your project folder deep in your directory tree it will attempt to create files with paths too big for windows to handle.
    Mad Kudos to Will Schoettler the app engineer for such a potent and thorough troubleshooting task list of things to try that lead me straight to the solution. I am glad it was something so simple and not some form of file corruption or something wrong with my code. 
    Thanks for trying to help guys.
    [will work for kudos]

  • Real time application

    hi 
    i had a problem creating a real time application. 
    the project have all the files on the image1(proyecto), I'm trying to create the real time for then run the host executable. 
    i put all the sources files like image2(sourcefilesrttarget), the others configuration still quiet.
    then i built it, set us startup, deployed it, and for last run as startup, reboot the rt target, but then when i gonna run the host executable, the variables doesn't work and the executable is already on the firewall. 
    when i just connected the CRIO- rttarget ,deploy the principal vi for the target that is Aplicacion RT principal controaldor ,then run the principal.vi of the host it works fine.
    So i don't know why with the building and deplying the real time doesn't work? maybe something of configuration it's missing but  i don't know. 
    thnks for any help
    Attachments:
    proyecto.png ‏72 KB
    sourcefilesrttraget.png ‏67 KB

    Thnks Omar R. 
    yes we are missing some configuration but i don't have idea what is it. 
    i followed the first link to deploy network variables but this doesnt work when i run the exe, and then when i gonna run the principal.vi since labview i get the next error
    Possible reason(s):
    LabVIEW: (Hex 0x8BBB0005) Unable to locate the shared variable in the Shared Variable Engine (SVE). Deployment of this shared variable may have failed, the SVE has not started, or the SVE is too busy to respond to this request.
    i post you all the configuration windows about the .EXE 

  • Real J2ME applications (2)

    I am looking for real j2me applications.
    I have already posted this question at:
    http://forum.java.sun.com/wireless/thread.jsp?forum=76&thread=422879
    However, most of the replies gave examples of games or tutorial examples.
    But I was looking for j2me applications implemented by companies for their consumers, such as amazon.com.
    Amazon have a mobile app, but its implemented in WAP.
    So are there any companies which have implemenetd j2me apps.
    regards

    You could find tonns of real j2me applications if you type the following keywords to any search engine: midlet download free/buy j2me.
    Here is a real game application: www.kisember.com/test/rescuedemo.jad

  • Embedded LV 8.0 Real-Time application on cFP-2120

    Hi!
    I'm working on a project which involves programming of a real-time application running on a cFP-2120. The purpose of the application is to control the motion over 7 test-objects with a servomotor.  Test-objects have 3 sensors each. Remote control of the application is necessary. The program should have a GUI which shows graphics of sensordata and buttons to open other VIs like set-up, details, logging etc.
    Could i just build an application like it was meant to run on a pc, deploy it to the cFP-2120 and use Connect to Remote Panel ?
    Or
    Should I build separate VIs;
    -the program which always runs on the cFP-2120 and
    -the User Interface which is runned on a computer now and then which gets value from Network-Published shared Variables
    I need some tips here 

    I would definitely go for the second option, esp. if you want to have this program for a longer time.
    It's much easier to write a good GUI on the PC without the limitations of a real time OS. There you have to keep too many things in mind (esp. no dynamic arrays, performance issues due to GUI programming, not too many sub VIs)... So write a quite minimal control software for FP and do all the interface stuff on the PC. Then you can easily log all the data into a database (if you have the DSC Engine) as well.
    Cheers,
      Carsten

  • Using Vi server in real time application

    HI
    I am  using PXIe( 4330, 6363 and 4353) devices and I want to have executable file for the calibration program  ( AI,AO verification procedure and so on). So I think is necessary to have 2 programs for each 'verification procedure', one under host (executable file) and one under target (real time application).  in host program (exe file) I used VI server to call Real time application. There are some problems that I am phasing.
    First I can’t select the channels which the reason is abvious because my host program is under my computer not under target, but I do not know what is the solution?
     and second is, error number 7 occurred. which says : the path file is not correct , or the file is removed... 
    As I mentioned my goal is to have an executable file which contains Real Time application. Please specify If there are other ways to do that. I do not know wether the way I am doing is correct or is somethig impossible ?!!!!!!!
    Attachments:
    Analog input verification.png ‏158 KB
    AnalogInputFrontPannel.png ‏181 KB
    Error 7.png ‏148 KB

    Hi 
    there is no specific reason why I call vi dynamically, as I said I try to generate executable file which contains real time application, but before that I need to run host vi too see if it works or not. I did what you advised and I have same error still. I think there must be something wrong with path address and vi server, but I address .rtexe file or target vi to my host and for both I have error. 
    I have attached the projects here.and I have followed this example : 
    http://digital.ni.com/public.nsf/allkb/A7DBA869C000B5AE862570B2007C4170
    BTW , are there some special configuration for Real time application that I might missed ? 
    thanks 
    Attachments:
    PXIe-6363.zip ‏306 KB

  • Can any one tell me how to deactivate vendors in sap whom we have not done business for last 18 Month

    Can any one tell me how to deactivate vendors in sap whom we have not done business for last 18 Month>

    Hi Jahanzaib,
    You can go to transaction FK05 and block the vendor if you want to deactivate the vendors.
    Thanks,
    Ameet

Maybe you are looking for

  • Creative Cloud Installation Failure

    Second night with the same issue, creative cloud for desktop on Windows 7 wants to update again.  It starts, downloads, and fails again.  Last night I went through the effort of trying to repair it via the other forum topics.  I ended up uninstalling

  • How to suppress blank lines in smartforms

    Hi all,      How can we suppress blank lines in smartforms? In my scenario I am having customer address details in main window. i.e. Name      Street       P O Box       P O Box Location       Post Code       Telephone       Fax. Suppose if there is

  • Creating a DWMQY DIMENSION using Analytic Workspace Manager

    Hi everyone, I need some help creating a "time aware" (DAY, WEEK, MONTH, QUARTER, and YEAR) dimension using Analytic Workspace Manager. Let me give you some background. I'm coming from a traditional "Oracle Express" OLAP background where all our data

  • Integration of SMS with Cisco LMS 3.2

    Hi, Need assistance to confirm if SMS alerts can be integration with LMS 3.2. If yes, could you please walk me though the process. Rgds.....Navinder

  • Activity monitor unable to execute queries againest the server?

    2012 SQL Serevr SSMS Activity monitor unable to execute queries againest the server? any ideas??? ebro