Getting the documents in open line items for t-code f-53

Hello gurus,
In one scenario i want to get the document numbers against which the accounting document number is created after posting(saving) in t-code F-53. I am using BTE event -00001030 (posting of standard data). In this function module i am getting the tables t_bkpf and t_bseg etc.. in which the newly generated document number (Belnr) is present in the table. But the field AUGBL is blank. I want to get the document for which this clearing is being done. How can i get the open line items?

Thanks, I solved the problem

Similar Messages

  • HT201342 I have just opened an icloud email address and am unable to open ANY of the messages in my INBOX. I keep getting the message, "Cannot open this item. This operation is not supported until the entire message is downloaded. Download the message and

    I have just opened a new icloud email address and am unable to open ANY of the messages in my INBOX. For each item I get the message "Cannot open this item. This operation is NOT supported until the entire message is downloaded. Download the message and try again". I now have no clue what I need to do to open these items. Help please.

    What version of iPhoto do you have installed?  Is if one of the versions shown as not compatible in this screenshot?
    If it is then go to the App Store and download iPhoto 9.5.  It will be free if you have an iPhoto 9 or later verson currently.
    OT

  • Getting all documents(and their line items) on basis of a vendor r customer

    Hello to all,
    I have made a report which takes a range of document dates and querys the bkpf on the basis of bldat(and query bseg on basis of the retrieved belnr). Now want i need is to add another selection(lifnr in case of vendor and kunnr in case of customer) so that if i want to see a particular vendor or customer, i can see only those record(line items).
    i tried querying the bseg on basis of lifnr , but i get only those line items (vendor line item or customer line items)
    i want all the line items.. 
    How to do it ?
    Help needed..Thanks..
    Shehryar

    Hey,
    Accounting document data is stored in the below tables:
    BKPF - Header
    BSEG - Line Item: GL/Customer/Vendor
    BSID/BSAD - Open/Cleared Customer Items
    BSIK/BSAK - Open/Cleared Vendor Items
    BSIS/BSAS - Open/Cleared GL Items
    Follow the logic below:
    For Vendors:
    Select (BELNR) data from BKPF based on BLDAT
    Select data from BSIK and BSAK where BELNR = (BELNR in Step 1) and LIFNR = (User Input)
    Select data from BSIS and BSAS where BELNR = (BELNR in Step 2)
    For Customers:
    Select (BELNR) data from BKPF based on BLDAT
    Select data from BSID and BSAD where BELNR = (BELNR in Step 1) and LIFNR = (User Input)
    Select data from BSIS and BSAS where BELNR = (BELNR in Step 2)
    -Kiran
    *Please reward useful answers

  • Restrict Number of Open line items selected for vendor payment in F-58

    Dear Experts,
    simply in F-58 i want the system to issue an error message if the user select more than 10 or maybe 15 open line items for payment, the reason is to make sure that the number of line items selcted will fitt in the From specified for printing.
    is there a way to do so ?
    i already got on but not sure how to use it.
    please advice
    Thanks and regards
    Mohamed Talaat

    hi,
    my restricition is regarding the form that the key user want only one cheque paper to be prininted and the space for that can hold only like 10 or 15 line items so he just want to define this number and cant exceed it in one paymnet.
    payment advice control i think can do this but am not sure its under t.code FBZP payment method in company code, haveyou try this before ?
    and how come we design the form for multiplie pages andthen accomidate in one page ?
    as they insert in the oprinter a seralized prinitng cheques paper sequincely.
    please clarify
    Regards
    M.Talaat

  • Issue while clearing open line items

    Hi team,
    While clearing open line items for vendors, customers, and GL's system is posting new line items. It should post without new line items. Example
    Customer is having debit and credit line items with same amount i am going to clearing manually thru f-32 here sytem is posting new document with new line items. It should post without line items. I have selected Negetive postings permited check box in OBY6. I have not selected check box in document types. Do i need to change in document type also or i missed anything in settings pls help me to overcome this issue.
    Regards,
    Nagaraju.

    Dear:
                        The option  to create a clearing document WITH or WITHOUT line items depend on the fields of the structure KONTAB_1ST if all the fields are equal in the documents the clearing document will be generated and posted without line items
    Please check OSS note 95077. Check the settings in
    IMG >Financial Accounting (New) >General Ledger Accounting (New) >
    Business Transactions >Document Splitting >Activate Document Splitting
    Check the following link for the same
    F.13 clearing Document contains Lineitems
    Regards

  • Plan cost line items for cost centers report

    Hello,
    I am displaying the report: Plan cost line items for cost centers and when I display the details of a line item it appears a document number, where could I display this document?
    I have tried to display it in FB03 transaction but it seems not to be this kind of document.
    On the other hand in the field Business transaction it appears RKP6, what is the meaning of this field?
    Thank you very much

    Hi Beatriz Amezua ,
    For displaying plan line items for cost center - KSBP and for display of individual plan document : KABP
    RKP6 means "Planning Activity Dependent Costs"
    Like in FI module, the business transaction have been codified and the list you can find in KANK transaction , mention your controlling area, menu -- Groups --  Display Groups
    Srikanth Munnaluri

  • How to read/get the document attached to PO line item

    Hi experts,
    I got a requirement wherein I need to read/get the document attached at PO line item and to send that document through mail as an attacment .
    please suggest me how to proceed on this.

    actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
    For Example u can use this code.
    To print you have write the this code in Script item level printing window "MAIN" window
    Following perform is called to get the line item delivery date in PO
    {/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
    /: USING &EKPO-EBELN&
    /: USING &EKPO-EBELP&
    /: CHANGING &DEL_DATE&
    /: ENDPERFORM}
    {* Dellivery date &DEL_DATE& }
    write the below code in the Z program "ZPerform_prog"
    { FORM get_del_date  TABLES in_par STRUCTURE itcsy
                             out_par STRUCTURE itcsy.
      READ TABLE in_par WITH KEY 'EKPO-EBELN'.
      CHECK sy-subrc = 0.
      $_po_no = in_par-value.
      READ TABLE in_par WITH KEY 'EKPO-EBELP'.
      CHECK sy-subrc = 0.
      $_po_line = in_par-value.
      SELECT *
      FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
        $_del_date = eket-eindt.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
          EXPORTING
            date_internal            = eket-eindt
          IMPORTING
            date_external            = $_del_date
          EXCEPTIONS
            date_internal_is_invalid = 1
            OTHERS                   = 2.
        READ TABLE out_par WITH KEY 'DEL_DATE'.
        CHECK sy-subrc EQ 0.
        out_par-value = $_del_date.
        MODIFY out_par
                    INDEX sy-tabix.
        CLEAR : $_po_no , $_po_line ,$_del_date.
      ENDSELECT.
    ENDFORM.                    "GET_DEL_DATE }

  • Reason for rejection For open line items

    Hi Experts ..
    I Have checked in Google and in scn But Not able to find exact one
    How to achieve This Issue
    Created sales order line item ---150 qnty Now delivered---100 qnty PGI As well as
    Now Clint wants to give reason For rejection For 50 qnty
    Now Generally what we are doing is Just changing the qnty in sales order change mode VA02 --100
    But some times they have so many open line items are there and not possible to change in all line items exact number
    So now i trying to give reason for rejection Line item For full 150 qnty Because Automatically 50 qnty Will be reduced in MD04
    But when i am Giving reason For rejection To line item system is giving error msg that subsequent document is being processed
    So any Enhancement shall we do To skip this 
      Thank a lot

    Dear T.W Sir Thanks a lot For your replay
    But I can not see that the excess qty (not delivered) is being deducted from MRP, when Reason for Rejection is set.
    Sir we can see ...May be it will take 5 mnts time To be updated ( MD04)
    By the By , sir you have any idea To control This pop-up Message ( In your case it may be information msg But some times We are getting Error Msg )
    so Where we can control Warning to Error like this
    or it is related to enhancement issue 

  • Mass change of payment in customer line item for all open line item.

    Hello,
    We have updated the new payment as per the new agreement with customer in customer master. We want this new payment term should also be updated in all the open invoices which are not cleared. Is there are way we can do the mass change in Payment term as the open line item in the customer where line item are more than 50. Please let me know the transaction code for the mass change of payment term in Customer account balances.
    Thanks and Regards,
    Rajesh Kumar Mantri

    Hi
    you can find the way to change the payment terms
    first check weather the payment term field is having change option in your document change rules in the line item for you customers.
    Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing DocumentsDocument Change Rules, Line Item
    if the payment term BSEG-ZTERM(payment term) is there for your customer and having deselcted check box for changing document you cannot change payment term for your company code.
    This can done client level or company code level.
    if the payterm  can be changed you do changes to payment terms mass level.
    Thanks
    ANJI

  • How to find out the PO line items for which no GRN has been done

    Dear Friends,
    I need a report which will show all the fully open PO items for which no GRN has been done.
    In ME2N when I give the selection parameter "open goods receipt" then it shows all the line items with partially & fully open. But my requirement is to get a report of only fully open items.
    Regards
    Rutabhadra Panda

    Hi Friends,
    Thanks a lot for your reply.
    But this is a report which projects the expected GRNs & does not depend whether partial or full.
    Is there any other way out?
    Can  I download from the table directly.
    Regards
    Rutabhadra Panda

  • Function Module for clearing customer open line items?

    Hi,
    Can anyone suggest me, the FM for clearing the customer open line items/
    Manually we can do by f-32.....but, i need an FM for this?
    Thanks in Advance,
    Manju.

    Hi. I just found a good way of doing this from a program. It sort of uses BDC but in such a way that you don't get all the problems you normally get with BDC.
    First create a custom program with an internal table called YBSID of type BSID, and select into it from BSID the items you want to clear, 1 customer at a time. You must call your internal table YBSID.
    Then you need to populate a BDC table with very basic data, the easiest way to do it is to set a break-point in form "CALL_TRANSACTION" of include F124_MERGE, then run F.13, it will break at this point and you can copy the contents of BDCDTAB.
    Then in your custom program put the same statement as the include "EXPORT YBSID TO MEMORY ID '%F124%'." then call transaction 'FB1D' using the BDC table.
    What this does is clear exactly whatever data you put in YBSID. It uses the transaction FB1D but all the clearing data is already populated from YBSID. If you call a transaction normally it is very hard to select the right items to clear, using YBSID you only enter 1 screen and do not have to select anything.
    You can also use this same method to clear vendor line items using YBSIK and transaction FB1K and G/L line items using YBSIS and FB1S.
    I hope this helps.
    Regards,
    Dave.

  • Material Quantity difference document line item for HU

    Dear Experts,
    When I try to clear differences in LI21,  i get the error message as above.
    Error Message : 'Material Quantity difference document line item for HU'
    Any idea why this error occurs?
    Regards,
    Shetty

    Hello Shetty,
    It may be due to some stock inconsistency. You may try iin case of  a non HU managed storage location HU to run LX23 and it can fix discrepancy overwrting MM-IM with LE-WM data. But if it is a HU managed then you can run HUDIFF transaction but only to see if there is stock differences not to fix anything, usually SAP Support (Development Support) does that job.
    Have a nice day !!

  • How to handle line item for posting a document

    Hello,
    I am using a function module to post a document, so far I have hard coded all the values in the test program. I am passing two internal tables to the function module, one which has header data and the other which has line item data. So far I have written the following code to get the line item details:
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = u20182010u2019.
    it_bseg-BUZEI = '001'.
    it_bseg-BSCHL = '31'.
    it_bseg-WRBTR = '900'.
    it_bseg-PSWSl = 'USD'.
    it_bseg-SAKNR = u20180000123456u2019.
    it_bseg-HKONT = u20180000123456u2019.
    it_bseg-LIFNR = u2018001234567u2019.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = '2010'.
    it_bseg-BUZEI = '002'.
    it_bseg-BSCHL = '40'.
    it_bseg-WRBTR = '900''.
    it_bseg-PSWSL = 'USD'.
    it_bseg-KOSTL = '1111871234'.
    it_bseg-XKRES = 'X'.
    it_bseg-HKONT = '0000564738'.
    it_bseg-FISTL = '1234556000'.
    it_bseg-GEBER = '0000001'.
    it_bseg-fkber = '0'.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    Now I want to get rid of the way I am handling the line item and want to handle it based on what user enters. For example right now only line item is being considered but if user enters two line items then what should be the approach.
    Thank you,
    Rajeev Gupta

    Any Suggestion.

  • How to handle the limitation of 9999 remittance line item for CTX payments

    Hi,
       I need to send the CTX payment from SAP in XML file format to vendors bank.
       SAP F110 -> Treasury -> Our Bank -> FED clearing system -> vendor bank.
       Fed Clearing system has a limitation of 9999 remittance line item for CTX payments.
       Do we have any standard SAP setting wherein total number of invoice in payment document can          be     limited to 9999.
    Please Advice.

    Hi ,
    First of all the Event R418 as you have mentioned have the structures FKKKO and FKKOP .
    In FKKKO you will not get the sub item and in FKKOP you will get the sub itmes .
    Before the process gets in to Event R418 it has only 1 line item and hence you are facing the problem .
    If you have multiple line items getting in to the FM then you can build the logic based on the Import date that is passed in structure FKKOP .
    Else try for the function module FKK_OPEN_ITEM_SPLIT , in R418 where in you can split the document if you are having only 1 entry in FKKOP.
    Kindly check and revert back with your findings .
    Regards ,
    Dewang

  • You cannot open rows in the document  [RDN1.LineStatus][line: 0]

    Hi Expert,
    I am getting a Error while Adding Sales Return
    You cannot open rows in the document  [RDN1.LineStatus][line: 0]
    Can Any One have Elaborate this Issue.
    Thanks
    Mritunjay

    Hello,
    Try srujal it is generaly happend both by condition.
    you should also try after make new sales order for same
    Thanks
    Manvendra

Maybe you are looking for