Looking for Web2Py or Python interfacing code to DI Server

Dear All,
I am looking for a Web2Py (python) code sample that can interface or talk with DI Server of SAP B1 say through win32 python API SOAP interface.
Some sample to get me started in the right path to connect to DI server, login and access simple SAOP service.
Thank you very much.

I don't know if you'll find an exact sample here - you might be lucky of course, but I think it's a bit specific.
Instead, I would focus on learning the two separately; look on google for some examples of writing SOAP interfaces using Python and then also do some DI server examples.
The Python I can't help with, but for DI server you can check the SDK helpfile and go to Developers Guide -> DI Server and then under this you have lots of good sections:
System Messages: Shows how to login and get the session ID
Data Manipulation Messages: Shows how to add/update/remove objects in the DB
DI Server application gives instructions on how to set it up.
Hope it's useful, might be worth keeping thread open to see if anyone has done this before though

Similar Messages

  • I'm looking for examples of CAN control code with LabWindows CVI

    I'm looking for examples of CAN control code with LabWindows CVI.

    Hi,
    The NI-CAN driver installs some examples for both the frame API and Channel API (NI-CAN 2.0).
    The typical installation directory is:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\nican.
    It might change depending on where you installed CVI.
    DiegoF

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Looking for best jQuery.ajax & JSON code validators for VStudio 2013 SP Dev

    Hi All,
    As a new SharePoint 2013 developer I’m looking for the best Visual Studio 2013 Intellisense Extensions or code validators for:
    1. jQuery.ajax
    2. JSON
    3. JSON.stringify
    The reason for this is I sometimes make silly syntax mistakes that take hours to correct. For example the text marked in green below show
    the small errors I made yesterday, and got no help from Visual Studio.
    ************************Start Of Code************************
    var call = jQuery.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/SP.WebProxy.invoke",
    type: "POST",
    data: JSON.stringify(
    "requestInfo": {
    "__metadata": {
    "type":
    "SP.WebrequestInfo"
    },        //should be R
    "Url":
    "http://services.***********/?$format=json",
    "Method":
    "GET"
    heaaders:             
    //two a's{                                                                                                       
    "Accept":
    "application/json;odata=verbose",
    "Content-Type":
    "application/json:odata=verbose",   
       //should be ;    
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    call.done(function
    (data, textStatus, jqXHR) {                   
    if (data.d.Invoke.StatusCode == 200) {                          
    var categories = JSON.parse(data.d.Invoke.Body);
    var message = jQuery("#message");
    message.text("********* service:");
    message.append("<br/>");
    jQuery.each(categories.value(
    function (index, value) {     //should
    be ,    
    message.append(value.*********);
    message.append("<br/>");
    } else {
    var message = data.d.invoke.body;   
                //should be capital letters
    alert("Call failed. Error: " + message);
    //should be errorThrown
    call.fail(function
    (jqXHR, textStatus, errorThrow) {                     
    var response = JSON.parse(jqXHR.responseText);
    var message = response ? response.error.message.value : textStatus;
    alert("Call failed. Error: " + message);
    ************************End Of Code************************
    Visual Studio didn’t highlight any of the errors I made. The only help I got was from a message
    box with the message “invalid character” (see screenshot below).
    Even with Fiddler it was impossible to see where the errors were. Last week I had a similar problem with a much larger block of code. One syntax mistake that was not highlighted by Visual Studio cost me hours of lost time.
    I hope you can help
    CEStar

    Hi,
    As this question is more relate to Visual Studio, I suggest you post it to Visual Studio Development Forum, you will get more help and confirm answers from there.
    What’s more, I have seen a similar post from you in the link below, please check whether Crystal’s post is helpful:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/dbde39a0-18a5-4e15-9b5b-6b41cc4350d0/help-finding-the-best-intellisense-extensions-or-code-validators-for-visual-studio-2013?forum=visualstudiogeneral
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Look for JDeveloper Tutorial with samples code

    Hello All ,
    my name is Ron ,
    i'm new user of JDeveloper i'm looking for a place to start a tutorial "How to use
    the JDeveloper ? " with samples code .
    from very basic use ( Hello world program ) to addvanced programming ( Like GUI Forms and Database )
    please show me links where to start learning from
    thanks in advance

    The tutorials in the JDeveloper help system are a very good place to start. Choose Help | Help Topics from the JDeveloper menu then click the Tutorials book in the Help navigator. The tutorials are also available on OTN, see:
    http://otn.oracle.com:8877/jdeveloper/help/
    You may also find the 'how to' documents and samples on OTN helpful:
    Oracle9i JDeveloper How To Documents
    http://otn.oracle.com/products/jdev/howtos/content.html
    Oracle9i JDeveloper Sample Code
    http://otn.oracle.com/sample_code/products/jdev/content.html
    Hope this helps.
    - jon

  • Looking for labview to midi interface

    Hi
    For a demonstration I am looking for a vi that can interface with a standard
    soundcard e.g a soundblaster compatible card.
    ed droog
    university of twente
    the netherlands
    "640K ought to be enough for anybody."
    - Bill Gates, 1981

    The first place to look for stuff like this is the vendor's web page--in this case www.watlow.com. How did I know this? I guessed. You can typically guess 90% of company websites...
    In a couple minutes I was able to find your controller and a document on how to communicate with it. If you email me I can send it to you (it's too big to post...).
    Next, reading the document (which by the way contains a good basic primer on serial communications)I saw that one of the protocols you can use for communicating with the 942 is Modbus RTU. I can also send you a set of modbus drivers.
    Hope this helps in thermal testing your chips...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Looking for a sort of "activity code" in transactions ME51N/ME52N/ME53N

    Hi all experts, got an - I hope - interesting question to ask you.
    I have an user exit that is executed on every step done in creation/modify of a Purchase requisition. In this code (custom), executed from the transactions ME51(n)/ME52(n) and ME53(n) there's something like:
    GET PARAMETER ID 'BAN' FIELD r_banfn. "Purchase Requisition number
    GET PARAMETER ID 'BFC' FIELD r_frgab. "Release strategy
    r_banfn should contain the number of the purchase requisition I'm working on. So far, so good.
    The problem is that if in ANY transaction I press the New Document button, I can notice in debug that r_banfn contains the number of the purchase requisition that WAS active before pressing the "create new" button.
    That's not good because that r_banfn value is then used to some checks, and should then be blank in case of creation of a new purchase requisitions.
    I'm then asking you if there's a way in my user exit to distinguish between the two cases, which are:
    -1- I'm modifying an existing purchase requisition (so, the field in r_banfn IS correct);
    -2- I'm CREATING a new document (so, r_banfn value is NOT correct and should be set to blank).
    This distinction must be coded into the previously cited user exit and should affect ME51(n), ME52(n) and ME53(n), from which the user can either create a new RdA or modify an existing one.
    We tried to manage the situation as follow, but without success:
    IF NOT r_banfn IS INITIAL.
      CALL FUNCTION 'ENQUEUE_EMEBANE'
           EXPORTING
                banfn          = r_banfn
           EXCEPTIONS
                foreign_lock   = 1
                system_failure = 2
                OTHERS         = 3.
      IF sy-subrc NE 0.
    * Can't lock --> means I'm actually working in modify mode on it
    * leave it as is
      ELSE.
    * locked --> that means I'm not working on this purchase requisition
    * first dequeue the locked purchase req, then set r_banfn to blank.
        CALL FUNCTION 'DEQUEUE_EMEBANE'
             EXPORTING
                  banfn = r_banfn.
    *   clear the variable -> I'm in CREATE mode.
        CLEAR r_banfn.
      ENDIF.
    ENDIF.
    The code is quite self-explaining but doesn't work because it seems that the "enqueue" phase goes ok even tho we're working on modification on the purchase requisition.
    I'm guessing if there's a sort of "activity code" (create? modify? view?) I can catch @ runtime to solve this task.
    Thanks in advance, as usual
    Matteo
    Edited by: Matteo Montalto on Mar 19, 2009 5:15 PM
    Sorry, I edited the title in order to make it more explicative. :-P

    >
    Hi Sandipan, sorry for the late, I tried to manage this task but without success.
    The user exit I'm working on in EXIT_SAPLBBPK_001.
    FUNCTION EXIT_SAPLBBPK_001.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IM_BBPDECDATA) LIKE  BBPDECDATA STRUCTURE  BBPDECDATA
    *"     VALUE(IV_MANU_PROF) TYPE  MANPRC OPTIONAL
    *"  CHANGING
    *"     VALUE(CH_PROFILE) LIKE  T160EX-EPROFILE
      INCLUDE ZXBBPU04.
    ENDFUNCTION.
    It includes ZXBBPU04, in which I have to understand if I'm working on a Purch. requisition in MODIFY mode or in CREATE mode.

  • Looking for a neutral digital interface

    I do a fair bit of voice work
    I'm trying to find a good neutral  digital interface  that doesn't come with it's own mini Protools programs etc I use Adobe through an older connection system-an Omnibox for my desk top. It works wonderfully well but is not USB.  My preamp the wonderful Really Nice Preamp does not have USB outs. I need to find something that allows me to use the preamp-digital interface-USB combination for my laptop for when I'm on the road.
    Any suggestions?

    If it were me, I think I'd stick with the sort of device that I already use - basic musical instrument devices that provide balanced line in (to match the balanced o/p of the pre-amp), plus a mic input or two.
    This would let me work with or without the pre-amp, allowing a lot more flexibility - eg battery only working with just the laptop and usb device.
    There are lots of these things from the likes of Tascam (eg US-144) or Edirol (UA-4 etc.). The obsolete but still good ones I use came cheap from ebay and are neutral enough for anything I've tried.

  • Looking for a Fibre-Channel interface

    Does there exist a Fiber Optic communications interface, specifically "Fibre-Channel" for which LabVIEW drivers exist?
    Perhaps one of the select integrators may have one or know of one.
    Paul Conaway
    Lockheed Martin, Syracuse

    [Warning: A little self promotion follows. Read at your own risk!]
    I am working a project now that includes a "Fibre-Channel" phase in a future phase. We have done a lot of research into this area and are developing benchmarking systems that will let us quantify the determinism of various transport mediums. The current implementation is building on a SCRAMnet gt fiber network to do the measurements.
    If you think we may be able to help you out, you can e-mail me at
    [email protected]
    and I'll put in in contact with management types.
    [End of shameless self promotion]
    Ben
    PS: If you are at the same facility as "Rick Lucas", tell him that "Ben says 'Hi!'"
    Message Edited by Ben on 09-24-2008 07:57 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Look for visual basic 6.0 code for measuring audio signal in PCI 6052E card,such as THD(total harmonic distortion),signal-to-noise etc.

    Hope receive NI measurement studio with visual basic engineer's favor in a early date!

    This is just the nature of the while loop in the VB code. The processor is going to execute this loop as fast as possible. The DoEvents in the loop allows the processor to perform other operations if needed. Try opening MAX or some other program and drag windows around at the same time the code is executing. You will notice that the processor load will shift away from the VB6 program to other processes.
    If you want to avoid this try adding a function similar to sleep in the while loop. However, this will slow the speed of your program and I would not recommend it, because the program is designed to run as fast as possible, but still allow other programs to execute.
    I hope this helps.
    Joshua

  • Looking for training on Sun Java(tm) System Messaging Server 6

    Hi All,
    I looking to take training on Sun Java(tm) System Messaging Server 6 i checked SUN Training Site but i didn't find
    Can ant one tell me if its available or not.
    regards,
    Mariam

    MariamS wrote:
    I see that you know so much about Sun Java System Messaging staff. I've been using Messaging Server for over 8 years in various roles so I have a good head-start.
    from where you learned all these i like to expert in this area but i dont know from where i have to start.The Messaging Server admin guide is the best place to start:
    http://docs.sun.com/app/docs/doc/819-4428
    Regards,
    Shane.

  • Write to file??? looking for a solution to write file to the server

    Dear all,
    Since most browsers forbid all file access, so is there is another way to write file to server in applet??? or is there an alternative using combination of JSP??
    Thank you for your attention,
    Dan

    If you have access to the server you are writing the file to then you could have your applet collect information and send it to the server in a form. Then write a bean or other class that handles it and writes it to the server.

  • Looking for a tutorial on how to use VI Server

    Hello.  Can anyone link me to a tutorial or article that covers the usage of VI Server across machines on the same network?
    Also, can VI Server functionality be used inside executables created by developers suite w/o any running LabVIEW instances?

    The VI server allows you to programmatically access and control VIs running in any LabVIEW instance. That instance can be the current one, another one on the same computer, on a different computer around the world or even on an RT target and working with them is the same in all cases.
    It starts with calling Open App Reference, which recieves a computer name (or IP address) and a TCP port number. These determine the specific LabVIEW instance and from that point on you work on that instance using the reference you got from the function. See a simple example of connecting to a remote VI here. The same works with property and invoke nodes.
    You should note that not all properties and methods work on remote instances. Each has a table in the online help with one of the lines being Available on Local LabVIEW Only. If this is true, it means that you can not use that property in a remote instance.
    Try to take over the world!

  • Looking for email address stripping code

    Hiya,
    I'm looking for a piece of CF code that strips email
    addresses from a string. It needs to be smart, so that various
    patterns can be detected and stripped.
    Ex: [email protected], email at domain dot com, email@ domain
    .com, email at domain.com, etc....
    Does anybody know if somethng like this already exists?
    Thanks.

    Ahhh. so you filter the postings to remove their attempt to
    circumvent the sharing of email addresses? Got it.
    All I can say is, good luck to ya. If people want to share
    that kind of information, they will! Just out of curiosity, why
    would you even attempt to prevent people from sharing their very
    own contact information? Note that I am not arguing, rather curious
    about what valid reason anyone would have for attempting to prevent
    people from doing what they want with their own information.
    What I might suggest is.... Since you probably have their
    email address on file from when they registered (at least one of
    their email addresses anyway) you should be able to do an
    intelligent search for strings that are similar to the email
    address that you have on file. So, as opposed to starting with
    *nothing* and looking for things that *might* be an intentionally
    obfuscated email address, you are least starting with
    *something*.

  • Looking for a handset with certain features...

    Hi,
    I want to replace my cordless DECT handsets (currently BT XC 200) with a new set. I have some specific requirements and having trouble searching for the specifications via shopping sites.
    What I am looking for:
    - 2 cordless handsets, or 1 fixed handset and 1 cordless
    - DECT
    - Need hands free and/or an ability to connect some sort of headset
    - Dont need answer machine
    - Need the ability to store long phone numbers and pauses into the phone. Looking for more than 35 numbers/codes. My XC200 does this - but the amount of numbers you can store is limited to about 20.
    Its this last requirement that is tricky to search for as it is not specified on most websites.
    Any help would be very much appreciated.
    Neil

    Hi A-Mo,
    I'm very sorry that your husband's PowerShot SD1100 IS was stolen!
    The SD camera line has been replaced by the PowerShot ELPH lineup. These cameras are improved in a number of important ways, such as better zoom lenses, and sensitivity to light for existing light photography.
    I recommend that you consider the PowerShot ELPH 310 HS. This camera has an 8x optical zoom lens (vs. 3x for the PowerShot SD1100 IS), has a higher ISO of 3200 (vs. 1600) for low light photography and shoots video in "full" high definition (1920 x 1080 resolution) (vs. 640 x 480).
    Please note: none of the cameras in this group of cameras includes the optical viewfinder you had on the PowerShot SD1100 IS,
    I hope this is helpful.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for

  • Simple (I hope) Combo/list box question

    I am using Acrobat Pro 9, I have a combo list that allows a person to choose male or female.  I want the default to be blank so that if they don't have a dependent it isn't showing male or female. It doesn't allow me when I go to properties, any sugg

  • Unexpected error when accessing OCS Files

    Everytime we try to access OCS Files (after being idle for sometime), we get this unexpected error. After a series of clicking on the report error, the workspace eventually appears. This is the log being reported to our sysadmin: Unexpected Error Enc

  • Does anybody know how to export the events log from a IPS 4260 ?

    My company has a Cisco IPS 4260 and we used to get the log from the Cisco Security Manager but since July the software failed and now (December) I need to get / export the log from July to December that I think it is saved into the IPS.  Is it possib

  • Jnlp and jar files

    hi i am just new in deploying applicatin as jnlp, i just want to verify if it requires that the jar files i am going to create is an executable jar file or not. Do i need to put a manifest file in the jar? thanks in advance...

  • LR 4.2 RC and in-camera crop

    I feel I am not really understanding how this is meant to work. LR 4.2 RC shows the crop set in-camera (say 1:1 aspect ratio), but I can see no means in LR's crop tool to recover the rest of the image outside of the crop. At least not for my Olympus