Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

12 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 25, 2006 at 08:54 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2006 at 03:21 PM

    Hello Gregor,

    I like this idea.

    I see a potential problem (atleast in my case) that developers behind their corporate firewall cannot access this test system.

    Is it possible to enable these BAPI's as WebServices (I assume this is simple) hence enabling developers behind their corporate firewall to program against these web services.

    Thanks and regards,

    Bala.

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Andreas,

      start the PFCG Role configuration transaction, select the assigned role and then edit the Authorizations. Here you can add the S_SERVICE Authorization Object. In the object you maintain the Methods.

      Regards

      Gregor

  • avatar image
    Former Member
    Nov 03, 2006 at 11:40 AM

    I don't seem to be able to make a connection to Gregor's system this morning - not sure if it's down. Just wondered if anyone else is having the same problem?

    Thanks!

    James

    Add comment
    10|10000 characters needed characters exceeded

    • Hello James,

      yesterday there was a problem with the DB Server. But today it should work. You can use also WebGUI via the URL:

      http://lupomania.dyndns.org:8000/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=SDNCONTGUI&sap-password=sdn&sap-language=EN">SAP on Rails Contest WebGUI

      But you have to use IE to access WebGUI.

      Regards

      Gregor

  • avatar image
    Former Member
    Nov 03, 2006 at 01:29 PM

    Hi Gregor,

    Thanks for the reply! I can access the WebGUI, but I can't manage to connect to the system using RFC calls, although that was working fine a couple of days ago. 😔 Has anything changed?

    James

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 03, 2006 at 03:00 PM

    Thanks very much, Gregor - that's great! Everything's working now.

    James

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2006 at 10:17 AM

    Hi Gregor,

    Maybe the problem will be fixed by the time you see this, but just thought I should let you know we seem to have the same situation this morning: Webgui is fine but no rfc access...

    Wonder if I'm the only one playing with SAP on a Sunday morning 😉

    James

    Add comment
    10|10000 characters needed characters exceeded

    • Hello James,

      it's not just you :-). Unfortunately I have received the E-Mail Update to my work address so my late respond. I've rebooted the server again. Please try it now.

      Regards

      Gregor

  • avatar image
    Former Member
    Nov 06, 2006 at 05:57 PM

    Thanks again, Gregor. Very much appreciated!

    Regards,

    James

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2006 at 01:39 PM

    Hello Gregor,

    I just had a couple of questions...

    On your availability check screen you have a field to enter the EAN and I was wondering which BAPI you were calling to make it possible to search just on that. The best I can manage is:

    1. BAPI_MATERIAL_GETLIST

    2. BAPI_MATERIAL_GET_DETAIL for each of the material numbers returned in 1

    3. List the materials where EAN_UPC matches the selection

    but I don't think that's going to be a very efficient way of doing things. 😔

    I was also interested in the display of the pdf of the delivery note. Is that something that you've automated?

    Thanks!

    Catherine

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Catherine,

      thank you for your interrest in my Contest. I've provided now the Function Module "Z_GET_MATERIAL_FOR_EAN" which returns the Material Number for a given EAN Code. The EAN Code for Material "P-100" is "2050000000003".

      The PDF is created from the Smartform. But you don't have provide a solution for this.

      Regards

      Gregor

  • avatar image
    Former Member
    Nov 30, 2006 at 02:20 PM

    I've just realised that I never posted a 'thank you' for this. 😔

    Sorry, Gregor! And thanks...

    Catherine

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2006 at 09:45 AM

    The deadline is over and I wasn't able to find some time to learn Ruby yet. Would've loved to take part, will have to do it next time 😊

    In case anyone didn't notice - as I did 😊 - the one submission and winner is <a href="/people/gregor.wolf3/blog/2006/12/01/sdn-contest-sap-on-rails-in-a-real-business-application-150-and-the-winner-is.

    :Frederic:

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Gregor,

      Thanks for organizing. May be I will participate in the future contests.

      Per your weblog /people/gregor.wolf3/blog/2006/11/30/sdn-contest-sap-on-rails-in-a-real-business-application--solution I couldn't access the source code at http://www.siteco.de/download/sdn-contest.zip .

      Is there any alternate site?

      Thank you,

      Sri