How to identify the Open Schedule Lines.

Hi All,
I am writing an ABAP report which requires to identify the OPEN SALES ORDER SCHEDULE LINES.
The requirement is to identify the Open Sales Order Schedule Lines for a particular month (user Processing month in the selection screen).  Here the Schedules line item could have been delivered already.  If it is not Billed then it is OPEN schedule line.
Can anyone help me to understand the logic which I need to apply to identify only the Open sales order scshedule lines.
I am using the following tables:
VBAK,VBAP,VBUK,VBUP,VBEP.  Is there any other table which I need to use?  I am trying to avoid using table VBFA due to performance issues.
Thanks in Advance
Regards
Gopalakrishnan S

Hi Gopal,
If you want to find status of any sales order line item then you can find from following method from VBUP table.
In VBUP table there is a field FKSTK.By this filed status we can find billing status of particular sale order and this field has four possible values and these are
<i><b>field value  field value meaning</b></i>                             
if this value is space then order is not Not Relevant for billing             
if this value is  'A'  then order is    Not yet processed
if this value is   'B' then order is Partially processed
  if this value is  'C' then order   Completely processed
If you want to find status for the header then go to VBUK table and process is same as above.
In these table we can find all types of status.
Message was edited by:
        shyla kumar
Message was edited by:
        shyla kumar
Message was edited by:
        shyla kumar

Similar Messages

  • How to delete the old schedule line release?

    Hello,
    How to delete the old schedule line release in apo?
    Generally GR has to be carry out  schedule line release  in r/3 which reduces the Schdule line release.
    But i do want do GR against old schdule line release instead i want to delete the old schdule line release.
    Please suggest.
    Regards,
    Sunil Patil

    Sunil ,
    /sapapo/cmds_del  is the tcode to deleted sales scheduling agreement confirmations and releases
    /sapapo/display_conf  is the tcode for displaying sls. sch.agr confirmations and releases
    The above two are in the supply chain collaboration menu
    /sappao/cmds_sc02 is the tcode to delete sales scheduling agreements . This tcode is in the application specific master data menu
    Thanks
    Saradha

  • How to delete the old schedule line release in apo

    How to delete the old schedule line release (from current date) in apo which is having schedule  firmed?
    Please suugest.
    Sunil

    How is it possible to delete old purchasing schedule lines in APO (that do not exist in R/3)?
    Though used successfully before, /SAPAPO/CCR will not reconcile our discrepancy in this case.
    Thanks in advance,
    Jim

  • How to find the open po line item by using EKKO &EKPO tables

    Hi Gurus,
        what i am doing is finding out the OPEN PO line item from EKPO table. I know it has to check the ELIKZ field from the EKPO table.Can you please clarify me on the same in more detail.I has to use the ELIKZ  EREKZ fields from EKPO table.

    Use the field ELIKZ in EKPO. If the field is Blank its an OPEN PO Line Item
    refer this link.
    How to open PO line item

  • How to identify the open items of vendor/customers/general ledger

    i would like to know the t.code for identifing the user wise open items for vendor/customer/general ledger.

    Dear,
    You can use frequently used reports like FBL1N for vendors, FBL3N for GL and FBL5N for customer. You can exeucte open item report and drag Username field from the layout and sort the report in ascending or descending order.
    Regards,
    Chintan Joshi

  • How to identify open schedule line item?

    Hi,
    I have a requirement for identifying open schedule line items. I want to identify any indicator or any field in any table which will tell me that the schedule line item is complete. Can anyone tell me how can I know that?
    Ex. Sales Order 1 has 3 materials (line items) in it A, B & C.
           For A the quantity is 10 and for which 3 schedule line have been created.
           Out of the 3 schedule lines, 1 schedule line item is complete that is the delivery has been done and the rest 2 are open.
    For B and C there are 4 & 5 schedule lines created and all are open.
    How can i identify that total 12 schedule line 1 is completed and 11 are open.
    Please suggest tables, field names / indicators.
    Regards,
    Vishal

    Hi Vishal,
    You can not identify the open line items directly, rather you have to calculate the delivered quantity and copmare it with the ordered qty for each line item. The ordered qty can be idenitfy from the table VBEP and the deliverd qty can be found out by calling the function RV_SCHEDULE_CHECK_DELIVERIES.
    Follow the link for more details to calculate the delvierd qty.
    http://scn.sap.com/thread/279862
    Rgards,
    Rutvik.

  • How to get the Open qty. in JIT Schedule in VA33 txn.

    How to get the Open qty. in JIT Schedule in VA33 txn.
    The F1 Helps says Structure VBEPD field name is OLFMNG.

    any clues ??

  • Withdrawal quantity in the PIR Schedule Lines - MD63

    Hi Gurus!
    In MD63 - sched. line tab, what is the 'withdrawal qty' column? Where does it get the value? In my case, I don't see any withdrawals for the particular month, yet the system shows a large qty in this column. The problem now is that the new forecast value I load for this month is reduced by this withdrawal qty. Where should I look for this qty in the system?

    Hi,
    I hope you got the answers for your question.
    Could you please share the same with us, How you have identified the withdrawal quatities eventhough the actual withdrawl is very less compared to the value shown in Withdrawal quantity in the PIR Schedule Lines - MD63.
    There are couple of OSS Notes (Note 772857 - FAQ_Independent requirements reduction_withdrawal quantity.pdf
    Note 772856 - FAQ_Consumption of planned independent requirements.pdf) but they are not expalining this behavior completely.
    Thanks in advance,
    Siva

  • How can identify the default currency for a customer?

    How can identify the default currency for a customer?
    I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
    Blue

    Hi Gary,
    As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
    If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash

  • How to add a new schedule line?

    Hi folks,
    Please help to tell me is there any user exit can be used for adding a new schedule line? I want to keep the old first date data, add new shedule line with new updated schedule line date. Pls. help to advise how to do it in VA01/VA02 ?
    If i simply use the following update statement in MV45AFZZ, then the first date will be updated by the new Schedule line date, which is not what i want. (Since new order always the First line "0001" will get updated)
    xvbep-edatu = t_temp-edatu .
           modify xvbep TRANSPORTING edatu "UPDKZ
                         where posnr = t_temp-posnr
                           and ETENR = '0002'.
            if SY-SUBRC <> 0.
               modify xvbep TRANSPORTING edatu "UPDKZ
                            where posnr = t_temp-posnr.
            endif.
    Tks,
    Jenny
    Message was edited by:
            Jenny Zhuang

    Hi Ferry,
    Many thanks for the reply. But i still have the question, seems the user exit 'USEREXIT_CHECK_VBEP' in 'MV45AFZB' is used for addtional checks on the schedule line, my questions is how to add a new schedule line? It maybe very difficult. so is it possible to change the configurable Sales order's Finish Date for it's production order, and force it to generate a new schedule line?
    Tks,
    Jenny

  • How to back date for schedule line date of Consignment Fill-Up

    Hi,
    There are available stock for the material used. In VA01 of order type KB - Consignment Fill-up, I put in a backdated schedule line date (example: 09.09.2008). However, the system automatically proposed a new schedule line date of today's date (example: 13.10.2008).
    How can I remain the backdated date with confirmed qty instead of today's date?
    Thanks.

    Hi Wooi Ling
    when system is not able to confirm the schedule lines, the system would give a proposal date on which the requirement can be met.
    in this case ,you can do one thing , you can set the indicator " Fix date and quantity " in the item schedule line. this would fix the date and the quantity for delivery and the schedules lines.
    this would also mean the customer accepts the delivery and quantity confirmed by the system, The system then passes on MRP requirements so that the confirmed date and quantity can be met.
    hope this helps
    thanks
    akasha

  • How to Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    If there is an Illustrator SDKor Illustrator Scripting forum, try
    that. ATM won't really help - it is obsolete and should not be
    installed (breaks things).
    Aandi Inston

  • How to identify the type of Fonts

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts. Could you please advice me.
    Thanks,
    Prabudass

    The code below will prompt the user with the type face of a single text-frame.
    shastafir
    // 5/4/2009
    // Open a new document and create a single text box
    // with some type in it.
    // Get access to the active layer
    var aiDocument = app.activeDocument;
    var aiLayer = aiDocument.activeLayer;
    // Get access to the type-frame's font
    var textBox = aiLayer.textFrames[0];
    var theFont =
    textBox.textRange.characterAttributes.textFont;
    // Alert user with the name of the font
    alert(theFont.name);

  • How to Identify the Same Characters in 2 Different Strings

    Hi All,
    I am requiring a suggestion on how to identify the same characters in 2 different Strings, for example:
    String str1 = "hello";
    String str2 = "llheo";
    Both Strings contain the same characters, but in a different order, so what would be the best technique to verify t that both Strings indeed contain the same characters?
    I was personally thinking along the lines of using the class, java.util.regex.Pattern?
    Any thoughts would me much appreciated. Thanks

    I would instead sort the characters, and then compare
    the sorted data.
    I'm fealing generous
        private static boolean anagram(String left, String right)
            if (left.length() != right.length())
                return false;
            char[] leftChars = left.toCharArray();
            char[] rightChars = right.toCharArray();
            Arrays.sort(leftChars);
            Arrays.sort(rightChars);
            return Arrays.equals(leftChars, rightChars);
        }

  • How to set today's schedule line.

    Hai Gurus,
    For one of our clients, while we create a sales order, the confirmed schedule line shows tomorrows date if the sales order is raised today. but for the same company, in its production client, the confirmed schedule line shows todays date itself if we  raise a sales order on todays date.. could you please tell me how can i fix an items shedule line for today?? please note that there is no availability check module is activated for this client..
    regards
    Sidhu

    Dear Sidhu,
    Schedule line date is nothing but the delivery date,system checks if it is possible to deliver the goods on the requested delivery date,
    This date becomes planned GI date in delivery. If you want to maintain Loading Time and Pick pack time then system
    will add this time in delivery date and then check wheteher requested delivery date can be met..
    For ex. if you are maintaining Loading Time as 1 day and pick pack time as 1 day.
    Now if you create the sales order today (04.05.2011) and requested delivery date is also today's then system will assume that even if stock is available as on today but since loading time is 1 day and pick pack time is 1 day and you cannot deliver this good before 06.05.2011, so actual delivery can happen only on date 06.05.2011. so system creates another schedule line with date 06.05.2011 with confirmed quantity.
    If you remove the loading time and pick pack time from shipping point then system will take todays date as schedule line date.
    Hope this helps,
    regards
    Mayank

Maybe you are looking for

  • CS2 won't open files from card reader

    Suddenly CS2 on my eMac will not open files imported from CF card reader. I have tried two different card readers and three different CF cards with the same result: "Could not complete your request because of on unknown or invalid JPEG marker type is

  • Is my apple MacBook Pro laptop compatible with the new Creative Suite 6 program??

    I own a Apple MacBook Pro laptop i currently have the operating system Mac OS X Lion 10.7.5. my laptop is 13 inch laptop not a 15 inch. Here is the following info about my apple computer below: Processor  2.5 GHz Intel Core i5 Memory  4 GB 1600 MHz D

  • Network share name keeps changing

    I have setup my eMac to have the network share name eMac but it keeps changing into +eMac (2)+ does anyone know why?

  • AD Authentication not working with CRS2008

    REPOSTED with some editing, since the formating didn't work as expected. I have been trying for the better part of a week to enable AD authentication on a CRS2008 server.  No luck.  Crystal Reports Server 2008 (CRS2008) (v 12.0.0.683) on a windows 20

  • Burn to DV tape

    From a finished Final Cut project how do you burn it back to a DV tape