Display sales orders in query regardless of vendor

Hi BI gurus,
I have got a query with the selection screen. The users specify a vendor in this selection screen. At the moment, if the orderline does not have purchase order against it, it does not display the order. For example, order no. 99999 which has got 3 lines. Line 20 does not have purchase order against it but the rest (line 10 and 30) got PO against them. When users specify the vendor and execute it, this order will not be displayed in the report. System thinks that there is no Purchase Order raised for line 20. Which is right. But is there any way that we can display this order in report?
Order             Line               Purchase Order
99999            10                  Yes
                     20                  Not created yet
                     30                  Yes
Please do let me know.
Thanks for your help.

Hello SDBI,
I tried the way you mentioned. But unfortunately, it did not work. The problem is the user key in the vendor in the selection screen. Now, some order lines may not have purchase order created for them. But user wants to see order lines with or without purchase order. Is there anyway I can resolve this issue?
Please let me know.
Thanks for your help.

Similar Messages

  • A query to display sales orders with corresponding outbound deliveries

    Hi Experts,
    Don't know if this is the right place to post the question but i would like to know if a query, in SAP, can display sales orders with their corresponding outbound deliveries, i tried using table LIKP and VBAK, VBKD didn't help. the whole idea is to enter any specified sales order number and the query will return any outbound deliveries belong to the sales order.
    Thanks in advance!

    run the se16 transaction - table VBFA.
    This table gives the Sales document flow.
    Give the sales order nos. and in the subsequent document category select delivery.
    You will get all deliveries.
    Thanks
    Ajay

  • Display sales orders due list in a week

    hi , i want to display sales orders due list in a week
    what are the tables need to be referred?
    Rgds
    Umakanth
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:06 PM

    Hi,
    The following is a list of Sales & Distribution tables :
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    KONV Conditions for Transaction Data 
    KONP Conditions for Items 
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and
    Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index.
    Hope this might help you.
    Regards,
    Kaveri.

  • How to devolped an Interactive ALV Report to display sales orders

    hi,
             how to devolped an Interactive ALV Report to display sales orders pertaining to the selected Customers and item details in the secondary list.For this report what are the tables and fields wehave to used give with example.
    thank you
    radhakrishna

    Hi,
    look via se38 for BCALV* and SALV*.
    Try ABAPDOCU.
    Regards, Dieter

  • Requied code in abap to display sales order header text

    hi all,
    can anybody help me to send the code in abap to display sales order header text.

    Use FM, Read_text. Pass the necessary parameters like object name, id, language. You can see some of the infos in by clicking the scroll-like button.
    Reward points if useful

  • How to get display sale order in MB51

    Hi,
    How we can get display sale order in mb51 , at present only sale order with special stock "E" is been display .
    Thanks..

    HI,
    if you just want last / latest SALES ORDER for material then check table VBAP
    if last billing document then check table VBRP
    check MCBE
    Prese F6
    there you can select the columns
    Last consumptn.
    Last gds issue
    Last gds mvmt.
    Last Receipt
    VA05- Report for the sale with Material Vs Customer. or
    You can easily get that in VBAP by putting the material number for MATNR
    for more clarity please refer the below link...
    How to findout last sale transction date of perticular material
    Regards,
    Udaya.

  • Display  Pop up message when  changing and displaying sales orders?

    Hi Friends,
    My client requirement is to display text popup during change sales order VA02 , and  Display sales order VA03.
    Pls find me a answer for this , Thanks.
    Nina.T

    Hello Nina...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types: Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    Thanks,
    Safeer Rahman

  • Creditreport that displays Sales Orders with Material Availability Date as

    Hi
    I need input if the following requirement can be met in FSCM credit mgmnt.
    Currently In FDK43 there is a total sales figure that represents the Sales that are consuming the Credit Limit assigned to the customer, unfortunately there is no drill down on this number to see which sales orders are responsible for the consumption of credit
    Do we have any sales report that displays Sales Orders with Material Availability Date as an output in conjunction with Credit limit .

    Not in standard provided. Custom program is required.
    Regards
    Hein

  • Want to Display Sales Orders

    I want to create a Web Dynpro that will display Sales Order Information. Not sure what I want to use as my selection criteria yet. Perhaps Partners, or Customer Numbers. Does anyone have any suggestions? Like, some good Class Methods I can use in a Service Call for accomplishing this.
    Thank-You.

    Try these FM's
    SPP02_SALESORDER_GET           gets salesorder header and items.
    BAPI_SALESORDER_GETLISTBOS     Sales Order with BOS: List of all Orders for Cus
    SALESORDER_GET_SERIAL_NUMBERS  Get serial numbers of a given sales order       
    BS01_SALESORDER_GETDETAIL      Sales Order: Display Order Data of Order        
    BS01_SALESORDER_GETLIST        Sales Order: List of all Orders for Customer    
    ISIDE_RLOEPM_SALES_ORDERS_READ Get sales orders for given accounts
    Hope it works.

  • Displaying sales order from other system

    Hi Experts,
    I have a requirement of displaying sales order from other system. I will be fetching sales orders through a RFC call and displaying it in an ALV. on clicking of the sales order displayed from the ALV, I need to display it from the other system.
    How can I go about this?
    Please help.
    Regards,
    Rohan

    rohan,
    you already have answered most part of your question.
    - displaying SO from other system through RFC:
    create a remote enabled function in that target system. call this FM from your current system. (for RFC calls check this: [RFC help|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
    displaying SO by double clicking in ALV:
    --ALV's comes with a event USER_COMMAND. in this event you can pass your subroutine and in your subroutine you can do your coding... take help from sdn searches like :About FM ALV user_command Event
    hope these helps
    Somu

  • Sales order invoice query

    Hi
    Please send the sales order invoice query as basic columns.. Further I will modify the query according to the requirement.
    Pleas send to my personal ID: [email protected]
    Thanks
    Sree

    Thanks.  There's a few problems though.
    1)  It seems that OINV DocTotal != Balance Due.  I'm seeing a number of invoices where there was a balance due, but we applied additional money (either we took another incoming payment and applied it or applied money from the account balance, etc.) and yet it still shows a total.
    2)  It's pulling incoming payments from different customers.  I think this is because the table was joined based on "RCT2 T4 on T4.[DocEntry]  =  T3.[DocNum] and T4.[InvoiceId] = T2.[LineNum]"  In one example I have 2 incoming payments 446 and 614.  Both have the DocEntry 542, but one relates to A/R Invoice 542 (for a different client) while the other relates to Down Payment Invoice 542.  *I was able to fix this by adding WHERE T5.CardCode = [%0]*
    3)  I'm going to work with this a little bit and see if I can alter it to make it work for me.  Basically this query falls a little short on the following:
    -  Doesn't include incoming payments that aren't linked to a down payment invoice.
    -  Does not give the Invoice Total (I'd like to know how much of the SO was invoiced.  DocTotal seems to give me Amount Invoiced - Down Payments.  I'm not sure the best way to get this number.  Maybe I could do the sum of each line * tax + freight)
    -  Does not give the outstanding amount on an invoice.  The ARtotal [DocTotal] column gives me how much was owed when the invoice was created, but it doesn't tell me what is currently owed.
    -  Lastly it may complicate the query too much and could be left off, but it would be nice to see if they have any money from credits or incoming payments that has not been applied.  Perhaps this would be easily accomplished by simply pulling in their account balance.

  • What tables we have to include  to display sales order for paricular order

    what tables and fields we have to include  to display sales order for particular order and paricular customer?

    Sales order detials are stored in VBAK ,VBAP tables,
    U can have selection screen for customer, and upon entering the customer name, u can extract the data from the above two tables.
    Regarding order, is it Purchase order? if so, u cant extract based on perticular order, coz, these orders are not generated in SAP, they come from Customer and can be registered in Sales order for only reference.
    Regards,
    Sujatha.

  • Display sales order in to form

    Hi Gurus,
    I able to display sales order based on the customer number i passed from the input text field and the result list will display in a table.
    Now If i select specific sales order from the table row , I want to display that sales order on a seperate iView with all the detials of perticular sales order.
    Please guide me how to achieve this task.
    Mark Peter

    Hi,
    If you are using the two function modules  for retriving the list of sales orders and detail sales order.
    First you have to add two function modules in the custom controller and pass the first function module into first view and it displays the sales orderlist as table
    In the table when u click the specific salesorder capture the sales order and pass this is as input for secnd module that function module execute method will call in the OnLeadselection and navigation and result will display output in anothe view.
    This the way generally doing.
    If you want both views in inthe same window as Anil suggested take View set and design both views and hide second view at the loading the application.
    when you click the record on the table then display the detail in seond veiw and display it on the same window.
    This might helps you other wise post ur issues.
    Thanks.
    Lohi.

  • CM25--display sale order number

    Hi all
    With transaction code: CM25 and overall profile: SAPSFCG011. We can display: Planning Table: SAPSFCG011 Finite scheduling forw./all functs.activ. 
    then there will be three sections, in the left of the bottom section "orders (pool)", there will be disaplay field "Sql" material" "Prio" "order" "operation" "work center" etc. but I would like to display "sale order number", because our production style is make to order. so when planner pull the production order and dispatch it, the planner needs to know the sale order number. Could be sale order number displayed here?
    thanks in advance!
    DanDan

    This is entirely possible... please see my post from a previous post with a similar question... what you would need to do is add field KDAUF (for planned orders) or field KDAUF_AUFK (for production orders).
    The configuration for manipulating the profiles and columns is a bit confusing in the IMG.
    However.. if you use transaction OPD0 you can open up the configuration for the default profile that you are using in production. For instance... overall profile SAPCRPG001 uses planning table profile SAPSFCL010. If you click the button to the right of the planning table profile entry it will take you to the planning table profile configuration screen. Double click on profile SAPSFCL010.
    In this transaction you will note there is an entry for Layout ID which is (if you have not changed the default config) SAPSFCLA10. If you click the button to the right of this entry it will take you to the list of Layout ID's available for you. Locate the Layout ID SAPSFCLA10, select it and double click on the "Definition of charts" option.
    In this case the graphical planning table is using three different sections. Select the section that you wish to manipulate the column headings for and double click on Grouping Names option. Select the option that shows up in the next screen then click on the Grouping Names option.
    Listed here should be the layout keys used in this section of the layout ID. Make note of the layout key(s). Execute transaction CY38. Input the Layout Key you wish to manipulate. From here you can select any field you would like to add/remove from the current listing.
    You can click the Sequence/Heading button to manipulate the specific order of the columns and how large you want those columns to be as well as what text is displayed as the heading.
    My suggestion if you are going to make changes like this is to copy the existing profiles to Z********* profiles so that you have a golden copy to work with.
    Hope that helps.
    Rachael

  • How to display Sales Order Document No into Invoice  ALD document

    Hi everyone
    I need to know how to bring in the sales order number into a UDF on a sales invoice which i will then pull into the invoice document using ALD.The client creates a sales order and copys into a delivery and THEN copys into an Invoice therefore it loses the original base number
    SBO only displays the delivery number into the invoice and the sales number in the delivery - it will not take the sales order all the way into the invoice.
    I can see that it brings it into the remarks field but this also brings in text, which i dont want displaying in ALD document.
    can anyone help either with a formatted search or if you know how i can strip out the text from the remarks field.
    any suggestions will be much appreciated
    Thanks

    You can use the next query:
    Select o.DocNum
    From DLN1 d
    Join ORDR o On o.DocEntry=d.BaseEntry and d.Linenum=0
    Where d.DocEntry=$(INV1.BaseEntry)
    (You should replace the ')' with '']' and the '(' with  '[')
    But this is usable only when the user derives the invoice from one delivery and the delivery from one order.

Maybe you are looking for

  • Problem to connect SQL Server using dg4msql  form Linux machine

    Hi All, I have oracle 11g 11.2.0.1.0 on RHEL 4 on one machine and MS SQL Server 2000 on another Windows XP machine. I have to link the oracle database with SQL Server Database. So that we can run queries on SQL Server from Oracle 11 Database. For thi

  • File-XI-IDOC : error in sxmb_moni because of empty idoc

    Hi ! I'm converting a CSV file to IDOC segments (CREMAS04). XI uses a lookup table to convert CSV records to IDOC segments. It is normal that some records could not be converted. When I process a CSV file that has ALL non-convertable records, I get a

  • BA and EC-PCA

    Hi sap guru's could you pls explain differnece between Business Area and Profit Center Accounting with an examples Thanks

  • ORA-12514: TNS:listener does not currently know of sevice requested in conn

    Hi All, I have a problem, our database was working fine, suddenly we are facing a problem, whenever i try to login through sqlplus from commmand prompt or through sqlplusw iam getting this error - ORA-12514: TNS:listener does not currently know of se

  • I can't add a Facebook account. Help!

    All software is up to date. I know where to do it but when i enter my phone number and password it says it can't verify my username and password. Automatic time zone is checked off. Keychain is up to date. I have no idea what this is! I have a a mid-