Scipting to another software

Author Message
lbaker7

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 9/7/2011
  • Status: offline
Scipting to another software Wednesday, September 07, 2011 12:40 AM (permalink)
0
I am new to VBA, but learning quickly.  My husband is an Intermediate-Advance user and we both have the same question.
 
We want to take data from an Excel spreadsheet (different columns) and write a script in order to have this information keyed into another program (ex.  SAP)  We have several change of addresses to make in  our main system and want to have it automated.
 
I have seen it done before at previous companies that I have worked, but never asked what code to use in order to accomplish this task.
 
Any help would be greatly appreciated.
 
 
 
#1
    ebgreen

    • Total Posts : 8227
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: online
    Re:Scipting to another software Wednesday, September 07, 2011 1:58 AM (permalink)
    0
    First off I will point out that this is a VBScript forum and VBA is not VBScript which is not VB which is not VB .Net. They do all have a common ancestor though so they are all similar. In your specific case the way that you will do it will depend on the API that your main system ("in  our main system") whatever that might be exposes. Most likely if it exposes an API at all it would be in the form of a COM object, but there is no way for us to know that.
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      59cobalt

      • Total Posts : 979
      • Scores: 91
      • Reward points : 0
      • Joined: 7/17/2011
      • Status: offline
      Re:Scipting to another software Wednesday, September 07, 2011 7:47 AM (permalink)
      0
      If the target system (whatever that may be) doesn't expose an API, but has some kind of data import mechanism, another option may be to have a script generate an output file with the data formatted appropriately and then trigger the import.
       
      #3
        lucianir

        • Total Posts : 2
        • Scores: 0
        • Reward points : 0
        • Joined: 5/19/2012
        • Status: offline
        Re:Scipting to another software Sunday, May 20, 2012 1:32 AM (permalink)
        0
        If I figure out well what you looking for you should go to do a recording of script from SAP directly, by default the scripts are saved as vbs file extension, you can to rename like a txt file to get the VBA code. To record a script in SAP on top panel click on option and go to recording a script...I hope it help you.  
         
        #4

          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • New Messages
          • No New Messages
          • Hot Topic w/ New Messages
          • Hot Topic w/o New Messages
          • Locked w/ New Messages
          • Locked w/o New Messages
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2012 ASPPlayground.NET Forum Version 3.9