How to know open item or closed item

Hi Folks
I have developed a report on FI .
iam displaying open items( BSIK) and closed item (BSAK)
in one file.
my question is there any filed available in BSIK or BSAK to user know whether that transaction is open or closed?
becasue iam displaying all the records in one file.
regards
neeru

Hi,
Check for "Clearing Date" field.  (BSIK- AUGDT or BSAK- AUGDT).
This field will have blank value for open items (BSIK) and date value(clearing date) for cleared item (BSAK).
Hope this helps.
Regards,
Chirag
Assign points if this helps...

Similar Messages

  • How to know if a file browser item is not null using javascript fucntion

    Hi
    <br><br>
    I tried to use javascript for validation. I have a file browser item named P55_FILE_NAME and I would like to know if this item is null or not before submit.
    <br>
    I wrote this function :<br><br>
    function validate_import(f_n){<br>
         if (trim(document.getElementByName(f_n).src) == "")<br>
         {<br>
         alert ("File name is empty.");<br>
         document.getElementByName(f_n).focus();<br>
         }<br>
         else{<br>
         doSubmit('SUBMIT');<br>
         }<br>
    } <br><br>
    When I press submit button I got an error, sounds like the src method does not exist in my input item. <br>
    Then, I looked my source page an I found this :<br><br>
    input type="file" name="p_t01" size="30"
    <br><br>
    there is know src method and the name is not P55_FILE_NAME and I don't want to use <b>p_t01</b> that will change.<br>
    <br>
    I need your help.<br>
    Benn

    Hello,
    The p_txx notation is the internal name the ApEx engine attaches to each page item. It starts with p_t01 (for the first item on page) and can end with p_t99 (hence, the max 99 items per page limit). You can see these names in your HTML source code.
    The bug in the File Browse item (fixed in version 2.2) is that the ID of the item is the internal name instead of the item name. Hence, in order to use DOM, you need to use this internal notation.
    If the File Browse item id is p_t01, you can null its content by using something like that (V2.0 notation) :
    html_GetElement('p_t01').value = '';I'm using the same, and similar code, for manipulating this type of item with no problems.
    Please document the use of this workaround, as when you'll upgrade your ApEx system, you will have to change this code back to the standard – item id equal item name.
    (Please follow Scott's advise, and keep your logic connected issues on the same thread. It will get you more quick and accurate help).
    Regards,
    Arie.

  • How to know if a Sales order item created with or without reference

    Hi,
    I am working on user exit USEREXIT_MOVE_FIELD_TO_VBAP, and I just wanted to know if there is a way to know if a sales order item is created with or without reference to a contract.
    I need to write the code in USEREXIT_MOVE_FIELD_TO_VBAP, however, when an SO line item is created with reference the userexit is being called twice and when the SO line item is created without reference the user exit is being called only once.
    My aim is to check if a SO line item is created with reference to a valid contract. If the item is without reference to a contract or the referenced contract is not valid, then I will have to determine the contract based on the customer contracts.
    Any help on this would be greatly appreciated.
    Best regards,
    Siva

    Hi Vindo,
    The Userexit USEREXIT_MOVE_FIELD_TO_VBAP is called twice when the SO line item is created with reference to contract. The first time the user exit is called there will be no value filled in vbap-vgbel and the second time it comes to the userexit then vbap-vgbel will have a value. I think CVBAK-VBELN will contain the reference if the so line item is created with reference and the value of CVBAK-VBELN contrains blank if the item is not referenced. Anyway thanks for your reply.
    Best regards,
    Siva

  • How do know open quantity  for a  sales order  (patially  delivered)

    Hi  Gurus,
    I have requirement to  know  open quantity for  sales order and it was partially delivered.
    Any table  to know partially delivered qty of a material for a  sales order.

    Hi
    Check This Table  VBBE for open order quantity
    You can find open Qty like this
    Open Qty  = Delivery Qty (LIPS-LFIMG) - Order Qty (VBAP-KWMENG)
    Swamy

  • Open items and closed items

    Hi,
    I am working on a report,where there is a field called status.In this field I have created 3 select options(active,balance out,archive).In XK02 transaction when i enter the vendor number,company code,purchase organisation and select the archive option from the status field and try to save it,then it should check if there are any open PO's or SA's for that particular vendor.If there are any then it should give an error message.This is working fine and I am getting the error message for open line items.If I want to check this for closed line items how can I do that?How can I get the closed line items for that particular vendor?
    Regards,
    Hema

    Hello Hema,
    I didn't get your situation but, i came accross same type of situation.
    i just went through VAPMA table there i got KUNNR and POSNR for a material number and i checked in VBUP table for the status using KUNNR and POSNR. The field in VBUP is LFGSA.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.
    Message was edited by:
            Sasidhar Reddy Matli

  • How to know what are the missing items in 'Collect Files' ?

    I used 'Collect Files' to gather my medias for my project, but it's giving me this error in log:
    Number of missing items:  1
    This project is pretty huge so how can I find out which items is missing ?
    I don't see any offline layers in my sequences...
    Thank you.

    Do you have a file that is bigger than 2gb in size ? I know that on some cases Collect file won't move file with size over 2gb (if i'm correct, not sure about this).
    If you are on CS4, open you collected file project and type "missing" in the search text field of the project panel, and AE will show you all the missing files.
    You can also have a look at the log file created when you collected the file to see wat file is missing.
    Hope that helps.

  • How to calculate open balance Vendor Line Item Display(FBL1N)..?

    hi,
    is there any way to fetch data for open balnce in vendor report display(FI).
    As I have to calculate Credit , Debit and Open balace , also Balance  as on date. in Zreport with reff of FBL1N.
    Vendor item data has been calculated from BSIk table. also  open balance has to be fetched from with reference of Clearing doct and posting doct. i have
    so if any FI technical or non techincal person has gone thru these things, those who have clear picture on these plese let me know.
    Thnks in advance.

    Please note that most vendor line items wont have a PC assigned to them.
    I am not sure if you are refering to classic view or new GL data.
    Anyway you can use the sum button, and sub total for your levels.
    If you want to get the information sub totalled by PC, then I guess you are using the new GL and document splitting.
    If that is the case you cannot use FBL1N for this.
    There is however a set of reports in Accounts Payable, called new Gl reports and they will provide you the general ledger view and not the entry level view, and you can use the sum and sub total option.
    Please award points if this is useful.
    Come back if you need further help.

  • How to know the sales order closed using right click menu -Close ???

    I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
    The Open Quantity of those lines are already closed while i Close it manually.
    Now i need  a report regarding the sales orders which i  have closed manually. Any Options??

    Check the below result
    DocNum     DocDate     CardCode     CardName     Row#     ItemCode     Dscription     Price     Quantity     LineTotal
    2     2012-02-04 00:00:00.000     ED-C-102     AI HUDHA BOOK STALL     2     1010          150.000000     10.000000     1500.000000
    3     2012-02-04 00:00:00.000     ED-C-103     AL AMEEN ENGLISH SCHOOL-MANKADA     2     1011     ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM     59.790000     10.000000     597.900000
    this is the result i get while i execute your query
    but look at the db result
    DocEntry     LineNum     TargetType     TrgetEntry     LineStatus     ItemCode     Quantity     OpenQty
    1     0     15     2     C     1010     10.000000     0.000000
    2     0     15     3     C     1010     10.000000     0.000000
    2     1     -1     NULL     C     1010     10.000000     0.000000
    3     0     15     4     C     1010     1.000000     0.000000
    3     1     -1     NULL     C     1011     10.000000     0.000000
    3     2     15     4     C     1012     15.000000     0.000000
    3     3     15     4     C     1013     20.000000     0.000000
    4     0     15     5     O     1010     10.000000     5.000000
    See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
    I need that last line result also as my output..
    Hope you understand my problem.
    Thank You

  • How to know 'opened forms'

    hi
    On main form, I am accessing other forms through my own customized menu. But there is no control to check whether form is already open or not. whenever i click menu, another instance of form is created. How to control this. I guess there should be some control in menus for it ?
    or how to control that, at a time, one instance of form should be opened through menu?
    best regards

    You can refine this code even further by making it a procedure and the it can check for any form name. The procedure is as follows:
    PROCEDURE check_open_form(form_name VARCHAR2) IS
    frm_id formmodule;
    BEGIN
    frm_id := FIND_FORM(form_name);
    IF NOT ID_NULL (frm_id) THEN
    MESSAGE('Form '&#0124; &#0124;form_name&#0124; &#0124;' is already opened');
    go_form(frm_id);
    ELSE
    OPEN_FORM(frm_id, ACTIVATE, SESSION);
    END IF
    END;
    You can then call any form using this procedure in say a button item using When-Button-Pressed trigger. Issue a call to the procedure to call form named "slap" like:
    check_open_form('slap');
    Abdul.
    null

  • How to activate Open Hub in closed system

    Hello friends
    Do you know any ABAP Program, Function Module or any other way to activate Open Hub Destination in closed system (i.e. QA)?
    Cheers,
    A.

    Hi,
    I suggest to change the object changeability in the Data Warehousing Workbench.
    T/code RSA1
    Go to the Transport Connection perspective
    Then click on push button Object Changeability
    Here you can find object type DEST (Open Hub Destination). Please change the setting by right clicking, choose Switch Changeability.
    Now you will be able to activate the Open Hub Destination w/o having to open the system.
    Please refer also to SAP Note 337950 - Queries (including objects) cannot be edited.
    Best regards,
    Sander

  • How to know what were line item dimensions

    Dear SDN,
    How to know what were made line item dimensions.
    Thankyou.

    Rahul,
    Go to the edit mode of your info cube and then check out your dimensions, there if the line item dimension check box is checked then it means that, that particular dimension is a Line item dimension.
    Regards,
    Gattu

  • 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.

  • Need sql query to find out same item is used in open po and closed po

    Hi Experts,
    I have an requirement is that, i need to find out the item is used in open po and closed po.
      example: A is the item is used in closed PO and Open PO.
      i need to write down the scripts how many same items is used in open po and closed po.
    if any sql script is there please share.
    Please let us know if any concerns.
    Thanks
    bmn

    Hi
    Please try below query
    select
    distinct c.segment1
    from
    po_lines_all a,
    po_line_locations_all b,
    mtl_system_items_b c
    where
    a.po_line_id= b.po_line_id
    and a.item_id=c.inventory_item_id
    and b.closed_code='OPEN'
    and a.item_id in ( select 
    item_id
    from
    po_lines_all d,
    po_line_locations_all e,
    mtl_system_items_b f
    where
    d.po_line_id= e.po_line_id
    and d.item_id=f.inventory_item_id
    and e.closed_code in ('CLOSED','FINALLY CLOSED','CLOSED FOR INVOICE','CLOSED FOR RECEIVING'));

  • How to know previous navigation item during runtime in Forms

    Hi,
    How can one know the previous navigation item in oracle forms.
    Scenario:
    Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
    On the Find Person window --> Query a Person
    On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
    At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
    There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
    Hence my question is how to know if the previous item is DFF or not.
    Thanks in Advance.
    Vishnu

    Hi,
    How can one know the previous navigation item in oracle forms.
    Scenario:
    Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
    On the Find Person window --> Query a Person
    On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
    At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
    There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
    Hence my question is how to know if the previous item is DFF or not.
    Thanks in Advance.
    Vishnu

  • 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

Maybe you are looking for