There is any table which makes the relation between sold to party and ship

Hi Gurus,
There is any table which show the relation between ship to party and sold to party.
regards
gursharan

You can get this information from KNVV, KNVP Tables.
Refer following link: http://www.erpgenie.com/abap/tables_sd.htm ....Customer Master Data for more detailed explanation.
Please award points if you find this information useful / resolves your issue.
Letme know if you need more information.
Thanks,
Ramesh

Similar Messages

  • Which is the  field for   Sold-to-party   and     ship-to-pary   in  BAPI

    i am using   BAPI_SALESORDER_CREATEFROMDAT1  This   BAPI  for sales order creation
    but i want to pass sold-to-party and  ship-to-party  in   Header Data
    but i can't find that field in BAPI
    so please suggest me

    Use  BAPI BAPI_SALESORDER_CREATEFROMDAT2, instead of the above BAPI.
    Check this sample. Replace all the values with your test data and check it.
    report  z_salesorder_create.
    data:
      order_header_in type bapisdhd1,
      return type table of bapiret2,
      order_partners type table of bapiparnr,
      order_part     type bapiparnr,
      order_items_in type table of bapisditm,
      order_items type bapisditm,
      order_items_inx type table of bapisditmx,
      order_items_x   type bapisditmx,
      salesdocument type bapivbeln-vbeln,
      order_header_inx type bapisdhd1x.
    order_header_inx-doc_type =   'X'.
    order_header_inx-sales_org =  'X'.
    order_header_inx-distr_chan = 'X'.
    order_header_inx-division =   'X'.
    order_header_inx-req_date_h = 'X'.
    order_header_inx-purch_date = 'X'.
    order_header_inx-doc_date  = 'X'.
    order_header_inx-currency = 'X'.
    order_header_inx-sd_doc_cat = 'X'.
    order_header_in-doc_type =   'TA'.
    order_header_in-sales_org =  '1000'.
    order_header_in-distr_chan = '12'.
    order_header_in-division =   '00'.
    order_header_in-req_date_h = sy-datum + 7.
    order_header_in-purch_date = sy-datum.
    order_header_in-doc_date  = sy-datum.
    order_header_in-currency = 'EUR'.
    order_header_in-sd_doc_cat = 'C'.
    order_items-itm_number = '000000'.
    order_items-material = 'C-1030'.        "replace with your material and plant
    order_items-plant = '1200'.
    order_items-target_qty = '10'.
    order_items-target_qu = 'M'.
    order_items-sales_unit = 'M'.
    append  order_items to order_items_in.
    order_items_x-itm_number = '000000'.
    order_items_x-material = 'X'.
    order_items_x-plant = 'X'.
    order_items_x-target_qty = 'X'.
    order_items_x-target_qu = 'X'.
    order_items_x-sales_unit = 'X'.
    append  order_items_x to order_items_inx.
    "Sold to party
    order_part-partn_role =  'AG'.
    order_part-partn_numb = '0000001033'.
    order_part-itm_number = '000000'.
    append order_part to order_partners.
    "Ship-to party
    order_part-partn_role =  'WE'.
    order_part-partn_numb = '0000001033'.
    order_part-itm_number = '000000'.  "<-----For header you need to mention the like this..
    append order_part to order_partners.
    call function 'BAPI_SALESORDER_CREATEFROMDAT2'
      exporting
        order_header_in               = order_header_in
        order_header_inx              = order_header_inx
    importing
       salesdocument                 = salesdocument
      tables
        return                        = return
        order_items_in                = order_items_in
        order_items_inx               = order_items_inx
        order_partners                = order_partners.
    "Read the return with type 'S' if success then commit.
    call function 'BAPI_TRANSACTION_COMMIT'

  • Table that gives the relation between plant and company code

    Hi gurus,
    I actually have plant number and using this plant value i need to get the company code.
    Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
    Thanks in advance.

    Hi Bhanuphani,
    Use  T001K  where BWKEY is the plant
    Reward if useful
    Thanks Arjun

  • Can any one explain me the relation between BDC and reports events?

    hi experts.....
    can any one explain me the relation between BDC and reports events? we are using report events in BDC programmes why?\
    Is reports events occurs in each and every concept in ABAP i.e creating custom idocs, smart forms, sap scripts, dialog programmes, module pool technics?
    thanks in advance

    The forums are expert forums. So the first thing I would do is change your name.
    It's like entering a grand prix in a car with a "Student Driver" sign.
    Rob

  • Is there a recommended procedure to connect the connectors between an AP-224 and AP-ANT-35A antenna?

    Q: Is there a recommended procedure to connect the connectors between an AP-224 and AP-ANT-35A antenna?
    A: AP-220 series has 3 Antenna connectors (ANT0, ANT1, ANT2). 
    In the AP-ANT-35A antenna there are 3 connectors but there is no notification on those slots similar to the ones on the APs.
    Answer: 
    There is no recommended order. Any arrangement will  work fine.
    Attachments:
    AP and Antenna connection.png

    Are you able to go online when you connect the computer to the bridge directly...?
    On which port you have connected the bridge to the router..? It should be on the Ethernet port.

  • I want to know the relation between Retiremen in assets and AR

    i want to know the relation between Retiremen in assets and AR
    whene selleing asset in FA and retire it in AR

    Hello.
    how can i achieve this entry in AR You will have to create it manually. The system does not create it automatically.
    and is their any report in FA to identify the sold assetsThe Asset Retirement Report
    Octavio

  • What is the relation between G/L account and Chart of Accounts

    Hello Guru's,
                       Can you please tell me what is the relation between chart of accounts and G/L accounts.
    I know there was a list or range of account numbers in chart of accounts.
      Assets 100000 - 149999
                    current assets 100000 - 149999
                         cash and cash equivalents 100000- 118999
                             100000 - 100009
                                    100000 - petty cash.
    like this i have chart of accounts. can you please tell what are the G/L accounts.
    Thanks,
    sneha.

    Easiest way is to use the FSV - e gl account hierarchy

  • 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.

  • 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

  • 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

  • Transaction codes related to Sold To Party and material association

    Hello all,
                being very new to this, can any one tell me the transactions/path to add the records in table KNMT,
                which contains sold to party and material information.
                Is it possible to add new records to this table through or is there any other way?
                Please help me out.
    Regards,
    Sandip

    Hi ,
    The table KNMT is releated to CUSTOMER MATERIAL INFORMATION RECORD.
    Transaction code : VD51
    Path: LOGISTS->MM->PURCHASING-.MASTER DATA->SUBSEQUENT SETTLEMENT->CUSTOMER REBATE AGREEMENTS->ENVIRONMENT->CUSTOMER->ENVIRONMENT->CUSTOMER MATERIAL INFO RECORD->CREATE (VD51)
    Tyr this
    thanks,
    santosh

  • Incident Search helps relations between Sold-to Party & Configuration Item

    Hi experts,
    Can someone help me to know what is the best approach for the following scenario:
    When I select de Sold-to Party e.g (BP 70), then when I try to use the search help for "Configuration item" it should filter only for my BP, but this is NOT happening. The result that is showing are all items of all BP's.
    How can I modify the BOL Object "Product" Search help or I have to create a "Z".
    Is this the correct approach?
    Thanks & Kind Regards,
    César Felce

    Hi,
    In you can create a z class with interface IF_BSP_WD_CUSTOM_F4_CALLBACK.
    In get v method of configuration item put below logic.
    ls_map type if_bsp_wd_valuehelp=>gtype_param_mapping
    lt_inmap type if_bsp_wd_valuehelp=>gtype_param_mapping_tab
    lt_outmap type if_bsp_wd_valuehelp=>gtype_param_mapping_tab
    ls_map-f4_attr = 'BP_ID'.
    ls_map-context_attr = bp value.
    append ls_map to lt_inmap.
    append ls_map to lt_outmap.
    create object rv_valuehelp_descriptor
    type cl_bsp_wd_valuehelp_f4descr
    exporting
    iv _help_id = '(zclass)'
    iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
    iv_inputmapping= lt_inmap
    iv_output_mapping = lt_outmap
    iv_trigger_submit = abap_true.
    Now in method if_bsp_wd_custom_f4_callback~retrieve_custom_values of your zclass put logic
    check is_search_help is not initial and is_search_help-selopt is not initial.
    loop at is_search_help-selopt assigning <fs_selopt>.
    check <fs_selopt>-shlpfield = 'BP_ID'.
    lv_bpid = <fs_selopt>-low.
    endloop.
    Now you have your sold to party id in lv_bpid.
    now write the logic to fetch configuration items based on sold to party id and fill ct_results_tab which will your output searchhelp.
    Thanks,
    Tejaswini P.

  • Is there any table which records the no. of Jobs run in day in BIP ?

    Hi All,
    I want to create a metadata report on what all jobs ran in my BIP production in a day. Is there any repository where this is recorded?
    Please let me know.
    I am in 10.1.3.4 and using oracle database
    Thanks,
    Ronny

    Hi Ronny
    All the reports the are scheduled the history will be stored in the backend table XMLP_SCHED_JOB.It will create a unique job_id.
    Based on this table u can create a report in BIP using the RTF template.....

  • Anyone have any idea which is the best application for taking notes and essay writting?

    im starting my first year of university and i was wondering what would the best application for taking notes on be? and also whats the easiest, most reliable and effective way to transfer documents off the ipad? Any thoughts on printing aswell?
    will be appreciating all the help i can get!

    You're going to get as many answers to that question as there are people to answer it. You don't state if you want to take handwritten notes or if you will be typing. For handwritten notes, I really like Noteshelf. It has lots of export options, my favorite being to Evernote (which you might want to look into as well for storage). For typing notes, I'd go with Pages, Documents to Go or QuickOffice. For working with PDFs, I like PDF Expert.
    I've recently heard good things about Note Anytime. It is free for a limited time, so it'st probably worth downloading to try out.

  • What is the relation between type iD FIPP and and BKPF

    which table holds the Document number and object type(FIPP or BKPF) relations?

    Hi,
    Can you describe what do you mean by type id or Object type ?
    K.R

Maybe you are looking for