Sales Employee Details Based on Invoice

Hi,
Based on Invoices i need to bring the sales employee details.
sales employee is present in Sales Order as Partner Function.
can any one help me on this.

Hi
Presuming that u are looking at a report, I am suggesting this solution.
The billing document will have the sales order number, and based on that go to the partner functions and pull in the sales employee.
Hope this helps.
Kind Regards
Chakradhar

Similar Messages

  • TableName  and Business Object to get  Sales Employee Details.

    Hi everybody,
    I am extracting all the modules data using SAP SDK..
    In Contacts Object,SalesPersonCode also comes.I want to know in <b>which table Sales Employee datas are stored</b>.. In Employees object of HR module,Sales Employee details can't be extracted..
    Please help me to take Sales Employee details using BusinessObject or Querying..

    Hi,
    Which SBO version are you running? in 2005 there is a SalesPerson Object.
    The PaymentMethod is in the OPYM table, and even in 2005 there isn´t any object in the DI API for it.
    Regards,
    Ibai Peñ

  • Sales order detail in AR invoice

    Hi,
    I want know Sales order details like SalesOrder No, Sales Order Value. Total Sales Order Qty in AR Invoice PLD screen. Please help how can i retrieve the information.
    Thanks in advance.
    Rajesh

    Rajesh
    Expanding to what Kamlesh has replied.  Adding Sales Order fields to the Invoice PLD would require a bunch of formula fields and the results might not be all that perfect.
    So as Kamlesh mentioned, create the UDF's you need for each data component you need from SO in the Marketing document rows.
    To these UDF's at the Invoice rows add SQL based formatted searches which will fetch the values from SO.
    Map these UDF's in the Invoice template.
    Suda

  • Sales employee in A/R invoice

    I am entering A/R invoices using DI/API.I am using the following code -
      objDoc = objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                        objDoc.DocObjectCode = SAPbobsCOM.BoObjectTypes.oInvoices
                        objDoc.CardCode = objDTHeader.Rows(intI).Item("CardCode")
                        objDoc.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
                        objDoc.DocDate = objDTHeader.Rows(intI).Item("DocDate")
    I want to set Sales Employee as  -No SE - .I tried the code
    objDoc.SalesPersonCode = -1
    But any random sales person is getting set.The code for setting owner is working properly bu the code for setting sales employee is not working.

    What ur doing is fine. Just make sure that ur using the correct SLPCODE from table OSLP
    Vasu Natari.

  • Getting Sales Employee details in Sales Order

    Hi all
    My customer is not implementing HR module, but they want to get the details of sales employee responsible for each sale in the sales order. Please let me know how do we do it
    Regards

    For your requirement, you needn't to implement HR-Module.
    To Create Sales Personnel in SAP
    T. Code: VPE1
    You have to Maintain Parner Determination in SPRO:
    SPRO --> IMG --> SD --> BAsic Functions --> PArtner Determination -->SEt up Partner Determination
    As you want it in Sales Order (say, At Header), Click:
    -->Set Up Partner Determination for Sales Document Header
    Select TA - Standard Order.
    Now, From Left-hand side tree, click on:
    Partner determination procedure assignment.
    Here assign TA to your Sales Doc type (Say, OR - Sales Order).
    Again from Left-hand tree, select
    Account groups - Function Assignment
    Here, Linl all Customer Acct Grps to PE/ VE
    Now in Sales Order (T. Code: VA01/ 02), to include Sales Employee:
    Goto --> Header --> Partner
    here, in Column Partner. Function: Select VE/ PE as defined for Sales Employee.
    Best Regards,
    VP

  • How to add Sales Employee Details in Customer Master Data

    Hello Gurus,
    The requirement is that my client is in manufacturing and sales. And they have different sales person assigned (like territory manager and accounts support) for respective customers.  My clients needs to have the name of the territory manager available somewhere in CMD so that the end user is aware about the sales support representative. How we can configure it? If yes, will we use LSMW or MASS to upload the data.  Please suggest. And we dont have a HR module in Place, so do we use T COde VPE1 (or PAL1) and then asign it parnter function or is there someway else. Eg - My customer number is 1000, in the same master number,  details of sales employee with the phone numbers and email address should appear.
    Regards

    Hey thank you Warren for your quick reply.
    So If I am right, the only option to add sales employee is in partner function tab.
    Moreover, will we use LSMW to add the data or T code MAss will work.
    And we dont have HR module in place, so I guess we will not be able to use. T- code Like PAL1

  • Query to find sales group details based on a merchant.

    I wanted a query to find the sales group details for a given merchant. How do i do it?

    Hi,
    use for following function module to get file listing
    DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
          L_FILEMASK LIKE EPSF-EPSFILNAM.
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
        EXPORTING
          dir_name                  = l_dirname
          file_mask                 = l_filemask
    * IMPORTING
    *   DIR_NAME                    =
    *   FILE_COUNTER                =
    *   ERROR_COUNTER               =
        TABLES
          dir_list                  = pi_filelist
    EXCEPTIONS
       invalid_eps_subdir           = 1
       sapgparam_failed             = 2
       build_directory_failed       = 3
       no_authorization             = 4
       read_directory_failed        = 5
       too_many_read_errors         = 6
       empty_directory_list         = 7
       OTHERS                       = 8.

  • Modify Sales Employee in AR Invoice

    Dear experts,
    I have to modified the Sales Employee in some AR Invoice but in some cases this is impossible, because SAP B1 give me an errore (this enty already exsists).
    What is the problem?
    Thanks.
    Paolo Orlando

    Dear Paolo Orlando,
    Sales Order and in Delivery are not financial transactions so that you could change sales employee freely.  As for the invoices, so many possibility that may already tight them up.  Do you have any FMS on this field?
    Thanks,
    Gordon

  • Update Sales Employee on AR/Invoice

    hello, is there a way of updating the sales employee on the sales invoice using DTW?
    Thanks in advance, Janice

    I found the DTW template that worked for the update of the sales employee on the AR Invoice, thank you

  • Customer Recievables Ageing by Sales Employee showing No Sales Employee

    Dear Sir(s),
    We are on SAP Business One 8.81 PL04.
    The customer recievables Ageing by Sales Employee report shows "No Sales Employee". when we group by sales employee on the selection criteria.
    We have setup all our Customers with sales employees in the Business Partner Master Data.
    Please advise on what could be the cause of this.
    Kind Regards,
    Asif M.

    Hi Rahul,
    Yes, the sales employee details are captured on the invoice.
    Infact, on the "No sales employee" Group, only the Incoming Payments (Type : RC) show for the diferent customers and yet these incoming payments were paid based on the invoices which have the sales employees captured.
    The customers appear both on the "No Sales Employee" Group as negative balances as well as its correct "Sales Employee' group as positve balance. The report shows correctly when we select the group by as  "customer" in the selection criteria.
    Regards,
    Asif

  • Derivation rule to Capture Billing Doc & Sales Employee

    Dear All,
      I want to create a derivation rule by table tookup to update the billing documnet no and the sales employee details in COPA. From which table i can get these details
    Regads
    Vasantha

    If i want to use VBRK Table my key field is sales document (VBELN) and Item Position(POSNR) . whereas in VBRK VBELN is Billing document no and in COPA VBELN is sale order no. Hence the table lookup can not be executed
    Regards
    Vasantha

  • Sales employee commission

    Hi All,
    how to calculate the sales employee comsission based ont he sales done hy him.
    regards
    Sunil

    Hi
    First of all you need to capture the sales employee name in the sales order.
    You can do this through creating the Sales Person with transaction PA30/20/40
    add the same sales employee in sales order.
    You can extract the report based on the sales employee and sales and pay them.
    If your company does have HR module impletemed , you can capture the sales employee name in the additional fields provided in the sales order.
    regards

  • How to maintain sales employee as a customer master

    How to maintain sales employee as a customer master not like sales employee responsible for sales

    Hi Prem,
    For storing the sales employee details, we need an HR master record.
    The controlling factor while maintaining Customer Master data is Account Group. Try creating a custom Account group and link the Sales Employee to it.
    regards,
    Raj

  • Invoice split due to different Sales employee/person (Partner Fn. VE (SE))

    Hi All,
    Invoice split happens due to different sales person in sales order line items.
    Example  for SO:
    1st line item -  XXX sales employee
    2nd line item - YYY sales employee
    3rd line item - ZZZ sales employee
    then 3 invoice's are getting created.
    Any suitable way to avoid this.
    I have tried changing copy routine in VTFL. but its of no use.
    I am an ABAP'er. So if there is any user exit to achieve this please let me know.
    Thanks,
    Ajeeth

    Dear Ram,
    Based on your requirement create new copy control routine and assigned these routine to Data VBRK/VBRP field in copy control(VTFL).
    Hope this will help you.
    Regards,
    Manoranjan.

  • How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice

    Hi,
    Kindly solve, How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice.
    Regards,
    Rajeev.

    Follow this step..
    1. In SQL Server, go to the SAP B1 Database you're using. 
    2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
    3.  Try to paste this -> and click F5
    If
    @object_type ='13' and @transaction_type in ('A','U')
    Begin
    If EXISTS
    select DocEntry from ONIV
    Where DocEntry = @list_of_cols_val_tab_del
    and  SlpCode<>'-1'
    Begin
    set @error_message = 'Please select the Sales Employee'
    set @error = 1
    END
    END
    Regards
    Kennedy

Maybe you are looking for