Conditional Formula in Customer Statements

Hi Experts,
I would like to be able to show various different office addresses in the header of my customer statements.
The addresses are dependent on GroupCode of the BP.  ALL the statements are printed by the same user, so I cannot use different statements for differnent users.
Is it possible to use an excel style IF add different text based on the hidden groupcode of the BP?
Thanks and Regards
Jon

Hi,
1. If you are referring to PLD, then you can make use of the Linked to field.
Example:
You create an Address field, the id is F_123
You have another field for BP Group, id is F_124
Then, create a Formula field F_125, with content F_124='USD', assuminh USD is the BP Code
In properties of field F_123, at the Linked to, put in F_125
Repeat the above steps for each address.
2. If you are referring to Crystal, then , in the Properties of each field, you can put in formula to suppress based on BP code.

Similar Messages

  • How to get the salesprice and condition for a customer / material / date

    Hi all,
    how can I get the correct price and condition for a customer / material / date ?
    I know this is possible using the BAPI_SALESORDER_SIMULATE, but this bapi is using to much ressources on the system.
    I'm trying to get the correct price and condition WITHOUT using that BAPI.
    Does anyone know how it is possible ? As said before : I have the customer, material and a date.
    thanks in advance for your help

    Hi
    You need it because it's possible to have a complex pricing procedure, and you can't do it with a simple select on a table. Think that you can have pricing requirements, formulas (ie: VOFM) and so on in your pricing procedure (tcode V/08).
    I hope this helps you
    Regards
    Eduardo

  • Importing Crystal Report layout for customer statements

    Hello,
    I have imported a crystal report layout to use for the customer statements when running them from the ageing report.  The problem is even if we only select one business partner in the ageing report, when we print preview the statement it displays statements for all business partners - this is because in the crystal report there are no parameters.  I know that when you import a layout like this for other documents you need to use for example, {ORDR.DocEntry}={DocKey@} as the parameter however the customer statements don't have a docentry.  When I look at the system statement layout (collection layout), when you run the report you get an ADO.NET (XML) connection prompt.  Is it possible to use the crystal layout i have for the customer statements but for only the customer(s) showing on the ageing report?
    Many thanks,
    Kate

    So just to make it clear,
    you want an overview of open invoices from 1 customer.
    If so, try this in crystal reports :
    Create a parameter field (field explorer)
    Name : CardName
    Type : String
    Value : Static
    do not select a value field (none)
    press ok.
    Select expert
    Create new
    Starts with
    type this : {?CardName}
    press add
    Click formula editor and make it look like this :
    {OINV.DocStatus} = "o" and
    {OINV.CardName} startswith {?CardName}

  • Customer Statement - PLD - Prior Period Balance

    When one uses the standard Customer Statement, the prior period balance shows up. It is a field defined as TEXT field, Free Text and the text value is 9999999999.
    When I copied (save as) this standard customer statement, the prior period balance no longer shows up. Further more, if I copy this field from the customer statement (F_033) to my new copy it doesn't work and if I manually create a new field it doesn't work either on the new statement.
    How does one get a prior period balance to show when the field is a text field and not a formula field.
    Any help would be greatly appreciated.

    Hi Marli,
    This is the norm of B1. Your client should be able to get used to it soon.
    Thanks,
    Gordon

  • Customer Statement Ageing

    Hi all expert, currently i have a Debit, Credit and Balance in Customer Statement.
    How to create an ageging base on these amount? Have anyone tried before?
    Could you please brief me.
    Thanks
    Regards,
    Danny

    Hi,
    You are trying to count the invoice totals for Age 30 to 60, 61 to 90 and 90+,
    Count the total payment for invoice no yet paid based on current month, 31 to 60, 61 to 90, and 90+
    so for example
    for the month of August + September, whatever invoice total was you want it to be displayed.
    Yes, but it is based on customer balance.
    If August produced 30, and September produced 40 then total for 30 to 60 would be 70?
    NO.Let say Ageing Date is 31 OCT (always end month, user can select), 31-60 would be 40, 61-90 would be 30
    Is that what you are trying to get at? If yes then have you setup calculating formulas yet?
    No really. I have tried below statement, but no luck.
    @Current
    If {TABLE.PostingDate} In Aged0To30Days Then
    {TABLE.Amount};
    @Over30Days
    If {TABLE.PostingDate} In Aged31To60Days Then
    {TABLE.Amount};
    @Over60Days
    If {TABLE.PostingDate} In Aged61To90Days Then
    {TABLE.Amount};
    @Over90Days
    If {TABLE.PostingDate} In Over90Days Then
    {TABLE.Amount};

  • Adding customer field to selection screen of RFKORD11 - Customer  Statement Printing Program:

    Hello,
    We are required to add an important customer field to selection screen of customer
    statement printing program: RFKORD11 for our South African branch.
    Please advise us regarding this matter,
    is there a proper user-exit or a repair is needed?
    Kind Regards.

    Enhancement
    text
    F050S001
    FIDCMT, FIDCC1,
      FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change
      IDoc/do not send
    F050S003
    FIDCC2: Change
      IDoc/do not send
    F050S004
    FIDCMT, FIDCC1,
      FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1,
      FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc:
      Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound:
      Influence on IDoc for Document Change
    F180A001
    Balance Sheet
      Adjustment
    FARC0001
    Enhancements within
      archiving (FI)
    FARC0002
    Additional Checks for
      Archiving MM Vendor Master Data
    FEDI0001
    Function exits for
      EDI in FI
    FICT0001
    Exits for
      inter-company transactions
    RFAVIS01
    Customer Exit for
      Changing Payment Advice Segment Text
    RFBVX001
    Enhancement for bank
      directory transfer (Austria)
    RFEPOS00
    Line item display:
      Checking of selection conditions
    SAPLBANK
    User exit: Bank data
    SAPLF040
    WF: Preliminary
      posting (authorized for release)
    SAPLF051
    Workflow for FI
      (pre-capture, release for payment)
    SAPLFCPD
    One-time account data
      or different payee in booking
    SAPLSSRV
    User exit: Bank
      account numbers
    RFKORIEX
    Automatic
      correspondence
    please check which one  is better .

  • Calculate the day from posting day in Customer Statement Report PLD

    Hi All,
    I do try to copy the PLD of Customer Statement Report to make modify. I try to calculate the how many day from the posting date until today. What is the formula and operation for this calculation?
    Also I found out that the posting on PLD is free text. How to get a real value from PLD? Any idea on this?

    Greetings,
    You can use a formula field to calculate the date diffrence between the posting date and the system / server date. But because the date value shows up with the DB specified type, you can 'chop up' the date into something more manageable, something along the lines of:
    Field_XXX - (CONVERT(CHAR(8),GETDATE(),10))
    where Field_XXX is your posting date field
    * in my hurry to post i realised this was for the Query Manager, let me dig through my implementation folder for the right formula*
    I dont quite understand your last line though:
    "Also I found out that the posting on PLD is free text. How to get a real value from PLD? Any idea on this?"
    Edited by: Davinder Singh on Mar 27, 2008 3:46 PM

  • Customer Statement showing Debits (Incoming Payments) and Credits (A/R Invo

    Hi All,
    I wish to generate  a Customer Statement showing Debits (Incoming Payments) and Credits (A/R Invoices) in separate columns.
    I also wish to include an ageing report as a footer. Has any one tried this before? And which tables can give me the data fields that I need??
    Warm Regards,
    Robinson.

    Hi Robinson,
    We can do it by using the formula fields. try this senario
    1. F_038 Is the default Amount field given by the SAP which we can't Change this value this one is hard coded.
    In general tab Link this field with F_004
    2. create one formula field (i.e. ex: F_001) in repetitive area and assign this Formula in it
    Amount(F_038)
    3. Create another Formula field (i.e. ex: F_002) in repetitive area and assign this formula in it
    F_001*(-1)   in general tab link this field to the F_003
    4. Create another Formula field (i.e. Ex: F_003) in he repetitive area and assign this formula in it
    F_001<0
    5. Create another Formula field (i.e. Ex: F_004) in he repetitive area and assign this formula in it
    F_001>0
    Now you can print the debit and credit amounts separately on the PLD

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Conditional formula in report painter.

    Hello.
    I create new CO-PA report in KE31 transaction which is based on a form.
    In transaction KE35 I define the new form and in this form I want to create formula.
    This formula should be conditional. How to define conditional formula in that kind of form.
    I can also define key figure scheme in transaction KER1 but in this transaction I also don't see possibility to define
    conditional formula.
    Conditional formula means that some value fields should be summ and some value fields should be substract
    depending on the value of characteristics.
    How to solve this problem in R/3 4.6C?
    I am waiting for help.
    Best regards
    Bogdan

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

  • Customer statement

    I m creating customer statement .  In BSID and BSAD only closed and open items are avilable .Can anyone suggest me in which table the actual amounts paid by the customer are available. or how to calculate the paid amounts from
    BSID and BSAD . Thanks regards

    Hi Srinivas,
    You can find the amount paid by the customer in the same tables. Whenever you receive the payment from the customer you post a document. Select all the documents by document type you will get the total amount paid by the customer.
    And there is a standard report in SAP which gives Customer Payment history       ( S_ALR_87012177).
    Regards
    RS

  • Customer Statement (Standard Program and Scripts)

    Hi All ABAPers,
    Can anyone tell me the standard programs and their tcodes used for Customer statement with the smartform and sap script names?

    Custom statement Prog Name: RFKORD11
    Script name: F140_CUS_STAT_01 & F140_CUS_STAT_02
    Statements would be printed via FBL5N.
    Edited by: Alexander on Jul 1, 2009 12:00 PM

  • Customer statement with cheque details

    Hi
    My client requires a customer statement including the cheques deposited for collection and the post dated cheques received from the customers.  Please tell me this requirement can be met through any standard reports or should I go for a development ?

    You need to go for development. Populate check number in Reference field or Assignment field. In custom development, read line items with posting key 15 and get document number for that line item, in this document read, check number & line item with bank G/L account which has exact check amount. Amount on line item with PK 15 is not aways check amount as there may be residual due to partial payment, small difference charge off etc; amount on PK 15 is clearing amount.
    I hope this helps.

  • Customer Statement with Consolidating BP

    If Invoice is posted to Customer who is attached to a Consolidating BP, posting of Invoice is posted to Consolidating BP only and Customer Statement does not show this Invoice for the specific Customer BP except appear in the name of Consolidating BP even if the link to Consolidating BP is removed subsequently.  New posting of Invoice to Customer after removing Consolidating BP will be posted to specific Customer but not reflected in Consolidating BP.  This has been acknowledged by SAP as a limitation as most payments received is usually payable to Consolidating BP for all related Customers.
    Kedalene Chong

    Hi Peter
    I think there is some misunderstanding as this message is different from the one about Currency.
    We need to be able to print Customer Statement by both Consolidate BP and specific Customers related to the same Consolidate BP.  Please refer to SAP Message 690264/2007
    Kedalene Chong

  • Opening balance and closing balance on Receivables Customer Statement repor

    I need an opening balance and closing balance of the customer statement in one report. Currently I developed a custom Customer statement report in report builder 6i. I developed a custom procedure to retrieve the previous statement balance. I’m able to successfully retrieve ending balance statement with sysdate but if I go back to previous date or previous statement date then I’m not getting the right ending balance of the report.
    Even the seeded api arp_customer_aging provides the ending balance for sysdate but not for previous dates because this api always looks back to amount due remaining column(ar_payment_schedules_all).
    Did any one ever develop a custom logic to get previous balance and ending balance on one single customer statement?

    Hi,
    I am working on the same logic. My program loads opening and closing balance and a list of items everyday. The GL_balances table gives you current balance but if you want the previous balance, you have to use : "gl_daily_balances" table and provide accounting_date for which you want the balance.
    Hope this Helps!
    Yogini

Maybe you are looking for