Ship to party (customer )to be filled automatically.

I have a customer (ship to party) number with me
I want too create a sales order for him through VA01.
I know the customer number prior to creation of all my sales orders.
My requirement is after  filling the first screen of
{  Document type ,sales Org,Distr.Channel ,division.}
and then going into next screen ,
I want the ship to party (customer )to be filled automatically with the number.

Hello ,
u can do that as follows.
see the exit available .
Enhancement     Impl      Exp  V45A0002 Predefine sold-to party in sales document                                                                               
Function exit                  EXIT_SAPMV45A_002                                                                            
in that include u write the following code
E_KUNNR = <custnumber >.
but all this u have to do with CMOD tcode . general procedure for exits .
if u do this

Similar Messages

  • Can we use ship-to-party customer  as sold-to ??

    Hello evry one ,
                            i defined a customer as a ship-to-party. and when i was using this customer as sold-to-party i was given an error saying customer record does not exist.  how can i use a ship-to-party customer as sold to party..
    but when u create a customer as sold to party i  can use it any way ...
    let me know if  any one have any idea ..
    points for sure
    thanks
    mmn

    Hi,
    Sold to Party can perform other partner like Ship to Party, Bill to Party and Payer,
    But Other Partner Functions can not perform the Sold to Party Partner Funtion.
    Ex :- If there in a sale only, then customer (Sold to Party) comes into picture like
    Ship to party( to which adress to goods to be sent), Bill to Party( for which the Bill
    to be sent) and Payer ( who settels the Final Amount).
    If there in No Sale other Partner Functions like Ship to, Billl to and Payer will not
    comes into Picture.
    Hope this Clarifies your Doubt and Please Reward If Really helpful,
    Thanks and Regard,
    Sateesh.Kandula

  • Fetchi address1, address2,address3 and address4 of a ship to party customer

    Hi,
    How to fetch address1, address2,address3 and address4 of a ship to party customer. Is there any function module available?
    Thanks,
    Kumar

    Kumar,
    you can use BAPI_CUSTOMER_GETDETAIL2
    either:
    * Read a person address:
      DATA: objtype LIKE bapi4002_1-objtype,
            obj_id LIKE bapi4002_1-objkey,
            obj_id_ext LIKE bapi4002_1-extension,
            context LIKE bapi4002_1-context,
            address_number LIKE adrc-addrnumber,
            person_number LIKE adrp-persnumber,
            bapiad2vl LIKE bapiad2vl OCCURS 0,
            bapiadtel LIKE bapiadtel OCCURS 0,
            bapiadfax LIKE bapiadfax OCCURS 0,
            bapicomrem LIKE bapicomrem OCCURS 0,
            return LIKE bapiret2 OCCURS 0.
    * Assign the following object type and key to the private address of a
    * customer contact person
      objtype    = 'BUS1006001'
      obj_id     = <partner number (KNVK)>
      obj_id_ext = ' '
      context    = '0004'
    * call GetDetail module
      CALL FUNCTION 'BAPI_ADDRESSPERS_GETDETAIL'
         EXPORTING
              obj_type      = objtype
              obj_id        = obj_id
              obj_id_ext    = obj_id_ext
              context       = context
         IMPORTING
             address_number = address_number
             person_number  = person_number
         TABLES
             bapiad2vl      = bapiad2vl
             bapiadtel      = bapiadtel
             bapicomrem     = bapicomrem
             return         = return.
    Edited by: Amit Gujargoud on Jul 2, 2008 3:38 PM

  • Ship to Party / Customer address is not correct in Third party PO Printouts

    Hi,
    I am creating Third party PO, concevrted from Qutation-SalesOrder -automatic PR to PO.   In these  POs,  Ship to Party address is replaced by Vendor's address in PO Printout(ME9F).
    How to avoid this? Is there any setting avilable in SD or MM.
    This problem occures in Production server with only few orders-  not in all POs  and in Quality Server it is working fine without any problem.
    In all problematic POs, it is observed that Customer code appaers in PO -Delivery tab in field "Address" insted of in field" Customer" 
    Please try to give solution,
    Thanks & Regards
    Ajay.

    hi
    VOPA
    - select sales document header
    - click on partner procedures
    - double click on "TA-standard order"
    - here you will see the partner function & the columns & the entries shoulbe as under:
    Func..........Desc................Not changeable.............Mandat. Func.......Source............Seq.
    SP.........Sold to party...............X.....................................X.....................---.................--
    SH.........Ship to party..............--...................................X....................*.-..................--*
    BP.........Bill to party................--...................................X.....................-..................--
    PY...........Payer......................--...................................X.....................-..................--
    This setting will allow you to change the partner in the sales order.
    Hope this clarifies your doubt.

  • Equipment master data display of "ship to party"

    Hi experts!
    I got following problem:
    Delivering an equipment to a partner only the "sold-to-partner" number is filled by using the "BAPI_EQUI_CHANGE". The "ship-to-party" field remains grey. Therefore also the asset is updated the the "ship-to-party"-partner.
    Changing the equipment manually the "ship-to-party" field is then filled automatically.
    I already did the customizing, described in thread Partner Data in Equipment Master and thread Synchronisation between asset and equipment
    Many thanks and best regards,
    Nikolaus
    Edited by: Nikolaus Aigner on Aug 12, 2009 2:46 PM

    Dear Pete,
    I got the answer
    1.In Ih01 Valid date i was taking in past so it was showing the past history of equipment.
    2.whenever I m dismantling any functional location it is showing multiple changes at a single time.
    RC
    Edited by: Raju chauhan on Oct 12, 2008 3:31 PM

  • Credit block of ship-to-party

    Hi thr,
    I have this strange problem where a credit block is coming up on Ship-to. This custoemr has account grp as 0002 which is an exclusive ship-to and when I use VA01 and try to create a sales order and first input ship-to it says order receipt/delivery not possible, credit customer blocked. But when entered along with sold-to all is good. There is no credit data maninatied for thus ship-to, so how is the error coming up?
    Thanks very much !!

    I assume when you enter the ship-to party, the system checks only at the company code(and to credit control area) level. Normally at the company code level, the credit limit may be maintained at for example $1.00. When you enter the sold-to party number, the system finds the payer number and then for this payer it finds the corresponding credit limit through FD32 record. If the limit does not exceed, then this will not block. It looks this is what happening in your scenario.
    Just check any payer is added in the ship-to party customer master record. If not, add, then re-test.
    Regards,

  • Ship to party Jursidiction code change at line item leve in Sales order

    Hell Gurus,
             Here is requirement for enhancement in Sales order. For determining tax following logic is requird to modify jursidiction code of ship-to party at line item level.
    after entering header details and line item, then user exit should be there(which user exit??) and i need to compare countries of Ship-from(Plant i believe) and Ship-to party(customer) if country is same, then jursidiction code of Ship-to party at line item level should be changed with value from Jursidiction code of Ship-from party(plant this value will come from <b>T001W</b>) table. this should happen before save(while entering line items, user may go and check jursidiction code change)
    what i need here is which user exit is triggerd ater line item entry, and how to change jursidiction value( i believe we need XVBAP, XVBPA, might be XADRC(Jursidiction code) . if some one provide user exit and logic with structure details then it would be of great help.
    hoping to get reply
    Thanks in Advance
    Siva

    Can you check in MV45AFZB Include but i am not sure
    FORM USEREXIT_FILL_VBAP_FROM_HVBAP.
    VBAP-zzfield = HVBAP-zzfield2.
    ENDFORM.
    FORM USEREXIT_SOURCE_DETERMINATION.
    set source
    VBAP-WERKS          = zzfield1.
    set item category
    VBAP-PSTYV          = zzfield2.
    ENDFORM.
    *eject
    Reward Points if it is helpful
    Thanks
    Seshu

  • Create Ship to Party and Sold to Party for distr. channel 10 in VA01

    Hello all:
    When creating sales order for a material in VA01 with sales Org 1000,
    distribution channel 10, division 00, system does not give me any Ship to Party and Sold to Party with the above combination
    How to create ship to party and sold to party with the above combination (Plant 1000,
    sales org 1000, distribution channel 10, for creation of a sales order
    Ironically, when creating material master for a material with a material type KMAT, plant 1000
    sales org 1000, the only distribution channel is populating in the input help (F4) is 10
    For which no ship to party neither sold to party is maintained in sales order creation
    Thanks in Advance!!

    Hello Csaba:
    Thanks for your reply
    I agree that for a combination of sales order, dc and division one can have
    many customers. But the customer master data of sold to party in linked to the sales order,
    dc and division
    When sold to party is entered the system will copy the sales order, dc and division
    which is maintaiined in the customer master data
    Sold to party details and the material for which sales order is being created needs to
    be matched in terms of sales org, dc and division then system will process the sales order
    In my current client, there is NO SHIP TO PARTY customer master data maintained
    with a combination of sales order 1000, dc 01, division 00, thus it do not process
    further as material for which sales order is being created has the above combination
    Due points have been assigned

  • 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 to change Ship to party no. in delivery doc. after creating Invoice

    Hi,
        Sold to party ( customer code ) 1001473
    But by mistake bill was raised ship to party ( customer code ) 1001082 then I changed the ship to party code ( through VA02 )and saved the documents, but still in the invoice it is showing  ship to party address only instead of sold to party.  If any thing possible in the delivery level ( vl02n ) to change the ship to party so that it will possible to change the invoice it self. Kindly confirm so that I will reverse the entry and change the ship to party code in vl02n and I hope it will not any reflect in the  invoice.
    Regards
    Jibanjyoti

    Hi,
    First reverse the invoice(Cancel)
    Then change partner functions
    go to SE16N and  Change table entries
    if you want to change in SALES ORDER,then put table VBAK,VBAP
    if you want to change in delivery,then put table LIKP, LIPS 
    After chages
    create invoice again
    Note : As I am not tested this due to system unavailability, but as far as my undersatnding it will work
    kapil

  • Block sold-to-party not ship-to-party

    Hi experts,
    Let us assume that i have a create a sales order which has sold to partt customer A and ship to party customer B.
    Now, in our SAP system, if customer A is not block during credit limit check and customer A is block at credit limit we cannot delivery the goods.
    Is there any possibility to , in this case, the goods to be delivered even ship-to-party is blocked at credit limit?

    I was wrong with credit block.
    In my situation we're talking about XD05 blocking.
    So the problem is we use transaction XD05 where we can block customer at order, delivery and billing.
    For example, if customer A has order block in XD05 than if we create a order and ship-to-party is customer A that we cannot create order.
    We have a similar situation in our company and i'm wondering if is possible to create a order even the ship-to-party is block to order in XD05.
    is this possible?

  • Ship to Party credit check

    HI Experts
    Can we do Credit Check at Ship to Party Customer.
    Thanks
    Raghuram

    Hi,
    well as such in standard functionality we can't block the ship to party for credit check but you can use payer for restricing the same,
    Regards,
    Kapoor

  • Single sales order to different ship to party

    Dear sd gurus very good mng
                         How to deliver single sales order to different ship to
    partys?
    thans in advance
    venu gopal reddy

    Hi Venu
    You have to create separate account group for Ship to Party customer XYZ
    Do the partner function determination & assign  SH for Ship to party customer
    Raise the sales order in VA01 & enter the Sold to Party Ex-  ABC & Ship to Party- XYZ
    Delivery will be done for the XYZ customer
    And also please check this below link it might be helpful for your issue
    http://forums.sdn.sap.com/thread.jspa?threadID=2081804
    Let me know if your problem is solved
    Regards
    Pradeep

  • Customer consignment stock view not available at Ship-to party level

    We have moved our stock to customer consignment stock using order type KB (Consignment fill-up). When we view stock situation using MB58 (Consignment at customer) the stock shows up under customer sold-to. However, we would like to see how much consignment stock do we have under each ship-to location. Is there any view or report in the system which shows consignment stock at each ship-to level?
    We have tried the following:
    1) We thought of making ship-to party equal to sold-to party thus using the same output (MB58) but we have several ship-to's (sometimes 50) per sold-to which will make sales analysis and pricing maintenance difficult (as our pricing is based on sold-to).
    2) We looked at table MSKU (Special Stocks with Customer) and in it stock is stored at the sold-to level and MB58 pulls out stock from this table only. We thought of using user exit to move ship-to number in MSKU table at the time of stock movement but then we will have to change ATP logic (user exit again) also for consignment issue orders and we would like to avoid all that in case there is a simpler solution.
    This seems to be a requirement which lot of customers would have, Are we missing something obvious. Please help.
    Regards
    Sandeep

    Thanks Buddi,
    Partner function SB works the way we wanted it to.
    Regards

  • Plant is automatically determined by sold-to or ship-to party

    Hello Gurus,
              plant is automatically determined by sold-to or ship-to party?
    Many thanks,
    Frank

    Hi
    The priority is..
    1. Customer Material Information Records
    2. Customer Master of the Sold To
    3. Material Master
    Thanks,
    Ravi

Maybe you are looking for