Unable to generate Sales Report of Business Partner  by State-XL Reporter

We are not able to generate Sales Report of Business Partner  by State using XL Reporter.
The issue is that we can not access the Bill to State for BPs, or for that matter the Ship-to State.  We can access Bill T street, block, city, country u2013 everything except state.
There is a CRD State, but for sales reports this is useless.  Can someone advise on this?
Thanks in advance,
Srini

You can get around this by creating a UDF and formatted search to populate it.
The XL Report can then be created, but, watch out on upgrade - XL Reports with UDF's are not easy on upgrade, especially where the UDF will be a run parameter. I often have to re-write after upgrade, so store a base one without the parameter setting

Similar Messages

  • Generate Welcome Letter for Business Partner in ISU?

    Hi Experts,
    Welcome Letter to be generated, when a new business partner is created using FPP1 Tcode.
    If I created a Business Partner, so the system automatically will generate a welcome letter for the partner in ISU.
    How to do it?
    Thakns in advance.
    Sekhar

    Hi,
    you can use event 1052 to create the correspondence container we a BP is created. I don't think there's any customizing for that. You create a correspondence type ZBPC in:
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Correspondence > Define Correspondence Types
    the you assign a print form to the correspondence type:
    Financial Accounting > Contract Accounts Receivable and Payable > Basic Functions > Define Application Forms for Correspondence
    an in you event you call functions:
    FKK_GET_CORR_CUSTOMIZING - Read correspondence type customizing
    FKK_CREATE_COKEY - If you need to create a cluster of data due to performance reason whe you fill data that it's not possible to put in DFKKCOH or DFKKCOHI. If you do taht you'll need to do somthing like:
    write it with the export command,
    so that the cluster structure is build by that command.
      EXPORT i_zdomcluster FROM i_zdomcluster
             TO DATABASE dfkkcodclust(co)
             ID w_cokey.
    Pick it up again, access with relid for index use
      SELECT * FROM dfkkcodclust INTO TABLE i_dfkkcodclust
               WHERE relid = c_relid_co
               AND   cokey = w_cokey.
    And then you call function module FKK_WRITE_CORR to create you correspondence container.
    FPCOPARA will do the rest...
    I use this to create direct debit letters when a customer account changes to ask the customer to go to the bank and request to chage hsi domiciliation details.
    Cheers,
    Adriano.
    PS: Some answers on this forum seem to be done by people that don't even understand simple questions???
    Edited by: Adriano Silva on Sep 12, 2008 10:56 AM

  • A/R invoice report including business partner property

    Hi Xperts ,
      I am  using a query to get Sales A/r report. Nom i want to include the Business Partner Property Column  in that .
    Could any one could Provide the Solution.
    This is the Query I use
    SELECT DISTINCT  T1.[DocNum] as 'Billing No',
    T1.[DocDate] as 'Billing Date',
    T1.[CardCode],
    T1.[CardName],
    t1.[numatcard] as "Customer Refernce No" ,
    T1.[DocTotal],T3.[ItmsGrpNam]
    FROM [dbo].[INV1]  T0 INNER JOIN [dbo].[OINV]  T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN [dbo].[OITM]  T2 ON T0.ItemCode = T2.ItemCode
    INNER JOIN [dbo].[OITB]  T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    INNER JOIN RDR1 T4 ON T2.ItemCode = T4.ItemCode
    INNER JOIN ORDR T5 ON T4.DocEntry = T5.DocEntry
    WHERE T1.[DocDate] >=[%0]
    and  T1.[DocDate] <=[%1]
    and  T3.[ItmsGrpNam] >='XXXX'
    and  T3.[ItmsGrpNam] <='XXXXX'
    and  T5.[CurSource] ='L'

    Hi Balaji,
    Try this if you want the Property name in single column
    Select A.[Billing No] , A.[Billing Date] , A.CardCode , max(A.CardName), max(A.[Ref No]) , sum(A.DocTotal) ,min(A.GroupName)  from
    (SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], T1.DocTotal
    , 'z' [GroupName]
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup1 = 'Y' and T2.GroupCode = 1
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup2 = 'Y' and T2.GroupCode = 2
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup3 = 'Y' and T2.GroupCode = 3
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup4 = 'Y' and T2.GroupCode = 4
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup5 = 'Y' and T2.GroupCode = 5
    union all
    SELECT DISTINCT  T1.DocNum [Billing No], T1.DocDate [Billing Date], T1.CardCode, T1.CardName, t1.numatcard [Ref No], 0 [DocTotal]
    , T2.GroupName
    FROM dbo.OINV  T1 INNER JOIN OCRD T6 ON T1.CardCode = T6.CardCode , dbo.OCQG T2
    where T6.QryGroup6 = 'Y' and T2.GroupCode = 6) A
    Group by A.[Billing No] , A.[Billing Date] , A.CardCode
    order by A.[Billing Date] desc
    Regards,
    Bala

  • How to post a Draft Sales Order for Business Partner on hold

    Hi Experts,
    I hope you can help me with a question I have using 8.81 PL07.
    I know that the inactive / active functionality changed with 8.8 so that when a BP is inactive it no longer appears in the Choose From lists.
    Prior to 8.8 when a Customer was on hold we could still raise Draft SO's for them, which we could then add once the Customer was taken off hold. 
    How do I do this in 8.81 please?
    Thanks very much,
    Caroline

    Hello Caroline,
    I have found sap note: 1411244 this desribes these "new" functionality.
    "Item, business partner, and account "Choose from List" windows no longer show inactive objects. "
    So the answer for your question is: from version 8.8 is not possible to record any draft documents on Business Partners are on hold.
    Regards,
    János

  • Problem with Business Partner List - State

    I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
    Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
    Thanks,
    Mark

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • Subtotal sales amount by business partner in perticular week

    Good morning,
    1.  I select sales analysis -> sales analysis report-selection criteria-> select annual and invoice, postiong date(from to), sales employee->press ok
    2. double click sales employee-> I can get the following information
    Customer#      Customer Name     Sales person     invoice sales    gross profit %      gross profit
    Acturall, I need Customer#, Customer Name, total sales for each customer, and total gross profit for each customer
    3. the question is how can I get the report showing:
    Date:  From XXX   To XXX
    Sales employee
    Custome#   Customer Name                       Sales                                          Gross profit
    001                   A                         Total sales for customer A               Total gross profit for customer A
    002                   B                          Total sales for customer B                Total gross profit for customer A
    Many thanks
    Ying

    I checked the internet. it looks like we can get the report that I need, But I could not understand.
    Performing Sub-sorts and Subtotals
    Use
    You must create sorts in order to perform sub-sorts or subtotals. For example, sort the Items table in a sales quotation by the Item Number field and display a relevant title each time the item number changes. This is a sub-sort.
    In addition, perform a sub-total displaying the cumulative quantity of each item. This can be used in documents containing multiple rows of the same item, displayed with a different description in each row.
    Procedure
    After defining the sort, perform the following steps
    1. From the menu bar choose Print Layout Designer u2192 Group.
    2. Select a group number.
    3. Select 1 for a sub-sort or sub-total for the primary sort, select 2 for the secondary sort and so on.
    Each group is linked to its relevant row number in the Sort window described above. Thus, every field created in a certain group relates only to its group's corresponding row in the Sort window.
    The Repetitive Area Header titles are now hidden as well as any field created in the Repetitive Area Footer. The reason is that these two areas are linked to groups. Each one of the groups has two areas of its own.
    4. To define the sub-sort, do the following:
    a. In the Repetitive Area Header assign a title for the required sort.
    b. Create a new Formula field
    c. Choose the Formula Editor button and select the operand SortValue() in the Operation field.
    This action will print the Items table divided into separate titles each time the Item number changes.
    5. To define sub-totals do the following:
    a. In the Repetitive Area Footer create a Formula field.
    b. Choose the Formula Editor pushbutton and select the operand ColSum(UniqueID as String) in the Operation field (for the Quantity field from the rows in the Sales Quotation).
    The field within the brackets defines the column for which a total will be calculated. You can also calculate totals for the Price and Total columns.
    6. To save the changes choose on the toolbar.
    Thanks

  • Creating Sales Employee Report in Business One 8.82

    Hi,
    Can someone provide me the query to create a Sales Report sorted by Sales Employee and Business Partner. The report contains the following columns:
    Sales Employee, Business Partner Name and Acct Number, Sale for Current Month (or month provide in the report parameter), Sales for same month last year, YTD-this year, YTD-last year.
    Thanks

    Hi Sam,
    As per your requirement here i provide you the sql query for SALES Report.
    DECLARE
    @StartDate DATETIME,
    @EndDate DATETIME,
    @Dummy INTEGER
    SELECT TOP 1 @Dummy = DocNum
    FROM  OINV T0
    WHERE T0.DocDate >= [%1]
    AND T0.DocDate <= [%2]
    SELECT
    @StartDate= '[%1]',
    @EndDate = '[%2]'
    SELECT DISTINCT
    T0.Docentry,
    T0.DocNum as 'Bill No.',
    CONVERT(VARCHAR(10), T0.DocDate, 3) AS 'Bill date',
    T0.CardName AS 'Customer Name' ,
    T1.Dscription AS 'Item Description',
    T1.Quantity,
    T1.Price AS 'Price',
    T1.TaxCode,
    T1.LineTotal AS 'Basic Line Total' ,
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = -90
    AND INV4.DocEntry = T0.DocEntry
    AND INV4.LineNum = T1.LineNum) AS 'BED',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = -60
    AND INV4.DocEntry = T0.DocEntry
    AND INV4.LineNum = T1.LineNum) AS 'Cess',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = 9
    AND INV4.DocEntry = T0.DocEntry
    AND INV4.LineNum = T1.LineNum) AS 'HeCess',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = 1
    AND INV4.DocEntry = T0.DocEntry
    AND INV4.LineNum = T1.LineNum) AS 'VAT',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = 8
    AND INV4.DocEntry = T0.DocEntry
    AND INV4.LineNum = T1.LineNum) AS 'CST',
    T0.Comments
    FROM OINV T0
    INNER JOIN INV1 T1
    ON T0.DocEntry = T1.DocEntry
    WHERE T0.DocDate >= @StartDate
    AND T0.DocDate <= @EndDate
    AND T1.TargetType < > 14
    Thanks,
    Nishit Makadia

  • How to generate Business Partner only in SAP for Naksia

    Hi Everyone,
    Having one issue, if you can help me out
    In SAP when we run HRSYNC_PERSON report automatically it will generate Central Person and Business Partner.
    Here my question is what options to select in this report to generate Central Person & Business Partner?
    If I want to generate only Business Partner, then what options to be select, because in my system Central Person is already created.
    Could you please help me on this issue.
    Waiting for your response!!
    Regards
    Utkarsh

    Hi Utkarsh:
    Well, there's a variety of issues that could be causing this.
    It could be your pernr is simply missing a valid infotype 6.  A BP needs infotype 0,1,2 and 6 at a minimum to be generated.
    It could be a problem with your actual Business Partner configuration.  It would be good to see if you can generate a BP from scratch on your own using transaction BP.  That will tell you if your BP config has any issues.
    It could be a problem with tax jurisdictions in VERTEX or some geocode tables that need refreshing from client 000.  It's hard to say from here.  The lower left hand corner of the screen when you hit the 'synchronize' button should tell you why a BP wasn't generated.
    Let me know what you get when you create a BP through transaction BP.  Then let me know what the bottom left hand corner of HR_SYNC_PERSON says after you synchronize.
    Thanks,
    Chris

  • Extending Business Partner

    Hello Friends ,
    I have report for Business Partner Extension in CRM server.
    which extend bp for sales area in CRM & R3 server.
    its working fine in CRM server, but in R3 server its not inserting data in zfields like ZVALFRM , ZVALTO,ZASTYP , ZGEOUNIT.
    what is the BAPi required to extend BP in R3 server.
    please reply.
    Thanks a lot.

    Hi Darshan,
    You need to write middleware exit to send extension data from CRM to R/3.
    You can add your own function module in table CRMC_BUT_CALL_FU, which would allow you to call bespoke function module during the outbound process. You need to read the extension data on the CRM side and pass it to the relevant structures.
    You can look at the sample function module 'OPEN_FI_PERFORM_CRM0_300_P' on R/3 side which could be used for this purpose. You need to read the extended data and pass it to corresponding tables.
    Once the data gets updated to the customer tables in R/3 you woudl be able to see it in reports.
    Hope this is of help.
    Thanks,
    Surendar

  • Urgent: Business Partner assignment to Org Unit

    Hi,
    I have created a Organisational Unit and assigned positions to each unit.
    However when I try to assign any busniess partner its giving error as below
    <b>The required data changes consist of two parts:
    1. Scheduling existing relationships
    2. Creating a new relatonship
    The existing releationship(s) was/were successfully scheduled, but the system could not create the new relationship.</b>
    Is there any specific config required for the Org assignments, if so pls tell me.
    Help me its very urgent.
    Thanks in advance.
    Regards,
    Sheetal Hirde

    HI,
    And also check the following and maintain accordingly
    BUPA SYNC ON BP: Integration (ON / OFF / CREATE)
    HRALX HRAC X Activate HR Integration
    HRALX OBPON ON Integration O-BP Activated
    HRALX OBWIG X Ignore Business Partner Warnings
    HRALX ONUMB 1 Business Partner Number Assignment (Org. Unit)
    run the report Create Business Partner Initially(Tcode;CRM_OM_BP_INTEGRATE).
    Regards,
    Satish Mathala

  • Bank statement detail report in cash management

    Iam able to see all ap payment numbers in " transactions available for reconciliation report" but some of them are missing in bank statement detail report.
    Do anyone have any idea on this? pls suggest.

    These reports have different roles:
    Bank Statement Detail Report
    This report shows statement and transaction information for a specific bank account statement, including bank statement header information, statement line detail, and reconciled transaction detail. This report lists any unreconciled transactions separately with their current status, and the statement totals for each type of transaction, including the amount entered, reconciled, unreconciled and over-reconciled. Under-reconciled amounts are displayed as a negative amount in the over-reconciled column. You also have the option to run the report for only unreconciled statement lines.
    Transactions Available for Reconciliation Report
    This report shows all transactions available for reconciliation for a specific bank account. It lists detailed transaction information for your Available Receipts, Available Payments, and Available Journal Entries for reconciliation. Detailed information includes the Customer, Supplier, Transaction Date, Payment Method, Transaction Number, Currency, and Amount. It also lists detailed information for your available statement lines.
    This report only lists void payments if the Show Void Payments option on the Systems Parameters window is checked.
    Octavio

  • How to block a business partner...in sales order????

    Hi all,
               While generating the sales order....In the customer tab i will select one business partner from CFL,after choosing i want one particular customer to be blocked....means it should unable to post the sales order.....i know that i should write my coding in the customer tab LOST FOCUS event......can anybody suggest me the coding for this problem....
    regards,
    shangai.

    Shangai,
    How about blocking some partner from ChooseFromList of BP in Sales Order?
    Meaning that blocked some bp with criteria in Choose From List. Sample code:
    If pVal.FormType = 139 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                If pVal.ItemUID = "4" Then
                    If pVal.InnerEvent And pVal.Before_Action Then
                        BubbleEvent = False
                        Dim oForm As SAPbouiCOM.Form
                        oForm = SBO_Application.Forms.Item(FormUID)
                        Dim oCons As SAPbouiCOM.Conditions                   
                        Dim oCFL As SAPbouiCOM.ChooseFromList
                        'oCFL = oCFLs.Add(oCFLCreationParams)
                        oCFL = oForm.ChooseFromLists.Item("2")
                        oCons = oCFL.GetConditions()
                        'Note: Add the condition only once.
                        If 0 = oCons.Count Then
                            Dim oCon As SAPbouiCOM.Condition
                            oCon = oCons.Add()
                            oCon.Alias = "Cardcode"
                            oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                            oCon.CondVal = "C0001"
                            'Set your own condition here instead of the system conditions
                            oCFL.SetConditions(oCons)
                        End If
                        BubbleEvent = True
                    End If
                End If
            End If
    Regards, Yatsea

  • Unable to create Business Partner in CRM

    Hi I am unable to Create a Business Partner (BP)in CRM though I could  see that the INBOUND  IDOC ( Msg type : CRMXIF_PARTNER_SAVE_M ) is getting posted.I created the IDOC through the test transaction (we19).Also i dont have any data to give in the field PARTNER_GUID without which the IDOC was failing.So i took an existing value from the table BUT000 and used it and it posted successfully but still the BP is not getting created in the system.Request you to pls suggest a solution..

    Kanth,
    You dont have to populate BP IDOC with partner guid.System generates partner GUID whenever BP is created.
    Try to create a BP without populating guid.
    Thanks,
    Thirumala.

  • No Business Partner generated for new employee transfer from ECC to SRM

    Hi All,
    I am working on SRM 5.0 with ECC 6.0 backend. The HR structure is replicated from ECC using ALE, message type:HRMD_ABA.
    When I am trying to replicate a new employee from ECC to SRM, I run the O-insert first, then the S-insert and then the P-insert using PFAL transaction.
    The Org structure was already in place in SRM, so it just adds the new position to it by A003 relation. The S-insert generated idoc shows status as '53' in both ECC and SRT with the relation A003, B007 and A008. But, when I check the table HRP1001, the A008 entry is missing. Due to this, no CP is generated for this position and also no business partner is generated for this user.
    When I run the P-insert for this employee, the idoc is posted in ECC. But, the status of the idoc in SRT is '52' and the message shown is "The Parameter Country Has Not been Entered During Naming Format Check" Message No. R11206.
    I checked the Name Format for this employee, and it is maintained as 2.
    Where am I going wrong? Why is no CP person generated even when the idoc status is 53? Why isn't the new employee getting transferred to SRM server?
    I have checked the SAP notes related to HR-ECC Org transfer, but I am unable to figure out the reason for this problem.
    Could anyone help me out in this?
    Regards,
    Ancy

    Maintained the name format tables (SA13)on ECC and SRM side.

  • Business Partner - CRM Sales Area Data disabled

    Hi Experts,
    Facing a small problem in Business Partner screen.
    I have created a Sold-to-Party role and when i go to the <b>Sales Area Data</b>
    data set, i should be able to Choose Sales Area for determining the Sales Org and Distribution Channel. But the Button <b>Choose Sales Area</b>
    is not enabled. Kindly help me out in Enabling this button so that i can choose Sales Area and determine the Sales Org and Distribution Channel.
    Thanks
    Shiva

    Hi,
    1. Go to transaction sm30
    2. Open T77OMATTR in display mode.
    3. Select SALE and go to Attributes/Scenarios.
    4. Now go to the detail of attributes IS_SA_GRP, IS_SA_OFF and
    IS_SA_ORG.
    There you will see that Flag is not checked for 'Simulated'. For
    Enhanced model it should be checked. Check the checkbox for all the
    three attributes and then run the report
    HRBCI_ATTRIBUTES_BUFFER_UPDATE.
    Smita.

Maybe you are looking for