Sales employee base table

Dear experts,
I want to create sales employee wise billing report . I dont know what is the base table for sales employee and how to link the sales employee field with vbrk or vbrp table. Please help me.

Hi,
You can acheive this by configuration as well,
Assign sales employee in customer master or in your sales order so that it is copied to billing as well,
now go to the following path IMG>Sales and Distribution>Sales Support>Lists>Set updating of Partner Index
Trans.group---- Function -Name
7(billing)----SE--
Sales employee
Now Goto T.code VF05 Press Partner function button
Choose SE (Sales Employee) from F4 help
now give your Sales Employee number and execute
you will get the list of your sales employee
Regards
Senya

Similar Messages

  • Sales order purchase order field is updated with dots in data base table

    HI
    we have problem in  Production when sale order created
    P O date is update with dots and these dots  we are unable to see at screen and data base table
    we go t change mode of the order and delete the P O field with back space (button)  and saving the order
    when we see the change log of the order
    there it is sowing
    Old value            =        "       .   .     "           
    New Value         =       " 00.00.0000"
    Can any one give the suggetions to come out of this problem
    This is we have noticed with only two customers
    Thanks and regards
    Kishore
    Edited by: DevarapalliKK on Oct 23, 2010 8:43 PM
    Edited by: DevarapalliKK on Oct 23, 2010 8:44 PM

    Hi Kishore,
    Two things could have happened:
    1) Since this is happening with only two customers - I am sure it has got to do with some custom code on your system which is causing this problem. I 'd suggest you to create a new order with all the fields
    2) It could be a bug with SAP- might want to check relevant SAP Notes. ( But this could not be a reason, if yes should have had the same prob with all cusotmers)
    regards
    sadhu kishore

  • Base table for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item)

    Hi experts,
    Im looking for the base tables for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item).if there is a base table for the datasource how do we find it.
    Thanks,
    sivarama landa

    Hello Siva,
    This is the way to find in the system:
    From RSA2>Extraction Tab-> Extract Structure-->Components Tab->Component Column( You will see .INCLUDE)  with its Corresponding Description in the column---> Short Description ( FOR EX : ORDERADM_H Data for BW DataSources), usually the CRM system table will be CRMD_******** or CRM_******.
    Here you will not find the lbwe( way to find tables in the ECC ).
    The Best and easiest way to find is as said by Martin.
    Regards,
    Adhvi

  • Tables used for relationship between BP customer and BP Sales employee

    Can annybody tell me what tables contain the relationship between customers and sales employee.
    Or what tables are used by the BDOC BUPA_REL ?
    Thanks for your input.

    In table BUT050 you can find relationships between business partners.

  • How to order by a column not on the base table?

    Best explained by example:
    I have 1 block, base table is SALE. I would like to sort this block by PROD_DESCRIPTION which is not on SALE. I only have PROD_CODE (the primary key of PRODUCT which contains PROD_DESCRIPTION)
    I am not running Enterprise Edition so I cannot create a view and use Instead-of triggers.
    I would rather not have to re-write all my triggers because I want the default base table behaviour that forms provides.
    Any ideas?
    Cheers,
    Tim.

    Hey tim,
    I also had a similar problem.
    You need to create a function in the database with an associated
    pragma to specify the level of purity of the function
    WNDS (write no database state)
    WNPS (write no package state)
    PRAGMA RESTRICT_REFERENCES(fn_get_dname, WNDS, WNPS);
    Function fn_get_dname (p_empno in number) return varchar2 is
    v_dept_name varchar2(40);
    begin
    select dname into v_dept_name
    from dept, emp
    where dept.deptno = emp.deptno
    and emp.emp_no = p_emp_no;
    return v_dept_name;
    end;
    order by in a block based on the emp table (assuming you want a list of employees by department name)
    order by fn_get_dname(empno), empno
    Hope that will help you to solve your problem.
    Thanks
    Pranati

  • Sales Employee  VRTNR is missing in Field Catalog

    Hi,
    I can identify the field Sales employee  - VRTNR in Field Catalog(Pricing Sales/Distribution) but it is not availble to select when creating the condition  table.
    I can see other fields appearing but not the sales employee which  I can find in Conditions: Allowe Fields.
    Please let me know what  I am missing here?
    Thanks,
    Rahim
    Edited by: ARahim on Feb 13, 2010 11:38 AM

    http://www.sap-basis-abap.com/sd/how-to-add-new-fields-to-field-catalog.htm
    Try the above link which may provide additional insight as to recognizing the field once it is added to the field catalog.

  • Updating a Base Table Block Record

    We have a form where there is a multi array base Table block. this is used for generating employee number for various depts. the columns are like this with some sample data
    Dept Start No end No Start Date End Date
    sales 1001 1100 01-Jun-2009 31-12-2050
    Accts 2001 2100 01-Jun-2009 31-12-2050
    HR 3001 3100 01-Jun-2009 31-12-2050
    and the data is populated from its table. These Data were created at the backend while implementation and is not modified for some long time. Now the client wants to modifiy the data . i.e they want to add new set of Start nos and End nos for the existing Dept So they will add at the bottom of the Block
    like this
    sales 1101 1200 01-Apr-2011 31-12-2050
    when they add this the end date of the existing record should get modified with sysdate as they add the new records. at any time they can add new set of numbers of any number of depts.
    can u please guide me how to do this ?

    If I understand correctly, you need to take the following data:
    Dept  Start No   end No   Start Date   End Date
    sales 1001       1100     01-Jun-2009  31-12-2050
    Accts 2001       2100     01-Jun-2009  31-12-2050
    HR    3001       3100     01-Jun-2009  31-12-2050and change it so it is like this:
    Dept  Start No   end No   Start Date    End Date
    sales 1101       1200     01-Apr-2011   31-12-2050
    when they add this the end date of the existing record should get modified with sysdate as they add the new records.First, I will assume you are using Oracle Forms (since your question was in the Forms forum) but you didn't specify a version. In Forms, you could easily put this logic in the Block Pre-Inser t Trigger. You'll have to set the SYSDATE through DML rather then requery the block after changes are saved. This is easier than trying to find the existing record in the block and setting the SYSDATE.
    at any time they can add new set of numbers of any number of depts.Is this data used for anything more than just reference? If so, what is the key value and how does making changes like this affect the existing data and relationships?
    Just from the small description you gave, the process sounds very closed - meaning it is not easily changed. If this is true, than you probably need more than just "Use a Pre-Ins Trigger" answer. You also need to know how to update all of the related records that just changed because of the new department number and for this answer we'll need more information. ;)
    Craig...

  • Sales employee without HR

    Hello All,
    we have a scenario to map the sales employee and pay the commision.this needs to mapped without HR module.
    I could see a config in S&D->Master Data>Business Partner--->Use Sales Employee without HR.
    has any used this function? Pls let me know how to use 'Use Sales Employee without HR'  since there is no much information in IMG on this.
    Thanks in adv
    Shripad

    HI
    Use of Sales Employee in HR and SD
    When you access this in the IMG it creates two transport requests to
    transport the relevant HR tables from client 000. So I added these requests
    to the buffer and imported the requests into the development client.
    However, still when trying to access the funtion in the IMG it asks to
    create two more requests. Does anyone know what steps I need to take to get
    this to work. I don't know if I'm doing something wrong on the Basis side or
    whether this is an HR/SD configuration question. Running the below mentioned
    report just generates the same transport requests.
    This is the help text on the subject.
    Use Sales Employee Without HR
    In order to use the sales employee, you need an HR master record. If you do
    not use the Human Resources application component (HR), you can transport
    the HR tables that you need for creating, changing or displaying a sales
    employee from client 000 into the target client.
    Note
    In order to transport the required HR tables from client 000 into the target
    client, you must have two transport requests. Report RPUTRL00 is called and
    updates the Customizing and system tables in separate transport requests
    Report RPUTRL00 only copies the standard SAP config.
    You will need some basic HR config doing (switching off unnecessary fields,
    payroll area's , etc.) which shouldn't take more than a couple of hours
    Personnel area's (usually same as Company code)
    Personnel sub area's
    Employee Group and subgroup
    Action L1 may need changing (if the standard doesn't suit your requirements)
    0001 Organizational Assignment
    0002 Personal Data
    0006 Addresses
    0900 Sales and Distribution Data
    0105 Communication
    If you let me have your email I'll send you a document that may help, HR
    mini-master was setup for 6 countries, config & testing took 2 days / 18
    hours. The doc doesn't say which fields we switched off but it should give
    you some idea of what was done.
    Message was edited by:
            SHESAGIRI.G

  • Fail to create sales employee without HR

    Hi experts,
    When creating sales employee, the error message below pops up. Actually, employee group Z & employee subgroup Z1 have been defined. Z1 has been assigned to Z.
    Plz help solve. Many thanks.
    "No entry in table T503 for    Z Z1
    Message no. PG301
    Diagnosis
    The input values must be stored in table T503. The value or values "   Z Z1" are not in the table.
    Procedure
    Check that the entry is correct.
    If necessary, notify systems administration so that the entry can be included in the table."
    Edited by: Cathy on Jun 28, 2010 4:01 AM

    Hope it is a HR config related error. Kindly check following links of understanding:
    No entry in table T503
    Re: No entry in table T503 for "D"
    [facing T503 problem|http://www.sap-basis-abap.com/hr/sap-hr-questions.htm]
    Links for Sales employee without HR:
    Re: sales employee
    How to get data from 3 ODS into 1 ODS?
    Sales employee without HR
    Thanks & Regards
    JP

  • Tracking of Stock & Cheque/Cash with respect to sales employees

    Hi all,
    I am in an implementation project with ECC5. It is a cigarette and tobacco manufacturing company. The business keeps track of stock movement and as well as cash and bank receipt from customer as per sales employees. That is for example they keep track of stock when the finished good is coming out from depot and the depot clerk hands over the material to sales employee to deliver to customer, in this stage the stock should be recorded against employee. After that when the sales employee delivers the material to customer then the finance entry will be for stock with sales employee credited.
    When the sales employee receives the cheque from customer at that time the customer account will not be credited till the cheque is not cleared. The business will deposit the cheque to depot clerk , the depot clerk will deposit the cheque to bank and when the bank stmt will come at that time the customer account will be credited. In this cases also the business wants to keep track of cheque/cash what the sales employee has collected from customer.
    I am giving here the details of transaction in the cases of stock movement and as well cheque receipt and finance entry.
         Sales transaction entries
         Terminology:
         ESR     Excise Location
         DEPOT     Depo
         SALES REP     Territory
    1     Stock issue from ESR to DEPOTS
         1     Delivery Note at ESR
         2     GRN at DEPOT
    2     Stock issue from DEPOT to SALES REP
         1     INT Delivery Note
    3     SALES REP activities
         1     Cash or Cheque sales
         2     Daily sales record
         Entries in goods movement:
    1     When stock issued from ESR to DEPOT
         FG Stock Depot     Dr
         FG Stock ESR     Cr
         ( Should be tracked Qty and Value)
    2     When stock issued from DEPOT to SALES REP
         FG Stock Sales Rep     Dr
         FG Stock Depot     Cr
         ( Should be tracked Qty and Value)
    3     When SALES REP is selling stock
         Cost of Goods sold      Dr          Customer account
    Dr
         FG Stock Sales Rep     Cr          Sales Revenue     Cr
         ( Applicable taxes and SALES REP details should be tracked)
         CHEQUE ENTRIES
    4     When SALES REP is cllected CHEQUE from customer
         SALES REP     Dr
         SALES REP Cheque Holding     Cr
    5     When SALES REP is deposited CHEQUE to DEPOT
         DEPOT Cheque Holding     Dr
         SALES REP     Cr
    6     When DEPOT is deposited into bank
         BANK      Dr
         DEPOT Cheque Holding     Cr
    7     When Cheque realises
         SALES REP Cheque Holding     Dr
         Customer account     Cr
         Cash Entries
    4     When SALES REP is cllected cash from customer
         SALES REP     Dr
         Customer     Cr
    5     When SALES REP is deposited CASH to DEPOT
         DEPOT     Dr
         SALES REP     Cr
    6     When DEPOT is used some cash for office expenses and balance
    deposited
    into bank
         DEPOT OFFICE CASH     Dr
         BANK      Dr
         DEPOT     Cr
         (Some expenses kept for office expenses and balance deposited into bank)
    To track the stock with sales employees we have decided each sales employee will be considered as storage location  and we will define business areas with the combination of plant and storage location and these business areas will be as against the sales employee and when posting the cheque and cash transaction the business areas will be accepted and we will generate the report against sales employees. The business requires the stock and cheque/cash reconciliation report as against the sales employees.
    We want your input and suggestion in this scenario and will be waiting for your reply.
    If you need any clarification please let me know.We are not implementing HR.
    Thanks & Regards,
    Mitra

    Hi,
    Good morning and greetings,
    I dont think so that there is a standard report by which you can get the info...Better to do a bespoke development or use SQVI transaction to map the TABLE - TABLE joint option to get the requirement.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Sales Analysis by Item Group (Monthly) - To include Sales Employee Name

    Hi,
    I have added Sales Employee Name in the Sales Analysis by Item Group (Monthly) report by A/R Invoices. I have added this under Repetitve Area Header0. However, the sales employee name showed in the preview is different than the criteria entered.  It seems that the report only the first Sales Employee Name in the report.
    Anyone have any idea? Thanks in advance
    Regards,
    MH

    That is a good question.  You have to find out any unique relationships between your Sales Employee and your sales analysis data if there is. Hope the help below can assist you:
    Relate to
    This option is relevant for special scenarios only and requires knowledge of SQL.
    This field is used for retrieving data related to key records found in tables other than the table linked as default to the current print template.
    A key record is a field used as a primary key in a certain table. This key record functions as the identifier of the record, and, therefore, it is required to retrieve any additional data related to it.
    Following is an example:
    e.g.If you need to print the name of a certain bank, which is not linked to the table used in the current print template, you must first create a Text field of Database source type using the required table and select a key record, such as Bank Code.
    Then, you need to create an additional Text field of Database source type. Select the table again, select the required column (such as Bank Name), and enter the unique ID of the field with the key record in the Relate to field.
    There might be two or more key records in the same table. In such a case, these two key records are both required for retrieving the data.
    Identical bank codes are used in many countries. If you need to print the name of a specific bank, you need to link it to a relevant country, in addition to its relevant bank code.
    You are currently working on a print template for Incoming Payments. However, you need to retrieve data (such as the business partner's bank name) linked to the key record Bank Code from the Bill of Exchange for Payment table, rather than from the Incoming Payments table.
    In the Relate to field, select the unique ID of the field containing the required key record. In this example, this is a Text field of Database source type containing Bill of Exchange for Payment in the Table field and BP Bank Country in the Column field. The drop-down list contains the unique IDs of all the fields that are situated in the same area as the current field.
    This link makes the system retrieve the Bank Code linked to the BP Bank Country field found in the Bill of Exchange for Payment table.

  • Index not using the base table

    Hi,
    In which scenario, a query will only use the index and not the base table. Please give me some example.
    Thanks,
    Santhosh
    Edited by: Santhosh on Oct 23, 2012 2:45 AM

    Chancal,
    not always,
    SQL> desc temp;
    Name                                                                                                      Null?    Type
    EMPNO                                                                                                              NUMBER(4)
    ENAME                                                                                                              VARCHAR2(10)
    JOB                                                                                                                VARCHAR2(9)
    MGR                                                                                                                NUMBER(4)
    HIREDATE                                                                                                           DATE
    SAL                                                                                                                NUMBER(7,2)
    COMM                                                                                                               NUMBER(7,2)
    DEPTNO                                                                                                             NUMBER(2)
    SQL> select empno from temp;
         EMPNO
          7369
          7499
          7521
          7566
          7654
          7698
          7782
          7788
          7839
          7844
          7876
          7900
          7902
          7934
          1057
    15 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor);
    PLAN_TABLE_OUTPUT
    SQL_ID  3qt0w20pqj162, child number 0
    select empno from temp
    Plan hash value: 3800668828
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |       |       |     2 (100)|          |
    |   1 |  TABLE ACCESS FULL| TEMP |    15 |    60 |     2   (0)| 00:00:01 |
    13 rows selected.
    SQL> alter table temp modify(empno not null);
    Table altered.
    SQL> select empno from temp;
         EMPNO
          1057
          7369
          7499
          7521
          7566
          7654
          7698
          7782
          7788
          7839
          7844
          7876
          7900
          7902
          7934
    15 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor);
    PLAN_TABLE_OUTPUT
    SQL_ID  3qt0w20pqj162, child number 0
    select empno from temp
    Plan hash value: 472861760
    | Id  | Operation        | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |          |       |       |     1 (100)|          |
    |   1 |  INDEX FULL SCAN | IDX_TEMP |    15 |    60 |     1   (0)| 00:00:01 |
    13 rows selected.

  • Sales Employee Description is not following into COPA

    Dear Experts
    I have set sales employee as a characteristic in my operating concern that was triggered from PAPARTNER. From there I developed then run COPA report painter (KE30) for sales employee with ALV display options. In fact the report can only display sales employee code, without the description. I desperately need sales employee description in my report, based on user requirement.
    Here we didn't activate HR module. In the same time SD has defined Sales Employee as Partner Function (SE) in customer master data. The Partner Function is looked up the sales employee name from HR table, PA0001 so that they can display sales employee code and name in the customer master data.
    From the story above I've tried to do some ways, such as:
    Changed display options from ALV to Drilldown -> with this way, sales employee description can appear from the report, but actually I just need the ALV report because of my client didn't accept the report layout except ALV. This is my big problem.
       2.  I found other threads with similar problem with me, then I tried to follow that instructions that will be described below:
    I tried to create new char WW100 with PARVW table for sales employee then follow these steps:
    Create 2 derivation rules in KEDR  using table look up (table VBPA) for the same partner function
    1. In one Der Rule, make the sale order item KDPOS as constant value 0000
    2. In the other one, dont make it a constant....Leave it as it is
    DERIVATION RULE 1
    SOURCE FIELDS
    VBPA-VBELN = COPA-KAUFN
    VBPA-POSNR = COPA-KDPOS
    VBPA-PARVW = GLOBAL-USERTEMP1 (Click on Magnifying lens.. Specify Constant = Your SD Part Function)
    TARGET FIELDS
    VBPA-KUNNR = COPA-WW100
    DERIVATION RULE 2
    SOURCE FIELDS
    VBPA-VBELN = COPA-KAUFN
    VBPA-POSNR = COPA-KDPOS  (Click on Magnifying lens.. Specify Constant = 0000)
    VBPA-PARVW = GLOBAL-USERTEMP1 (Click on Magnifying lens.. Specify Constant = Your SD Part Function)
    TARGET FIELDS
    VBPA-KUNNR = COPA-WW100
    Unfortunately the ways above still can't solve my problem, the report still only show the sales employee code without description. At the last whether possible if i want sales employee characteristic with origin table coming from PA0001, so that data will derive from HR table? or perhaps any other solution to solve my case?
    Please suggest me in detail..
    Thanks a lot
    Regards,
    Maradona

    Hi Maradona,
    I want a clarification - Does the value flow properly to the value field and only the description is not coming?
    1. If the value flow is proper and only description is a problem, then check whether compunding has been used in KEA5 for the characteristc WW100? If yes, check the text table for WW100 and compare it with the origin table in terms of the fields in both the tables.
    (My guess is that not all the compunding characteristics are available in text table)
    2. If value flow is a problem, then compare SE16 and SE16N for any sales order for the denotion of partner function field PARVW. Sometimes the denotion of partner function (two character code) may vary in SE16 and SE16n.
    Get back for any more query
    BR
    Abhi

  • Employee Sales by cpoy HR information (Use Sales Employee withou HR)

    Correct me if I'm wrong. I'm trying to copy the employee tables that will be used as a partner function ER in a specific customer. I know that this functionality is availible but I dont know how I can copy it. HR and SD are on 2 diffrent clients. I want to know if something must happen in HR, and what, and what do I have to do in SD inorder to copy this information.
    Thank you.

    Check following link,
    Re: fail to create sales employee without HR
    I hope it can assist you.
    Thanks & Regards
    JP

  • Base table name for fields from Material Master

    Hi All,
    I want base table name which holds all possible values of following column:
    1)Material Master : X-plant matl status from tab -basic data 1
    2)Material Master: X-distr.chain status from tab -sales org 1
    for example: Base table for Prod.hierarchy is T179/T179T.
    Many thanks to all
    Yogesh

    Thanks Mahesh but I know its value available in MARA table for eery material. But i want to know where all possible distinct values are stored?... In other word, when we click on button which is next to this field and from that list we normally select value and then assign to above fields. Where this list is stored for
    X-plant matl status
    X-distr.chain status

Maybe you are looking for