Changing Schedule Line Category after checking Item availability

Hi Expert,
   I would like to change the schedule line category according to the result of item availability check, i.e. change to another self defined schedule line category in case confirmed qty < order qty.
   Could any one please suggest where I can implement this logic? Which user-exit is required to modify? Thanks a lot!

hi,
U can change the SCH line category manually in sales order
Menu path:
Spro-->Img> sd> sales -> sales documents>sch lines-> assign sh line categories---->
here find ur current combination
eg:
ITem cat+ MRP TYPE= SCH LINE CAT + MANUAL SCH LINE CAT
<b>TAN + ND=CN+---<u><i><b>here u give teh sch lien cate u want</b></i></u>----</b>
this will aloow u changing sch line cat manually in sales order
regards,
Arun prasad

Similar Messages

  • Change Schedule Line category through user exit - Issue with transfer of requirements

    Dear All,
    There is a user exit in Sales Order program MV45AZZ - PREPARE_TO_SAVE . It is currently being used to implement code to change schedule line category based on the status of the sales order.
    When Blocked , category is set to ZP, and when Released then it is set to CP.
    Now, when we change ZP to CP manually through VA02, I am able to see the requirements transferred in tcode MD50.
    The problem is, when user changes status of sales order from blocked to released, the userexit changes categories from ZP to CP, but the requirements are not transferred ( cannot see it in MD50 ).
    I tried searching the SCN, tried googling it, its been a week now and I havent found any clear solution.
    So, far what I understood is Availability Check needs to be carried out again. But I am not clear how to trigger it again.
    Are there any indicators that need to be set or any internal tables to be updated or any FM to call or any other user exit to place the code in.

    ?? Any suggestion friends ?

  • Change schedule line category

    HI,
    I wonder if somebody can give an idea of how to change schedule line category of non-stock products by order type.
    Thanks,

    Hi,
    Did you check the userexit FORM userexit_move_field_to_vbep in the include MV45AFZZ
    Thanks,
    Naren.

  • Change Schedule Lines values for Each Item for a Scheduling Agreement ?

    Hii
        I want to change the Schedule Line Schedule Qty for Each Line item for a
    Scheduling Agreement .
    I cannot use BAPI_PO_CHANGE as this is for PO only and gives error for
    a scheduling agreement.
    I am on 4.6c so i SAP does not have BAPI_AGREEMENT_MAINTAIN .
    Please help me out on using a BAPI or FM to do this.
    Regards
    Gaurav

    Hi,
    isn't the Schedule Line a special case of SALES order  that might be changed with a BAPI_SALESORDER_MAINTAIN.... If ther is no BAPI for this in your system, you might create new contracts with reference to existing ones using BAPI_CONTRACT_CREATEFROMDATA.
    Regards,
    Clemens

  • Schedule lines confirmation based on item category(TAN and TANN)

    Hi All,
    We have a problem with the schedule line confirmation in the standard sales order. Suppose if I give the item category as TAN, the schedule lines are confirmed for that line item. If I change the item category from TAN to TANN, then there is no confirmation of the material(No confirmed schedule lines).
    How Item categories influence the schedule lines? Are schedule lines also depend on customer?
    Thanks & Regards,
    Pranil.

    Hi Pranil,
    When you change Item Category then most likely in your case Schedule Line Category is also getting redetermined.
    Schedule Line category is determined by the Combination of Item category and MRP Type of Material.
    Hence please check your Schedule Line category after entering new Item category.
    Open VOV6 and check the Schedule Line Category. In that if Item Rel for Delivery Check Box is Unchecked then it means that
    your schedule line will get unconfirmed.
    Do let me know if this helps.
    Regards,
    Madhukar

  • Schedule Line Category F1 Item Category TAN Movement type 632 Customer Pick

    Hello SAP guru's !
    I have a question regarding MM/SD/QM integration. We are running SAP ECC6 latest support pack level.
    Scenario:
    We process Consignment Fill Up and C. Issue (631/633) movement type respectively on a regular basis.
    Our Customer has found stock that we have provided to them as Un-usable. We would like to Process Consignment Pick Up to return the materials to our our stock via Delivery with Schedule line category F1 and item category TAN using movement type 632.
    Current process works well, but we would like to have the 632 movement type post stock into "Quality inspection" via inspection lot type 05 for example.
    We cannot find where in SD/MM/ or QM to make the settings to link such a process.
    All help is greatly appretiated !
    Thank you, Dave

    Dear Dave
    Go to material master, select Quality Management view and click on Insp.setup.  You will see a screen with various selection options.  Press F5 and maintain 06 on top under the tab [InspType]  and save.
    Now try to do PGR so that the stock would be blocked for quality clearance.
    Alternatively, you can also maintain the movement type 655 to your schedule line category F1 in VOV6.
    thanks
    G. Lakshmipathi

  • Default schedule line category

    Hey Gurus,
    Is there a way to default the schedule line category by material?  How does this value get defaulted when a schedule line is created?  Is this tied to the item category?  If so, how do I assign a default schedule line category to the item category?
    Sincerely,
    Nina

    Nina,
    Your questiont is exactly the contrary.
    1. Schedule line is defaulted based on MRP Type and not bymaterial
    2. Item category   +  MRP Type (Material master)  = Schedule line Category
           TAN                       ND       =    CN
           TAN                       PD       =    CP
           KBN                      ND       =     E0
           KEN                      ND       =     C0
           KAN                      ND       =     F0
           KRN                      ND       =     D0
    after this assignment when you run a normal process the Schedule line category appears by default in your order screen. (Go to Item Details screen, Choose schedule line tab, scroll horizontally you can find schedule line category appearing)
    3. Yes, we should assign schedule line to item category For Ex. In case of consignment item category we have KBN - E1 or E0, KEN - c1 or c0, KAN - F1 or F0, KRN - we
    4, First we can either use Existing Schedule line category or create your own schedule line category by pressing "New Entries". Tcode VOV6
    5. Then we need to assign this schedule categories to item category and MRP type. Tcode VOV5
    Note: we can assign three Manual schedule line categories to overwrite default prposed by the system.
    NOTE: Schedule line category checks whether TOR (Transfer of requirement), Availability Check should be carried out, whether PR should be generated or not.
    These configuration depends and changes according to your business requirements.
    Regards
    Sathya

  • Does BOP respect the availability check setting made in Schedule line category?

    Hi Gurus,
    Does BOP respect the settings made for availability check in schedule line category?
    Thanks,
    Nihar

    Hi Sourabh,
    In the Schedule line Category, we have an option Availability check right?
    Business requirement is to suppress Availability check at schedule line category level, where Availability check box is not selected.
    When I trigger availability check manually, the confirmation happens on the day requested & no additional schedule lines are created.
    For the same order, if I run the BOP with the above settings made in schedule line category; order is confirmed & is checking against stock & lead time.
    My question is: Online ATP respect the availability check setting made in schedule line category. Does BOP respects the same as Online ATP?
    I hope I was clear!
    Thanks,
    Nihar

  • Schedule line category in Availability check

    Hi Experts,
    what is the role of Schedule line category in Availability check?
    Please give me awareness of schedule line category`s function too?
    Shibu

    Hi
    SEARCH THE FORUM
    Any way  Schedule line Help to Check  whether the quantity is available in that particular Requested DELIVERY DATE  & QUANTITY.
    thanks
    Ashok

  • Schedule Line Category change-USER EXIT

    REQUIREMENT:
    When saving a SALES ORDER, Change the schedule line category on the SALES ORDER from CP(Standard Availability Check) to CS(Third Party Processing u2013Trigger Purchase Requisition)
    Initially when we create the SALES ORDER, we have Schedule line category CP to generate schedule lines based on stock availability
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CP)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CP)
    Config Change: We have changed the Schedule line category- CS to turn off Purchase Order Scheduling (Indicator turned off--P.req.del.scheduling)so that when we change the schedule line category, no PO scheduling happens again
    Our requirement is that when saving the sales order, we want to change both the schedule lines item category-0001/0002 from CP to CS
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CS)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CS)
    After saving the order, a Purchase Requisition is generated for the Schedule Line 0002..
    MY QUESTION:
    Is this possible using the BAPI_SALESORDER_CHANGE without changing the dates on the schedule lines or deleting any schedule line
    Thanks
    Kumar

    Hello Kumar,
    Please check the User exit and let us know whether your requirment is met or not.
    #USEREXIT_MOVE_FIELD_TO_VBEP
    Use this user exit to assign values to new fields at the level of the sales document schedule lines.
    The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
    Regards,
    Sarthak

  • Schedule line category and item category

    Hi all,
    Can some body explain what is the use and differences between Schedule line category and item category?
    Where exactly they come into picture when a sales cycle is done? it would be very helpful.
    Thanks in advance.
    Manu

    Hi,
    SCHEDULE LINE CATEGORY:-
    Schedule line Category determines the Schedule lines for the Line item, it will determine whether the Item is relevant for  Delivery or not
    Transfer of Requirements are also controlled
    Availability check at the Sales order is controlled with the Indicator set at SCHEDULE LINES
    For Third Party processing, the Purchase requisition is created based on the Setting at schedule lines
    Together with the ITEM CATEGORY , the schedule lines determine whether the Transaction is Relevant for MRP or not In the Transaction code VOV5
    ITEM CATEGORY:-
    Item category is a significant part in processing the sales document
    Item category determines whether particular item is relevant for Delivery ot not,
    Whether item is relevant for the  Billing
    In Determine the Availability and TOR Item category plays an important role, for example the Availability check at DELIVERY will be taken place based on  the DELIVERY ITEM CATEGORY
    Some Fnctionalities like OUTPUT, TEXT, PARTNER, INCOMPLETION are controlled
    DIP which in the ITEM CATEGORIES is the Main Integration Between SD and PS
    Thanks,
    santosh

  • How to use bapi to change so's schedule line category

    dear friends:
       I try to change so's schedule line category using bapi "BAPI_SALESORDER_CHANGE", but it doesn't work,the code is as following:
      T_SCHEDULE_LINES-ITM_NUMBER = ITAB-POSNR.
      T_SCHEDULE_LINES-SCHED_TYPE = ITAB-ETTYP.
      T_SCHEDULE_LINES-SCHED_LINE = '0001'.
      APPEND T_SCHEDULE_LINES.
      T_SCHEDULE_LINESX-ITM_NUMBER = ITAB-POSNR.
      T_SCHEDULE_LINES-SCHED_TYPE = ITAB-ETTYP.
      T_SCHEDULE_LINESX-SCHED_LINE = '0001'.
      T_SCHEDULE_LINESX-UPDATEFLAG = 'U'.
    who can tell me the reason.thanks in advance.

    Hi 
    First try to execute same bapi in test mode and then check thwe respective SO if this work then you have to commint the changes through program, some more help on this topic
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Schedule line category change

    Hi,
    I am changing itemcategory when shipping type is changed at header level. But for this changed itemcategory schedule line category is not changing. I tried this piece of code in FORM USEREXIT_MOVE_FIELD_TO_VBKD.
    IF SVBEP-TABIX > 0.
      VBEP-ETTYP = 'YT'.
    ENDIF.
    It's going inside the loop. But it's not populating to the screen ?
    Any ideas I tried in FORM USEREXIT_MOVE_FIELD_TO_VBEP. too, but no luck??????

    Hi Subha,
    Please try to code.
    USEREXIT_MOVE_FIELD_TO_VBKD.
      IF SVBEP-TABIX > 0.
        XVBEP-ETTYPP = 'YT'.
        XVBEP-UPDKZ = 'C'.
      ENDIF.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Determination of Item category and Schedule line category

    Hi,
    I am fresher being trained in SAP-SD.I am confused with determination of Item and schedule line category. Pls help me
    How is item and schedule line category is determined. Should it be done by us or by the system. pls explain it in a low level.

    hello,
    these are very basic question and can solved if you search over the net or ask your instructor to recommend any book.
    coming to your question
    item category determination  in sales document is done via following rule
    sales document typeitem categorygroupusage+higher level item cat=item cat det in sales doc
    OR                              +       NORM                                                              =TAN
    SCHEDULE LINE CAT determination  in ITEM OF A sales document is done via following rule
    item category+mrp type=schedule line category
    TAN               +PD          =CP
    revert if helpful
    Mohit Singh

  • Sales order we have made schedule line category catCN but still reqt coming

    Dear Sir,
    Sub : For sales order 5000060 line 10 we have made schedule line category as CN but still system is giving requirement against this order (while running MRP T code MD50)
    Details:
    One user has made one FG material delivery with PGI without putting the picking quantity. He had put zero picking qty. When we click PGI button System does not allow to do PGI without putting the picking qty but how he could do it we do not know. Now there is no goods issue material document instead one confirmation of service document is there in doc flow .we can not open this document. if we click display by selecting this document in document flow system gives error - NO document created for confirm service/cancel transaction
    All the delivery fields are gray out. Delivery qty is there in this delivery hence at sale order schedule line tab against the schedule line system is showing delivered qty -2.
    Goods movements status is B- partially completed.
    Also system is not allowing to reverse the delivery- it is saying-no data available for this selection criteria. Hence we are not able to do delivery against this item. Hence we have created sale order line item 20 & transferred this stock to line item 20 & did subsequent transactions.
    Now system giving requirement for line item 10 .We have made schedule line category CN still system is giving requirement against delivery number  in T code -MD 50 against sale order line item- there is customer order ,delivery, production order .delivery number never comes in MD50 .it is giving requirement against delivery.
    Kindly let us know how to stop the requirement to generate from this sale order line item
    Also kindly let us know how user could make this & how this might have happened & how to restrict this in future.
    Regards

    Dear Sir,
    When we create a sale order default sch line category is CN after few days (there is a specific reason) we change it to CP & run MRP
    In this case we made the product by doing this but while doing delivery .user did some mistake & did PGI without picking qty in delivery.Now this qty is in delivery but there is no material document that stock has not yet moved .Since there was a problem in the delivery we have trasfered this stock to sale order line item 20.& did further transactions.
    Afte this we did schedule line cat from CP to CN
    But in MD50 system is giving the requirment against sale order ,delivery
    Regards

Maybe you are looking for

  • Returning Yoga 3 14

    well, too many things have been happening that i finally decided to return my yoga for a replacement before my 30 days was up. kept hoping the glitches would be just random occurances, but it's looking more like the unit is a lemon, or at least I hop

  • I can't drag selected items in to mission control using the 3 finger swipe in 10.7.2

    After upgrading to 10.7.2 I cannot drag items from the finder to mission control anymore. I used to select the items I wanted, click to drag and then swipe three fingers to show Mission Control and then drop the items in to the selected app/folder. N

  • How to authorise single Ereader device with several Adobe IDs?

    Is it technically possible in Adobe's DRM system to connect a single epub ebook reader with several Adobe Digital Editions IDs? The background of my question is following: I got an ADE account and a laptop computer and Ereader authorised with that ac

  • Yahoo Toolbar? WTF?

    Dear Sun Developers, I understand that you seek for opportunities to make money. Since Java is free, you may feel that making money by integrating the Yahoo Toolbar into Java is a good idea. But it is not. Just in case you didn't see the reasons, let

  • MDX Formula - Not Getting the Desired Results

    Hi All, I have the following formula that I am using to calculate the "Average Daily Volume MTD" but if I drilldown into the Products dimension then I don't see any values. It seems like it's only calculating the values at the top level (GEN1). CASE