Automatically creation of delivery group in the sales order

Hi Can u please tell me how do i create automatically delivery group in the sales order.

Hi,
You can maintain the complete delivery indicator in your Customer Master(Ship to Party ) record shipping tab(Partial deliveries).
As per SAP ,This indicator
Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
There by it can form a Delivery group.
Have a Nice Day.
Regards,
Ravi

Similar Messages

  • Delivery date on the sales order

    Hi frnds
    I am facing an issue here. When the sales order comes of credit hold the system proposes a new delivery date in the sales order. How can i change the settings to avoid the system from assigning weekends(Saturday & Sunday) as the delivery date????
    I have checked that the factory calendar is set for weekdays only and also the propose del date is check marked in VOV8, OVX5 & OX10 have factory calendar asssigned but i am not able to figure out how to restrict the delivery date to weekdays to be proposed by the system.!!!
    Am i missing something???
    Will appreciate your suggestions.
    null

    Hi,
    The fields needs to be activated in the filed group in accounting.
    The path is SPRO -> Financial accouting -> Accounts Receivables and Accounts Payables -> Customer accounts -> Master data -> Preparations for creating Customer master data -> Define account groups with screen layout.
    Shiva

  • Deletion of delivery and rejecting the sales order

    hi,
    my requirement is
    we have to delete the delivery and reject the sales order.
    can any body provide me the code for that.
    it is very urgent..
    thanks in advance.

    how do we come to know abt ur Config settings  in case of rejecting Sales Order ? Just ask ur functional person what to do in  this case ?
    Regards
    Prabhu

  • Complete delivery indicator in the sales order header level

    my order quantity is 10 and having the complete delivery indicator in the header level
    Complete delivery indicator in the sales order header level
    when i am doing the partial delivery i got below error
    Delivery quantity is less than quantity of 10 PC assigned to batches
    this is warehouse linked.
    Please let us know how to do the partial delivery.
    when i click on the bacth icon to reduce the quantity it is greayed out.
    is there any posiblity to reduce the quantity in the transfer order
    Please do the needfull
    thanks
    Raju.

    Hi
    Usually this Complete delivery indicator flow from Customer master data. you need to change this data in Customer Master
    Sales Area Tab under Shipping view Remove the Complete delivery indicator, also in Partial delivery per item keep the field Blank ( Partial deliveries allowed )
    I hope this will solve your issue
    Award if useful to you

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to network and project is created automatically in the background), I can not change (in change mode) the req delivery date of any item. Req delivery date is then copied from the header req delivery date.
    Is this a standard SAP functionality or a defect?

    Req del date is the date requested by customer and  can be changed at item level. Probably the confirmed date in the schedule line is derived from the network scheduling after ATP check. (ATP check is not activated in this case)
    I am able to change the req del date at item level if there is only one item (Linked to network) and not when there are two line items (Both are linked to 2 diff networks belonging to same project)
    I tried to change the date in the network, scheduled and saved but that didnt change the date in the sales order. On the contrary, if I run ATP check, netowrk dates get back to original dates derived from sales order.

  • Creation of Delivery with ref to Sales order

    Hello,
       I am trying to create the Delivery with reference to Sales Order using BAPI  -  BAPI_OUTB_DELIVERY_CREATE_SLS.
    At the of execution , i am getting the error No instance of object type OutboundDelivery has been created. External reference:.
    I have entered the sales order details in table parameter SALES_ORDER_ITEMS of BAPI. (Number range for Deliveries are internal)
    Can you please suggest me what could be the reason ?
    Regards
    Narayana

    Hi,
    Yes, copy controls are maintained for sales order type and delivery type in SPRO settings. The code as below.
    loop at t_vbap into ts_vbap.
          t_order-REF_DOC         = ts_vbap-vbeln.
          t_order-REF_ITEM        = ts_vbap-posnr.
          t_order-DLV_QTY         = ts_vbap-KWMENG.
          t_order-SALES_UNIT      = ts_vbap-VRKME.
          t_order-SALES_UNIT_ISO  = ts_vbap-VRKME.
          t_order-DELIV_NUMB = '0084000156'.
          append   t_order.
    endloop.
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    *DESTINATION logsys
       EXPORTING
         SHIP_POINT              = '0010'
         DUE_DATE                = DUE_DATE
        DEBUG_FLG               = 'X'
      importing
         delivery                = lf_vbeln
         num_deliveries          = lf_num
      tables
         sales_order_items  = t_order
         deliveries                = lt_deli
         created_items         = lt_itm
         return                     = lt_return
    Can you suggest me.

  • Mass delivery block in the sales order

    Hi
    Is there any way to remove the delivery block at the itel level in the sales order using the mass.
    I have some thousand of sales orders with the delivery block at item level.
    please let me know, this is urgent requirement.
    Thanks
    Aravalli

    Dear Aravali
    If I am correct, you cannot assign delivery block in sale order at item level, but can assign Reason for Rejection at item level.  Only at header level, delivery block is there.
    Nevertheless, if you want to remove the reason for rejection, go to MASS, input BUS2032 and execute.  There select [Sales Order Item Data]  and click on Fields. Select the field MASSVBAP-ABGRU and execute.  Give the required sale orders which you wanted to change and execute.  You can change and save so that the block will be removed at item level.
    Alternatively, if you are referring to field [LIFSK]  in that case also, select Sales Order Item Data and click on Fields.  There choose the field MASSSDHEAD_S-LIFSK and execute.  Make the required changes and execute.
    thanks
    G. Lakshmipathi

  • How to get the delivery number for the sales order

    hi
    how to get the delivery number for the sales order

    Hi,
    1. IN VA03, enter the sales order and click on the document flow button. From there you can check the delivery document.
    2. In SE11, enter VBFA(Document flow) table and enter the sales order in VBELV field and in VBTYP_N field enter 'J' to specify that you want to check if there is already a delivery document for that sales order.
    Hope it helps...
    P.S. Please award points if it helps...

  • Automatic creation of  settlement rule while creating sales order

    Hi Friends,
    Can any one help me how to create settlement rule automatically while creating sales order i.e saving sales order. Is there any function module or any badi which can be used.. please suggest.
    thanks
    bobby

    Hi,
    Here is the solution , First Create a sustitution by going into OPSN Transaction , only user exit say 'U902'
    and write the form routine in Program named 'ZRGGBS000'
    The code is below ,
    *&      Form  U902
       Automatic Generation of Settlement Rule For WBS and Company 4180
    FORM u902.
    Exit For Automatic Settlement Rule Creation for WBS Billing elements
      IF sy-tcode = 'CJ20N' or sy-tcode = 'CJ01' or sy-tcode = 'CJ02'.
        DATA   lv_proj TYPE ps_pspid.
        lv_proj = proj-pspid.
        EXPORT lv_proj TO MEMORY ID 'PSPID'.
    Calling YGPS_CJB1EXEC Program For Creating Settlement Rule
        SUBMIT ygps_cjb1exec AND RETURN.
      ENDIF.
    ENDFORM.                                                    "u902
    *& Program  YGPS_CJB1EXEC
    PROGRAM  ygps_cjb1exec.
       Automatic Generation of Settlement Rule For WBS and Company 4180
    Called From Exit For Automatic Settlement Rule Creation for WBS Billing elements
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata,
          itab TYPE TABLE OF bdcmsgcoll.
    DATA :lv_currm LIKE bkpf-monat,
          lv_curry LIKE bkpf-gjahr,
          lv_prevm LIKE bkpf-monat,
          lv_prevy LIKE bkpf-gjahr,
          lv_proj TYPE ps_pspid,
          lv_mode TYPE c,
          lv_time TYPE sy-uzeit.
    DATA :g_datfm            LIKE usr01-datfm,
          g_dd(2)            TYPE c,                         " Day
          g_mm(2)            TYPE c,                         " Month
          g_yyyy(4)          TYPE c,                         " Year
          g_sydatum(10)      TYPE c.
    IMPORT lv_proj FROM MEMORY ID 'PSPID'.
    lv_mode = 'N'.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLKAZB'.
    bdcdata_wa-dynpro   = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'PRZB-VARIANT'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'PRZB-VARIANT'.
    bdcdata_wa-fval = 'ZGPS0001'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CALL FUNCTION 'GET_CURRENT_YEAR'
      EXPORTING
        bukrs = '4180'
      IMPORTING
        currm = lv_currm
        curry = lv_curry
        prevm = lv_prevm
        prevy = lv_prevy.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'RKAUF-FROM'.
    bdcdata_wa-fval = lv_currm.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'RKAUF-GJAHR'.
    bdcdata_wa-fval = lv_curry.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=VARC'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'RKPSEL00'.
    bdcdata_wa-dynpro   = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'CN_PROJN-LOW'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'CN_PROJN-LOW'.
    bdcdata_wa-fval = lv_proj.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'CN_PSPNR-LOW'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'CN_NETNR-LOW'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'CN_ACTVT-LOW'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'CN_MATNR-LOW'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '/00'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=SAVE'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=VBAC'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLSPO1'.
    bdcdata_wa-dynpro   = '0100'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=YES'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLKAZB'.
    bdcdata_wa-dynpro   = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'RKAUF-BATCH'.
    bdcdata_wa-fval = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'RKAUF-TEST'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=RUN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLKABA'.
    bdcdata_wa-dynpro   = '0210'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'KABA01-JNAME'.
    bdcdata_wa-fval = 'CJB1_EXEC'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_SUBSCR'.
    bdcdata_wa-fval = 'SAPLKABA'.
    APPEND bdcdata_wa TO bdcdata_tab.
    Extract the date format from the user settings
    PERFORM f_get_dateformat CHANGING g_datfm.
    Changing the current date format to User Profile Date Settings
    PERFORM f_format_date USING   g_datfm
                                  sy-datum+4(2)
                                  sy-datum+6(2)
                                  sy-datum+0(4)
                         CHANGING g_sydatum.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'KABA01-STDAY'.
    bdcdata_wa-fval = g_sydatum.
    APPEND bdcdata_wa TO bdcdata_tab.
    lv_time = sy-uzeit  + 30.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'KABA01-STTME'.
    bdcdata_wa-fval = lv_time.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'KABA01-PRIKZ'.
    bdcdata_wa-fval = space.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=TAKE'.
    APPEND bdcdata_wa TO bdcdata_tab.
    Calling Transaction 'CJB1' for creating settlement rule
    CALL TRANSACTION 'CJB1'  USING bdcdata_tab MODE lv_mode .
    IF sy-subrc = 0.
    ENDIF.
    *&      Form  F_GET_DATEFORMAT
          This subroutine returns the date format in the user setttigs
         <--P_G_DATFM  Date Format
    FORM f_get_dateformat CHANGING p_g_datfm.                   "#EC *
      SELECT SINGLE datfm FROM usr01 INTO p_g_datfm
      WHERE bname = sy-uname.
    ENDFORM.                    " F_GET_DATEFORMAT
    *&      Form  F_FORMAT_DATE
          This subroutine returns the date as per the user settings
         -->P_G_DATFM  Date Format
         -->P_G_MM  Month
         -->P_G_DD  Day
         -->P_G_YYYY  Year
         <--P_G_DATE  Date
    FORM f_format_date USING    p_g_datfm
                                p_g_mm
                                p_g_dd
                                p_g_yyyy
                       CHANGING p_g_date.                       "#EC *
      CONSTANTS: c_dot VALUE '.',
                 c_slash VALUE '/',
                 c_dash VALUE '-',
                 c_1 VALUE '1',
                 c_2 VALUE '2',
                 c_3 VALUE '3',
                 c_4 VALUE '4',
                 c_5 VALUE '5',
                 c_6 VALUE '6'.
      DATA: l_day(2),
            l_month(2).
      l_day = p_g_dd.
      l_month = p_g_mm.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = l_month
        IMPORTING
          output = l_month.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = l_day
        IMPORTING
          output = l_day.
      CASE p_g_datfm.
        WHEN c_1.
          CONCATENATE l_day l_month p_g_yyyy INTO p_g_date
              SEPARATED BY c_dot.
        WHEN c_2.
          CONCATENATE l_month l_day p_g_yyyy INTO p_g_date
           SEPARATED BY c_slash.
        WHEN c_3.
          CONCATENATE l_month l_day p_g_yyyy INTO p_g_date
              SEPARATED BY c_dash.
        WHEN c_4.
          CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
              SEPARATED BY c_dot.
        WHEN c_5.
          CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
              SEPARATED BY c_slash.
        WHEN c_6.
          CONCATENATE p_g_yyyy l_month l_day INTO p_g_date
              SEPARATED BY c_dash.
      ENDCASE.
    ENDFORM.                    " F_FORMAT_DATE
    thanks
    bobby

  • Sceduling as per the delivery confirmation date in sales order

    Hi,
    I am working with planning strategy 50 and using availabilty check as per ATP.
    When I create the sales order and check the availabilty, system confirms the delivery after TRLT(current date+TRLT).But when I run MRP,system creates a planned order on the req delivery date date.
    (Req date - GR Processing Time - In-House Production time) so that Planned Order is available on the req delivery date.
    As the system confirms the delivery after TRLT,I want my planned order's availabilty on the same date.
    to summarise,I don't want system to consider the Reqmt date as reqd delivery date of the sales order but the conformed delivery date of the sales order.
    I appreciate your help in letting me know if there is any way we can do this.
    Regards,
    Sastry
    Edited by: Sastry Krishna on Dec 13, 2008 4:45 PM

    Hi,
    Can you check what is the Variant (dates filed) specified by going to SM37 transaction.do as below,
    Goto SM37 transaction and give job name and then execute then select check box against date you scheduled job and then CtrlShiftF9,now place cursor on program/command and from the menu Goto-->Variant,here you check if any date range there.
    Regards,
    Chandra

  • Find the sales order number with  delivery document

    hi:
    i want to quickly look for the delivery document  related the sales order ,now i find it via se16 in talble vbfa.
    please help me provied with means.
    best regards.

    hello, friend.
    you can go to your delivery document and click on the 'document flow' icon.  you will see the sales order number there.
    regards.

  • Need Profit centre field as mandatory field in the sales order

    Dear All,
    Normally Profit center data maintained in the material master, same data will get coipied to the sales order while creating sales order in VA01 transaction.
    My requirement is if profit center data is not maintained/available in the sales order system should give the error message
    For this I need Profit center field as mandatory field in the sales order(VA01).
    Can you please give possibilities ASAP.
    Give the SHD0 maintenance step by step.
    Regards,
    Murali.

    Hi Murali
    I beleive that you are talking about the Profit centre field not maintined in sales order hence not picked in delivery and billing and there is an FI posting error  (GL account error) because of that
    Profit centre is maintained in MMR and the same flows thro the sales cycle and i am quite sure if maintained in MMR it will be picked automatically and no need to make it mandatory in sales order( as the purpose is already solved)
    But there is no standard option in SAP like (even if Account assignment category of the material is not maintained in MMR it can be given in VF02 and the document can be released for accounting) to give the Profit centre in the billing and release the same
    Profit centre field field is picked from masters and flows in the entire flow and that field is greyed out (like no option of inserting it inbetween)
    As told by others incompletion log in sales doc type will take care for future orders and for the already created orders the standard option is cancel billing, reverse delivery and open the sales order and give   Profit centre field and process it (if only a few orders are there)
    But if the already created orders are many then from the FI Area  you need to go for development ( we also faced this issue as profit center not maintained in MMRs and hence accounting got hit and there were tons of billing docs and our FI consultant made some development to open it and solve it) FI consultant should be able to do this for already created orders
    Instead of making Profit centre field as mandatory field in the sales order better make it a mandatory entry in MMR
    Regards
    Raja

  • Customizing Availability Check in the sales order; EXIT_SAPLATPC_001, etc..

    Dear All.
    Looking for a way to automatically control what's chosen in the sales order Availability Dialog box depending upon certain conditions.
    This is the "Rule for transferring the results of the availability check", field TVTA-REVFP.
    The default is blank, which lets the user select what they want.  Under certain conditions though we do not want to display the dialog box, and just have the system automatically select "A" which is what's available on the requested date.
    Mainly I've been trying to find what REVFP translates to in USEREXIT_AVAILABILITY_IN, and EXIT_SAPLATPC_001.
    We've reviewing P_ATPCSX-RESMD, in EXIT_SAPLATPC_001.  And trying to set it to "A" in debug with no luck.
    Possibly this is too late or too early in process, or the wrong field.
    Has anyone done anything like this before or have any ideas on how to approach?
    Many Thanks!

    hey kharthik,
    i got the same requirement. hv u got the solution for this ..if so please provide me..
    Regds
    Satya

  • Deactivate the automatic Creation of Delivery after Sales Order is Posted

    SD gurus,
    When I am creating a Sales Order, after posting it I want to create the delivery for the same manually.
    But the configuraion is so made that the delivery is automatically generated.
    How do i go for it ?
    Kindly help

    Hi Mohanty,
    I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
    1) Goto VOV8 tansaction.
    2) Select the Sales order type (For eg: OR for standard order) and double click on that
    3) Under Shipping tab, Set Immediate Delivery with Blank value
    Plz reward points if it is helpful
    Thanks,
    Vinay

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

Maybe you are looking for