Modify shipping point in sales order create/change

Hi,
I want to modify/overwrite shipping point value while create sales order and change sales order. Is there any user exit or BADI available to fullfill this requirement.
Thank you.
-Pallavi

Hi Palavi,
You can modify or overwrite shipping point value while create Sales order or change Sales order. For this you have to modify field  VBAP-VSTEL in the FORM userexit_move_field_to_vbap of include MV45AFZZ.
Regards
Dillip

Similar Messages

  • Shipping point in sales order

    Hi ll,
    I have crearted a sales order, and i want to change the shipping point, but each time i change the shipping point it keeps going back to its original shipping point.  how can i change this?
    were is the shipping point held?

    Dear SAPing SAP,
    you are not able to change the shipping point in the sales order due to shipping point determination settings in OVL2 transaction.
    If you want to change the shipping point manually in the sales order you need to maintain that shipping point as manual shipping point in the OVL2 transactuion.
    Please go to OVL2 transaction here you enter the shipping point which you want to enter manually in the sales order ,in the colomun Manual shipping point -MShPt with the combination of
    Shipping conditions (Customer master)Loading group(Material master)Plant-->Proposed shipping point + MShPt.
    Now you can able to enter the shipping point manually in the sales order system will accept.
    I hope it will help you,
    Regards,
    Murali.

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Credit block in Sales order create/change

    Hi Experts,
    while creation/change of sales order,If sales order net value is zero or 0.01 no credit checks.in other words greater than 0.01 netvalue of so, it shoud undergo credit checks.( Means Header->Status, Credit status = 'Not Approved". )
    Actually i am trying to write logic in routine 901 ( include RVKMP901).but i am unable to reach the requirment.Can anybody how i can reach above requirment.
    Regards
    Jaya Reddy

    Hello,
    you could use code similar to this:
      CHECK: xvbak-netwr < ls_zkredit-wert.
    else no credit check
      vbap-cmpnt = ' '.
      MOVE charx TO bypass-security.
      MOVE charx TO bypass-static_limit.
      MOVE charx TO bypass-dynamic_limit.
      MOVE charx TO bypass-documentvalue.
      MOVE charx TO bypass-critical_fields.
      MOVE charx TO bypass-reviewdate.
      MOVE charx TO bypass-open_items.
      MOVE charx TO bypass-oldest_op.
      MOVE charx TO bypass-dunning_level.
      MOVE charx TO bypass-user1.
      MOVE charx TO bypass-user2.
      MOVE charx TO bypass-user3.
    The ls_credit-wert is a local field which is set from a table according to Sales order Type/ Salesorg/ Payment-condition
    Regards Wolfgang

  • Insert XVBKD table during sales order create/change.

    Dears,
    My requirement is to insert into VBKD table for each item sof VBAP. If the Business is updating the business data manually for the line items, then VBKD gets updated with the line items also. Otherwise, it gets updated with item as '000000'. And in the items, the business data, i need to update using some user exit (automatically based on some custom table for each material in the line item). I tried using the form in MV45AFZZ. but getting termination error.
    Please suggest.
    Ram.

    Hi Ram,
    The update of VBKD table is quite strange in the standard system.
    The same table has data for header (with position 00000) and for items that are different, but redundant positions don't get stored in the database.
    I don't think it is a good idea to force SAP to create a VBKD entry for each line.
    IMHO this is system modification and therefore your responsibility.
    If you have problems afterwards and SAP finds out, you will be on your own!
    Why don't you add the new field in VBAP table?
    It is much easier and therefore more usual in implementation projects.
    Best Regards,
    Franck
    Freelance Logistics SAP Consultant

  • System Variable or Process code for Sales Order create/Change

    Hi All,
          I have a wriiten custom routine (routine no 901) for Pricing in VOFM.Now the thing is the code is written in such a way that, the routine will be called only for transaction VA01 and VA02.But If i want the routine(901) to be executed also through BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE ,then what system parameter i should check in my routine.
    Currently the code is like this.
    form frm_kondi_wert_901.
    Check sy-tocde = 'VA01'  or sy-tcode = 'VA02'.
    *Process further'....
    Endform.
    I would appreciate for the valuable input....
    Thanks,
    Vigneswaran S

    Awesome stuff sudhir..It is really a great logic to use..Thanks for ur help..
    This is for future generation...
    One Note:The field symbol should be declared as type any instead of "standard table".Because the T181 is used as global workarea(strucuture) in SAPMV45A program rather than internal table.
    Here you go the modified code.
    FIELD-SYMBOLS:<fs_t180> TYPE any .
      DATA:wa_t180 TYPE t180,
           c_t180(15) TYPE c VALUE '(SAPMV45A)T180'.
      ASSIGN (c_t180) to <fs_t180>.
       wa_t180 = <fs_t180>.
    If wa_t180-tcode = 'VA01' or  wa_t180-tcode = 'VA02'.
    Endif.
    Thanks,
    Vigneswaran S

  • Sales order creating

    Hi friends,
    Please give the process for
    Sales Orders Creating/Changing by
    1)BAPI
    2)  Recording Methods
    With Regards,
    Sarath.

    Hi,
    Check this sample program for creating sales orders using the BAPI..
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    PARAMETERS: p_spart TYPE vtweg OBLIGATORY.
    PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
    PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
    *ITEM
    PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
    PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    PARAMETERS: p_itcat TYPE pstyv   OBLIGATORY.
    DATA DECLARATIONS.
    DATA: v_vbeln LIKE vbak-vbeln.
    DATA: header LIKE bapisdhead1.
    DATA: headerx LIKE bapisdhead1x.
    DATA: item    LIKE bapisditem OCCURS 0 WITH HEADER LINE.
    DATA: itemx   LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return  LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    HEADER DATA
    header-doc_type = p_auart.
    headerx-doc_type = 'X'.
    header-sales_org = p_vkorg.
    headerx-sales_org = 'X'.
    header-distr_chan  = p_vtweg.
    headerx-distr_chan = 'X'.
    header-division = p_spart.
    headerx-division = 'X'.
    headerx-updateflag = 'I'.
    PARTNER DATA
    partner-partn_role = 'AG'.
    partner-partn_numb = p_sold.
    APPEND partner.
    partner-partn_role = 'WE'.
    partner-partn_numb = p_ship.
    APPEND partner.
    ITEM DATA
    itemx-updateflag = 'I'.
    item-itm_number = '000010'.
    itemx-itm_number = 'X'.
    item-material = p_matnr.
    itemx-material = 'X'.
    item-plant    = p_plant.
    itemx-plant   = 'X'.
    item-target_qty = p_menge.
    itemx-target_qty = 'X'.
    item-target_qu = 'EA'.
    itemx-target_qu = 'X'.
    item-item_categ = p_itcat.
    itemx-item_categ = 'X'.
    APPEND item.
    APPEND itemx.
      Fill schedule lines
    lt_schedules_in-itm_number = '000010'.
    lt_schedules_in-sched_line = '0001'.
    lt_schedules_in-req_qty    = p_menge.
    APPEND lt_schedules_in.
      Fill schedule line flags
    lt_schedules_inx-itm_number  = '000010'.
    lt_schedules_inx-sched_line  = '0001'.
    lt_schedules_inx-updateflag  = 'X'.
    lt_schedules_inx-req_qty     = 'X'.
    APPEND lt_schedules_inx.
    Call the BAPI
    CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
         EXPORTING
              sales_header_in     = header
              sales_header_inx    = headerx
         IMPORTING
              salesdocument_ex    = v_vbeln
         TABLES
              return              = return
              sales_items_in      = item
              sales_items_inx     = itemx
              sales_schedules_in  = lt_schedules_in
              sales_schedules_inx = lt_schedules_inx
              sales_partners      = partner.
    Check the return table.
    LOOP AT return WHERE type = 'E' OR type = 'A'.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      WRITE: / 'Error in creating document'.
    ELSE.
      COMMIT WORK AND WAIT.
      WRITE: / 'Document ', v_vbeln, ' created'.
    ENDIF.
    Thanks,
    Naren

  • Change of Sold to Party in Sales order created with Reference to Contract

    Dear Gurus
    I want to change the sold to party in Sales Order created with reference to contract.
    When I create a Sales order with reference to contract the system copies all the partner functions- Sold to, Ship to, Bill to and Payer alongwith other data.
    However Sold to is marked as "Grey" and not changable, rest of the partners can be changed.
    There is no subsiquent document created with reference to this Sales Order.
    Please advice.
    Thanks a lot.
    Regards
    Raghu

    Hi ,
    Please follow the below mentioned step.
    1) Create a partner function letts say Authorized SP .
    2) Assign all the possible authorised  SP (customer) in the contract.
    3) When you create sales order with reff to Contract. Put the customer for whom you wish to create a sales order in release partner tab.
    Hop this will resolve our problem
    Regards,
    Krishna O

  • Change pointer for Sales Order

    Hi,
    Using change pointers I want to create an IDOC when ever a specific field in the sales order line item is changed. I have activated the change pointer for message type ORDRSP. Also maintained the following entries in BD52
    VERKBELEG(Object) VBAP(Table) ABGRU(field).
    After this when I change this field at the sales order line item, it inserts entries into change pointer table.
    But my problem is creating IDOC's from those change pointer entries. I am not sure which function module (MASTERIDOC_CREATE_XXXXX) works for this.
    Anyhelp on this highly appreciated.
    Thanks
    Ram

    Hi Ram,
    I don't think so you can use change pointer for sales order changes. Usually, it is done through transaction code<b> NACE</b> - configuring condition for output type.
    You can setup requeirement in procedure control to trigger IDoc ORDRSP for any changes in item level.
    Hope this will help you and give an idea.
    Regards,
    Ferry Lianto

  • Is there a Business Object for Sales Order Create and Change VA01 and VA02

    Hi experts -
    I am looking for a business object for Sales order create and change VA01 and VA02 respectively?
    Thanks,
    Mark

    Hi Mark,
    I think this question is best answered in [SAP Solutions|/community [original link is broken]; Forums.
    - Subhodeep
    Edited by: Subhodeep on Aug 29, 2009 11:14 AM

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • New sales order and Change sales order in item level or delete at item leve

    I got one requirement. Daily i have to display one report on new sales orders created on that day and any sales order item is modified or any item is deleted or any item is added.
                      How to get the sales order numbers and position numbers which will follow above creteria. I found one function module but it is not giving position numbers and new sales order details.
             Is there any BAPI for this requirement.

    I am using "CHANGEDOCUMENT_READ" function module to get the new sales orders created and changed sales order items on a particular time. This function module is getting data from CDHDR and CDPOS tables. But only change sales orders is coming. New sales orders which is created on that time is not getting.
              One of my friend is telling like we have to activate one change pointer to retrive new sales orders also. Which is like there will be one check box.
    Is any body having idea on this. Please reply me on briefly with the code to retrive new sales orders and changed sales orders

  • How to make Text Input in Sales Order Trigger Change Event

    Hi Gurus,
    I have a project going on where when a sales order is created, changed or cancelled, an IDoc is FTP to our freight company.
    Now the issues is when we change a sales order text input (for example, shipping note). Nothing happens. The system doesn't take this as a change so no change event is triggered.
    Text fields I'm talking about is the one from Go to --> Header. and for Item Go to --> Item.
    When I input a note in this field, it comes out in the IDoc, but when I go back to the Sales Order and change the note, it doesn't trigger a change and therefore no IDoc is generated.
    how can I go about this?
    thanks.

    Hi,
    Could you initiate the idoc creation from a workflow?
    Have you checked the event trace?
    Is the BUS2032 object type CHANGED raised? I checked our system and event is raised on text change.
    Transaction SWELS to activate and deactivate trace.
    Transaction SWEL to monitor event raised.
    Don't forget to turn trace off
    Hope this helps
    TB

  • Purchase orders are duplicated when the SAP sales order is changed

    HI Guys
    We got an issue here, when a sales order is changed at the same time PO is duplicated and sent to the vendors.
    Someone just enter a change of address on this sales order and our system sent PO which is already being Invoiced, again to the vendor for a ship direct order. But this time the only information the vendor got was the address change.
    Any idea where is it going wrong. (Version 4.7)
    Will assign points to every useful answer.
    Thanks

    tranz V/30 or
    spro
    sd
    basic fun
    output control
    maintain output type (before find your output type in your sales order)
    cond.type - details
    TAB General data
    check the flag for Multiple issuing
    check TAB Default values as well

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

Maybe you are looking for

  • Unable to Open Canon 60D RAW files in PSE9

    Since I got my new camera Canon 60D, I have not been able to open the RAW (CR2) files in my Photoshop Elements 9.  The ones from my previous camera I could. I have installed the Solutions software that came with the camera and have gone to both the C

  • Connecting tablet to printer via bluetooth

    i have a sony xperia tablet and just bought a hp office jet 100 mobile printer i have paired them no problem but i do not think i have an app. that supports this  they are both bluetooth  i cannot print anything , there is no print icon or anything 

  • The Mysteriously Appearing Photos That Were In The Trash Bin

    Hello; I have a conventional digital camera that connects to my mac USB and downloads my photos onto my desktop. I frequently toss out photos I do not want. Last night I tossed out a bunch of my photos and emptied the trash bin. But just a minute ago

  • Migration from SYBASE IQ to SYBASE ASE 11/12 and then to ORACLE 10G

    Hi , The OWMB tool does not support migration of SYBASE IQ to ORACLE.So there should be some tool to migrate this SYBASE IQ to SYBASE ASE 11/12.And then which we can migrate to ORACLE which the OMWB supports.Does anybody have any idea about such tool

  • Not able to change source system connection

    Hi, I have problems changing a source system connection from BW. BW is already connected to source system A, which is closed down, and I'd like to connect BW to source system B, which excists and can be accessed. I have tried to use BDLS, but get the