Clearing: how to get open items with net amount?

Hi
I need to obtain the open items for clearing <b>with the net amount</b> as it shows up in the transaction FB05 after considering any discounts that may apply. The BAPI BAPI_AR_ACC_GETOPENITEMS does not calculate the net amount.
I see that the data is calculated in SAPMF05B and saved in the internal table POSTAB which has the structure RFOPS. Basically i need to obtain the data of this internal table.
I was thinking of exporting the table in some user exit, but didn't find any suitable exit yet.
Any ideas anyone...?
Thanks for any hint.
Andreas

Hi All,
Thanks for the reply..
==============================================================
Basically create one ckf and two rkfs for each aging bucket
ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
so rkf 0-30 days open is
posting date <= key date
item status = O
net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
rkf 0-30 days subsequently cleared is
posting date <= key date
cleared date > variable date (which reads cmod of key date)
net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
========================================================================
In the above two cases, while creating restricted key figures how to design this;
net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
What is the solution for this ?
Regards,
Rao.

Similar Messages

  • How to display Open Items (with current status as Cleared) for prior date?

    Hi all,
    We have an existing Customer Balances report wherein we are able to veiw the Debit/Credit amount Of all the open items based on the input date given by the user but unable to view the items which have been cleared later for the items opened on the mentioned date.
    However, in case of ECC, if the user enter a specific key date, he is able to view the Open & Cleared items for the mentioned date.
    The user is expecting the same logic for the BW report.
    E.g: If i run the report for date 30th Oct, 2010 and for Comp Code X; then the output should show all the Open items as of date 30th Oct, 2010 irrespective of the case that some of the items have been cleared later than the mentioned date.
    PLEASE HELP!!!!!!!!!!!!!!!

    Hi Sneha,
    I think you are talking about the open item means opening balance as on date along with the sales or collections or adjustments and the Closing balance as on date right?
    for this we had designed in modeling. our requirement is also similar one which shows the opening bal,, sales ,coll ,adjustments and closing balance. for a particular customer and company code entered in selection screen.
    For this in order to get the open items
    we had create a new cumulative key figure in which i had taken
    inflow : debit amount
    outflow: credit amount
    you will get the closing balance.
    For getting the opening bal we had a formula like
    opening bal+sale-Adj-coll = closing bal
    now in order to cal opening bal=closing bal-salesadjcoll
    in this way we acieved the requirement.
    if you can give more details can help u on this.
    i think you are using 0FI_AR_4 data source for your requirement right?
    Regards
    KP

  • How to get open items as on a key date

    Hi experts,
    I want to show a report Agewise report of offsets: 0-30, 30-60,....
    Only the open items of Vendor as on a particular key date to be considered...
    How to get the open items as on a particular key date ?
    Regards,
    Rao.

    Hi All,
    Thanks for the reply..
    ==============================================================
    Basically create one ckf and two rkfs for each aging bucket
    ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
    Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
    so rkf 0-30 days open is
    posting date <= key date
    item status = O
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    rkf 0-30 days subsequently cleared is
    posting date <= key date
    cleared date > variable date (which reads cmod of key date)
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    ========================================================================
    In the above two cases, while creating restricted key figures how to design this;
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
    Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
    What is the solution for this ?
    Regards,
    Rao.

  • BEX - Get Open Items with a key Date

    Hi Gurus,
    Im working with the Cube and ODS for AR Line items (0FIAR_C03- 0FIAR_O03) and i need to create a report that shows the Open items by Customer with a Key Date.
    I did the query that shows all the open items by customer, and i want to know where can i put the filter to input a key date, and only shows the open items until that date.
    Thanks in advanced, i really appreciate your help

    Hi Marcos,
    When you have created the Restricted keyfigures for Open Items, You have to add the date characteristic on which you are looking open item and add the variable there.Here you have to use a variable of type Interval and select the operator "<" the date of the Variable.If you go through, there are standard variable for keydate, which you can use directly.
    Hope you got the idea
    Regards
    Happy Tony

  • Clearing forex open item with INR receipt

    Hi,
    We have a scenario were original customer invoice is in foreign currency.  However, the money remitted by the customer is directly credited in the bank, not in the same foreign currency, but in Indian currency.  In this case, the system is able to clear if we manually enter the forex gain or loss.  But this gain or loss is calculated with reference to the current exchange rate and not with exchange rate as at the invoice posting.
    Any idea how this could be handled?
    Thanks
    Muru

    Lawrence,
    The issue came because the user was trying to clear a Forex open item with local currency.  In F-28, he was entering the local currency amount as receipt.  The rate at which the receipt is converted is different from the rate maintained for forex valuation (M rate).
    If the receipt is posted in the original document currency, the complication is avoided.  However, I would be interested to know if you are aware of some other way of handling this.
    Thanks
    Muru

  • How to make a single payment for different open  items with same due date

    Hi,
    I have created a payment method  and selected "Payment per due day " option in payment method company code settings.
    Even I have selected that option, Payment will not happen grouping for the items with same due date
    for ex : I have two open items with one due date and another open item with another due date so when I am trying performing F110 system should make a single payment for the item with same due date and seperate payment for another item.
    But system making single payment for all items
    Could you please suggest anything how to make a seperate payment with due date.
    Regards
    VK GUPTA

    Hi,
    Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
    Make a test and let me know if it's okay.
    regards

  • Charge off difference whening clearing customer open item with bank receipt

    Hi,
    Our company users will use F-32 to clear customer open item with bank receipt, sometimes, our invoice is 100 RMB issue to customer, the customer finally pay 99.98, then in F-32, we use charge off difference to post 0.02 difference to a account.
    The user then want to control this, saying for example, if the customer pay only 90, whening using charge off differnce, the system will pop up a error message.
    Can this be done in SAP, or we need to use user exit, then which user exit?
    Thanks.

    Dear,
    This is done through customer tolerance group using transaction OBA3. Here enter the maximum amount in Loss under the Permitted Payment Differences. you are able to hold tolerance for customer clearing.
    Is this what you wanted?
    Regards,
    Chintan Joshi.

  • How to get line item net price and net value?

    I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
    the return table
    ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
    how to get line item net price and net value?

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • How can I open items made with apple works

    How can I open items made with apple works

    You need to purchase Pages for your iMac. You can buy it from the App Store.
    I don't know if the version of Pages for the iPad will open the Apple Works documents. If you have the documents on your Mac and want to open them on your iPad the easiest way I can think of is to open a DropBox (Google it) account and store the documents there. Then you can try to open the documents in Pages on your iPad. If that doesn't work then I know Pages for OS X will open the Apple Works WP documents.

  • How to get opening balance of a g/l account using query ?

    Dear all,
    I'm developing consolidated g/l accounts debit,credit totals month wise with opening & closing balances thru query based report,
    i'have got expected results except opening balance g/l account,
    How to get opening balance of a g/l account based on date as conditonal parameter ?
    Any one throw light on this ?
    Jeyakanthan

    Hi ,
    Please kindly help me on this.I don't know how to calculate opening bal and closing bal over a period of time by Quarter, and how to generate the reprot using crystal reports and please suggest me on this how to go ahead with this report.
    Here you can go through the reprot requirement , and also an attachment of my Report template.
    we have "Category of Investment" , "Income On Investment" ,"Gross yield" and "Net yield" are  report fields.
    1)"Category Of Investment " is Hardcoded.
    2)In this we have to get  "Investment" column from VTBFHAPO(BZBETR Field) table Database based on
    Flow type(SFHAZBA) in VTBFHAPO table ='0100' for bonds category.
    3)"Income on Investment" also we will get from DB using the following formula.
      Income On Investment= "Interest IncomeAmortizationCapitalgain"
    4)With the Date field(Making Date dimension based on date(DCRDAT) field in VTBFAHPO table.
    By Current Quarter,Year to Date,Last year)
    5)Opening bal---Investment
    Purchase--Flowtype=0100
    Meturity/Sales--Flowtype=0200
    Closing balance=Opening bal+(Investment or Purchase)-(Meturity or Sales)
                                      '0100'                 '0200'
    Here '0100' and '0200' are Flow types based on this i need to get value from the same Field.
    we need to Calculate "Gross yield" .
    The bellow are formulas  to evaluate "Gross yield "
    Ist Qtr  .Gross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balance+June closing balance)/2))/3)
    Ist qtr. Year to date   Gross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balance+June closing balance)/2))/3)
    Investment income=interest incomeamortisationcapital gain
    Iind Qtr.Gross yield=Investment income/(((July opening balanceJuly closing balance)/2)((Aug opening balanceAug Closing Balance)/2)((Sept. opening balance+Sept. closing balance)/2))/3)
    Iind Qtr. Year todateGross yield=Investment income/(((April opening balanceApril closing balance)/2)((May opening balanceMay Closing Balance)/2)((June opening balanceJune closing balance)/2))((July opening balanceJuly closing balance)/2)((Aug opening balanceAug Closing Balance)/2)((Sept. opening balance+Sept. closing balance)/2))/6
    This data should display over a period of time. based on "Current Quarter","YearToDate" and "Last year"
    The quarter starts from April,i,e FY,  I Like this i need to generate the report.
    Thanks in advance.

  • S_ALR_87010007 (open items with foriegn customers)

    While executing S_ALR_87010007 (open items with foriegn customers) i get the following error:
    Call contained error(s): ADS (2)
    This is happening after we have upgraded to ECC 6
    Can anyone tell me what is the reason for this error? How do we rectify this?
    Thanks and Regards,
    Satya

    Do we need to install ADS for this? We are able to execute this report in 4.7 version but not in ECC 6

  • Do F-32 Clear Customer and Process Open Items just do BKPF/BSEG adds/chgs ?

    !uestion 1:
    When a user executes F-32 in  "clear customer" and "process open items" modalities, are BKPF and BSEG the only tables that actually get changed via adds or updates?
    Or are there other tables affected as well?
    Question 2:
    If BKPF and BSEG are the only affected tables, can I safely emulate the effect of the F-32 Clear Customer and Process Open Items Modalities by:
    1) examining the BKPF/BSEG records added or changed;
    2) using the appropriate BAPI(s) to accomplish these adds/changes (like BAPI_ACC_DOCUMENT_POST)
    Question 3:
    If BKPF and BSEG are NOT the only tables affected by F-32 Clear Customer and Process Open Items, can I emulate these modalities of F-32 thru an appropriate combinaton of BAPIs ?
    Note:
    The reason Im asking these questions the way I am is because a search  of SDN turns up no really good answer to the question of whether the Clear Customer and Process Open Items modlaities of F-32 can be emulated by one BAPI or a combination of BAPI's.
    So by formulating questions (1-3) the way I have, I'm hoping that someone will provide SDN with a clear and definitive answer to the "F-32 BAPI Emulation" question.
    Thanks for any expert advice anyone can provide.
    Best
    djh

    Actually, the "right" answer in this case is to call CLEAR_DOCUMENTS and model the call after the call in PRELIMINARY_POSTING_ZANF_CLEAR

  • R12: How to filter Open Item Revaluation Report based on GL Date

    Hi,
    Anybody know how to filter Open Item Revaluation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    Pl do not post duplicates - R12: How to filter Open Item Revaluation Report based on GL Date

  • FPBW: Extract Open Items with a posting date in the future

    Dear all,
    I'm are currently searching for possibilities to extract Open Items with a posting date in the future from SAP IS-U 4.72 into SAP BW 3.5.
    Currently I'm using the Business Content extractor 0FC_OP_01 together with the mass transaction FPBW in IS-U.
    The problem I'm facing is within the mass transaction FPBW. I've have set the key date at 01.11.2007, but this job already runs for 52.000 seconds on the same database select-statement.
    Does anybody know a possible solution to improve the performance of the statement below? (I pasted it from the process overview)
    ================================
    SELECT
    /*+
      INDEX("DFKKOP" "DFKKOP~1" "DFKKOP^1" "DFKKOP____1" "DFKKOP____1__X" "DFKKOP_1")
      "BETRH" , "BETRW" , "BUDAT" , "BUKRS" , "FAEDN" , "GPART" , "GSBER" , "INKPS" , "SPART" , "VKONT" ,
      "WAERS" , "MAHNV" , "ABWBL" , "APPLK" , "AUGBD" , "AUGBL" , "AUGBT" , "AUGDT" , "AUGRD" , "AUGST" ,
      "AUGWA" , "BLART" , "BLDAT" , "EMGPA" , "GRKEY" , "HVORG" , "MANSP" , "MWSKZ" , "OPBEL" , "OPSTA" ,
      "OPUPK" , "PERSL" , "PYMET" , "QSSHB" , "SBETW" , "SPZAH" , "STUDT" , "TVORG" , "VTREF" , "XBLNR" ,
      "XMANL" , "HKONT" , "OPUPZ" , "OPUPW" , "STAKZ" , "WHGRP" , "AUGBS" , "XANZA" , "XRAGL" , "ABWTP" ,
      "ASTKZ"
    FROM
      "DFKKOP"
    WHERE
      "MANDT" = :A0 AND "AUGST" = :A1 AND "GPART" BETWEEN :A2 AND :A3 AND ( "AUGDT" = :A4 OR "AUGDT" > :A5
      AND ( "BUDAT" <= :A6 OR "AUGBD" <= :A7 ) OR "WHGRP" <> :A8 AND "OPUPW" = :A9 )
    ORDER BY
      "AUGST" , "GPART"#
    =================================
    I have already tried to create an index on the following fields (in the same order):
    - MANDT           Client
    - AUGST           Clearing status
    - GPART           Business Partner Number
    - AUGDT           Clearing date
    - BUDAT           Posting Date in the Document
    Any help would be appreciated!
    Thanks in advance,
    Steven Groot

    Hi Marcos,
    When you have created the Restricted keyfigures for Open Items, You have to add the date characteristic on which you are looking open item and add the variable there.Here you have to use a variable of type Interval and select the operator "<" the date of the Variable.If you go through, there are standard variable for keydate, which you can use directly.
    Hope you got the idea
    Regards
    Happy Tony

  • How to add Excise item with out chapter id

    Dear all,
    How to add Excise item with out chapter id?
    Chapter id of purchae items will be known only after receiving Invoice/gate pass/delivery  chalan from supplier/vendor
    To send a purchase order we need to create that particular item in the master, but with out assigning chapter id system is  not allowing to save without chapter id.
    How to solve this?
    I am with SAP 8.8 and PL 10
    Thanks in advance
    regards,
    Kumar

    Hi Kumar,
    Refer the book of chapter ID or find out on internet you will get the chapter ID.
    Still if you not able to get  the chapter id then consult with excise advisory.
    But you can add Excise PO until you have the excise details in Item master.
    Regards,
    Datta Kharat

Maybe you are looking for