Can't create stock transfer using DI Server

Hi Experts,
I need a very urgent help from you guys.
I was creating an inventory transfer document with batch numbers by using DI Server, Each time it gives me error "10000559 - Not enough data".
I am using following soap string.
Thanks in advance for the help
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Header>
    <SessionID>6BD16887-E595-41B0-A6D2-D730DFA07B55</SessionID>
  </env:Header>
  <env:Body>
    <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">
      <BOM>
        <BO>
          <AdmInfo>
            <Object>oStockTransfer</Object>
          </AdmInfo>
          <Documents>
            <row>
              <CardCode>V00204</CardCode>
            </row>
          </Documents>
          <Document_Lines>
            <row>
              <ItemCode>Raw Colostrum</ItemCode>
              <WarehouseCode>TANK1</WarehouseCode>
              <Quantity>2.5</Quantity>
              <FromWarehouseCode>FREEZER1</FromWarehouseCode>           
            </row>
          </Document_Lines>
          <BatchNumbers>
            <row>
              <BatchNumber>140505155901743</BatchNumber>
              <Quantity>2.5</Quantity>
              <BaseLineNumber>0</BaseLineNumber>            
            </row>
          </BatchNumbers>
        </BO>
      </BOM>
    </dis:AddObject>
  </env:Body>
</env:Envelope>

Hi Ritu,
I don't know exactly what the problem is, but the following xml is working for me ( using StockTransferService):
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MsgHeader xmlns="http://www.sap.com/SBO/DIS">
            <SessionID>87CC6D32-2724-49EA-BD30-EA6DD1F0810C</SessionID>
            <ServiceName>StockTransferService</ServiceName>
        </MsgHeader>
    </soap:Header>
    <soap:Body>
        <Add xmlns="StockTransferService">
            <StockTransfer xmlns="http://www.sap.com/SBO/DIS">
                <FromWarehouse>01</FromWarehouse>
                <ToWarehouse>02</ToWarehouse>
                <StockTransferLines>
                    <StockTransferLine>
                        <ItemCode>B10000</ItemCode>
                        <Quantity>1</Quantity>
                        <WarehouseCode>02</WarehouseCode>
                        <BatchNumbers>
                            <BatchNumber>
                                <BatchNumber>B1-00067</BatchNumber>
                                <Quantity>1</Quantity>
                                <BaseLineNumber>0</BaseLineNumber>
                            </BatchNumber>
                        </BatchNumbers>
                    </StockTransferLine>
                </StockTransferLines>
            </StockTransfer>
        </Add>
    </soap:Body>
</soap:Envelope>
regards,
Maik

Similar Messages

  • What is Cycle or steps to create Stock transfer between plants.

    What is Cycle or steps to create Stock transfer between plants.
    Reply with T Codes & Justify

    Hello RM
    We can transfer stocks within a company code between 2 plants using 3 methods:
    1) Using single step simple stock transfer (Mvt Type 301).
    2) Using two step stock transfer (Mvt Types 303 and then 305).
    3) Using a stock transport order(STO) again it is based on 2 things:
    a) r u using STO with delivery or
    b) without delivery.
    Though the first two steps are very simple to process but using STO has its own advantages: 1) Quantity in transit can be monitored 2) delivery costs can be entered in the STO.
    First 2 steps (single step and 2 step plant to plant transfer) can be done using MIGO tcode , selecting stock transfer and entering the relevant mvt types.
    would like to tell you about STO as it is an important process.
    STO without delivery, the following functions are provided to support the Internal Stock Transfer without Delivery :
    #Create Stock Transport Order
    #Post goods issue for stock transport order
    #Post goods receipt for stock transport order
    Config Step required before processing above steps:
    Setting Up Stock Transport Order: Purchasing Document Type, the purpose of this activity is to specify which document type is to be used for a certain combination of supplying (issuing) plant and receiving plant.
    Path go to SPRO--MM-Purchasing---PO-Set up STO-----assign doc type, one step procedure, underdelivery tolerances.
    There you have to enter your supplying and receving plant with the Purchasing doc type( UB).
    Now the process:
    1) Receiving plant will create a STO towards issuing plant.
    2) Issuing plant will transfer material from their unrestricted use stock to stokc in transit using mvt type 351.
    3) Receiving plant receives the goods using MIGO mvt type 101.
    Regards
    Yogesh

  • Any delivery note can be created if transfer materil in storage location

    hi
    any delivery note can be created if transfer material between storage location in the same plant. Or can i do the GR for that

    Hi,
    This might help you.
    311 Transfer posting storage location to storage location in one step
    The quantity is transferred from unrestricted-use stock of the issuing storage location to unrestricted use in the receiving storage location.
    Possible special stock indicators:
    E, K, M, Q
    See also 321, 343, 349, and 455 for other stock types
    313 Stock transfer storage location to storage location in two steps - removal from storage
    The quantity is transferred from unrestricted-use stock of the issuing storage location to stock in transfer in the receiving storage location.
    Possible special stock indicators:
    None
    315 Transfer posting storage location to storage location in two steps - placement in storage
    In the receiving storage location, the quantity is transferred from the stock in transfer to the unrestricted-use stock.
    Possible special stock indicators:
    None
    Reward points if useful
    Regards,
    Amrish Purohit

  • Stock Transfer using movement type 309 of in-transit material

    Hi Gurus,
    We have a scenario where we want to post a 309 movement type on an intransit STO stock (sto is done from PWO, this is done to solve a SOX compliance problem). But it seems that this is not possible as the 309 can not be posted without a s. loc. Is there any alternative to this? Can a two step transfer using 313 and 315 do the trick? Please advise.
    Thanks

    In real life you cannot do anything to a material that is somewhere on the road, hence it is pretty limited what you can do in SAP.
    What exactly do you want to do?

  • Can we create standby database on same server as primary database

    I have Oracle 10g Rel2, OS Windows server 2003. Can I create standby database on same server on which we have our primary database?

    Bharat Kaushik wrote:
    I have VMware server s/w, do i need to create 2 virtual machines inside the one installation of VMware server? Or do i need to have 2 different installation of VMware server?You could think of VMWare Server in similar terms are Oracle Database Server.
    The HOME: The VMWare Server s/w is put into a "VMWare Home" (I use VMWare Workstation, it goes into C:\Program Files\VMware\VMware Workstation)
    The INSTANCE: WHen I create a VM Image, I specify the name (like a SID), configuration (like PFILE), and location (like ORACLE_BASE/oradata/ ...)
    And just like Oracle with which I can have 2 or more instances running on the host (if there is sufficient memory and other resource), I can have 2 or more VM Images running on my host.
    And just like Oracle, if I have insufficient resources, things get slow like molasses in the middle of winter.
    Hope your desktop has at least 4GB of OS-addressible RAM and at least dual-core CPU. ALternately ... I hope you have lots of coin for the coffee machine.

  • HT5071 Can I create a book using the IBooks Author word processing software, save it as a PDF, then have it professionally printed by an offset press to sale in brick and mortar stores? If so, is this procedure free me from any IBooks restrictions?

    Can I create a book using the IBooks Author word processing software, save it as a PDF, then have it professionally printed on an offset press to sale in brick and mortar stores? If so, is this procedure free from any IBooks restrictions?

    It's your content, under your control.
    If you output as an .ibooks file, and you want to sell it, the store is the only outlet, otherwise, you can do as you wish.

  • How can i create splash screen using netbean?

    how can i create splash screen using netbean?

    Welcome to the Sun forums.
    gabbyndu wrote:
    how can i create splash screen..Java 6 offers a splashscreen functionality. See [New Splash-Screen Functionality in Java SE 6|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/] *(<- link)* for details.
    [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] has offered splash screens to applications since Java 1.2. See [How can I provide my own splash screen?|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206] in the JWS FAQ for more details.
    .. using netbean?We don't support Netbeans here. Ask that on a [Netbeans forum|http://forums.netbeans.org/].

  • How can i create slaes order using BAPI

    hi all,
    i didnt work on BAPIS .how can i create sales order using BAPI here i should pass Z values.
    Moderator message : FAQ, search for available information. Thread locked.
    Edited by: Vinod Kumar on Sep 13, 2011 12:22 PM

    Hi!
    There are a lot of answered threads regarding your question. Try searching first. Below is a sample link.
    BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    Steph
    Edited by: stephquion on Sep 13, 2011 8:25 AM

  • Can I create Oracle Database using Java ???

    HI ...
    Can I create a Database using Java... ? If yes can any one tell me how ? I mean provide some codeing help... ???

    If you mean a table yes, since the create table statement is exactly that, an SQL statement, if you mean an SID then I would have to say (AFAIK) no.

  • How can I create DVD Label using Photoshop Elements 10?

    How can I create DVD label using Photoshop Elements 10?
    Richard

    You can create the design for a DVD label in Create>More Options. Once you have the label set up, you would copy it to a template for the labels you plan to use. (The PSE template makes one label, while most printed labels are two-up.)

  • How can we create info record using IDOC INFREC?

    Hi Friends,
    Can we create info record using IDOC INFREC. If Yes. How?
    Regards,
    Narendra

    Using IDOC INFREC & FM IDOC_INBOUND_SINGLE

  • I can't create an Infotype using PPCI

    Hello all!!
    Please, I need help!!! I can't create an infotype using PPCI. After a lot of changes, I've created some objects by hand, but, when I execute transaction PPCI I still have the same error, Impossible to create.
    Following you can see the tree... please, can anybody help me!!!
    Infotype 9504
           Dictionary
               Structure HRI9504 exists
               Structure P9504 exists
               Table HRP9504 exists
                   HRP9504 created in the database
                   Database index XXXX not created
           Module Pool
               Module pool MP950400 exists
               Include MP950420 exists
               Include MP9504BI exists
           Screens
               Screen 1000 exists
               Screen 2000 exists
               Screen 3000 exists
         User interface
             User interface for MP950400 exists
         Table entries
             T778T: no table entries exist
             T777T: no table entries exist
             T777D: no table entries exist
             T77ID: no table entries exist
             T777I: no table entries exist
             T777Z: no table entries exist
             T77OA: no table entries exist
             T777M: no table entries exist
             T778U: no table entries exist
             T777U: no table entries exist
             T77NI: no table entries exist
         SOBJ entries
             OBJECT PDST: no table entries exist
             OBJECT PDWS: no table entries exist
         TADIR entries
             R3TR TABL HRI9504 exists
             R3TR TABL P9504 exists
             R3TR TABL HRP9504 exists
             R3TR PROG MP950400 exists
             R3TR PROG MP950420 exists
             R3TR PROG MP9504BI exists
             R3TR DIAL RH_INFOTYP_9504 does not exist
    Please, how can I create the index and the Dialog Module? I can't created by hand using SE35!!
    Need help!! Thanks!!!!

    Hi Rebeca,
    Please maintain tables manually via SM30.
    You can check the following article :
    http://www.sdn.sap.com/irj/scn/articles-erp-all?startindex=81
    And please close other threads on the same subject.
    Regards,
    Dilek

  • Creating stock transfer reservation instead of P.req

    Folks,
    We have two materials ,both are external procurement and both are the same master data but one materials creating P.req and another materials is creating Stock transfer reservation(category BD) instead of P.reqs,Is there any specific setting which we missed to create P.reqs.
    Please through some lights on this.
    Regards,
    Prabhu

    Hello all,
    The issue was resolved,In the transportation lane the source location is maintained as 1007 location type(Storage location MRP area).
    Regards,
    Prabhu

  • How can I create a directory on my server using FTP in applescript?

    Hi
    I have created a script which successfully uploads files to my server using FTP and a curl command.
    The one thing I haven't worked out how to do is how to create a directory on my server using applescript. At the moment I have to manually create the correct directory for the script to work, but would like to be able to automate everything.
    Would this be possible?
    Thanks
    Nick

    Thanks Bernard.
    I have tried that and still get the error message:
    "curl: Can't open '--ftp-create-dirs'!
    curl: try 'curl --help' or 'curl --manual' for more information
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
    curl: (9) Server denied you to change to the given directory"
    The other relevant parts of the script are:
    set ftp_url to "ftp.****.org.uk/artists/" & artistName2 & "/assets/"
    set ftp_username to "*****@*****.org.uk"
    set ftp_password to "****"
    set ftp_entire to ftp_username & ":" & ftp_password & " ftp://" & ftp_url
    set outPath to outputFolder & fileCounter & ".jpg"
    and then...
    do shell script ("curl -T --ftp-create-dirs " & outPath & " -u " & ftp_entire)
    Like I said, all works fine when the directories are already in place. I have permissions for the artists folder set to "777", i.e. writable. Because the script is trying to create two directories at once, i.e. "artistName2" and then "assets" under it, I wondered if this was significant, but then I tried with just one new directory, and still got the error.

  • Can I create a file using pl/sql code in application server ?

    Hi
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?
    Please help me with an example...in this regard
    Regards
    Sa

    864334 wrote:
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?And how is this "file" to be delivered?
    Files can be created by PL/SQL code and stored in the Oracle database as CLOBs. This a fairly easy and robust process. It runs entirely in the database. It conforms to transaction processing. The "file" (as a CLOB) resides in the database and can thus be secured via database security, is part of database backups and so on.
    The basic issue is how to deliver the contents of the CLOB to the user. If via FTP, then the database can directly FTP the contents of the CLOB to the FTP server as a file. If via HTTP, the database can deliver the CLOB as a HTTP download directly to the web browser.
    If the client is Java or .Net, then the CLOB contents can be delivered via SQL or DBMS_LOB or a custom PL/SQL interface.
    In such cases, there is no need to step outside the secure and flexible database environment and create a physical o/s file in the wild (outside the controls of database security, data integrity and transaction processing). This is thus recommended and is the preference.

Maybe you are looking for

  • I don´t have a mighty mouse but my mac thinks there is one.

    Hi, I don´t have a mighty mouse, I only got a normal Microsoft mouse. It works totally fine but every few minutes my computer sais that I my mighty mouse is connected and then another few minutes later it sais its disconected. My Macbook thinks there

  • Encore project won't load

    I have 2 encore projects - significant because they have about 22 video clips linked together with a dozen or so menus.  One is a copy of the main project and neither of them will load for me. I'm using CS5.  Prior to today everytime I wanted to load

  • How to get rid off these warnigs?

    I have tried some code to use UILable and its attributes in tableView. These are working well but providing some error as following:- /Users/karthikreddyc/Desktop/satya/iphone-obj-c/MyTable-ipa-obj-c/Classes/MyTabl e_ipa_obj_cViewController.m:71: war

  • Difference between user exists&badi's

    difference between user exists&badi's

  • Question on metadataExportMode for web engine

    Hi, I posted in SDK forum but could be a generic query. Would relly appreciate someone's help. I'm working on creating a web gallery plugin. I noticed there is a feature 'Metadata' with options 'All' or 'Copyright only' in default HTML gallery 'Outpu