Get PO and Item number from FI Cleared Items

Hi,
I need to retrieve PO and item numbers from FI cleared items.
So I retrieve the records for a particular GR/IR account from table BSIS.  Based on FI document number, item number, fiscal year and company code, I get the PO and item numbers from table BSEG.
However, I cannot use BSEG in query i.e. SQ01.
What is the easiest way for me to retrive PO and items numbers?
Thanks.

Hi,
First of all, cleared items live in BSAS. BSIS is for the items that are still open.
Goto SQ02 and make a direct table read to BSAS; click 'Extras' icon; on the right part of screen click 'Create' icon; give name BSEG and choose 'Additional table' radio button. The keys suggested by the system should be good.
Regards,
Ming

Similar Messages

  • What's the 'best practice' way to get email and fax number from vendor?

    Hello *,
    could anybody let me know what the 'best-practice' is to get the fax number and smtp address from the vendor master? Is there a preferred function module I should use?
    Thanks a lot,
    Torsten

    Hi ,
    try that:
    TYPE-POOLS: szadr.
    DATA adr_kompl TYPE szadr_addr1_complete.
    DATA adr1 TYPE szadr_addr1_line.
    DATA adtel TYPE szadr_adtel_line.
    DATA admail TYPE szadr_adsmtp_line.
    DATA adfax TYPE szadr_adfax_line.
    CALL FUNCTION 'ADDR_GET_COMPLETE'
           EXPORTING
                addrnumber              = lfa1-adrnr
           IMPORTING
                addr1_complete          = adr_kompl
           EXCEPTIONS
                parameter_error         = 1
                address_not_exist       = 2
                internal_error          = 3
                wrong_access_to_archive = 4
                OTHERS                  = 5.
    * Mail
      LOOP AT adr_kompl-adsmtp_tab INTO admail.
        MOVE admail-adsmtp-smtp_addr TO atab-mail.
      ENDLOOP.
    * fax
      LOOP AT adr_kompl-adfax_tab INTO adfax.
        MOVE adfax-adfax-fax_number TO atab-fax_number.
      ENDLOOP.
    regards Andreas

  • How to get Storage unit and Warehouse number from Handling Unit.

    hello all,
    I have Handling unit and Material in my program as an input, using these two fields i have to get corresponding storage unit and ware house number, to pick up transfer order.
    Can anybody explain me who can we get Storage Unit and Warehouse Number from Handling Unit.
    I know we can pull transfer order from table LTAK & LTAP using warehouse number.
    But i dont understand how to get warehouse number from handling unit.
    There is table LSUTO which has warehouse and Handling unit relation, but in our system there is not data maintained in that table. So, i was just wondering how can i get warehouse number from the given handling unit number.
    please guide me
    thanks
    Edited by: Mr A on May 12, 2008 1:23 AM

    Hi ,
        Check out the handling unit item table VEPO. You got storage location(LGORT) in it.
    Reward points if it was useful.
    Regards,
    Abhishek

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Get PO Confirmation and Invoice Number fron SC line item deial like GUID

    Hi All,
    I want to create ZReport where i have to find  Purchase Order , Confirmation and Invoice Number fron SC line item .
    I am looking for that tables or FM by using which i can give SC line item Guid and i can get the corrosponding PO , Confirmation and Invoice if any.
    Please suggest solution.
    Thanks in Adavnce,
    Snehal

    Hello Snehal,
    You can use following FMs to get the required deatils:
    FM: BBP_PD_SC_GETDETAIL
          E_ITMLIM_REL
          Select the second entry
          Shift+F5
          Take the HDR_GUID_A for PO
          and HDR_GUID_B for Conf
          and HDR_GUID_C for Inv
    FM: BBP_PD_PO_GETDETAIL
          enter the HDR_GUID_A
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_CONF_GETDETAIL
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_INV_GETDETAIL
           Goto E_HEADER           select the OBJECT_ID
    This could help you.
    Regards,
    Suneel Kumar

  • My iPad was stolen in brazil.  i cannot get the manufacturer id number from my iPhone or my macbook air....they are all linked together though.  any suggestions on how and if i can possibly retrieve this and thus locate the device? thanks julie

    my iPad was stolen in brazil.  i cannot get the manufacturer id number from my iPhone or my macbook air....they are all linked together though.  any suggestions on how and if i can possibly retrieve this and thus locate the device? thanks julie

    Launch iTunes, go to the Preferences, select Devices, and hover your cursor over the backup file for the iPod. That should show you the serial number, IMEI, and possibly the MEID.
    The manufacturer ID will not help you locate the iPad, though. If you set up the Find My iPad service in the Settings prior to the iPad going missing, then there is a chance that can be tracked, though it depends on a number of factors (the iPad is turned on, connected to a WiFi or 3G network, and has not had the Find My iPad service disabled or the iPad been completely restored). 
    If you did not set up Find My iPad, then there is no way to track it. Contact the police and change any passwords for any online accounts you may have used from your iPad (the iTunes Store, for instance). 
    Regards.

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • Fetch Sales order number and PO number from ship to party and sold to party

    HI,
    I need to get Sales order number and PO number
    from ship to party and sold to party.
    I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
    Please let me know
    Sreekanth

    Hi,
    You can do this:-
    SELECT VBELN FROM LIKP
    INTO TABLE T_DELIVERIES
    WHERE KUNNR = SHIP TO PARTY
    AND     KUNAG = SOLD TO PARTY
    AND LFDAT      = DEL DATE.
    You will get a table containing the list of deliveries.
    Use VBFA to get the sales orders from deliveries.
    SELECT VBELV FROM VBFA
    INTO TABLE T_SALESORDERS
    WHERE VBTYP_N = 'J'
    AND     VBELN  = T_DELIVERIES-VBELN.
    T_SALESORDERS WILL give you list of sales orders.
    From Sales Orders you can get Purchase orders through EKKN Table.
    Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
    Regards,
    SUbhashini

  • How to get master sales order number from delivery number

    Hi All,
    I need logic for getting master sales order number from available Delivery number.
    Note: There can be many SO's in diffrent levels.
    Finally i need to pick up master sales order no.
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    I have a outbound delivery[VL03N] 'X' in my system .
    Then for getting sales order no i am writing below code:
      SELECT single vbelv vbeln
             from vbfa
             INTO (vbelv, vbeln)
             where vbeln   EQ p_vbeln AND
                   vbtyp_n EQ 'J'.
    Then vbelv i need to pick up master sales order no.
        SELECT vbelv vbeln
               from vbfa
               INTO TABLE i_so
               where vbeln   EQ l_vbelv AND
                     vbtyp_n EQ 'C'.
    If i write code as above it is giving four sales orders which one of them is master sales order no!
    Thanks,
    Deep.

  • How can we get the selected line number from JTextArea ?

    how can we get the selected line number from JTextArea ? and want to insert line/string given line number into JTextArea??? is it possible ?

    Praitheesh wrote:
    how can we get the selected line number from JTextArea ?
    textArea.getLineOfOffset(textArea.getCaretPosition());
    and want to insert line/string given line number into JTextArea??? is it possible ?
    int lineToInsertAt = 5; // Whatever you want.
    int offs = textArea.getLineStartOffset(lineToInsertAt);
    textArea.insert("Text to insert", offs);

  • Get a UK Skype number from Japan

    Hello,
    Is it possible to get a UK skype number from Japan?
    If it is possible, can I use this number to be displayed when I call Japanese customers?
    (eg. they see a number something like, +44 xxx xxx)

    Ok not got an RTX myself but have looked at them.
    I presume you have got the RTX connected to your network via ethernet and also to the Spanish land line connected too. Sign into your Skype account on the RTX, I presume you have some calling credit on your Skype account.
    Your RTX will ring on whichever incoming number that has been called, either the Spanish line or your Skype UK number.
    Check the calling rates page for costs to call the UK. https://www.skype.com/en/rates/?nu=subs-calling. Open up the rates to United Kingdom, then check the Pay as You Go rates and select "view all PAYG rates". That will open up a tab with all the PAYG rates to the UK including mobiles and special numbers. Note that there is a connection charge too. General charges are 1.8p/min + 3.1p connection fee to landlines and 7.6p/min + 5.6p connection charge to UK mobiles
    If you find yourself making a lot of UK calls then a subscription might give better value, but note there are two types of subscriptions, one type is only to UK landlines and the other is to UK landlines and mobiles.

  • How do I get date and time component from a DATE object?

    Hi All,
    I need to get date and time separately from a DATE object, does
    anyone know what function I should call? GetDate()? GetTime()?
    I need this in a SELECT statement.
    Thanks in advance and looking forward to your early reply.
    Regards.
    Gladywin
    30/11/2001

    Hello,
    See following SQL.
    select to_char(sysdate,'dd/mm/rrrr') today_date,
    to_char(sysdate,'hh24:mi') now_time
    from dual
    Adi

  • TA38622 how do you delete a contact name and phone number from this?  i have deleted it from my regular contacts, but it remains in a text memory when i begin to type the beginning of a name

    How do I delete a contact name and phone number from my texting memory?  I have deleted this contact from my regular contact information; however when I text and begin to text a contact beginning with the 1st letter of the name I had deleted, it brings up the old, deleted contact information in my texting history only.

    You would have to restore as new.

  • Is there a way go get the item number of the current item?

    In an item with multiple instances: Is there a way to get the item number of the current item? If for instance, I am on the 3rd item, is there some kind of “GET CURRENT RECORD NUMBER” built-in that would return a ‘3' to the program?
    Thanks
    Edited by: WayneFMcKinstry on Apr 9, 2010 10:50 AM

    If i am getting you correctly that in tabular item you want to know the current record or current item you can try this...
    For current record
    :SYSTEM.CURSOR_RECORD;
    or
    :SYSTEM.CURRENT_RECORD;for current item
    :SYSTEM.CURSOR_ITEM;-Ammad

Maybe you are looking for

  • Power mac g4 Model 8570 won't power on

    A few months ago I installed Leopard on my g4 tower and since then I've been having power problems. I realized I pulled the wrong power cord in when I set everything back up, so I figured that waws the problem, thinking it was an issue of not drawing

  • How can I create and design a page UI from blank page in jdev10g?

    Hi. How can I implement a page from scratch page? I can create a master-detail page as the OBE site. But I'm not sure how to create page using component pallets, instead drag data-control model to page. It means I should design UI with component pall

  • Freeze during editing

    When I edit in full screen, I lose the ability to open up the bottom "toolbar" by dragging the cursor to the bottom of the screen. When this happens I have to hit the escape button to get back to the iPhoto library. When I go back to editing the phot

  • JMS Deserialization Error

    Hi, I am encountering the JMS Exception 'Error deserializing object'. I do not have the stack trace. The same code works perfectly fine 99% of the time. It throws exception at random very rarely. Can anyone help me with the possible causes of this ex

  • Expot showing in cancelled state

    Hi All, I exporetd user master data of client 200 that time it shown it successfully completed.I tried import the data after client copy next day the export is showing cancelled state in SCC3 but in SE01 it is showing successfully completed.Import wa