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

Similar Messages

  • How can I calculate the maximum number of days between two dates in a range of dates?

    I have a column of dates spanning the couse of a few months.  I would like to know if I can calculate the maximum number of days between each row and display the highest number.  I currently have another column that calculates the days betwen the rows and I am currently just looking at the totals and highlighting the highest period.
    Is this possible?  Any help or suggestions are appreciated.
    Thank you,
    Trevor

    This sounds totally possible,  Can you post a screen shot of your table to make responding more focused?  If you mean you want to:
    A) compute the difference (in days) between two date in the same row, then
    B) find the max duration (in days)
    Here is my take on this problem:
    D2 = C2-B2
    select D2 and fill down
    F1=MAX(D)
    to perform the conditional formatting (to highlight the max duration) select column D, then set up conditional formatting as shown in the 1st image

  • How to Calculate the Time Between two days in ABAP

    Hi,
                  I have one scenario like i need to calculate the time between two days please can you suggest me.
    Thanks,
    Harinath

    Hi Peeleti,
                Check this code,
    DATA : DATE1 LIKE SY-DATUM VALUE '19830125',
           DATE2 LIKE SY-DATUM VALUE '20070219',
           DAYS1 TYPE I,
           WEEK1 TYPE I,
           MONTH1 TYPE I,
           YEAR1 TYPE I,
           C_YEARS1 TYPE I.
    CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES'
    EXPORTING
      BEGDA           = DATE1
       endda           = DATE2
      TAB_MODE        = ' '
    IMPORTING
      DAYS            = DAYS1
      C_WEEKS         =
      C_MONTHS        = C_YEARS1
      C_YEARS         = C_YEARS1
      WEEKS           = WEEK1
      MONTHS          = MONTH1
      YEARS           = YEAR1.
      D_MONTHS        =
      MONTH_TAB       =
    *WRITE : / 'DAYS   = ', DAYS1,
            / 'WEEKS = ',WEEK1,
          /  'MONTHS = ', MONTH1,
          / 'YEARS   = ', YEAR1.
    Using this code you can calculate the No Of Days Between two dates. Based On days you will easily calculate the Hour. [  No of days * 24 ].
    Thanks.
    Reward If helpful.

  • Moving of the Infoobjects from Unassigned nodes to Custom Created Nodes

    Hello Experts.
    How to move the infoobjects from unassigned nodes to custom created nodes in RSA1.
    Thanks
    PT

    Hi ,
    Goto RSD1 ->info object catalog -> enter catalog name -> edit -> insert your info objects  under "characteristic" folder.
    Hope this may be the easier way.
    Regards,
    Swarupa.

  • How to load the data from informatica into bw & how to report the data

    Hi friends,
    how to load the data from informatica into bw & how to report the data
    using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
    Thanks,
    madhu.

    Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
    For BW informatic integration refer following docs:
    http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
    http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
    http://devnet.informatica.com/learning/ePresentations.asp
    http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
    http://www.informatica.com/customers/utilities_energy/fpl_group.htm
    http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22

  • Customer statement report 2007 A PL37

    Good day
    I need to do a layout on PLD on the customer statement report for a client, but they do not want a full record of debits and credits to show on this statement. They only want the open and unreconciled transactions to show. How do I achieve this in the PLD?
    Regards

    Izak,
    Please see this link with respect to reporting questions ...
    All about Printing & Reporting using ALD, PLD, XLR and Crystal Reports
    Eddy

  • Adding an extra field in customer statement report

    Dear all,
    We are on SAP B1 2007 PL42. How can we add an extra field eg a UDF on a customer statement in PLD? The system's customer statement have all fields as "free Text".
    Kind Regards,
    Asif

    Hi,
    I have created a free text field in PLD- named Field_101. I have also created a database field from the OINV table and referenced to the UDF "U_FileNo" named Field_102.  On field_101 I have linked to Field_102 but on previewing the report the field is empty/blank.
    Thanks
    Asif

  • AR Customer statements report Page numbers Reset based on customer number

    Hello,
    In the AR Customer statements report, If I ran the report for multiple customers, page number has to be reset for each customer...
    Group Started like below,
    <?for-each-group:G_STATEMENT;STATEMENT_DATE?><?for-each-group:current-group();SEND_TO_ADDRESS_ID?>

    Hi Kittu,
    I got the answer using @section command.
    Below are the complete syntax in my case.
    Form field         --Xml Tag
    If Data Found --<?choose@section:?><?when:count(G_SETUP)!=0?>
    Group G_SETUP  --<?for-each@section:G_SETUP?>
    Group G_STATEMENT --<?for-each-group@section:G_STATEMENT;STATEMENT_DATE?><?for-each-group@section:current-group();SEND_TO_ADDRESS_ID?>
    Its working for me.
    Let me know if you required more information.
    Regards,
    Dasarath

  • Customer Statement Report without BP Ref No.

    Hi,
    we are using SAP B1 2005 B PL35 with MSSQL 2005.
    If you :
    - run the Sales AR/Sales Reports/Customer Receivables Ageing
    - choose to run the report by Journal Postings
    - run the standard SBO report Customer Statement Report (one page per
    customer/Collection report
    The Cust ref No. (BP ref No) is not displayed.
    It seems that the BP Ref No is displayed only if the "Sales Documents" tab is selected according to the note 885071.
    Does anyone has a workaround to display this information in the report ?
    The reason is, all our customers need this information in order to match their orders with the invoices.
    Thank you
    Best regards
    Cyril

    Hi Cyril,
    Try to export the report to MS-Word and then
    take print preview/print using my previous reply.
    It showing Customer Reference Number.
    I tested it.
    Hope above answer solves problem.
    Jeyakanthan

  • Customer Statement Report

    Hi All,
    When running customer statement report in AR its not displaying any data.Instead of that showing blank output. As per the report parameters it must be shown output datas.
    If anyone give a solution to view output data in Customer Statement report then it will be more useful.
    Version & Files Used:
    Apps R12.1.1
    Report Type = XML
    RTF Name = ARICUSTMT_DTL_en_US.rtf
    Data Template Name = ARSTMTRPT.xml

    Hi pradeep,
    Below are the same code which i am getting for customer statement report.
    First LIST_G_STATEMENT is for GBP currency statement details
    and second LIST_G_STATEMENT is for USD currency statement details.
    How do we achive this to display each currecy statement in separate page.
    please help on this..i have nt come accross this kind of issue.
    1.) <LIST_G_STATEMENT>
    <G_STATEMENT>
              <CUSTOMER_ID>1057</CUSTOMER_ID>
    <SITE_USE_ID>1067</SITE_USE_ID>
              <STATEMENT_TYPE>BILL_TO</STATEMENT_TYPE>
              <TOTAL_AMOUNT_DUE>300</TOTAL_AMOUNT_DUE>
    <CURRENCY_CODE>GBP</CURRENCY_CODE>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
              <SORT_TRX_DATE>25-SEP-07</SORT_TRX_DATE>
    <SORT_INVOICE_NUMBER>2030</SORT_INVOICE_NUMBER>
    <TRX_SEQUENCE>2024</TRX_SEQUENCE>
    <LIST_G_LINE_CLUSTER>
         <G_LINE_CLUSTER>
         <INVOICE_NUMBER>2030</INVOICE_NUMBER>
    <TRX_DATE>25-SEP-07</TRX_DATE>
    <TRANSACTION>Invoice</TRANSACTION>
    <DUE_DATE>30-NOV-07</DUE_DATE>
    <AMOUNT_DUE>300</AMOUNT_DUE>
    <TRX_AMOUNT>300</TRX_AMOUNT>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    </G_STATEMENT>
    2.) <LIST_G_STATEMENT>
    <G_STATEMENT>
              <CUSTOMER_ID>1057</CUSTOMER_ID>
    <SITE_USE_ID>1067</SITE_USE_ID>
              <STATEMENT_TYPE>BILL_TO</STATEMENT_TYPE>
              <TOTAL_AMOUNT_DUE>300</TOTAL_AMOUNT_DUE>
    <CURRENCY_CODE>GBP</CURRENCY_CODE>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
              <SORT_TRX_DATE>25-SEP-07</SORT_TRX_DATE>
    <SORT_INVOICE_NUMBER>2030</SORT_INVOICE_NUMBER>
    <TRX_SEQUENCE>2024</TRX_SEQUENCE>
    <LIST_G_LINE_CLUSTER>
         <G_LINE_CLUSTER>
         <INVOICE_NUMBER>2030</INVOICE_NUMBER>
    <TRX_DATE>25-SEP-07</TRX_DATE>
    <TRANSACTION>Invoice</TRANSACTION>
    <DUE_DATE>30-NOV-07</DUE_DATE>
    <AMOUNT_DUE>300</AMOUNT_DUE>
    <TRX_AMOUNT>300</TRX_AMOUNT>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    </G_STATEMENT>
    with regards
    Ram

  • Customer Statement Report- Issue

    Hi guys,
    I am working on customer statement report in xmlp.
    client requirement is to view the data as "SEPERATE SHEET SHALL BE PRINTED FOR EACH INVOICING CURRENCY.
    I have G_Statement for header and G_statement_lines for main body lines.
    For different currency like USD, GBP, I am able to get separate tags for G_statement and G_statement_lines based on the currency.
    How do we acheive this in RTF template to display the datas based on each invoice currency?..
    For e.g If USD currency, I need to display the datas in separate sheet.
    If GBP currency, I need to display the datas in separate sheet.
    welcoming your advice.
    with regards
    Ram

    Hi pradeep,
    Below are the same code which i am getting for customer statement report.
    First LIST_G_STATEMENT is for GBP currency statement details
    and second LIST_G_STATEMENT is for USD currency statement details.
    How do we achive this to display each currecy statement in separate page.
    please help on this..i have nt come accross this kind of issue.
    1.) <LIST_G_STATEMENT>
    <G_STATEMENT>
              <CUSTOMER_ID>1057</CUSTOMER_ID>
    <SITE_USE_ID>1067</SITE_USE_ID>
              <STATEMENT_TYPE>BILL_TO</STATEMENT_TYPE>
              <TOTAL_AMOUNT_DUE>300</TOTAL_AMOUNT_DUE>
    <CURRENCY_CODE>GBP</CURRENCY_CODE>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
              <SORT_TRX_DATE>25-SEP-07</SORT_TRX_DATE>
    <SORT_INVOICE_NUMBER>2030</SORT_INVOICE_NUMBER>
    <TRX_SEQUENCE>2024</TRX_SEQUENCE>
    <LIST_G_LINE_CLUSTER>
         <G_LINE_CLUSTER>
         <INVOICE_NUMBER>2030</INVOICE_NUMBER>
    <TRX_DATE>25-SEP-07</TRX_DATE>
    <TRANSACTION>Invoice</TRANSACTION>
    <DUE_DATE>30-NOV-07</DUE_DATE>
    <AMOUNT_DUE>300</AMOUNT_DUE>
    <TRX_AMOUNT>300</TRX_AMOUNT>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    </G_STATEMENT>
    2.) <LIST_G_STATEMENT>
    <G_STATEMENT>
              <CUSTOMER_ID>1057</CUSTOMER_ID>
    <SITE_USE_ID>1067</SITE_USE_ID>
              <STATEMENT_TYPE>BILL_TO</STATEMENT_TYPE>
              <TOTAL_AMOUNT_DUE>300</TOTAL_AMOUNT_DUE>
    <CURRENCY_CODE>GBP</CURRENCY_CODE>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
              <SORT_TRX_DATE>25-SEP-07</SORT_TRX_DATE>
    <SORT_INVOICE_NUMBER>2030</SORT_INVOICE_NUMBER>
    <TRX_SEQUENCE>2024</TRX_SEQUENCE>
    <LIST_G_LINE_CLUSTER>
         <G_LINE_CLUSTER>
         <INVOICE_NUMBER>2030</INVOICE_NUMBER>
    <TRX_DATE>25-SEP-07</TRX_DATE>
    <TRANSACTION>Invoice</TRANSACTION>
    <DUE_DATE>30-NOV-07</DUE_DATE>
    <AMOUNT_DUE>300</AMOUNT_DUE>
    <TRX_AMOUNT>300</TRX_AMOUNT>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    </G_STATEMENT>
    with regards
    Ram

  • Receivables Customer Statement report

    Hi Friends,
    I am an Oracle finance functional consultant. I got into an issue in regards to Receivables Customer Statement report in Oracle Receivables, when i run this report for one customer, i can see the ON ACCOUNT receipt amount as one of the lines in the report. But, for another customer, when i run this report, i can see the ON ACCOUNT receipt amount included in the total amount, but not one of the lines. Can someone please help me knowing the reason behind?
    Thanks in advance..
    Regards,
    Venkat

    Hi;
    I suggest close your issue here as answered than move your issue Oracle Discussion Forums » E-Business Suite » Financials which you can get more quick response
    Regard
    Helios

  • Location of Customer Statement Report

    Hi all,
    I am wanting to customize the Customer Statement Report - when printed it appears to be a Crystal Report, but in the list of reports in the Report and Layout Manager there appears to be no reference to it under Customer Receivables Ageing or the A/R Invoice report sections (and they are all PLD reports).  Could someone please point me in the right direction?
    Thanks in advance,
    Nick
    B1  8.8

    hi nreese,
    when you customize  the Customer Statement Report. you can refer Customer Receivables Aging standard report.
    - you can select AR invoice (status Open) : Doctotal - PaidtoDate
    - AR credit (status open)
    - Incoming payment
    - Outgoing payment
    _ Journal Entry
    then compare with Customer Receivables Aging.
    thanks
    H2

  • Calculate the date interval in days

    Hi all!
    I need your kind help.
    I have an oracle sql table.
    here is goes..
    TABLENAME: RACE
    DATE NAME
    11-JAN-12 JAMES
    12-JAN-12 JAMES
    14-JAN-12 JAMES
    17-JAN-12 JAMES
    22-JAN-12 JAMES
    01-FEB-12 JOHN
    11-FEB-12 JOHN
    13-FEB-12 JOHN
    14-FEB-12 JOHN
    28-FEB-12 JOHN
    01-MAR-12 JOHN
    HOW DO I Calculate the total date interval(difference) for James and John in days?
    for example in this case the total is 7 days for James(11-JAN-12 to 12-JAN-12 is 0 days and 12-JAN-12 to 14-JAN-12 is 1 day and 14-JAN-12 to 17-JAN-12 is 2 days) and 24 days for John
    The data for the date will be random and can be up to 60 difference dates and names so I will like to calculate for all different names.. Thanks!

    Can you explain in more detail why James should have 7 days?
    Difference in dates can be easily calculated (if you use the DATE datatype, that is) by simply subtracting them.
    Example:
    SQL> -- generating sample data:
    SQL> with race as (
      2  select to_date('11-JAN-12', 'dd-mon-yy') dt, 'JAMES' nm from dual union
      3  select to_date('12-JAN-12', 'dd-mon-yy'), 'JAMES' from dual union
      4  select to_date('14-JAN-12', 'dd-mon-yy'), 'JAMES' from dual union
      5  select to_date('17-JAN-12', 'dd-mon-yy'), 'JAMES' from dual union
      6  select to_date('22-JAN-12', 'dd-mon-yy'), 'JAMES' from dual union
      7  select to_date('01-FEB-12', 'dd-mon-yy'), 'JOHN' from dual union
      8  select to_date('11-FEB-12', 'dd-mon-yy'), 'JOHN' from dual union
      9  select to_date('13-FEB-12', 'dd-mon-yy'), 'JOHN' from dual union
    10  select to_date('14-FEB-12', 'dd-mon-yy'), 'JOHN' from dual union
    11  select to_date('28-FEB-12', 'dd-mon-yy'), 'JOHN' from dual union
    12  select to_date('01-MAR-12', 'dd-mon-yy'), 'JOHN' from dual
    13  )
    14  --
    15  -- actual query:
    16  --
    17  select max(dt)-min(dt) diff
    18  ,      nm
    19  from   race
    20  group by nm;
          DIFF NM
            29 JOHN
            11 JAMESHowever, that is not your desired resultset. We (at least: I) need a bit more explanation why James should have 7 as date difference...
    Also: DATE and NAME ar not suitable as column names.

  • Required to calculate the depreciation from 01.04.2011

    Hello Experts
    My client did the capitalization of certains assets through WBS settlement with a capitalization data as 31.03.2011 (he is folloiwng the fiscal year variant as April to March). However, as per his internal policy the depreciation calculation is required from next financial year onwards ie., 01.04.2011 onwards
    They are struck in depreciation run, since the system considered the depreciation to be posted (for one days) for those assets are posted with a capitalization date as 31.03.2011.
    Is there any way that the depreciation should not be posted for the selected assets as on 31.03.2011 and need to calculate the depreciation only from 01.04.2011 (next financial year onwards)
    Kindly revert
    Regards
    Anil

    Hi Anil
    The only way is to change the Dep Start Date for these assets in AS02
    You can use Substitution: Mass Change transaction in order to process them in a mass mode (OACS)
    br, Ajay M

Maybe you are looking for

  • Z68A-GD65 (G3) issues.

    I'll start with my build, Z68A-GD65 Gen 3 i5 2500k under Noctura NH-D14 16GB G.Skill DDR3 1333 CL9 1.5V MSI R6950 Twin Frozr II 2GB Crucial M4 128GB SSD (in 1st intel sata 3 port) Antec HCP 850w Bios 23.3 (or whatever, I'm on phone at work) A few iss

  • Wifi connections goes "Limited" frequently.

    So i've had this issue ever since i installed windows 7 ultimate via bootcamp on my mac. When i go in games or even the browser, my ping sky rockets and the internet connections always drops every 3 minutes saying "Limited Access". I cant even browse

  • What will  the replacement be for the ipod nano 1st gen

    Would like to know if anybody knows what will the replacement be? Also has anybody received it? I'm still waiting for the box will be 3rd week waiting.....thanks for any information

  • Modifying the column header

    how to modify the column header in the table... MATNR, WERKS, DESC1, LGORT, MAKTX, LGOBE,LABST is not meaningful to the user.... this is defined in the meRepMeta.xml how do i modify the column header

  • WVC80N Recordingto Windows 7 Samba fails

    I'm trying to setup my WVC80N to recording to Windows 7 Samba share but the authentication fails. The username and password are correct. I've tried this on two different Win7 shares but get the same authentication failure. When I intalled Win7, I had