How to get all open sales orders of a customer and also account group

I want to know the logic to find all open sales orders of a customer and also account group

Hi,
You can check the status weather a Sales order is Open or not by checking its billing status form the following:
Check table VBUK and VBUP for delivery status "LFSTK" and billing status "FKSTK".
Rward points if helpful answer.
Ashven

Similar Messages

  • All Open Sales Orders in APO system

    Hi Experts,
    We have a requirement in which we have to get all open sales orders in SAP APO system for 2013.  Please suggest if there is some way to do this.
    Thanks in advance.

    Hi Manjunatha,
    RRP1 will list all the requirements: sales orders, forecast, dependent demand, putchase order release, etc.
    Same than in all the ALV reports, you can change the layout, sort, use filters in order to only see the document that you need, etc.
    Here you can an example of my system, where you have sales orders in RRP1:
    Kind Regards,
    Mariano

  • How can i get the open sale orders for given material no and plant

    Hi,
    I have to retrieve the open sale orders depending on the material number and plant.
    For only open sale orders at header level and item level.
    I want to use VBUK-GBSTK to find open sale order at header level and
                          VBUP-GBSTA at item level.
    Can any one suggest me the best logic as performance is concerned?           
    Thanks,
    Kumar.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • Getting the open sales orders and open deliveries valies

    Hi SDNs,
    I have a requirement that i need to get the all sales orders open values and delivery values. I need to build a logic for this scenario. could you please provide the logic for getting the open sales order values for respective customer.
    Please provide logic instead of standard reports. That would be very useful
    Thanks in advance
    Regards,
    K

    Please provide logic instead of standard reports.
    Really surprising !!!!!!!!!
    But still I would like you to have a look at VA05 where both open quantity and open order value will flow.  If you still feel to get the related tables, you can consider VBBE where you can get open order quantity
    thanks
    G. Lakshmipathi

  • Query for all open sales order with a date range

    Hi Experts!
    I wrote this query that will look up all open sales order of a particular customer and how much was served:
    SELECT T0.[DocNum] 'OS #', T0.[DocDate] 'Posting Date', T0.[CardName] 'Customer',  T1.[Dscription] 'Item Description',T4.[SalUnitMsr] 'Sales UOM', T4.[InvntryUom] 'Invty UOM', T1.[UseBaseUn] 'Use of Invty UOM' , T1.[Quantity], T1.[Quantity]-T1.[OpenQty] 'Served Qty', T1.[OpenQty] 'Unserved Qty' FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.[DocStatus] = 'O' and T0.[CardName] =[%0]
    However, I don't know how to input a parameter for the date range in a query.  Can anyone help with this issue?
    Your input will be highly appreciated.
    Warm regards,
    Jen

    Hiiiiiii
             Try This.....
    SELECT T0.DocNum 'OS #', T0.DocDate 'Posting Date', T0.CardName 'Customer', T1.Dscription 'Item Description',T4.SalUnitMsr 'Sales UOM', T4.InvntryUom 'Invty UOM', T1.UseBaseUn 'Use of Invty UOM' , T1.Quantity, T1.Quantity, T1.OpenQty 'Served Qty', T1.OpenQty 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.DocStatus = 'O' and T0.CardName ='[%0]' and (T0.DocDate>='[%1]' and T0.DocDate<='[%2]')
    Regards,

  • How to get my images always order by file name, and not by time of captur, in all the folders in the library?

    How to get my images always order by arquive name, and not by time of captur, in all the folders in the library?
    Sorry for the poor english, but im portugues.
    In the library we can change the order of classification of image by, time of capture, name of file etc... I'm wondering if its possible define to be always by the name of file.
    It ´s possible?
    And i have other question, in print label we have an option to auto rotate to feet in page to have the image using the maximum area in the page (auto rotate, zoom etc), its possible to change the orientation of the rotation to be always in  the other direction?

    The Muvos are USB Mass Storage devices and do not have the ability to display track information based upon ID3 tags.
    The Zens all read and display track info based upon ID3 tag information that is either gathered from an online source or entered by the end-user.
    If you want the track information displayed instead of the ID3 tag information, you could edit the ID3 tags and rename the title to whatever you have as the file name. Not sure why your file names would differ so much from the ID3 tag info though, almost all of my content has the same name for the filename as it does on the ID3 tag title.

  • Retrieving all open Sales Orders

    Hai All,
    Can any one inform me how to get all the open sales orders?
    is there any fuction module exits for this?
    if not if any one knows the logic for this?
    Thanks & Regards,
    Bhaskar

    Hi Bhaskar,
    check this link for sample code.
    Re: Open Orders Report.
    Regards,
    Kiran Sure

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • How to Close Mass Open Sales Orders (Partially / not executed ) at one go

    Dear All
    We are having lots of  OPEN SALES ORDERS , few are COMPLETELY OPEN and rest are PARTIALLY used .Now my requirement is to CLOSE all such Sales Order at one go ie. MASS CLOSING OF OPEN SALES ORDER .
    Please Guide.
    Regards
    Animesh Chakroborty

    Dear Animesh
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032  and execute.  There block "Sales order header data" and click on "Fields".  There select the field "MASSSDHEAD_S-LIFSK"  and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute.  There on top, assign some block and execute.  All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection"  in mass.  To achieve this, go to TCode MASS, input Object Type BUS2032 and execute.  There block on "Sales Order Item Data" and click on "Fields".  There block the field "MASSVBAP-ABGRU"  and execute.  Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    thanks
    G. Lakshmipathi

  • Transaction MD04 does not show all open sales/orders deliverys

    Hi,
    Transaction MD04 does not show all open deliverys and sales orders for plant 0705 and certain materials.
    Can anyone tell me the reason for this?
    Regards,
    Brijesh

    Hi
    Run SDRQCR21 report in Transaction SE38 for that material it will  resolve your issue.
    Please confirm
    Amit

  • Regarding All open sales order & want to close them

    Hi All,
    My client want the list of all open & partially open sales order in the time period excluding cureent & previous months & want to close all those sales order with partally open & fully open status
    Regards,
    Rohan

    Rohan in t-code mass find the reason for rejection and also try and block the sales order if you find it useful.
    Steps are below:
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032 and execute. There block "Sales order header data" and click on "Fields". There select the field "MASSSDHEAD_S-LIFSK" and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute. There on top, assign some block and execute. All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection" in mass. To achieve this, go to TCode MASS, input Object Type BUS2032 and execute. There block on "Sales Order Item Data" and click on "Fields". There block the field "MASSVBAP-ABGRU" and execute. Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    Edited by: Muhammad Ali Lozada on Dec 28, 2010 12:32 PM

  • Bapi to get all open purchase order

    hello experts,
    is there any bapi exists to get all open PO???
    thanks in advance.
    Regards
    Saurabh

    Hi
    No need of FM. You can directly select them using SELECT Query.
    SELECT EBELN EBELP FROM EKPO WHERE EREKZ NE 'X'.

  • How to get a Deleted Sales Order Header Data ?

    Hi Guys,
                   I need to get KNUMV field of deleted sales order to track the deleted entries in KONV table.
    But when I check in CDPOS, I am getting only the sales order NO. but not full header data of the deleted sales order or
    is there is any history table maintained for KONV ?
    My requirement is to update a custom defined table having same entries like KONV, which is used to update Data warehouse system.
    Thanks
    AJ

    Whenever any condition record is deleted then there is a deletion indicator at the Condition record level which get activated and through this field you can track then the condition record which are deleted. At this moment, i don't have access to SAP system and i unable to highlight the exact table name, please check the SAP standard table KONV for deletion indicator.
    thanks
    chaitanya

  • How to clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends,
    I would like to clear all open GRIRs in the year end and maintained as provision.
    in the next year next day i would like to show as open items.
    How can do it ?
    I have tried to clear it. I have maintained OBYP settings also. But i am unable see as clear item.
    Could you explain me how it actuallly works ?

    Hi REddy,
    In most of the cases, the GR/IR account will have a credit balance and would be taken as provision for liability during year end activites. So as a standard practise you need to clear them on year end.
    but if you want to clear them, first you need to deselect check box Post automatically only for GR/IR clearing GL's master data.
    Then pass a adjustment entry like
    GR/IR GL Dr
                To Provision for Liabilites GL: Cr
    Above sample entry is true when your GR/IR account has a CR balance at the year end. if not post it in a reversed manner.
    Now with tcode F-03, for GR/IR GL, choose all items and clear them. Now you will get the clearing doc number.
    Now on start of new FY, reverse the above accounting entry with FB08.
    This will meet your requirement.
    Thanks,
    Srinu

Maybe you are looking for

  • Calculo do ICMS no processo de Transferencia SD/MM

    Pessoal, tenho um processo de transferencia MM/SD e o que ocorre e que na nota fiscal o valor esta saindo com preco embutido mais impostos. Ex: Alíquota de ICMS =7% Quantidade: 36 Preço Material: 143,52 Calculo Qtd x Preço material = 36 x 143,52 = 5.

  • Down Payment u2013 New functionality in PO - Limit the Planned Amount of DPR

    Hi, everybody I need an assistance with the new transactions for DownPayment Request based on PO (ME2DP and FPDP_CREATE). We created a PO, in the item detail, tab "Invoice" we planned a Voluntary DP with DownPayment % = 20 %. In ME2DP it is possible

  • How can I get a frame accurate output to tape using Premiere Pro CS6 and a Blackmagic Decklink Extre

    i can set the frame offeset inside the Export to tape tool (which BTW is horrible, you can't scrub, you MUST use ":" or ";" in the timecode fiellds or the deck just goes to the beginning of the tape etc), but I'm still 12 frames off.  there is a fram

  • Curreny $ display in ALV Grid

    hi all,         My requirement is to display  amt with currency .i.e <b>$ 35.00</b>  in single column. Thanks Senthil

  • EIS drill through report build

    Hi,<BR><BR>I want to create multiple drill through reports using EIS. But looks like I need to create all the required reports before I build and load the cube. Once I have built the cube using EIS, I cannot go in the metaoutline and add new drill th