How to make sold to party to only order and ship to party to only delivered

Dear friends.
How to make sold to party say 123456 to only  order goods and should not be delivered goods if made ship to party in particular sales order.(customer 123456 is defined in customer master as both sold to party and ship to party).Similarly how to make ship to party xyz to be only delivered GOODS and should never order goods when made sold to party in particular order.(customer XYZ is defined in customer master as both ship to party and sold to party).
I created delivery block for Customer 123456 and ordering block for XYZ ,but it does not work?
Please give your views
Thanks
Ranganathan V

Hi Amit,
you are right,why should we define sold to party as ship to party when you do not want it be delivery or ship to part as sold to party when you don't want it to order?
but situation is like this ,my sap customer has clients which are defined as both sold to party and ship to party.In one sales order it will be sold to party ,but in other order it will be ship to party.
in these conditions how do we go about ?
is there any settings available in customer hierarchy ?
please let me know
Thanks
regards
Ranganathan V

Similar Messages

  • How to make the connection between a sale order and an invoice in SDK

    Hi,
    Im trying to make the connection between a sales order and an invoice using the SDK.
    Here is how i create each of them:
    Invoice:
    public int SalesInvoiceInternalSave(string buisnesspartnerCardCode, DateTime dueDate, double discountPercent, string id, IList<InternalItem> items, ref int invoiceId)
          int res = 0;
          SAPbobsCOM.Documents invoice_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);     
          invoice_entry.CardCode = buisnesspartnerCardCode;
          invoice_entry.DocDueDate = dueDate;
          invoice_entry.DiscountPercent = discountPercent;
          invoice_entry.Reference2 = id;
          foreach (InternalItem item in items)
            invoice_entry.Lines.WarehouseCode = item.Shopid;
            invoice_entry.Lines.ItemCode = item.Code;
            invoice_entry.Lines.ItemDescription = item.Name;
            invoice_entry.Lines.Quantity = item.Quantity;
            invoice_entry.Lines.UnitPrice = item.Price;
            invoice_entry.Lines.Add();
          res = invoice_entry.Add();
          return res;
    Sales order:
        public Boolean SalesOrderInternalSave(string orderId, string buisnesspartnerCardCode, DateTime dueDate, IList<InternalItem> items)
          SAPbobsCOM.Documents order_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
          order_entry.CardCode = buisnesspartnerCardCode;
          order_entry.DocDueDate = dueDate;
          foreach (InternalItem item in items)
            order_entry.Lines.WarehouseCode = item.Shopid;
            order_entry.Lines.ItemCode = item.Code;
            order_entry.Lines.ItemDescription = item.Name;
            order_entry.Lines.Quantity = item.Quantity;
            order_entry.Lines.UnitPrice = item.Price;
            order_entry.Lines.Add();      
          int res = order_entry.Add();
          return res == 0;
    What do i need to change to get the connection between the two of them?
    And how do you insert a amount (not percent) discount into an invoice?
    Regards,
    Torben

    Hi,
    Add the sale order, then add the invoice. and while adding the invoice please add the following details to the invoce documen
    invoice_entry.Lines.BaseEntry = 'Doc entry of the newly created SO
    invoice_entry.Lines.BaseLine = 'Line No of the SO
    invoice_entry.Lines.BaseType = 17 'For sales order document type.
    Hope it helps,
    Vasu Natari.

  • How I can to download sold-to-party and ship-to-party with the relationship

    Hello,
    I want to know how I can to download sold-to-party and ship-to-party through Middleware form R/3 to CRM and kept the relationships just as be defined in R/3
    When I downloaded a sold-to-party or a ship-to-party to CRM, they created in CRM as BPs without the relationships.
    How can I do this?
    Thanks and Kind regards,
    Ohad

    Hi,
    I downloaded "BUPA_REL" object, only the Contact Persons was downloaded,
    But is not relation ship to party with sold to party.
    So it's not solve my problem,
    Please help me.
    Thanks and Best regards,
    Ohad

  • Hello, i created 5 different books (photo album) and i would like to know if it's possible to make one single order (and pay the transportation fees only once...) i couldn't find how

    hello, i created 5 different books (photo album) and i would like to know if it's possible to make one single order (and pay the transportation fees only once...) i couldn't find how

    Soory, no, it is not possible. You can only combine multiple copies of the same book into one order.
    Regards
    Léonie

  • Sold to party and Ship to party are the same but has different address

    Hi,
    I have problem here wherein Sales order has the same sold to party and ship to party but they have different address. When the customer master data is changed the sold to party in the sales order is also updated but the ship to party is not updated.
    I've checked the table VBPA and I noticed that the value of ship to party VBPA-ADRDA is 'E' (manually enetered).
    Is this the reason why the address of ship to party in sales order is not updated whenever the customer master is change?
    Another question, how does ship to party entered in sales order manually?
    Thanks in advance.

    Hi,
    Please correct me if I have understood the scenario incorrectly which I try to explain below:
    Sales order is created where SP and SH both have same address initially and while creating the SO, address of the SH was changed manually by Header>partners>SH
    Now master data for that customer is changed for address. As per the standard functionality of SAP, all sales order created for that customer will have new address for SP only.
    If address of SH needs to be changed in SO, it has to be done manually by the same way as explained in the above mails.
    As far as manually entering the SH in SO is concerned, system will automatcally selects the SH if only one record is available for SH. If you have specified more than one SH, system will give you an option to select one by displaying a pop up.
    Please let me know if you find this explanation suitable.
    Ravi

  • Enabling sold to party and ship to party on Sale order creation....

    Friends,
    When i start creating a sale order,
    1 .Iin Sale order screen the sold to party and ship to party are in the disable mode, i could not able to enter any value...how to make it to enable...
    2. but  allowing  me to enter the item and qty, and after entering these value i tried to check for the pricing condition using the condition tab, but i could  not able to see any procedure or condition type...though i defined the pricing procedure(V/ov8) assinged through OVKK...
    Thanks
    Ramesh

    HI,
    Check the Following Configuration
    SPRO -->Sales & Distribution -- > Basic Function >Partner Determination>Set Up Partner Determination-->Set up Partner Determination for Sales Document Header
    Check and all Five Steps i think you didn't assign the Partner Determination Procedure to Sales Document type
    Assign TA to your Sales Document Type or if you create any own partner determination Procedure assign that to Sales Document type
    Check & Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Sep 7, 2011 12:12 PM

  • Sold-to-party and Ship-to-party is disable

    Dear Expert,
    In SD IMG I assigned debit memo sales docs type into sales area to sales documents type.  Initial screen for VA01 it is okay. But showing in next screen sold-to-party and ship-to-party is disable. I can not select the customer.
    Please help me.
    Thanks & B.Rgds

    Hi Bishnu,
    1. Are you creating Debit memo or Debit memo request in VA01. I hope you are creating debit memo request.
    2. Do you have any of these order creation enabled through IDOCs.
    3. Do you use screen variants or transaction variants.
    If point2 is in process, then it is very much possible that SP/SH is always proposed from IDOC and not manually enterable.
    Even if 2 is not in process, it can be enabled by some user exit to make those fields as uneditable.
    This can be due to various reasons  like
    1. The DMR is to be created only with reference to an order and not without reference. If you create DMR with reference, these values come as automatically filled.
    2. The creation of DMR has to be made possible only by some selected group of individuals and you may not the right person to create a DMR.
    Please analyse the issue on all these fronts.You should be a ble to get the solution.
    You can reward if this approach helps you

  • Sold to Party and Ship to party field are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • Sold to Party and Ship to party are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510
    Edited by: Lakshmipathi on Aug 4, 2011 4:30 PM
    Thread Locked - Reason Cross Posted

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • How to make the status of a sales order complete of which PART DELIVERY

    How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>

    Hi Gyana
    There is no document with me. But I can confidently say that because I am using this functionality.
    In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
    Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
    Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
    Try it.
    Rgds
    Sunil

  • Function module to find both sold and ship to party

    Is there any function module to find both sold-to-party and ship-to-party based on the sales Area.
    That is if i give sales org , distribution channel , division as input . I must get Sold-to-party and Ship-to-party as output.
    Regards,
    S.Velsankar

    Hi,
    You can find sold to and ship to party customer from KNVP Table as below:-
    SELECT      KUNNR
    FROM KNVP
    INTO w_sold_to_party
    WHERE VKORG = YOUR SALES ORG
    AND     VTWEG = dist channel
    AND    SPART = division
    AND    PARVW = 'SP'.                        "Sold to party depneds of how its configured in your system
    Check TPAR table for description Sold to part and pass the PARVW value.
    Similarly for ship to party
    SELECT      KUNNR
    FROM KNVP
    INTO w_sold_to_party
    WHERE VKORG = YOUR SALES ORG
    AND     VTWEG = dist channel
    AND    SPART = division
    AND    PARVW = 'SH'.                        "Sold to party depneds of how its configured in your system
    Regards,
    Subhashini

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • Enhancement for validating SOLD TO PARTY and SHIP TO PARTY

    Hi All,
    Have written in the form routine USEREXIT_CHECK_VBAK to validate the sold to party and ship to party, but whenever error is encounted the  input fields comes in display mode but i need that in change mode so that user can enter the input again.
           Quick response will be appriciated..
    Thanks & Regards,
    Parvez..

    Hi,
    Since the userexit code is not called within the CHAIN...ENDCHAIN or using the FIELD statement...
    When you get the error message the entire screen will be blocked..
    Try giving a warning message..
    THanks,
    Naren

  • Partner determination sold to party and ship to party.

    Hi frnds,
      Currently in the customer master in partner function we are maintaining ship to party the same as sold to party , now for some of the customer the ship to party and sold to party are different , so while creating a sales when i enter the sold to party , the system propose the ship to party and on that basis the delivery and billing should take place.
    What are the configuration settings required to be done to this , i will maintain the ship to party in customer master partner determaination, but when i create the sales order and when i enter the sold to party , it should propse the ship

    Hi  Rakesh,
    As per SAP standard setting ship to party will be determined from Sold to party master , if that is maintained. I suggest to copy Standard and test again.
    Also ,hope you have not made any changes to the partner determination procedure fro Sales Document at header Level. This will also impact .
    Sharing a few useful link for more clarity :--
    http://www.freesaptutorial.com/partner-determination-in-sap-sd/
    Re: Ship-to party is not assigned to a sold-to party
    http://www.sap-basis-abap.com/sd/steps-for-partner-determination-config-in-img.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/3c/92ecee484a11d5980800a0c9306667/content.htm
    http://wiki.sdn.sap.com/wiki/display/Snippets/howtogetship-topartyforasoldto+party
    Thanks/Rajesh

Maybe you are looking for