How to find out associated Billing Document from a PO

Dear SAP wizards,
just like we could check an associated PO for a Billing document by going to Display Document Flow, just wondering how can i find out the associted Billing Document for a PO.
Thanks a lot in advance.
Rashmi

Hi Rashmi,
If there is a sales billing document for a PO, ideally the cycle should be like this
Sales order-Purchase OrderMIGO/MIRODelivery(If applicable)--Invoice.
In this case it is not possible to find out the invoice number directly from the purchase order number.
In the Purchase order, there is a tab at the item level called Account Assignment. It will have the details of the sales order number and line item number filled, if the PO is created with reference to the sales order.Get this sales order number.
Using this sales order number, the delivery number or invoice number can be found out from the table VBFA by providing sales order number as VBFA-VBELV and giving VBFA-VBTYP_N as either J or M, J for delivery and M for invoice. Now you will get the invoice number for the transaction chain.
Hope this helps.

Similar Messages

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • How to find out what was imported from a dump file

    Hi.
    I got the dump file from a group and they told me to import it. Import job went successfully without errors as following:
    Import: Release 9.2.0.6.0 - Production on Mon Oct 16 20:53:12 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    Warning: the objects were exported by OPS$ORACLETS, not by you
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
    . importing OPS$ORACLETS's objects into SYS
    . importing BDS_APP's objects into BDS_APP
    Import terminated successfully without warnings.
    How do i find out what was imported from a dump file?

    another way would be to just list the contents of the dump file
    imp user/pass file=dumpfile show=Y

  • How to find out the batches released from ASCP

    hello gurus,
    Please let me know how to find out the batches which is released from the ASCP in the OLTP OPM instance, like for the Discrete in the WIP Order in the others tabe we can see that there will be a message like " Job mass loadded on......". So is there any way that we can findout whether the batch is released from the ASCP or is it manually created.
    Thanx & Regards

    Hi,
    You can check it in SM59 if there are any RFC destinations for the above systems.
    Alternatively ,check the table RFCDEST if any entries are maintained
    Regards,
    Lakshman.

  • How to find out sub site name from which sub site template is created - in solution gallery

    hi,
     i am having an issue in my "save site as a template". i have created  a subsite few weeks back with doc libs and  splists, disc.forum and  based on the template subsite I have created new subsites. now 
    as  per my new requirement i need to add new  doclibs and few columns in these doc lib. But I am unable to find which sub site was taken as a template.since i have many  subsites with different names, I forgott
    to make meaningful names, i gave some datetime for the templatesubsites,
    like project_27_jul_2pm,project_20_jul_7pm, etc etc.
    So would like to know, is it possible to find out from which subsite I have taken/prepared  the template subsite.
    any APIs are available or any power shell scripts. such that i can find  out from which subsite i have created this  sub site template.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/3c492adb-e7cb-4f5c-8c29-386a21c3498e/how-to-find-out-a-list-of-sites-created-from-a-template?forum=sharepointgeneralprevious

  • How to find the related PI document from a material document

    Dear All experts,
        If I know the materil document number, how to find the related PI document?
    Thanks!
    Xinling

    Hello Xinling,
    You can extract the details from table MSEG.
    Regards
    Kalpana

  • HOw to find out the RFC destination from BW system to ISU

    Hi,
    Currently my requirement is to call a function module which is written in ISU (remote enabled) from BW system.
    I am unable to find out the rfc destination from BW to ISU system.
    In CRM we have table like smofparsfa1. Is there any table in BW which can provide me the ISU destination?
    I need to compare the records stored in isu as well as in BW system.
    I need to call a function module which will provide me the data from isu.
    please help me in this regard.
    Krishna

    Hi,
    You can check it in SM59 if there are any RFC destinations for the above systems.
    Alternatively ,check the table RFCDEST if any entries are maintained
    Regards,
    Lakshman.

  • How to find out SD billing doc # using accounting doc number ?

    Hi Experts,
    Using accounting doc tables such as BKPF , BSEG and BSID , I need to find out respective SD billing doc no when I have accounting doc number.
    The issue is I cannot use either 'reference number' or assignment number' because the same numbers are not flowing to accounting doc from SD ( enabled by a enhacement ).
    Regards
    Mahesh.

    Hi,
    In BKPF : AWKEY / XBLNR  with these fields we can identify the SD billing document number.
    In BSEG table VBELN field is Billing document number
    Or
    Goto T.Code FB03 enter the accounting document number,company code and fiscal year and press enter.
    select the line and choose details, choose addtional data tab, here we can see the billing document number.
    Regards,
    Chandrasekhar.S

  • How to find out (parent)Base document, Base Condition type

    Hi,
    Is there a way to find out the base/parent document for a particular document.
    1. We copy OR doc and rename it as ZOR, Is there a table which stores this parent-child relationship.
    2. Similarly, we copy K007 and lets say we rename it as Z007, how can we find out the original condition type it was copied from.
    Yes, we can probably compare document category or condition type class, but isn't there a table or some source where we can get the info from?
    Thanks.
    Edited by: SAP SD_Newbie on Sep 4, 2011 10:28 AM
    I am extremely sorry for ACCIDENTALLY posting this question twice. I've logged in from a slow-speed cybercafe where it takes lot of time to post the question. In the process I open another and post, as a result it appears twice.
    I looked for options to delete the duplicate questions but I found none.

    Raghu,
    Just wanted to make my life lil easy, by knowing the base doc/cond type. If we know the standard base doc/ctype, I thought it would help me quickly recall the behavior.
    Thanks.
    I think I can mark this question as answered. Though I wonder why a provision was not made for this. But anyways thanks to you all.

  • How to find out a skype ID from a text?

    Met someone today and gave them my number, but they are from another country so i guess they used skype to text me which i can't reply to because skype is retarded... anyways, is there any way to find out the skype name of the person who sent it? The text just came from a random 5 digit number. I also got a phone call that i missed just a minute before this from a stange number with way too many digits so i assume its from skype as well so i have a number from that too but i can't call it back.

    Community_Team wrote:
    Congratulations, monclm!
    As the result of your contributions to the community, you have earned a new rank. Your new rank is Casual Tourist.
    We appreciate your efforts and hope you will continue to be an active member of the community.
    Thanks!
    How sweet of you to welcome me.
    However...I've been screaming at my computer for the last day because of one simple problem that it seems imposible to sort.
    Do you know that your customer support is an endless labyrinth? Is it deliberate????
    I don't have my Skype ID. I would like to find out my Skype ID. It would be useful to have it. I'm sure you understand.
    So far I've reset my password wht seems like a million times which now means that I have to write down a random password which means that my account is now no longer secure. Also it was entierly unclear that resetting my Skype password would reset my Hotmail one too - Not helpful to say the least.
    So I go through the rigmarole of contacting your customer 'services' and I have to reset my password - as I've said, this is unhelpful but I do it. Many times. And then.... I need my Skype ID to go any further. You can see the problem here. My issue is I don't have a Skype ID and I need to use my Skype ID to then get help finding out what my Skype ID is....
    Please tell me what my Skype ID is. I have an interview for a job that I need to do over Skype - I've been out of work for the last 8 months and it would be really nice to get a job and for it I need my Skype ID.
    Many thanks in advance for your help,
    Monica

  • How to find out what is Available from SAP ?

    Experts,
    i have to develop a data flow for one of the Data source, which is given by saP. I was wondering how do i find out the whole flow ? whcih DSO / cubes / MP /Queries are given from SAP for that DS ?
    i have tried to look into BI content, but it only shows Info Area/Trans strecture and Info Objects...No cubes, DSO and other stuff.
    In the BI content  i did select " In data flow after and B4".
    Also , i was looking at help.sap.com under BI content, but couldnt find .
    i am tring to impliment data flow on "0EC_PCA_3".
    Please help.
    thanks

    Hi,
    Check the below thread for some more information related to infocube,
    [0EC_PCA_3 - loading delta directly to CUBE?;
    Regards,
    Durgesh.

  • How to find out the Accounting document status for sales order

    Hi
    We have created the sales document by referring the billing document of contract no.Aftre that we have raised invoice for sales document. Now system is generated both invoice , accounting document and the value is appearing against the invoice document. However the status against the accounting document is showing as not cleared. I want to know where we could see this status in Table,
    Normally we can see the status in FPLT for contracts since its having the billing plan no. Suppose if the billing plan is not available like S.O , How to check the status in table?
    I have refered so many tables but not helping. Since i want to get the uncleared value of accouting document.
    Please help me.
    Regards
    Thenna

    Hi Thenna
    The accounting document status in the document flow is determined dynamically when you display the document flow,
    it's not saved in a specific table.
    Here is the relevant logic:
    LV05CF01 -> form BUCHHALTUNGSBELEG
    IF vbrk-vbeln <> vbfa_tab-vbeln.
       PERFORM vbrk_ermitteln USING vbfa_tab-vbeln.
       REFRESH xbkpf.
       CALL FUNCTION 'FI_DOCUMENT_READ'
        LOOP AT xbseg WHERE bukrs EQ xbkpf-bukrs
                      AND   belnr EQ xbkpf-belnr
                      AND   gjahr EQ xbkpf-gjahr
                      AND   ( koart EQ 'D' OR koart EQ 'K' ).
        ENDLOOP.
                IF NOT sy-subrc IS INITIAL.
      SET STATUS TO 'No items are cleared'
                  l_xdoc_num-status = 'A'. <<<
                ELSE.
                  LOOP AT xbseg WHERE augbl IS initial
                                AND   umskz NE 'A'
                                AND   vorgn NE 'AZUM'
                                AND   ( koart EQ 'D' OR koart EQ 'K' ).
                  ENDLOOP.
                  IF NOT sy-subrc IS INITIAL.
      Set status to 'All items are cleared'
                    l_xdoc_num-status = 'C'. <<<
                  ENDIF.
                ENDIF.
    Regards,
    Alex

  • How to find out the Menu UID from the main menu

    You can easily Find the Menuuid for menuitem that open a form, but how can you find out the menu uid for f.e. Modules.
    I want to add a submenu under modules.

    Hi Francis,
    You have access to the complete list of menus UIDs into the UI Help File.
    You only have to search for "Menu Items IDs" in the UI Help file.
    Regards,
    Trinidad.

  • Online college, open document, how to find URL associated with document

    I am currently enrolled in an online college.  For APA formatting, we are supposed to find the URL associated with an online document.  For example:  on the college website I click on a link that takes me to the open/save box.  I open the file, at the top of the page is the name: sn_2010_writing_scholarly_voice-1.  On a PC we are supposed to cut/paste that into our web browser to come up with the URL.  I'm not seeing how to do this on a MAC. 

    Here's a code snipet with null checks removed:
    UID MyClassName::GetFrameForXMLElement(IIDXMLElement* inXMLElement)
        InterfacePtr< ITextModel > textModel( Utils< IXMLUtils >()->QueryTextModel( inXMLElement ) );
        InterfacePtr< IFrameList > frameList( textModel->QueryFrameList() );
        UID aFrameUID = frameList->GetNthFrameUID( 0 );
        return aFrameUID;

  • How to find out what was imported from Import-CSV

    If I have an input file that could contain any CSV field names in the headers and after I run Import-CSV I want to find the names of the fields that were imported. How can I do this?

    Hi Patrick,
    generally speaking, you can figure out a lot about what you are working with by using the PowerShell commandline, not a script. You can inspect an object's 'attributes' - as shown by Adam - using the Get-Member cmdlet (You can do this to the content of any
    variable, not just Csv imports):
    # Get content of Csv file
    $Data = Import-Csv "C:\temp\Input.csv"
    # List properties:
    $Data | Get-Member
    The resulting information is a table with 3 columns:
    - Name: The Name of the attribute
    - MemberType: This tells you what it is. The two Types usually of interest are "Method" and anything containing the word "Property". Method does something (Save a file, disable a Mailbox, etc.). Property is a piece of Information (eg. UserName,
    Email, Address, ...).
    - Definition: The definition-column is in my opinion the most interesting aspect of the output of Get-Member. This tells you how to interact with the objects' 'attribute' in question. In case of methods, it shows how to call it and what it returns (Let's say
    you want to save a file: The Method Save() might then require you to specify a path where to save the file).
    In case of Properties however it tells you what kind of information is stored in the Property. If you import a csv, that's always a string for each column, since all you can store in a csv file is text. In some cases, when the console behaves differently to
    what you'd expect, check this out - it may well be that the property is of a type you didn't expect. All Types can be looked up on MSDN (just copy paste the full type-name to google and it'll send you there).
    Learn to use the Get-Member cmdlet and you can figure out how to work with what the console gives you all on your own (Seriously, it's one of the three most important cmdlets in all of PowerShell). Try reading:
    Get-Help Get-Member -Examples
    Those examples explain the use of Get-Member better than I ever could :)
    Cheers,
    Fred
    There's no place like 127.0.0.1

Maybe you are looking for

  • Compiling Apache 1.3.9 & PHP 3.0.12 to use Oracle 8.1.5 on SuSe 6.2

    Hi! I am trying to compile the above packets but am running into massive problems. PHP3 compiles well, if i try to use the "normal" static module for Apache, but the Apache configure script says that it needs an ANSI C compiler and stops. I am using

  • Hide button if no data found in report

    Hello, I am using oracle 10g apex 3.2 I am displaying a report with print button. What i want is if the report doesn't show any data i.e. no data found then i want to hide print button. How to do this. thanks Swapna

  • How to Populate Scrath Pad dynamically in IC web client..

    Hi all, i am struck in a requirement where i need to autopopulate error message in Scratch pad of IC when CSR accepts the call of Customer.The error message is generated when customer puts any wrong data in IVR.                                      i

  • ITunes has stopped working on Vista, help!!

    Earlier today, my iTunes was working fine. But then a friend of mine wanted me to download software that included a program called "Quicktime Alternative." I was skeptical but decided to try it our anyways. After the installation of a few things, my

  • Adobe Reader unable so save fillable form

    I am trying to fill out a PDF Form, but if does not allow me to save changes unless I save a copy. The PDF is already saved as reader extended, I have Adobe XI Pro but several others users only have Adobe Reader. This form was working just fine last