Error in creating delivery document from stock transport order

hi sd gurus plz help i m nt able to create delivery in vl10b from stock transport order me21n after giving shipping point and  po number also. can u help me out and can u tell me how to maintain copy control from stock tarnsport to delivery docu.

Hi Debesh,
The settings for Delivery type for STO is maintained using the following path:
Materials Management>Purchasing>Purchase Order>Set up Stock Transport Order>Assign Delivery Type and Checking Rule . Here you assign the Delivery type to Stock Transport order (with reference of Suplying Plant)
For creation of STO for delivery creation use T-code- VL04. Enter the Relevant Shipping Point and the Delivery Creation Date. Also tick mark the option Purchase order. If you already have a Purchase order enter the no.
System will show the details of the STO here by using the Main Menu > Delivery> Create Deliveries you can create the Delivery against the STO. Then by using the VL02n option you can do the Picking / PGI for the Delivery.
Hope the above helps you.
REWARD if it helps you!!
Regards,
Ajinkya

Similar Messages

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Delivery costs in stock transport order

    Dear SAP experts,
    We want to add certain delivery cost in the stock transport order.
    We create a new pricing schema with 3 delivery cost conditions "Z" conditions. The new pricing schema is assigned to the stock transport order doc type.
    In transaction code me27, when the try tp enter the delivery cost conditions by clicking on the conditions icon, system given an error message saying that "Function not possible for this item". Message No. 06096.
    Pricing is as follows -
    STKP  - Stock transfer price
    Z001    10% on STKP
    Z002     2% on STKP  
    Z003     1% on STKP
    Kindly help.
    Thanks & Regards,

    Hi,
    Check the following things
    1. Make sure manual entry is allowed for Delivery Costs Condition
    2. Make sure PO is not yet processed or no subsequent documents exists for the PO so that you can manually edit the PO using ME22N.
    Thanks & Regards,

  • Intercompany billing: can price date be taken from stock transport order UB

    Hi,
    I have an issue and I think that I'm not the first person who has this problem.
    We are working with stock transport orders (UB) to relocate goods from one plant to the other (different company codes). We have some troubles with different prices in the purchase order and in the intercompany invoice because of different pricing dates.
    Example:
    1. the stock transport order is created on 15.02.2012 --> here the price date is 15.02.2012
    2. the delivery is created on 25.02.2012 (PGI date 25.02.2012)
    3. the intercompany invoice is created. On item level is placed the pricing date 25.02.2012
    This situation may lead to a price difference, as already happened several times.
    Do I have any chance to take out the pricing date from the stock transport order into the IC invoice?
    thanks for help.
    Chris

    In the copy control settings (t.code VTFL), go to item level and check what value assigned in the field price source. Assign value A and test by creating new documents. If this solution does not  resolve your issue, then check the routine assingned in the field Data VBRK/VBRP. In t.code VOFM, copy this routine and create a new routine with additional code for VBRP-PRSDT to have STO pricing date and then add this route in field VBRK/VBRP.
    Regards,

  • Delivery list for Stock transport orders

    Hello,
    I need to run a list of delivery documents (for stock transfers)  including the reference PO number also u2013 list of deliveries and to which PO document delivery belongs to.
    I tried to get that data from VL06O but there are no PO number mentioned, header with that name is found but info is missing/field is empty.
    Could you inform me with what transaction/report I could get  this information, similar as VL06O but with PO number?
    thanks
    Akkshaya

    Hi,
    is there no standard transaction for this?
    Users cant get the data from tables
    thansk
    Akkshaya

  • Error in creating delivery for STO

    Hi SAP Gurus !!
    I have these errors while trying to create delivery for a Stock Transport Order between 2 plants using transaction "VL10F"
    APO: Check instructions YA / BE does not exist for loca tion product PFSIND_SM_TEST_FCO / 2383
    APO: Check mode YA and business event BE not defined                                         
    APO: Internal error: Item $ 1/000001                                                         
    Only 0,00 PC of material PFSIND_SM_TEST_FCO available                                        
    An item with no delivery quantity is not permitted. Item will be deleted.                    
    I have chcked that there is sufficient stock available at the storage location level in the supplying plant.
    Can you please help me out of this please......

    Dear,
            Please try to check whether some STO is still pending for do complete process. If there is any pending STO then stock is block for this material.
    Regards,
    Sandip Shaktavat

  • Error occuring while creating a Delivery for Stock transport order

    Hi,
    I am getting error while creating the delivery for thr stock transport order.The error message is given below.
                                                                                    Error Log for coll. run 0001248218                                                                               
    4       6000038321 000010 Only 0 ST of material F784100 available                                   
         4       6000038321 000010 An item with no delivery quantity is not permitted. Item will be deleted. 
         4       6000038321 000020 Only 0 ST of material F784100 available                                   
         4       6000038321 000020 An item with no delivery quantity is not permitted. Item will be deleted. 
         4       6000038321 000030 Only 0 ST of material F784100 available                                   
         4       6000038321 000030 An item with no delivery quantity is not permitted. Item will be deleted.                                                                               
    The stocks are present in the plant.
    Can anyone help me to solve this issue?
    Thanks
    Srinivasan

    Hi,
    Check in
    SPRO--IMG-MM-IM and PI---stock determinationassign stock determination in applications---Inventory management
    Check for 641 or 647,there is a SD rule assigned.
    Regards,
    Deepak.

  • Error while creating delivery for STPO

    Dear ALL,
    I am facing the following error while creating delivery based on the purchase order.
    """"Essential transfer parameters are missing in record""""
    Pls help me how can I proceed further.
    RGds
    Babu

    Hi
    What is the document type for the purchase order ? It seems that we may take wrong PO number in delivery creation

  • MM- outbound delivery through Stock Transport order

    How to stop the automatic creation of outbound delivery for a stock transport order(STO), in Txn ME21N. Actually after save of a transfer order of STO type, when we try to create the outbound delivery in Txn->VL10B, in background, It creates the delivery, without checking the stock in the storage location. This creates further problem in Picking. So the outbound delivery should not be created for those materials which do not have proper stock within correct storage location.
    If any one has faced it, please help me in writing user exit or any other method to validate the same.

    Hi Gajendra,
    Refer this link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/0d/fa0a415e37d349e10000000a1550b0/frameset.htm
    Reward with points if it is helpful
    Regards
    Alfred

  • Proforma Invoice (F8) for Stock Transport Order

    With regard to intra-company STO, we have a specific requirement:
    Referencing delivery document generated using Xn: VL10B (delivery from Stock Transport Order), we create proforma invoice type F8. Subsequently, excise invoice is created referencing the proforma invoice.We need to capture the material cost plus 10 % of material cost as PR00 value in the invoice.
    Problem:
    However, here comes the problem: condition type PR00 does not come automaticcally in the proforma invoice, though pricing procedure has PR00 condition type. We have to manually entere the PR00 condition type for every line item (a routine calculates 110% of the value once value is enetered in the manually entered condition)
    Is it the standard system behaviour ? Any way out?
    with kind regards
    Muraleedharan.R

    Hi,
    Have you maintained the condition records for PR00 , if not than you have to enter it manually at the item level .
    If your price is same for all the items than maintain use header condition or else at item level you have to enter PR00 item by item.
    Regards,
    Krishna O

  • What is Purpose and Usage of "Stock Transport Order" in Purchase Order.

    Sap Masters,
                       I have Created One PO Order with type <u><b>UD-Stock Transport Order</b></u>.
                       But I didn't know, How to Process in T_Code <b>VL10B</b>.
                       Kindly, Describe What is the Usage of VL10B Transaction ? And How to Proceed
                       it ?

    Hi,
    A number of procedures are available to enable you to transfer materials from one plant to another:
    -> Stock Transfer Between Plants in One Step
    -> Stock Transfer Between Plants in Two Steps
    -> Stock Transport Order Without Delivery
    -> Stock Transport Order with Delivery via Shipping
    -> Stock Transport Order with Delivery and Billing Document/Invoice
    In Purchasing, you can request and monitor a stock transfer with a:
    -> Stock transfer order
    -> Purchase requisition
    -> Scheduling agreement
    When a stock transfer involves two company codes and the issuing of a bill, you do not create a stock transport order but a standard purchase order
    (see also Cross-Company Stock Transfer).
    Where to find information about this?: See SAP-Library
    -> MM
    -> IM (inventory mgt)
    -> managing special stocks
    -> stock transfer in purchasing
    Best regards
    FSA

  • BAPI for cross company-code stock transport order

    Hello experts,
    I need to create cross company-code stock transport orders, is there any bapi that can perform this? If you guys have some sample code it will be great.
    PD: i found the bapi BAPI_PO_CREATE1, but i don't really know if it'll work for this requirement.

    Hi Team,
    I have created two company codes 5000 and 5005 and then assigned the plants 5000 and 5005 to company code respectively.
    Here my supplying plant is 5005 and receiving plant is 5000.
    Also I have created a vendor 1000 with account group 0007 and assigned the supplying plant 5005 to it.
    1. How do we assign sales and distribution (SD) organizational units to the supplying plant?
    2. Whether we have to create customer master (using Tcode XD01) for the supplying plant?
    3. While creating the customer master, the company code and sales area (sales organization, distribution channel, division) must be of supplying company code / plant?
    4. Whether we have to create customer master for receiving plant?
    5. While assigning the customer master to plant, which sales area info (sales organization, distribution channel, division) has to give?
    Please give the detail from customer master creation and assigning it to plant.
    Thanks in advance,
    Regards,
    Shyjith
    REPLY -
    Hi Shyjith,
    1. Create vendor 1000 as internal vendor in company code 5000 & assign supplying plant 5005 in additional data in Purchasing tab.
    2. Create receiving plant as 5000 as internal customer in company code 5005 & respective sales area of 5005 , if you have no other numbre range for internal customer.
    3.In SPRO do the following settings,
      a.efine shipping data for both receiving & supplying plant --- SPRO - MM -- Purchasing -- Purchase order --- Set up stock transport order -- define shipping data for plants
       b. Assign delivery type as NLCC to supplying plant 5005.
    Craete Purchase order with vendor as 1000 & plant in purchase order as 5000 ( If not defined any external number for customer)
    Please note if you have defined external muber for customer 5000, the n you have to define that number, when you will be defining shipping data for receiving plant as customer.
    Thanks,
    Charu

  • Project Systems - Inter company stock transport orders

    We are implementing SAP Project Systems module for our client as part of ECC 6.0 global roll out and we are looking for a solution to meet the with following business scenario:
    The sales company (CC : US01)  receives a purchase order for large project from an external customer. The sales company creates a sales order in SAP with delivering plant  that belongs to another legal entity ( CC : US02 and plant : USP2) that has the main engg.facility . Two projects ( WBS elements ) are created for the sales company and engg.company . WBS element 1 element is used to drive milestone billing for the external customer and WBS2 element is created to post revenues and costs for the main engg.company
    ( CC :US02). The main engg.company plant ( USP2) has to procure sub structures from another legal entity in the company ( CC :US03 and plant :USP3) . We are creating an inter company stock transport order from USP2 ( main engg.company ) on plant USP3. In standard SAP , the stock transport order carries WBS2 that belongs to purchasing plant. But the business requirement is to have their own WBS element for USP3 plant to capture costs and revenues. What's the best of way of meeting the above business requirement either through standard SAP configuraion or some user exists with manual process.
    I'd appreciate any suggestions or ideas from the experts !
    Thanks

    Hi,
    Please check if the below link helps.
    [Project with Intercompany Billing|http://help.sap.com/bp_bblibrary/500/html/D48_ProjInterBill_EN_US.htm]
    Regards,
    P Gomatheeswaran

  • Stock Transport Order (STO)will not create delivery

    I have created a intercompany Stock Transport Order (STO) and it has created the shipping tab in the Purchase order(PO), and all seems to be correct.
    I have material in the plant, yet when I go to create the delivery using VL10G, the PO does not show as a choice. I also do not get an error, so I cannot tell why it is not creating the delivery.
    Is there a way to see an anaylis of why the STO is not showing as a choice?
    Thanks,

    Hi,
    Please check the delivery date in the STO created.and adjust the del creation date etc input fields at VL10G and try the posting.If there exists no error in the po created.

Maybe you are looking for

  • Airport extreme hosted hard drive not recognized by Disk Utility

    Hi, all.  I've had success for a month now hosting a 4T hardrive wirelessly via my Airport Extreme.  I use it for Time Machine backups and remote storage.  So I'd like to repartition that hardrive via Disk Utlity, however Disk Utility no longer recog

  • Financial Statement Export Completed with Error

    Submit 'Financial Statement Export' with the parameter as following: Ledger Name:& Ledger Name Report: &Predefined FSG Report Period: &Period Rounding Option:Calculate Then Round Segment Override: Null Accounting Date:&Date Template:Balance Sheet Exp

  • Using MS-Access database in JSP application

    Hi, all. I am new in JSP world. I have an Access database and I�d like to access it in my JSP Application. Does anybody know I could do this? TIA Fernando

  • IPhone not syncing... not recognized

    Hi, I have a iPhone 3, trying to sync it to a new computer. I have authorized the computer, and when I plug it in it makes the little "ding" sound so I know that the chord is good and it's recongizing something. It doesn't come up on the menu bar to

  • Unmatch in between Mac, iPhone and iPad

    I am using Feedly and feeds do not match in between Mac, Iphone and Ipad. How can I make them all sync? thanks