Reg.Sale order release from completed status

Dear Experts
We create new order type DOM for domestic sales and configured. And made one despatch for part quantity after despatching which got delevery completed automatically.I found it in sale order header "Status " tab.
How to solve this problem. I want to make further despatch. Pls help
thanks
Rajakumar.K

hi,
if you have billed that partial quantity the system will show that
the delivery is 'completed', but in order status it will be 'being processed' as
u still have open items yet to be delivered.
regards,
anand

Similar Messages

  • Sales order released from Credit block, but Purchase Requistion not created

    Hi,
    In third party sales scenario based on Scheduline Line category configuration purchase requistion creates when the order is created. If order is blocked for credit check then purchase requistion will not be created until order released from credit.
    Here my scenario is
    I have two users like A and B. When A releases the order from credit block by using transaction VKM1, Sales order releasing from credit and creating Purchase requistion. But, if the order is released by B, Sales order is getting released from credit but purchase requstion is not getting created.
    There is no issue from security side, we activated trace and analysed everything it is not security issue.
    Thanks and Regards
    Alokam Chandra Sekhar

    Hi Lakshmi,
    Thanks for reply. I followed your instructions, pls find my observations below.
    1. Can you check the below settings:
    What is the Credit status in the header status tab page of the sales order for the B's sales order?
    Is it "Not approved or releasedu201D If it is not approved, you might have released the sales order in VKM3, but you might not have saved it.
    Reply: We are releasing order through VKM1 and after releasing the order the status is showing as "Released".
    2. Did you use the same material for B's Sales order? If it a different material check the Item category and Schedule line category whether these are same with A's sales order.
    Reply: Both the orders has same information, like material Item category and scheduline category
    3. Check in the Schedule line tab page --> Procurement button whether you have maintain vendor, Source determination and Info record.
    Source list has been verified through ME03 transaction and vendor data maintained correctly.
    I really appreciate your time and efforts on this.. looking forward some more suggestions...
    Thanks and Regards
    Alokam Chandra Sekhar

  • Workflow for Sales Order Release via Status Profile

    Dear all,
    i want to make a workflow for sales order which have 4 User Status in One status profile.
    Once Event triggered for sales order
    1.   Mail should go to main authority with sales order number.
    2.  Once authority will do some changes in the required field then he/she changes
         the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
    3.  Once again same changes in sales order but now user status-2 from user status-1
         as per line Item and mail should go to department no-2 (Head authority).
    4.  Once again same changes in sales order but now user status-3 from user status-2
         as per line Item and mail should go to department no-3 (Head authority).
    5.  Once again same changes in sales order but now user status-4 from user status-3
         as per line Item and mail should go to department no-4 (Head authority) .
    and parrally for each changes of Status mail should also go to User (Event Creator).
    6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
    Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
    please help me out.
    Thank You

    Hi Neeraj,
    First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
    Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
    As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
    The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
    Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
    Just go with these things and let me know if you get stuck up somewhere.
    Regards,
    Guddan

  • Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and  yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Thanks for your advise.
    However, I missed to mention that we have two set of users  One is for Finished Goods and another for Spares.
    Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
    As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
    Further, I tried to test one scenario through Processing Constraints but it did not work.
    Application
    OM
    Validation Type
    Entity
    Temp
    Short Name
    TBL
    Validation Semantics
    Created By
    Equal To
    User(Myself)
    Processing Cosntraint
    Application
    OM
    Entity
    Order Header
    Constraint
    Operation
    User Action
    Create
    Not Allowed
    Conditions
    Group
    Scope
    Validation Entity
    Record Set
    Validation Template
    101
    Any
    Order Header
    Order
    Above Created
    Please advise.

  • SD Sales order release for MTO

    Hi All,
    I have a scenario regarding the sales order release.
    The requirement is that, when i create a SO, it should be blocked automatically and never allow to create other subsequent document, unless its released in the SO.
    I have completed doing the release procedure for SO.
    Now my requirement is that, in MD04 the SO should'nt show any requirements, unlessSales order is released.
    Thanks
    Best Regards
    Prabbath

    HI GSL,
    Thanks for your reply.
    May i know how to make the reason for rejection as a default while creating the SO.Since the User creates the SO and while the document is saved SO will be in blocked, due to status profile.
    And only the authorized person can release the SO and deactivate the reason for rejection.
    The user cannot choose reason for rejection.
    Please let me know if there any solution.
    Thanks
    Best Regards
    Prabbath

  • Sales Order Reporting - Shipped Complete

    In SAP R3 is there a standard report that shows if an order shipped complete ?  i.e. all line items entered on sales order have shipped.

    Hi,
    You can check the delivery status in T-code VA05 under Status which will show the line items for which deliveries are created. But this won't have any info about goods movements. i.e PGI. Once a delivery document is created agiants a sales order lie item this status field will get updated as delivered/partially delivered.
    There is no std report is avail which give you the info abt the line items of SO for which PGI is done. You have to go with the above suggested report development(VBFA with R).
    Reg,
    JJ

  • Sales Order uplaod from JAVA to SAP R/3

    Hi all,
    My cousin is working on uploading Sales Order Document
    from java server to R/3.
    for that he is having a code from JCO jar.
    the below is the file from which one can upload his SO details from JAVA to R/3.
    But in this program he is  just able to upload one Item detail for one Sales document.
    but requirement is to upload 'n' item details for one Sales document.
    Here is the Java code.
    @author pega
    TODO To change the template for this generated type comment go to
    Window - Preferences - Java - Code Style - Code Templates
    Created on Jun 24, 2004
    To change the template for this generated file go to
    Window>Preferences>Java>Code Generation>Code and Comments
    package com.sap.satyam.salesorder;
    import java.sql.Timestamp;
    import java.util.Calendar;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class SalesOrder {
         static final String SID = "R3";
         static final String errorID = "E";
         IRepository repository;
         //String orderNumber = orderCreation("M-01","3000","0002",3,"ST");
         int counter;
         public SalesOrder()
                   try {
                        // Add a connection pool to the specified system
                        JCO.addClientPool(SID,            // Alias for this pool
                                             10,            // Max. number of connections
                                             "800",           // SAP client
                                             "develop",  // userid
                                             "bslabap", // password
                                             "EN",         // language
                                             "172.18.33.20",    // host name
                                             "00");
                        // Create a new repository
                        repository = JCO.createRepository("MYRepository", SID);
                   catch (JCO.Exception ex) {
                        System.out.println("Caught an exception: \n" + ex);
         //     Retrieves and sales order Create
         public void createSalesOrder(String PO_NO, String MAT,String RQTY,String CUSTMAT, String SOLD_NAME, String SOLD_STREET,String SOLD_COUNTRY, String SOLD_POST_CODE,String SHIP_NAME, String SHIP_STREET,String SHIP_COUNTRY, String SHIP_POST_CODE)
              try {
                   // Get a function template from the repository
                   IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_SALESORDER_CREATEFROMDAT1");
                   JCO.MetaData so_metadata = new JCO.MetaData("BAPI_SALESORDER_CREATEFROMDAT1");
                   // Create a function from the template
                   JCO.Function function = new JCO.Function(ftemplate);
                   // Get a client from the pool
                   JCO.Client client = JCO.getClient(SID);
                   // Fill in input parameters
                   // Header
                   JCO.ParameterList input = function.getImportParameterList();
                   JCO.ParameterList tables = function.getTableParameterList();
                   JCO.Structure input_header = input.getStructure("ORDER_HEADER_IN");
                   // Item details
                   JCO.Table table_item = tables.getTable("ORDER_ITEMS_IN");
                   //JCO.Structure input_item = table_item.getStructure("ORDER_ITEMS_IN");
                   // Partner details
                   JCO.Table table_partner = tables.getTable("ORDER_PARTNERS");
                   // Populate the header details
                   input_header.setValue("ZAD5","DOC_TYPE"); // Document Type
                   input_header.setValue("3000","SALES_ORG"); // Sales Organization
                   input_header.setValue("10","DISTR_CHAN");  // Distribution Channel
                   input_header.setValue("00","DIVISION");  // Distribution Channel
                   input_header.setValue("20041212","REQ_DATE_H");// can be changed in yyyymmdd (Requested date)
                   input_header.setValue(PO_NO,"PURCH_NO_C");// can be changed ( Customer PO Number )
                   //Populate the item detalis
                   table_item.appendRow();
                   table_item.setRow(1);
                   table_item.setValue("000010","ITM_NUMBER");
                   table_item.setValue("AA01","PO_ITM_NO");// can be changed
                   table_item.setValue("IAD-SC3000","MATERIAL");
                   table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
                   table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
                   table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
                   table_item.appendRow();
                   table_item.setRow(2);
                   table_item.setValue("000020","ITM_NUMBER");
                   table_item.setValue("AA01","PO_ITM_NO");// can be changed
                   table_item.setValue("IAD-SC3000","MATERIAL");
                   table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
                  table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
                   table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
                   //Populate the Partner details
                   // Sold to Party
                   table_partner.appendRow();
                   table_partner.setRow(1);
                   table_partner.setValue("AG","PARTN_ROLE");
                   //table_partner.setValue("0000002007","PARTN_NUMB");
                   table_partner.setValue("0000100067","PARTN_NUMB");
                   table_partner.setValue(SOLD_NAME,"NAME");  // can be changed
                   table_partner.setValue(SOLD_STREET,"STREET"); // can be changed
                   table_partner.setValue(SOLD_COUNTRY,"COUNTRY");
                   table_partner.setValue(SOLD_POST_CODE,"POSTL_CODE"); // can be changed
                   // Ship to party
                  table_partner.appendRow();
                   table_partner.setRow(2);
                   table_partner.setValue("WE","PARTN_ROLE");
                   table_partner.setValue("0000100067","PARTN_NUMB");
                   table_partner.setValue(SHIP_NAME,"NAME");// can be changed
                   table_partner.setValue(SHIP_STREET,"STREET"); // can be changed
                   table_partner.setValue(SHIP_COUNTRY,"COUNTRY");
                   table_partner.setValue(SHIP_POST_CODE,"POSTL_CODE");// can be changed
                   // Call the remote system
                   client.execute(function);
                   // Print return message
                   JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
                   System.out.println("BAPI_SALES_ORDER_GETLIST RETURN: " + ret.getString("MESSAGE"));
                   // Get table containing the orders
                   //JCO.Table sales_orders = function.getTableParameterList().getTable("SALES_ORDERS");
                  JCO.Field sales_order = function.getExportParameterList().getField("SALESDOCUMENT");
                   // Print results
                   String so = sales_order.getString();
                   String message = ret.getString("MESSAGE");
                   String message_type = ret.getString("TYPE");
                   if  (message_type.equalsIgnoreCase("E"))  {
                        System.out.println("Error in Sales Order Creation:" + message);
                   else{
                        System.out.println("Sales Order " + so + " Created Succesfully");
                   // Release the client into the pool
                   JCO.releaseClient(client);
              catch (Exception ex) {
                   System.out.println("Caught an exception: \n" + ex);
         //     Retrieves and sales order Create
          public void listSalesOrders()
               try {
                    // Get a function template from the repository
                    IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_SALESORDER_GETLIST");
                    // Create a function from the template
                    JCO.Function function = new JCO.Function(ftemplate);
                    // Get a client from the pool
                    JCO.Client client = JCO.getClient(SID);
                    // Fill in input parameters
                    JCO.ParameterList input = function.getImportParameterList();
                    //input.setValue("0000002007", "CUSTOMER_NUMBER"   );
                    input.setValue(      "3000", "SALES_ORGANIZATION");
                    //input.setValue(         "0", "TRANSACTION_GROUP" );
                    //input.setValue("PO_NUMBER_JAVA01","PURCHASE_ORDER_NUMBER");
                    // Call the remote system
                    client.execute(function);
                    // Print return message
                    JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
                    System.out.println("BAPI_SALES_ORDER_GETLIST RETURN: " + ret.getString("MESSAGE"));
                    // Get table containing the orders
                    JCO.Table sales_orders = function.getTableParameterList().getTable("SALES_ORDERS");
                    // Print results
                    if (sales_orders.getNumRows() > 0) {
                         // Loop over all rows
                         do {
                             counter++;
                              System.out.println("--" + counter + "--
                              // Loop over all columns in the current row
                              for (JCO.FieldIterator e = sales_orders.fields(); e.hasMoreElements(); ) {
                                   JCO.Field field = e.nextField();
                                   System.out.println(field.getName() + ":\t" + field.getString());
                              }//for
                         } while(sales_orders.nextRow());
                    else {
                         System.out.println("No results found");
                    }//if
                    // Release the client into the pool
                    JCO.releaseClient(client);
               catch (Exception ex) {
                    System.out.println("Caught an exception: \n" + ex);
         public static void main(String[] argv) {
              SalesOrder so = new SalesOrder();
              so.createSalesOrder("PO_NUMBER_JAVA02", "","0000000020000","121-223-2332-1231", "SOFTWARE SYSTEME GMBH-WE", "STREET-SH","US", "53125","SOFTWARE SYSTEME GMBH-WE", "STREET-SH","US", "53125");
              //so.listSalesOrders();     
    >>>>Please if any of SDN users can help in resolving this issue. It will be very helpful to my cousin.

    Before:
    //Populate the item detalis
    table_item.appendRow();
    table_item.setRow(1);
    table_item.setValue("000010","ITM_NUMBER");
    table_item.setValue("AA01","PO_ITM_NO");// can be changed
    table_item.setValue("IAD-SC3000","MATERIAL");
    table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
    table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
    table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
    table_item.appendRow();
    table_item.setRow(2);
    table_item.setValue("000020","ITM_NUMBER");
    table_item.setValue("AA01","PO_ITM_NO");// can be changed
    table_item.setValue("IAD-SC3000","MATERIAL");
    table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
    table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
    table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
    Try to add:
    //Populate the item detalis
    table_item.appendRow();
    table_item.setRow(2);
    table_item.setValue("000020","ITM_NUMBER");
    table_item.setValue("AA01","PO_ITM_NO");// can be changed
    table_item.setValue("IAD-SC3000","MATERIAL");
    table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
    table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
    table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
    table_item.appendRow();
    table_item.setRow(2);
    table_item.setValue("000020","ITM_NUMBER");
    table_item.setValue("AA01","PO_ITM_NO");// can be changed
    table_item.setValue("IAD-SC3000","MATERIAL");
    table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
    table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
    table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
    Regards.

  • Stop sales order replication from CRM to R/3

    Hi friends,
    How can we stop the sales order Replication from CRM to  R/3? Pls Guide me.
    Thanking u in advance.

    Hi Madhu,
    You can do by making distribution lock set in further statuses  of the CRM sales order.
    It will stop replication of CRM sales order to ECC.
    Regards,
    Madhu

  • Find Sales order number from IDOC number

    I have a bunch of SO idocs, in status 64. They are then posted and Sales orders are created.
    How can I programatically find the Sales order Number from the Sales Order idoc number once it is in status 53 (other than going to EDIDS and checking if status = '53' and grabbing the 'STAPA2' field there ).

    Look at table EDIDS for sales order idocs and you can see SO number in any of STAPA1/2/3/4 variable for specific message id and message number.

  • CIF Transfer: Sales Order (SD) key completion of Sales order Delivery stat

    G'day Team,
    Client is using SCM7.0 & ECC6... Using Standard SD functionality we have Sales orders (ATP Categ: BM) CIF transferred from ECC to APO.  When the Sales order status is changed to Delivery (VL10g / VL01N) the Sales order disappears from MD04 and the Delivery status is viewed.
    The Delivery is CIF transferred to APO via the CIF (ATP: BR) and the delivery is found in APO Product View (/n/SAPAPO/RRP3).
    Further info is that we have a Ztable to control the SDorders coming in for specific Sales Orgs (so there is no volume of hist sales)...
    Is it standard APO behaviour for the Sales order to remain in APO with "0" qty in the Sales order & the subsequent delivery has a qty i.e: "100"..  The key information is that ONLY the delivery is found in Interactive Demand Planning (/n/SAPAPO/SDP94).
    Has any other SDN colleague had a similar issue.  Have not yet created an OSS as wanted to understand standard APO RRP3 behaviour.
    Please advise as soonest,
    Andy Goz
    SAPAPO Consultant

    G'day Srinivas,
    Thanks for your prompt info.  I have worked in CIF for 10+ years & familiar witht he deletion tools CCR & the /sapapo/SDorder_del.
    Further to last point of unprocessed queues; the ques are full process & nothing in error.
    Can you pease advise why the root cause of Delivery PGI (VL03N) is removed from ECC6 and not APO.  Standard behaviour would remove from RRP3 / SDP94.
    Client usess batch splits for the deliveries direct off line & these loc / prods are consistantly in the CCR error list "Not In R/3".
    Your prompt feedback is appreciated, binus awrded & client go-live is 2 weeks,
    Many thanks,
    Andy Goz

  • Mass sales order release.

    hi guru's,
                    Can you tell me that what to do Mass sales order release?any Tcode for tht?

    U wanted the sales orders to be released(release status) .  the scenario is the end user creates sales orders and saves them. and Sales manager after going thru them will release them(say after approving the order) for delivery- without which the end user will not be able to create delivery.
    U need to assign status profile to OR (tcode bs02) in the back ground of OR.   then the sales orders created will be released by sales manager  .  The sales manager can go for change mode of OR and then change the status .to released .  
    path- spro-sd-sales - sales docs-define n assign status profile(BS02)

  • Sales Order Releasing strategy

    Dear All
    Our SAP implimentation is going on.
    I want Sales order releasing stratety. pl help
    Eknath

    back ground of sales docs, there is a field status profile.   Go to spro-img-s&d-sales - soles documents - Define and assign Status profile -
    tcode-BS02

  • Sales Order Mass Update - Credit Status

    Hi
    When we run mass update to sales orders, there are no changes to the value of sales order, but the credit status got changed from Approved to Not approved. Customer exposure total exceede the limite. Is there a way to stop the credit check for mass update?
    Thanks.

    Hi,
    May be check the value of field KOMP-CMPRE in the sales order with net value.
    Use report RFDKLI20 to correct existing incorrect documents. This program determines the credit account and the risk category from the current payer and executes corresponding credit checks.
    Before you start report RFDKLI20, note the documentation in Note 408596.
    Regards
    Damu

  • How to enable Order release to rejected status when batch derivation fails during release

    Hi,
    I need to enable production order release to rejected status when batch derivation fails during order release.
    one way is to have Batch entry required for the sender material in the material master, with this standard SAP will reject the release.
    Below is the scenario:
    sender attribute for derivation  - VFDAT from batch of the sender material
    sender material  - Batch Entry not required in material master
    All required master data set for derivation.
    during order release, since batch entry is not required, system carries out the derivation without sender batch and derivation fails. Order still gets released.
    I am looking for advise on how to restrict release in above situation.
    appreciate your help.
    Thanks
    Aheesh

    Aheesh,  Order release for instance is based on what we see as events/system statuses which are allowed/forbidden etc., for a particular action to happen/be triggered.
    If you can figure out if there exists a status related to batch derivation, it may give some further leads.

  • Which table I can get sales order no from delivery numbar.

    Hi,
    I want sales order no from delivery no. right now I am using table VBFA where I am passing VBELN and POSNN and geting sales order no. but performance of select query is very poor bcouse I am not passing first two key fields in the select query.
    Is there any other tablefrom where we can get sales order no. from delivery no. so that performance of report can be improved.
    Thanks,

    hi,
    sales doc header ( table VBAK ) copy to Delivery header table( LIKP)
    sales doc item table ( VBAP) copy to Delivery item table( LIPS)
    you can see this in copy control VTLA ,
    now u want slaes doc no. from dilv doc. no.
    so go to t-code se11.....
    fill table LIKP u will get VBELN field for deliv doc no, & TERNR field for sales doc. no.
    so if u want to call sales doc no from dilv doc no.. u can use table LIKP in ur report.
    i hope it will help u.

Maybe you are looking for

  • I dropped my iPad2. What are the options of fixing it?

    I accidently dropped my iPad into a bricked area. I still have my warranty because it isn't a year old. Can I get it replaced or do I have to fix it? I have a engraving on the iPad 2, will the engraving be gone when they replace the back of the iPad?

  • In the evaluation mode im nt able to view my ocr result for more than 2 seconds

    im doing my final year project on image processing using labview 2010(evaluation). im using a microsoft webcam(VX-700). my objective is character recognition using vision. im able to capture an image and store the same. the software also recognizes t

  • The old TIMESTAMP issue on a query

    I have an SQL query DATE_COL = TIMESTAMP '2009-01-30 00:00:00' Where the date is generated by a repository variable with a default initializer. Now in metalink Oracle seem to suggest that we should be able to have a default initializer of DATE '30-JA

  • Stuck on Apps Store, can't access Music Store

    Since logging into the Apps store, I've been unable to get into the music store. Home button just brings me back to Apps store home. Is the Music store not activated in my home country (Singapore) or something? Help!

  • COUNT(DISTINCT) WITH ORDER BY in an analytic function

    -- I create a table with three fields: Name, Amount, and a Trans_Date. CREATE TABLE TEST NAME VARCHAR2(19) NULL, AMOUNT VARCHAR2(8) NULL, TRANS_DATE DATE NULL -- I insert a few rows into my table: INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS