Table name to find customer and which sales area he belongs to?

Table name to find customer and which sales area he belongs to?

Hi suchita,
You can find these information Sales area he belongs and all in the table of  KNVV , take the customer number from customer master  KNA1-KUNNR  put it in KNVV-KUNNR. you can find all the  sales details.
if you need more info send breaf requirement.
if helpful award the points
Regards
Ram

Similar Messages

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..??
    and also in which table i could find delivery for sales order..
    need help..??
    Moderator message: please search.
    Edited by: Thomas Zloch on Feb 23, 2012

    Check the table AUFM.
    Give the order number in AUFNR.
    For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS).

  • Table name to find a variable used in which queries

    Hello,
    what is table name to find a particular variable used in which queries.

      write 'Variable Name:'.
      write vname.
      write /.
      write 'Variable Type:'.
      write variabletype.
      write /.
      write 'Based on Infoobject:'.
      write variobj.
      write /.
      write 'Variable Processing Type:'.
      write varprocesstyp.
      write /.
      write 'Variable Select Parameters:'.
      write varselectiontyp.
      write /.
      write 'Variable Ready for Input:'.
      write varinputtyp.
      write /.
      write 'Variable Entry criteria:'.
      write varentrytyp.
      write /.
      write 'Variable can be changed during navigation:'.
      write varchangeable.
      write /.
    *  write
    Select single varuniid from rszglobv into varid where vnam = p_varnm.
    select single TXTLG from RSZELTTXT into variabledescription where ELTUID = varid and OBJVERS = 'A'.
    write 'Variable Description:'.
    write variabledescription.
    write /.
    write /.
    querydet-querytechname = 'Query Technical Name'.
    querydet-querydesc = 'Query Description'.
    write querydet-querytechname.
    write querydet-querydesc.
    write /.
    Select SELTUID from RSZELTXREF into table queryuid where TELTUID = varid and laytp = 'VAR' and OBJVERS = 'A'.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select single txtlg from RSZELTTXT into querydet-querydesc where ELTUID = querydets-queryid and objvers = 'A'.
      write querydet-querytechname.
      write querydet-querydesc.
      write /.
    *update querydet from querydetail.
    endloop.
    write 'Query View Details for affected queries'.
    write /.
    viewtab-viewtechname = 'View Technical Name'.
    viewdesc = 'View Description'.
    write viewtab-viewtechname.
    write viewdesc.
    write /.
    clear viewtab.
    clear viewdesc.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select viewid from rszwview into table viewtab where compid = querydet-querytechname and objvers = 'A'.
    loop at viewtab into viewdetails.
      select single TXTLG from RSZWOBJTXT into viewdesc where objid = viewdetails-viewtechname.
        write viewdetails-viewtechname.
        write viewdesc.
        write /.
       endloop.
      endloop.

  • Table names to find Program names and Table names

    Hi All,
    I want to find Program names and Tables names where Transaction codes are not been created.
    If TCodes are created I can find from TSTC.
    But programs and tables which does not have tcodes.
    How can I find them?

    Hi Praveen Kumar 
        You know the program name go to se38 and find out if u know table name go to se11 and find out .if you want to see both where there are used in which program go to se80 it would be easy.
    How to trace in se80 . select programe and down give programe name you will gte it.

  • Can we pass IT table name dynamically to READ and SORT stmt

    Hello All,
      i have a requirement in which i am passing table name using a variable and want to read the same table: so my question is can we execute read and sort stmt with dynamic IT name. please see below for explaination.
    v_itname = <it_2>.
    now read using variable
    READ table ( v_itname ) with key <field>.
    and
    SORT ( v_itname ) by (otab).
    thanks
    Mani

    Hi ,
    This can be done. Please refer to the  codes below. Please note that the code will work if the itabs are of type standard table else it may dump.
    You just need to replace the variables form the values from your internal table.
    DATA: v_table1(10) TYPE c VALUE 'I_MARA',
          v_field(10)  TYPE c VALUE 'MATNR',
          i_mara TYPE STANDARD TABLE OF mara.
    FIELD-SYMBOLS : <fs_tab>   TYPE STANDARD TABLE,
                    <fs_field> TYPE ANY.
    DATA: otab TYPE abap_sortorder_tab,
    oline TYPE abap_sortorder.
    SELECT * UP TO 10 ROWS
      FROM  mara
      INTO TABLE i_mara.
    IF sy-subrc = 0.
      ASSIGN (v_table1) TO <fs_tab>.
      IF sy-subrc = 0.
        oline-name = v_field.
        APPEND oline TO otab.
        SORT <fs_tab> BY (otab).
        READ TABLE <fs_tab>
        WITH KEY (v_field) = '000000000020000989' "
        BINARY SEARCH
        TRANSPORTING NO FIELDS.
        IF sy-subrc = 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    Dev.

  • Extend material and customer to other sales areas

    can u please let me know?
    How to extend material and customer to other sales areas? To extend material one plant to another plant what are the configuration you done in your project?

    <b>To Extend Customer master: T.code - XD01:</b>
    In XD01, enter Account Group, Customer Code, Company Code, Sales Organization, Distribution Channel & Divission. Also ensure to maintain reference Customer, reference Company Code, reference Sales Organization, reference Distribution Channel & reference Division --> Enter. Most of the fields will be copied by default, but some fields will not be copied & they have to be maintained in the same manner how we create a new customer.
    <b>To Extend Material Master: T.Code - MM01:</b>
    In MM01, Enter the Material Code & reference Material Code --> Enter.
    Select the Tab pages to be maintained & go to organization data & maintain the details like Delivering Plant & Reference plant, Storage location & reference storage location, Sales Organization & reference Sales Organization, Distribution Channel & reference Distribution channel & so on ...  --> Enter. Most of the fields will be copied by default, but some fields will not be copied & they have to be maintained in the same manner how we create a new material.
    Regards,
    Rajesh Banka
    reward point if helpful.

  • Error while posting Customer with Multiple sales areas using DEBMAS05.

    Dear experts,
    We are generating IDOCS vis SAP DS for posting Customer master. The message type used is DEBMAS and basic type is DEBMAS05.  we have a requirement to create 1 customer with multiple sales areas. However, we are ending up with a strange error:  "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1". Despite the IDOC going into status 51, the customer gets created and the 1st sales area too. the 2nd sales area however is not created!  The IDOC data definitely contains Name1, otherwise the customer would not have been created in the first place.
    As the error message is related to the Address data, I also explored upon exploring this erorr further on the lines of Central Address management where in the ADRMAS and DEBMAS have to be passed together(IDOC Serialiization).  OSS Note (384462)  provides further details about this. One Important point from the note is: 
    "As you have to specify the logical name of the sending system among other things, SAP is not able to make any default settings in the standard systems. When you use the serialization groups delivered as a standard by SAP, the address objects are imported before the master objects.Thus the sequence address data before master objects must only be adhered to if one of the following points applies to your application:
    Such fields are set as required entry fields that are only provided by the BAS in the Customizing of the customer or vendor master.
    For your customers, contact persons exist to which a private address or a different business address is assigned.".
    This is not the case in our situation, as we do not have required entry fields in customizing that are only provided by the BAS, so the error is all the more confusing and I am not too sure what the cause is.
    If someone have experienced the same issue before and have found a solution to it, kindly help out.

    I have found the cause and solution to this problem.
    This error ”Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1” and other similar errors like “Fill all required fields SAPMF02D 0111 ADDR1_DATA-SORT1“ which occurrs during the IDOC posting when there are more than one sales area or company code occurs when the customer number range is set up for Internal numbering. This means, that the number gets generated only at the time of save and upon debugging the IDOC, we found out that after creating the customer and the first sales area/company code record, the segment E1KNA1M is cleared completely! This is the reason, it throws an error which points to a mandatory KNA1 field as missing. (Like NAME1, SORT1 etc.)
    This was resolved by splitting the IDOC into 2.
    The solution is to First post only the KNA1 segment and create the customer.
    In the second step, pass the IDOC with all other segments along with E1KNA1M, but pass only KUNNR in E1KNA1M and the rest of the fields in E1KNA1M as “/”:  you would have got the KUNNR after the first step.
    Important note: This requirement to split the IDOCs does not occur when the customer number is known upfront. (Meaning cases where the customer number is externally generated) I also tested this and created a customer with external numbering and I was able to post more than 1 sales area with the same IDOC. 
    I noticed multiple threads with the same issue, but none of it had a concrete answer. I hope this information will be useful for anyone facing similar problems.
    Cheers
    Venkat

  • How can i extend the customer  to other  sales area

    how can i extend the customer  to other  sales area

    Hello Harish,
      Once you have a customer (eg. 100002) in one sales area (eg. 0010/10/10), you open XD01 tcode, enter the same  customer number (100002) in customer field and enter sales area (say u want to create in 0020/10/10) in which you want to create the same customer. Now in Reference section, enter the customer number (100002) and sales area in which already the customer exists (0010/10/10). When you press enter, it allows you to modify the sales area data for the customer for new sales area.
    then save it.
    Hope it is clear...

  • Customer Master Record :Sales area INSO IN IN is not defined for customer

    Hi Experts
    I got error , when creating Customer Master Record .The error message likes below
    "Sales area INSO IN IN is not defined for customers" .I maintained all the settings .But why i am getting again and again the same error .Even i checkd in TVTA table in SM30 but is shows clear data , please tell me where i made mistake .
    I traid so many times maintain with new configuration ,but still field .Please what i have to done to over coome this issue .
    Your Suggestions needful to me .. Please
    Issue Details :
    Message no. F2644
    Diagnosis
    The sales area specified has either not been defined (i.e. there is no entry in table TVTA) or it refers to another sales area for customers (customer division/customer distribution channel in the TVTA detail screen). This means that the customer master data of the sales area entered correspond to the data in the reference sales area and customer master data only needs to be maintained for this reference sales area.
    Procedure
    You can display the relevant and therefore valid sales areas for customers by selecting "Extras" -> "Sales areas" -> "All areas".
    Regards
    Rajesh .P

    Maintain relevant entries in t.code VOR1 and VOR2 and then try again. Here assign the distribution channels and divisions to reference distribution channel and division.

  • Problem in creating customer in new sales area

    Hi
    I am creating a customer in new sales area but system is not allowing but giving following message Sales area UKA1 U1 U1 is not defined for customers.
    In IMG, sales area UKA1 U1 U1 exists.
    How to resolve this problem?
    Thanks

    Dear Uttam,
    There are two ways to maintain Customer Master records:
    1. By creating master record for each Sales Area
    2. BY creating single master record & define common Distribution channels & Divisions.
    In second case e.g. you have two distribution channel & Divisions C1 & C2 and AA & BB respectively. You create a master record for C1 & AA & if you have defined the above Sales areas as common then you need create new master record for C2 & BB...
    These settings can be done at IMG - Sales & Dist - Master Data - Define Common Dist. Channel & Divisions.
    Hope this clears your doubt.. .
    Reward if useful...
    Thanks,
    Jignesh Mehta
    Mumbai
    98700 10230

  • Do we have a feature of export the names of the reports and dashboards that are available in OBIEE?

    Is there any option to export the names of the reports and dashboards that are available in OBIEE?

    Hi,
    You can create report using catalog manager:
    1. Open catalog in Online mode.
    2. Select shared folder & then click on Tool-> create report.
    3. For report name -> select Analysis from drop down list & move "Name" in right pane(or whatever detail u want, u can select from list).
    4. For Dashboard -> select Dashboard from drop down list & then move name in right pane.
    5. Click OK  & save report.

  • Table Names for Excise Duty and Education Cess

    Hello
    In view of the recent Indian Budget 2007, Higher Education Cess of 1% shall be applicable from 1st Match 2007.
    The notes as suggested by SAP have been implemented and everything is clear for the new POs.
    We are having a lot of OPEN POs. The new condition of Higher Education Cess of 1% is to be incorporated to all these POs, where Excise Duty and Education cess is applicable through FV11 in 'Plant/vendor/Material' combination.
    Finding out such qualifying records is a bit cumbersome, so that new condition is incorporated correctly.
    Can somebody please guide me how to find out such records.
    Or the table names which contain Excise Duty, Education Cess and Higher Education Cess.
    This will help me to get the new condition entered at the earliest.
    Thanks and regards.
    -Nandu More

    Hi Nandkishor More,
    You can get relevant information using ABAP Query using following information;
    (a) Material and Chapter ID combination using table J_1IMTCHID and field name MATNR
    (b) Pending POs
    Hope this information will be useful.
    Bye,
    Muralidhara

  • Passing table name to a procedure and then need to open a cursor ..

    Hi All,
    I have been out of touch in plsql for sometime and need to do something like :
    passing table name to a procedure while calling(fp_table_old captures this value) and then need to open a cursor for this table in 'for i in (select * from fp_table_old )', one of the ways I tried is : for i in (execute immediate Lv_sql_query ) but its not working for me, please find the code below for reference, I know I am sounding stupid but I have been very out of touch, please help.
    code :
    create procedure p_table_compare(fp_table_old in varchar2, fp_table_new in varchar2)
    as
    Lv_sql_query varchar2(2000);
    begin
         Lv_sql_query := 'select * from '||fp_table_old;
         for i in (Lv_sql_query)
         loop
              dbms_output.put_line(i.employee_id);
         end loop;
    end;
    Regards
    Rahul

    if I am doing something like this : for i in (execute immediate Lv_sql_query)
    I am getting an error which is :
    PLS-00103: Encountered the symbol "IMMEDIATE" when expecting one of the following:
    . ( ) , * @ % & | = - + < / > at in is mod remainder not
    range rem => .. <an exponent (**)> <> or != or ~= >=
    My code:
    create or replace procedure p_table_compare(fp_table_old in varchar2, fp_table_new in varchar2)
    as
    Lv_sql_query varchar2(2000);
    begin
         --dbms_output.put_line('Hello World');
         Lv_sql_query := 'select * from '||fp_table_old;
         for i in (execute immediate Lv_sql_query)
         loop
              dbms_output.put_line(i.employee_id);
         end loop;
    end;
    Please help.
    Regards
    Rahul

  • Table Name to take report of Open Sales Order items&its relevant GL Number.

    Hi,
    I wanted to take a report with Output as Open Sales Order Items and its relevant GL account numbers. is there any T Code in the Standard or atleast the table name.
    I have already fetched the Open Sales Order Items from T code VA05, but i need the relevant GL account numbers also.
    Any pointers on this will be appreciable.
    Rgds,

    Hi
    There are no standard reports where in you can fetch the data of the open sales order items and its G/L accounts with the output. But  by creating your own report using LIS then it is possible
    Regards
    Srinath

  • Table name reqd for batches and unrestricted stocks records

    Hi friends,
    I required table name of which having consolidated stocks with batch wise.
    ****reports avialable in T.Code:MMBE (here it displays the batches and unrestricted stocks by storage location wise)....
    These details,i want to see in tables.
    MCHA : will list only materials,plant and batche details.
    MARD: will display Storage location data for material with total quantity.
    LIke these, i want to view the table batches and unrestircted stock details of each material.
    Pls, post ur comments and answer as much as possible.
    Thanks & regards
    sankar.

    Got answered from other forum
    thanks

Maybe you are looking for

  • How to tell if a purchased battery is legit?

    I bought an 8-cell battery for my x61s from what I thought was a reputable seller on Amazon. Now I am not 100% sure, as the data in the Lenovo Power software doesn't match what's on the box label or the battery itself. The battery & software seem to

  • Interesting graphics glitch in Finder and other applications

    In just the past couple of days, I have noticed what look like diagonal lines of pixelated boxes when browsing through Finder using Cover Flow. In 3D game applications, these boxes are more prominent and all the graphics are messed up. I installed th

  • Nikon D7000 FCP 7 settings

    Hi. I am a professional photographer so can talk about f/stops and shutter speeds and ISO all day long but Video Codec and fps are all something very new. Please excuse my novice status but I would like help in preparing my first big video project sh

  • Need Value(Dollar value) field in LI21 transaction

    Hi Experts, Is there any other transaction or report that i can use to see the Value of the material before clearing differences in IM ? My client is looking for a value field in LI21.Should I go with a custom transaction? Thanks in advance

  • Cumulative Lead Time -MRP

    Can you tell me, What is Cumulative Lead Time?. In MRP module, i can't use this function, althought i have already read help file. Please explain for me! Thank you!