Which table contain the sales org/distribution channel details for an PO

Hi Experts,
Do you know from which table could i get the sales org/distribution channel details for an Purchase order.
The Purchase order is an UB document type. STO
Then there will be delivery order created for this STO.
I heard there are 2 kinds of Sales org/distribution channel in one Purchase order? One is Vendor, another is local...?Is this correct understanding?
Please let me know which table field could i find those info from an Purchase order document?
Or the questions could be:
Assumed we have replenishment delivery#, then how to get corresponding Purchase order#(UB, STO), and further how to get the sales org info?
Please kindly advise from table fields points of view...
How to get the PFrom an replenishment delivery#
Thanks.

Dear Hoo Laa,
You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
Regards
Samier Danish

Similar Messages

  • Where are the Sales Org and DC details entered in IDOC type ORDERS05?

    I'm continually getting the message that the SORG and DC does not exist for a PO raised within CRM. However, I can't actually see any segments where these details can be entered. Is this something that is derived automatically based on the material number ?.
    Regards
    Gary

    Dear Hoo Laa,
    You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
    Regards
    Samier Danish

  • Which table contains the text

    hi all,
    im working on a smartform where i need to display data of trx VA01.After the initial screen of va01 in the Sales Tab when i double click the line item (Material field), it goes to a third screen where in Additional Data A tab  , Material Groups are defined from 1 to 5.
    I need to display the data entered in material group. In table VBAP the value for the material groups  from 1 to 5 is in the form of 01,02,03 etc. whereas when the user selects value of these they appear in a drop down list in the form of text.
    e.g:
    Material group 1 : uk , germany,india.(these are the options in drop down list on screen).
    vbap contains mvgr1 as 01, 02,06.
    I need to know which table contains the text uk,germany,india.
    thnxs .
    Points will be rewarded!

    Hi,
    Check the tables..
    For MVGR1 - TVM1T
    For MVGR2 - TVM2T
    For MVGR3 - TVM3T
    For MVGR4 - TVM4T
    For MVGR5 - TVM5T
    Thanks,
    Naren

  • Relation between Sales org + distribution Channel + Division.

    Hello all,
    I have a requirement where I need to make an entry for  sales data for a BP . On the Selection  we have sales Org , Distribution channel and division. can any body tell me how check if the combination of entries made for the S.org , Channel and division are correct .
    I tried using the FM CRM_BUPA_SALES_AREA_GET_ALL. but this doesn't show all the entries .
    Thanks in advance
    srinivas

    Any Suggestions ?
    Thanks ,
    Shounak M.

  • Remove Sales Org & Distribution Channel assigned in Material Master

    Hi,
    Is it possible to remove Sales Org & Distribution Channel assigned in Material Master. This is a newly created material I looked at MM06 to see if this assignment can be removed without setting the material for deletion. Any suggestions welcome.
    Thanks.

    the only way to get rit of existing  data is to set a deletion indicator and subsequently run archiving.
    In your case go to MM06, enter material number, sales org and distribution channel and set then the deletion indicator at this level only.
    Then go to SARA object MM_MATNR and run archiving.
    Archiving is usually a process, not just a sequence of transactions. Archiving requires customizing, and certainly the most recent OSS notes for the archiving object (this can be extremly many if your hotpackage implementation was long ago).
    this is especially needed to archive only certain organisation levels, as this functionality came with OSS notes

  • Sales Org/Distribution Channel to Plant Assignment

    Hello All,
    I am assigning a sales org/distribution channel to a plant, but an error message says that "Organizational data for inter-company billing missing in plant CN30". Can anybody tell me what this means and how to correct it?
    Thanks and regards,
    Olyn

    Hi Olyn,
    I think there may be something missing in your customising - please    
    see the relevant parts of note 109254 attached - in particular points  
    7 + 8 relating to transaction OMGN.    
    Kind regards,
    Zsuzsanna

  • Which table contains the field CNTRC(Counter Reading)?

    Hi Guys,
    1) Can anybody tell me which table contains the field CNTRC (short description is Counter Reading) ?
    2) CNTRC is available in the structure RIMR0. In a situation like this, how do we identify the table name?
    Thanks in Advance,
    Vijay

    Dear Vijay
    The counter reading is available in IMRG table in field CNTRR. It is available in exponential form. you need to convert to decimal from using the FM FLTP_CHAR_CONVERSION_FROM_SI
    Please go through the below link for the
    same
    Link: [Re: Counter reading in IK11]
    Regards
    gajesh

  • Which table contains the order status in APO

    Hi experts,
    i need to knw which table contains order status in APO system.
    like in the table /SAPAPO/POSMAPN we have open and close status ,
    Like wise we need to find a table which has the order status in APO.
    particularly i am interested in all those whose status is in PGI (post goods)
    regards
    rahul.

    Hi,
    You can check the details in PLAF-table.
    Regards,
    Shamma

  • Populating Sales organization & Distribution channel details

    Hi,
    we have a requirement to populate sales orgnization & distribution channel detials in Product search page(PRD01QR/ SearchHelp).
    scenario: Role : IC Agent, While placing a customer order (BT115H_SLSO/SOHOverView ), in a items assigment block(BT115IT_SLSO/Items) there is a product field, with f4 help, when we click f4, there are a page for product search. on this page I need to retrive sales organization, and distribution channel detials with respect to customer.
    I am new to WebUI, if it is not clear. Kindly reply with some questions.
    Thanks,
    Devender
    Edited by: devender on Jun 1, 2011 10:02 AM

    Redefine the outbound plug OP_SEARCH_ORDERED_PROD of the BT115IT_SLSO/Items and all the following code (most of the code are from the original, those I added are marked).
    This will pass the Sales Org and Distribution Channel to the search help window.
    METHOD op_search_ordered_prod.
      CONSTANTS lc_query_name  TYPE crmt_ext_obj_name VALUE 'ProdAdvSearchRgProducts'.
      DATA: lv_event_string TYPE string,
            lv_title        TYPE string,
            lv_value        TYPE string.
      DATA: lr_cw            TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_it            TYPE REF TO if_bol_bo_col_iterator,
            lr_col           TYPE REF TO if_bol_bo_col,
            lr_current       TYPE REF TO if_bol_bo_property_access,
            lr_qs            TYPE REF TO cl_crm_bol_dquery_service.
    DATA: lr_org_ent TYPE REF TO if_bol_bo_property_access.  "<--INSERT
    DATA: lv_sales_org TYPE STRING,  "<-- INSERT
                 lv_dis_channel TYPE STRING.  "<-- INSERT
      cl_chtmlb_config_utility=>outbound_plug_event_info( EXPORTING iv_event_string = lv_event_string
                                                          IMPORTING ev_index        = gv_index ).
    * call advanced product search popup
      IF prodsearch_popup IS NOT BOUND.
        lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT/PRODUCT_SEARCH' ).
        prodsearch_popup = comp_controller->window_manager->create_popup(
        iv_interface_view_name = 'SearchHelpWindow'           
        iv_usage_name = 'CUProdSearchPopup'                  
        iv_title = lv_title ).
      ENDIF.
      prodsearch_popup->set_on_close_event( iv_view = me iv_event_name = 'SELECT_ORDERED_PROD' ).
      prodsearch_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
    * make sure the existing entry for ordered_prod is passed to the valuehelp if it contains
    * an asterix.
      lr_cw      = get_collection_wrapper( gc_context_node_admini ).
      lr_it      = lr_cw->get_iterator( ).
      lr_current = lr_it->get_by_index( iv_index = gv_index ).
      CHECK lr_current IS BOUND.
      lv_value = lr_current->get_property_as_string( iv_attr_name = 'ORDERED_PROD' ).
      IF NOT lv_value CS '*'.
        CLEAR lv_value.
      ENDIF.
    *<-- INSERT
      lr_org_ent ?= lr_current->get_related_entity( 'BTItemOrgmanSet' ).  "Get ORGMAN BO
      lv_sales_org = lr_org_ent->get_property_as_string( iv_attr_name = 'SALES_ORG' ). "Get Sales Org
      lv_dis_channel =  lr_org_ent->get_property_as_string( iv_attr_name = 'DIS_CHANNEL' ). "Get Dist Channel
    *--> INSERT
      CALL METHOD cl_crm_bol_dquery_service=>get_instance
        EXPORTING
          iv_query_name = lc_query_name
        RECEIVING
          rv_result     = lr_qs.
    * fill selection conditons for product again
      CALL METHOD lr_qs->add_selection_param
        EXPORTING
          iv_attr_name = 'PRODUCT_ID'
          iv_sign      = 'I'
          iv_option    = 'EQ'
          iv_low       = lv_value.
    *<-- INSERT (Passing Sales Org and Distribution Channel to the search BO)
      CALL METHOD lr_qs->add_selection_param
        EXPORTING
          iv_attr_name = 'SALES_ORG'
          iv_sign      = 'I'
          iv_option    = 'EQ'
          iv_low       = lv_sales_org.
      CALL METHOD lr_qs->add_selection_param
        EXPORTING
          iv_attr_name = 'DISTR_CHAN'
          iv_sign      = 'I'
          iv_option    = 'EQ'
          iv_low       = lv_sales_org.
    *--> INSERT
      CREATE OBJECT lr_col
        TYPE
          cl_crm_bol_bo_col.
      lr_col->add( lr_qs ).
      IF can_have_iobject( ) = abap_true.
        prodsearch_popup->open( iv_inbound_plug = 'SEARCHPRODANDOBJECTS'
                                iv_collection = lr_col             ).
      ELSE.
        prodsearch_popup->open( iv_inbound_plug = 'SEARCHPRODUCTS'
                                iv_collection = lr_col             ).
      ENDIF.
    ENDMETHOD.

  • Which table stores the valid City/State/Country combination for Customers

    Hi,
    I would like to know which table stores the valid city/state/country/county/provinces for Customer Address validation
    Any helps please?
    Thanks,
    Genoo

    Hi,
    Please ensure to include your EBS version, so as to better provide assistance..
    Please have a look at the doc as its explained in-depth:
    Projects Uptake of the TCA Architecture in Release 12 [ID 417511.1]
    Hope this helps,
    Best Regards,

  • Urgent,   Restricting Sales org & Distribution Channel

    I'm having two users and one is from US and other MEXICO
    If user from US LOG'S into SAP ,He should only his Sales org(US01) & Distribution Channel(001) & Mexico User log ,then he should be able to see only his Sales org(ME01).
    My Question is there a way where we can restrict US / MEX Through Security , if not Can we restrict through abap if so Please send me some details , Which table /code .
    any inputs will be appreciated ,

    Hi
      One way is as below.
      DATA: BEGIN OF lt_tvko OCCURS 0,
              vkorg TYPE vkorg,
              bukrs TYPE bukrs,
            END OF lt_tvko.
      SELECT vkorg bukrs FROM tvko INTO TABLE lt_tvko
        WHERE vkorg IN lr_vkorg.
      IF sy-subrc NE 0.
        MESSAGE e085(wv).
      ENDIF.
    * Check all retrieved co.codes
      SORT lt_tvko BY bukrs.
      DELETE ADJACENT DUPLICATES FROM lt_tvko COMPARING bukrs.
      LOOP AT lt_tvko.
    *   Error Message: No authorization for sales organization &1
        PERFORM f_bukrs_auth_chk_p USING lt_tvko-bukrs 'ICC_FI_CN' 'E' '010'
                                         lt_tvko-vkorg '' '' ''.
      ENDLOOP.
    FORM f_bukrs_auth_chk_p USING value(lc_bukrs) TYPE bukrs
                                  value(lc_msgid) LIKE sy-msgid
                                  value(lc_msgty) LIKE sy-msgty
                                  value(ln_msgno) LIKE sy-msgno
                                  value(lc_msgv1)
                                  value(lc_msgv2)
                                  value(lc_msgv3)
                                  value(lc_msgv4).
      AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
        ID 'BUKRS' FIELD lc_bukrs
        ID 'ACTVT' FIELD '03'.
      IF sy-subrc NE 0.
        MESSAGE ID lc_msgid TYPE lc_msgty NUMBER ln_msgno
          WITH lc_msgv1 lc_msgv2 lc_msgv3 lc_msgv4.
      ENDIF.
    ENDFORM.                    "f_bukrs_auth_chk_p
    Select the sales organization mapping to Company code and then restrict.
    Hope this can help you.
    Kind Regards
    Eswar

  • Which table has the sales price and Art.no?

    Hello,
    I want to export the sales prices of parts to a excel,so who can give me the table which includes this field?
    Thanks in advance
    Helai

    Thanks All
    In A005 I get nothing after a certain part no inputted
    In A004 I get the several CondrecNo ,but no customer no.linked in this table,so I don't know which customer will get what price when I pass the CondRecNo to KONP,although I know it already includes all sales prices
    So still can't get the "NETPR" for a certain part.
    Any advices for a query for getting sales prices for a certain part
    Best Regards,
    Helai
    Edited by: lai he on May 6, 2009 7:17 AM

  • Which table contains the Workcenter and the operation line of an order

    Hello
    Does someone knows in which table I can found the link between the operation defined in a maintenance order and the workcenter? If there is no direct link in a table, is there a function allowing me to do it?
    Kind regards
    Chris

    Chris,
    AFVC and AFVV contain most of the operation data.
    The link is:
    AFKO-AUFPL --> AFVC-AUFPL
    AFVC-AUFPL/APLZL --> AFVV-AUFPL/APLZL
    See [here|http://www.sapfans.com/forums/viewtopic.php?t=200474] for more PM/CS tables
    PeteA
    [www.pjas.com]

  • Finding sales Org, Distribution Channel

    Hi Forum,
      If i have plant and material how could i find its corresponding sales organization and Distribution channel.give field and table name.
    Thanks
    Lovleen
    Edited by: lovleen sol on Jan 8, 2008 11:14 AM

    Hi,
    Check these table:
    MARA: General Material Data
    MARC: Plant Data for Material
    MARD: Storage Location Data for Material
    MARM: Units of Measure for Material
    MVKE: Sales Data for Material
    MBEW: Material Valuation
    Base Unit u will get from table MARA and for others units check MARM.
    Rewards points if helpful,
    Regards,
    Srinivas Ch

  • Which table stores the Sales Order--Header--Texts--EDI Text?

    Hi Experts,
    I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
    So, I am looking which table stores, this text for my_sales_oders_12345678.
    [ actually, i got some info from sdn, like,
    Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
    Now all the text types i.e. text ids are stored in table TTXID
    So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
    but, no use this ]
    thanq
    Edited by: Srinivas on Jul 10, 2008 11:06 PM

    Hi Srinivas,
    Generally to access the text we use READ_TEXT function Module.
    we need to pass the four parameters
    ID
    LANGUAGE
    NAME
    OBJECT
    You can find these parameters in the sales order it self.
    Goto ---> Header ---> Texts
    Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
    Text Name
    Language
    Text ID
    Text Object
    You need to pass these parameters to the function Module to text the text.
    You can also fins the text in Table STXH
    Best regards,
    raam

Maybe you are looking for

  • UMI 7764 second axis not working

    I have a strange problem with my NI motion control setup and I wondered if anyone could help me. I have the following setup: PCI-7330 connected to a UMI-7764 Connected to the UMI-7764 I have two P70530 stepper drives, themselves connected to two Nema

  • Storing value in a grid before storing to a database

    Apex 4 Oracle 10g EE Good Day I have this problem that states that when a user click the add button the value in the textfield will be stored in a grid, when he enter another value and click the ADD button it will store again in the next line of the

  • Connecting 3 displays when video card has only 2 ports?

    I have a 2009 Mac Pro quadcore with only two display ports on my video card.  Is it possible to hook up a 3rd display using an external USB video cards?  I haven't been able to get my Mac Pro to recognize the one that works with my Macbook Pro.  FYI,

  • BFC- Creating Package rule

    Hi I created a package rule for allocation.However when I run, the log shows that 1 row selected and no entries are posted.I expect the system to split the cost and post in respective accounts with different audit id. Please help, if anybody has set

  • Tutorials updated for the new version of LabHSM, a toolkit for advanced event-driven development

    We are glad to announce that the excellent tutorials Mr. Paul F, Sullivan (SULLutions.com) writes for us have been revised and updated in the light of the changes introduced in version 1.1. Please feel free to check them out at our site (http://labhs