Abt clearing problem

Hi ,
im facing one issue.
for example im displaying the output for 115(order).then it's displaying totals properly.
when i go to 109(order) it's displaying the 115 total as present total.
here im clearing the table.but i didn't catch why this is happening.
where as first we see the 109 then 115 then it's no problem.
i.e: my code is
In Main window
/E  HEADER_DATA
      DEFINE &V_EXTPR_TOT2& = ''
In FOOTER window
/:PERFORM GET_EXTPR_TOT1 IN PROGRAM ZSP_SD_ORDCM.
/:USING &V_TOT&
/:USING &V_EXTPR_TOT2&
/:CHANGING &V_EXTPR_TOT2&
/:ENDPERFORM
In SE38
FORM get_extpr_tot1 TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
  DATA: v_price1 LIKE konv-kbetr,
        v_extpr_tot2 LIKE konv-kbetr.
  CLEAR: it_input.
  Clear v_price1.
  READ TABLE it_input INDEX 1.
  MOVE it_input-value TO v_price1.
  READ TABLE it_input INDEX 2.
  MOVE it_input-value TO v_extpr_tot2.
  v_extpr_tot2 = v_extpr_tot2 + v_price1.
  READ TABLE it_output INDEX 1.
  WRITE v_extpr_tot2 TO it_output-value LEFT-JUSTIFIED.
  MODIFY it_output INDEX 1.
  CLEAR it_output.
ENDFORM.
Plese help me in this.
Thanks,
Srinivas.

You should use a different variable name in your USING and CHANGING parameters.
DEFINE &V_EXTPR_TOT2& = ''
<b>DEFINE &V_EXTPR_TOT3& = ''</b>
In FOOTER window
/:PERFORM GET_EXTPR_TOT1 IN PROGRAM ZSP_SD_ORDCM.
/:USING &V_TOT&
/:USING &V_EXTPR_TOT2&
<b>/:CHANGING &V_EXTPR_TOT3&</b>
/:ENDPERFORM
Regards,
RIch Heilman

Similar Messages

  • Vendor document clearing problem in F-44

    Hi  SAP Guru's
    I  am facing one  unique issue with my client.  When I simulate and clear the vendor documents  the below error is coming.
    And checked the documents in FBL1N Document type - WE is coming i.e GRN document .
    It is a service PO and the entry is below.
    Pkey          Spe.GL             Account                Desc
    81          45000005     REP & MAIN- P & M
    96          16011099     SR/IR CLG-EXP&SERV
    39     F     119445     Vendor
    27          119445     Vendor
    Tax code ** in procedure TAXINN is invalid
        Message no. FICORE704
    Diagnosis
        The tax code entered is not defined in the country for this company
        code.
    System Response
    Procedure
        Check and, if necessary, correct the entry.
    Procedure for System Administration
        If it is not an input error, check and possibly change the system
    Thanks
    Ranganadh

    Dear All,
    Thank you for your  reply.
    Tax code for non taxble items  are already created and assigned to co.code. The error is showing tax code but  as per my analysis  it is not related to tax code. It is some how posting problem except this vendor rest of all vendors there is no  clearing problem.
    My concern is why the document tupe "WE"  i.e MIGO document is coming vendor line items.
    Regards
    Ranganadh

  • Accrual/defferal Document Clearing problem issue

    Dear Frnds,
    I have an strange issue with Document clearing.
    Accrual/ Defferal Document ( FBS1) contains 4 line items with 2 Vendors 1 is related to Credit memo and another one is an invoice.
    Accrual document normally cleared through reversal, but unfortunately one vendor invoice cleared through F110...
    When iam trying to  reverse remaining document that shown error"Document partially cleared" .
    How to clear another line item without distrbing the cleared item (F110)??
    Let me know the possibilities
    Thanks
    Suresh Polineni

    Dear All,
    Thank you for your  reply.
    Tax code for non taxble items  are already created and assigned to co.code. The error is showing tax code but  as per my analysis  it is not related to tax code. It is some how posting problem except this vendor rest of all vendors there is no  clearing problem.
    My concern is why the document tupe "WE"  i.e MIGO document is coming vendor line items.
    Regards
    Ranganadh

  • Abt clear value problem in scripts

    Hi,
    Im working on scripts.in scripts im calculating totals by using subroutine.but im facing problem.
    my problem is first time i calculated it's working fine.
    when i go back and enter other order number it's taking previous order number and present total and it displays these totals.
    i clear the it_out in se38 and the varible which holds the total.
    but it's not working.
    please help me in this.
    Thanks & Regards,
    Srinivas

    Hi this is my abap code.
    FORM get_extpr_tot TABLES it_input STRUCTURE itcsy it_output STRUCTURE itcsy.
    REFRESH : it_output.
    CLEAR v_extpr_tot.
      DATA: v_vbeln2(10) TYPE n.
      REFRESH it_input.
      Clear v_vbeln2.
    clear v_extpr_tot1.
      READ TABLE it_input INDEX 1.
      MOVE it_input-value TO v_vbeln2.
      READ TABLE it_input INDEX 2.
      MOVE it_input-value TO v_extpr_tot.
      v_extpr_tot1 = v_extpr_tot1 + v_extpr_tot.
      READ TABLE it_output INDEX 1.
      WRITE v_extpr_tot1 TO it_output-value LEFT-JUSTIFIED.
      MODIFY it_output INDEX 1.
       Clear it_output.
      clear v_extpr_tot1.
    REFRESH it_output.
    ENDFORM.                    "GET_EXTPR_TOT
    and my se71 code is
    PERFORM GET_EXTPR_TOT IN PROGRAM ZSP_SD_ORDCM.
    USING &VBDKA-VBELN&
    USING &V_PRICE&
    CHANGING &V_EXTPR_TOT1&
    ENDPERFORM
    please help me

  • GR/IR Clearing problem

    We are trying to match some old open items for GR/IR from the year 2003. We have tried using the T-code f.13 to clear them off but the program just doesnt pick up the documents. There are no error messages. We have also tried using f-03 & f-30, but it is of no use either. The documents just dont get picked up in these programs. I am using FS10N and in that it is showing up as open. I am able to view these documents in FB03 as open.
    The documents are showing up as open in the GL account, but they are not getting cleared anyway.
    Few more details :
    1st Document Type is 'WE' and the Transaction details are :
    Dr. Cost - $177
    Cr. GR/IR Account $177
    We are trying to clear this with 2nd Document Type 'WE' and the transaction details are :
    Dr. GR/IR Account - $177
    Cr. Cost - $177
    Both the transactions have been passed using T-code MIGO in the year 2003. We are trying to clear them off with eachother and netting them off to zero.
    Need help in resolving this problem urgently.

    In MR11 - I tried removing the Qty. var option. It was askign me to atleast select the type of surplus option. I tried both Delivery and Invoice surplus. Both the times I get the error as "No Data selected.....". However, the fact is that there is no delivery or invoice surplus for these items. They are just offsettings entries that need to be striked off as cleared in SAP.
    I also tried usinf F-03 with amount option and Document date option. It just says "No data selected...".
    Few facts about these entries :
    1. 1st document and 2nd document both have been passed using T-code MIGO in SAP.
    2. Transaction in the 1st Doc :
    Dr. Cost - $177
    Cr. GR/IR Account $177
    3. Transaction in 2nd Doc :
    Dr. GR/IR Account - $177
    Cr. Cost - $177
    4. These entries were passed in July 2003. And are still showing as open items in FBL3N for the fiscal year 2008.
    Please help.

  • Clearing problem for vendor open item

    while clearing open item of vendor through T-code F-44 i am facing the problem following problem
    Document splitting :-Item for clearing 1000/100020603/2006/005 not found,
    Daignosis as given in error:-document splittting cannot be performed clearing because it was not possible to find complete splitting information items to be cleared(company code 1000, doc. no.100020603, item 005). procedure as provided by the error massage is that the item  was not posted  with active document splitting. In this case this item or document would have to be migrated

    Dear Sweta,
    I think there is no such a table, as you expect, existing in SAP. As I know here are the
    most popular table about Accounting documents.
        Accounting documents
        BKPF                Accounting documents
        BSEG               item level
        BSID                 Accounting: Secondary index for customers         
        BSIK                 Accounting: Secondary index for vendors           
        BSIM                 Secondary Index, Documents for Material           
        BSIP                 Index for vendor validation of double documents   
        BSIS                 Accounting: Secondary index for G/L accounts
        BSAD               Accounting: Index for customers (cleared items) 
        BSAK                Accounting: Index for vendors (cleared items)   
        BSAS                Accounting: Index for G/L accounts (cleared items)
    If you need information about open line items of a certain day, you have to use ABAP.
    Regards.
    Maxielight.

  • Open item manage accounts clearing problem

    Dear experts,
    We have created some of the liability gl accounts master without open item management.  After a period of time we have converted the gl accounts into open item management by executing the programme RFSEPA02.  Now we are going to clear the old documents, which are posted before open item management conversion.
    Now the problem we are facing is  - document splitting for the old document.
    Kindly send your openions to clear the old documents or again we are ready to convert the open item management to non-open item management for the GL accounts.  How to do it.
    BSR

    butter to search for OSS note or write service market place

  • Automatic clearing problem

    Dear All:
                 I am facing problem while excecuting Automatic clearing for GIR/IR Account. In F-03 i can see open item standing in GLs related to GRIR Accounts but when i run automatic clearing for them it picks up all open items and clears nothing except few. What can be the possible reason. Is there any alternative T CODE for GRIR Clearing. P

    Hi,
    Check the automatic clearing rules maintained in SPRO.
    Ensure all the postings are done through MM and FI. If there is any manual postings then system wont clear those. For this you have clear those open items manually through F-03.(remove post automatically in FS00)
    The clearing rule should be purchase document, Purchase oder item and wrbtr(amount).
    In F.13 there is one option called GRIR account special prcess. Check with that option once.
    Revert back still problem not resolved.
    Regards,
    Sankar

  • Unusual GL clearing problem

    Hi all. We are using SAP ECC6 Fi Co Sd MM We use a single company code.
    While trying to clear the GL outgoing Euro bank account using Tx F-03 our accountant is encountering a problem with 1 pair of documents. Both these documents were posted within a few days of one another, in the same period and at the same exchange rate. The Euro and GBP amounts on both are identical. He is entering the correct dates, currency and CoCode for that account. One document is a GL document (debit) the other a payment through F110 (credit). All other items in the account cleared without difficulty. Yet, for this pair of documents he is getting the following error: Consolidated companies WEL (our company code) and '' are different.
    I have investigated the 2 documents thoroughly. Both posted correctly when entered and all company code references are correct. I have tried to enter the debit and credit lines manually, entering the correct company code in each case but the error message remains the same.
    Does anyone know what might cause this error and if so how to fix it?
    Thanks in advance
    David

    Thank you for your replies.
    Prasanna - Unfortuantely I have tried a variety of selections e.g. document, date, amount, etc but the result is the same. Neither of the documents is cleared in part or whole. Currency exchange is fine with both postings being in the same period at the same exchange rate.  But thank you.
    Shivram - Neither of the document types has intercompany postings selected in the configuration. As we only have the 1 company code no postings are set as inter-company in SAP. On the GL document the correct postings have taken place between Euro outgoing payments account and Euro bank account. In the Payment document the postings are correctly between Euro outgoing Payments and the Vendor account in Entry view and between Euro OP and Trade accounts payable in GL view. All postings have worked correctly, it is only at the clearing stage that this problem arises.  But thank you for the suggestions.
    Edited by: David Crossley on Aug 5, 2009 3:40 PM

  • MR11 Clearing Problem

    When i am clearing MR11 i am am getting the following problem
    You cannot post to this asset (Asset 000082000008 0000 deactivated)
    Message no. AA303
    Diagnosis
    A complete retirement or a complete transfer was already posted to the asset.
    System Response
    The system rejects posting with the transaction type entered.
    Procedure
    Check if you entered the correct asset.  Either choose a different asset, or reverse the retirement document, or remove the deactivation date using Asset -> Change -> Asset.

    Hi
    MR11 may post eventual clearing differences from the account GR/IR into assets.
    If the asset is already  deactivated them error AA303 is correctly prompted.                                                
    Only option You have is to remove the deactivation date to be able to post those differences on the relevant assets:                     
    If the difference is positive no problem, asset should be posted.     
    However, if the difference is negative You will probably encouter another error because the asset will become negative.                                                                               
    if this is the case please follow these steps:                        
    - You activated the value of a product on asset XXXXXXXX              
    - Then you transfered the complete value of asset XXXXXXXX to the asset YYYYYYYYY                                                           
    - This means that also the value of the product for which you want to do the credit memo is no longer available on asset XXXXXXX but on asset YYYYYYYYY                                                     
    - In this situation, you cannot do a credit memo for asset XXXXXXXX   
      It is deactivated. It does not contain any value.                   
    - You can remove the deactivation date in AS02. This will avoid AA303.
      But you still cannot remove any value from asset XXXXXXXX because there is no net book value on the asset left.                       
    - If you want to do the credit memo, you need to start reversing with the last documents.
    This means you need to reverse first the transfer from XXXXXXX to XXXXXXX so that asset YYYYYYY gets back it's value  
    and is no longer deactivated.                                                                               
    This suggestion refers to a similar scenario trying to post a credit  memo after the asset was deactivated (not a clearing of IR/GR with MR11 as this case) however the logic is the same.                     
    kind Regards
    davide

  • J1iex and clearing problem

    hi
    thre is a problem inthe j1iex document,
    we had a IMPORt purchase order , j1iex doc is posted but there is no tab of part 2
    status is posted ,but part 2 entries are not passed, now in mr11 amounts are standing
    plz let me know what will be the cause and now how can i clear those entries (asset is deactivated)
    regards
    kunal

    Are u able to see excise invoice tab in migo document.
    If so check in more data whether part II tab is there. You can also cross check with J_1IPART2 table

  • Customer clearing problem

    Frnds
    I have three line items open with one of the customer.
    and  all three open items are showing up while running FBL5N.
    but when i try to run F-32 only one item shows up and that it is Credit memo posting, the other two which are not showing up are invoices.
    i tried to check all teh settings but could nt find anyting, is ther any OSS note that can be helpful?
    ur any input will be appriciated
    Thanks

    Hi Matt,
    Yes I have the issue only for the specific customer. It does bring up documents (only few doc types like AB) but not the RV ( Billing document ) document. A similar doc type related open item for another customer does come up for clearing.
    I have checked the data on all tables between the two customers wherein one appears and another does not and they are all in sync.
    I am not sure which program lists the open items documents if found for a customer. If anybody can help to provide the program name, that will be of great help.
    Many Thanks
    Bala

  • F.13 GR/IR Clearing Problem

    Dear All,
    I executed F.13 for clearing GR/IR but although certain Line items in the GR/IR account with same assignment field has zero balance its not selected and also not getting cleared.I have checked that line items are not cleared that is open.
    In OB74 I have 1st ,2nd and 3rd criteria as follows:
    ZUONR Assignment
    GSBER Business area
    VBUND Trading Partner
    But I checked in FBL3n for GL GR/IR account open items and got sub total based on assignment field its showing in certain case.
    Bur F.13 not clearing infact in F.13 the credit items are not considered  I found that for assignment field 6400002118 tha balance is zero.
    Please help.
    Regards
    Raju

    Hi,
    I tried both the options suggested:
    Changed sort key from 010 to 014 in GL Mster of the GR IR account
    Also removed Business Area and Trading Partner in OB74 for account type S.
    But its still not working.
    Also in F.13 in output control I am not getting option for any detail log so that I can understand why its not selecting the credit items also.
    Regards
    Raju

  • Cache Clearing Problem for my website

    I have tried every single thing from this support area to clear my browser cache, but still when i open this website http://www.enukesoftware.com, it doesn't load properly the CSS files.
    Please help me out, its ruining my day.

    Does the page load properly in a Firefox Private Window? If not, try restarting Firefox in Safe Mode (Menu > Help > Restart with Add-ons disabled) to see if the page works there.
    If the latter works then this could be caused by an extension.

  • F-04 - Post with Clearing  problem

    HI ,
    I have some confusion
    when i enter document(RV) i gave Ex.rate on document: 0 .02700  (KRW) to THB on last month. accoring to that my local currency was = 3089614.86THB.
    when i using post with clearing on this month(F-04 ), it is showing me 31010578.78 THB.
    how this is happend? bu the latest Exchange rate was: 0.02790 (G).

    Hello,
    System gets exchange rate on clearing date. If you want to get 0 .02700, you must give RV document's date to clearing date
    Or you can use FB05 for manually entering exchange rate.
    Regards,
    Burak

Maybe you are looking for

  • What's the best way to load balance multiple protocols on one vserver?

    Hi, We have a CSM blade on a 6513, in bridge mode. I'm just wondering what is the best way to serve HTTP and HTTPS (or any two or more ports) from the same group of servers. As I see it, we have two options: 1. Don't set a port on the vserver, so it

  • Is prompted filter not working correctly with calculated items

    Hello, I am working on OBIEE 11.1.1.3 and having problem problem linking 2 analisys with action link The test case is: I have 2 attribute columns on a dimension 1. Conto 1 Code 2. Conto 1 Dsc (in RPD i set up the property Descritor ID of -> Conto 1 C

  • Link my Macbook with an existing time machine backup of the same macbook.

    I am using time machine via an airport extreme with an external drive. This works fine most of the time. But sometimes time machine loses the connection with the airport extreme. Instead of refinding the backup location I have to set the whole thing

  • NAC Framework - NAC-L2-802.1x without CSSC client?

    Hi I'm just wondering if it is possible to do NAC-L2-802.1x without the use of the CSSC client? I've managed to get this working with the CSSC client with no problems, but have been having nothing but problems trying to get this working without. This

  • Table update from text file on server

    How do I get a table in dreamweaver to update from a text file thats on the server it will be posted on? Do I need to use some sort of weird coldfusion or asp.net, or can i do it in basic html. It would be sweet to make happen for my portfolio news s