BAPI_CONTRACT_CREATEFROMDATA - Ship-to-party/Bill-to-party  diffrent to SP

Hi All,
I am trying to write create conversion program using 'BAPI_CONTRACT_CREATEFROMDATA'. When ever I use different Ship-to-party/Bill-to-party to that of Sold-to-party BAPI error saying SH/BP customer master doesn’t exist. Where as Ship-to-party/Sold-to-party do exist in customer master as SH/BP. Can anyone tell me why BAPI doesn’t like Ship-to-party/Bill-to-party different from Sold-to-party.
Regards,
Tim

HI Tim
  To make it simple, can you check in table KNVP with the
Sold-To Party as KUNNR and Sales Org for which you are
creating the order. See if the Ship-to and Bill-To
entries with the number that you are passing exist here.
If yes then it should take, if not it will not take.
Also try to simulate the same case online in VA01 and see
if it can accept that way.
Kind Regards
Eswar

Similar Messages

  • Excise invoice to ship-to-party but billing to Sold-to-party

    Hi Experts,
    My client wants to send pro-forma excise invoice to ship-to-party but wants billing to Sold to party. here Sold to party and Ship to party address will be different. can you tell me the settings which should I do.
    Thanks in advance.

    Hi,
    Create the Ship to party as a contact person and trigger the proforma excise invoice output type during proforma invoice creation.
    In the case of Normal Billing to Sold to party.
    regards,

  • Ship to party,Bill to party, payer, sold to party not shown in partners Tab

    Hi,
    Kindly note that Ship to party,Bill to party, payer, sold to party not shown in partners Tab.
    Eventhough SP,SH,BP,PY are assigned to customer KU only.
    And we have assigned Partner Functions ot account Group.
    Still Ship to party,Bill to party, payer, sold to party not shown in partners Tab
    Please help.
    Regards,
    Rajkumar.C

    Hi
    Please check the following setting once again in spro > sales and distribution > baisc function > partner determination > For customer master
    1. check for partner determination procedure AG , if you have created a new one then please check whether it is there in the list.
    2.Select the AG and then check for whether the partner function has been made mandatory in the procedure or not.
    tick mark  SP, BP,SH,PY , since Sold to party should not be allowed to change so mark it as Not Modifable
    3. partner determination procedure assingment for the account group. AG should be assinged to your account group
    4. Account Group Function assingment - Make sure your all the partner function SP,BP.PY.SH has been assinged to the Account group here.
    Thanks
    RB

  • Add Ship-to-party and Bill-to-party

    Hi,
    I want to know how to get the data for Ship to and bill to party address.
    Is that data stored in database tables?
    Thanks & Regards
    Santhosh

    Yes...in VBPA table you will get all the related partners for a sales order...
    for customer they will be stored in KNVP table..etc
    Then take the customer and go to KNA1.. there you will get name..etc.. if the data is not sufficient take ADRNR from KNA1 and go to ADRC.
    Message was edited by:
            Rama Jyothi

  • Ship-to-party and bill-to-party

    Hi Forum Colleagues
    I have a situation where in i need to assign same customer as bill-to-party and ship-to-party.
    As per my understanding, bill to party has payment terms and Acct Assgmt Grp where as ship-to-party contains taxes (taxable and exempt).
    Consdering the above case, would it possible to have same customer as bill to and ship to.
    Please suggest.
    Thanks
    Kalpesh

    Hi Kalpesh,
    Yes, we can do like that..
    1. If you want a customer should be Ship to party and Bill to party (including sold to party and payer) then you can create a customer using account group 0001 (sold to party) which by default have partner functions as Sold to, ship to, payer and bill to party.
    2. By doing new partner determination procedure you can do. If you want you customer should be only ship to party and bill to party ( not even sold to and payer) then you have to create a new account group and keep only sh and bp partner functions in that. Then whoever the customer you create using that account group will act as ship to party and bill to party.
    Hope this will help.
    REWARD IF HELPFUL.
    Regards,
    Praveen

  • Ship to party and Bill to party not reflecting in marketing documents

    Hi,
        Ship to party and Bill to party not reflecting in marketing documents inspite of defining it in BP Master data.why does it happen.we are on 8.8 version and this is happening in Livedatabase.
    Thanks,
    Mansoor Baig

    Hi Mansoor,
    Is this for new transactions or existing ones that went thru the 8.8 upgrade? Is this for new BP that the address doesn't show or existing (if you have other transactions with no address problem then it shouldn't be the address format setup unless something happened in the upgrade).
    Heather

  • SD : Ship to party and bill to party address getting changed in sales order

    Dear All ,
    We are facing a problem in production client regarding Ship to party and bill to party address getting changed at the sales order level. First of all , i would like to discuss the sales business process in which the problem is getting faced.
    Step 1 : The sales order is created for machine with all relevant details and the ship to party and bill to party address is changed as per the business requirement.
    Step 2 : The outbound delivery is created with reference to sales order.
    Step 3 : The commercial invoice, intercompany invoice and excise invoice is created.
    Step 4 : The Credit memo request is created with reference to commercial invoice no.
    Step 5 : The Credit memo is created.
    Step 6 : The FOC value contract is created with reference to credit memo.
    Step 7 : The FOC release order is created with reference to value contract, where ship to party and bill to party address is changed as per requirement.
    Step 8 : Outbound delivery is created for realse order.
    Step 9 : The FOC invoice is created.
    The problem is the moment we change the address in step 1 , the system gets in manual mode. Hence, whenever Bill to party and ship to party address is changed at Step 7, the same gets replicated at the machine invoice level which is incorrect.
    Please comment / reply ASAP.
    Regards.

    During the manual change if you  want to assign a new address number (which
    prevents the changing of the address in the preceding document),
    you can use Note 97832 (modification).

  • How to fetch the VAT registration number of the ship to party from billing

    Dear SDN Team
    How to fetch the VAT registration number of the ship to party from the billing document.  Can you proide some information for fetching the VAT registration number of the ship to party.
    Normally only the payer VAT registration number will be displayed in the Invoice.  But in my case the Ship to party VAT number is displayed. 
    I have resolved this problem by doing the customizing setting in order to have the payer vat registration number.  But for the Old Billing documents it is more than 30,000 documents where it was printed with the ship to party VAT number.  So i need to identify those documents.
    Can you please help to resolve this problem.
    With Regards,
    Jai

    Hi,
    To get VAT from the ship to from Billing, You have to first fetch the BILLING NUMBER from the VBRK and then goto the Document flow in VBFA to get the SALES DOCUMENT NUMBER and with sales document you will get the SHIP TO number from the VBPA with the PARVW = SH
    Once you got the SHIP TO , then goto the KNA1 and get the VAT ID in the field STCEG
    so the logic will be as follows
    VBRK---VBELN and then
    VBFA--VBELN with the document Category as C
    VBPA-VBELN and get the  KUNNR with PARVW =SH
    Now with KUNNR ( ship to ) get the VAT ID from KNA1-STCEG
    regards,
    santosh

  • Ship-to-party,sold-to-party,bill-to-party

    Hi all,
        I want to retrieve ship-to-party,sold-to-part and bill-to-party for a given Document number. From which table these fields can be retieved. Kindly help me.
    Thanks in advance,
    Praveena

    Hi SRI
    The table VBPA ( partner table) stores data about all parties of each document.
    Give the document key here, and give PARVW = SH and you will get ship to party for that doc.
    Hope this helps.
    Note : The value SH is internally stored as WE. There is a conversion exit. But in queries you can give SH.
    please reward points for helpful ans's
    kiran.M

  • Bill-to-party & Ship-to-party relation table( for a perticular sales staff)

    Hi,
    I would like to extract Bill-to-party for a ship-to-party direct from table.
    Bill-to-party is different for different sales employee.
    Could you please let me know in which table these details are stored (I have checked in KNVP, unfortunately all the details are not available here)
    Appreciate your help

    goto VBPA (using your sales doc number as VBELN) and take KUNNR
    goto KNVP using the KUNNR from VBPA and set PARVW = 'BP' ('RE'). take the KUNN2  - this is a 'Bill-to-party'.
    for ship-to-party use PARVW='SH' ('WE')
    regards,

  • Ship-to-party in billing doc

    Why is ship-to-party defined in billing document item level? why is it not defined in billing document header level?
    Regards
    Nikhil

    Hi Nikhil
    Actually ship to party is coming from your sale order.  Though in sale order, at header level, you enter one ship to party, you can also have different ship to parties at item level.
    While creating deliveries, based on the ship to party, delivery split will be there and again you can one invoice for multiple deliveries if the payer is same.
    Thanks
    G. Lakshmipathi

  • Ship to party/ Bill to party

    Hi all,
    I have one bill to party(payer ) for two ship to party.Ship to party A bought for 100$ & B bought for 50$. If the payer sends us check of 120for item bought by ship to party A.Then we do not want to create a credit memo for 20$ but want to apply that payment to 50$ invoice (due for ship to party B).
    How can it be done.
    Thanks
    Nik

    I think F-28 will pick up all invoices for the payer due regardless of the ship to paty A or B.But I am not sure if we can apply that overpayment created for invoice for A to B or not.
    Points will be awarded.
    Nik

  • Ship-to party wise Bill to party display any standard report?

    Any one know
    Ship-to party wise Bill to party display any standard report?
    Thanks in Advance.
    Shailendra

    hi
    can you please let us know your requirment??
    if you want to get BILL TO PARTY assgined to SHIP TO PARTY then use table KNVP where you can pass Ship to party and select Partner Functn = WE (SH)
    you will get all the RE(BP) for that customer
    or you can develop Z report also

  • Bill to party should be pulled from ship to party.

    Hi
    I have scenario in which I want to pull bill to party from ship to party and not from sold to party in sales order. Business requirement have one sold to party say A . This sold to party has 4 ship to party say B,C,D,E.  Every ship to party has one Bill to party respectively say L,M,N,O.  This scenario is only for one customer and not for all. When ship to is entered in the sales order it should give options to select the bill to party .
    I want to know the config steps alongwith the name of the user exit (if it is required for)
    Thanks in advance.
    James.

    Before answering this question, I would like to thank Lakshmipathi for his compliment and James for this interesting scenario.
    Lets say your new ship to parties are 90 & 91.
    Lets say your new bill to parties are 110 & 111.
    So your new requirement is when you enter ship to party 90 or 91, bill to party 110 or 111 has to be determined from sold to party.
    Am I correct? That's how I understood your question(If this is not you are not looking for, please advise).
    In case yes, you  could do the following.
    In your sold to party record, partners Tab, enter the details of your new ship to parties and bill to parties.
    In sales order, enter ship to party and system would pop a box listing bill to parties. You can select one of the bill to parties.
    Once selected, system would populate sold to party record field.
    This is happening because when you enter ship to party record in sales order, system accesses sold to party from ship to party. Once it accesses sold to party, it lists bill to parties available in this sold to party record.

  • What is Attr data source name for SOLD,BILL and SHIP TO PARTY

    Hi all,
      I want master data source names for  these SOLD,BILL and SHIP TO PARTY.
       Bill to party,Ship to party and Sold to party Master data source names.
      Plz give me Some help on this.
    i want solution very urgently.
    Thanks,
    Guna.

    Dear Gunasekhar,
    There are no separate datasource for 0sold to, 0ship to and 0bill to parties.
    They are referrenced to 0CUSTOMER in BW. and the datasources for 0customer are 0CUSTOMER_ATTR and 0CUSTOMER_TEXT.
    Assign points if useful
    Regards
    Venkata Devaraj!!!

Maybe you are looking for