Create dummy schedule line in SO using User-Exit

Hi ,
I have one requirement of adding one dummy schedule line before the normal schedule lines which gets added after ATP check in sales order.
for eg: if for line item 10, system will determine 2 schedule 1 and 2. then i want to add a dummy schedule line before 1.
so it will be like
sch line
1 - Dummy
2 - system generated schedul eline 1.
3 - system generated schedul eline 2.
Please let me know if is there any user excit or any way i can achive this?
Thanks,

HI Soni,
What is the meaning of dummy  schedule line.
Regards,
Madhu.
Edited by: madhurao123 on Feb 25, 2011 5:26 AM

Similar Messages

  • Creating delivery, can I check the sales order's field using user-exit or ?

    Hi dear.
    When I create a delivery in VL01N or other transactions, I want automatically to check the sales order's some field and to decide whether create or not.
    Can I use user-exit for that?
    Or other solutions is there?
    Thanks regards

    Yes your requirement can be achieved thru a User Exit.
    There are many User Exits available in Delivery as listed in the link below:
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    The selection of necessary User Exit is based on your specific requirement.
    Also if you want to check some feild of Sales Order whether it is completed or not, then you can also use Incompletion Procedure in Sales Order, which will make sure that no Sales Order is saved until the end-user enter data in those feilds.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Creating SD schedule lines in user exit

    Hello,
    We are automatically creating schedule lines for a certain kind of SD document (scheduling agreement, VA31) in a user exit. We are inserting directly into internal table XVBEP.
    Creating those lines works. The values in VBAP and VBEP are exactly the same as if they were created manually, even though the confirmed quantity is only calculated when the document is saved. The requirements show up in MD04 for example.
    However, for some reason index table VEPVG is not updated accordingly. Any ideas what we're missing?
    Thank you
    Roland

    Found it myself. We didn't maintain the client field when adding new lines to XVBEP. This didn't matter for database table VBEP, but it did matter for index table VEPVG for some reason...

  • Create a schedule line in sales order using Bapi

    Hi Guys,
    Here the requirement is automating the process of creating the schedule lines using Bapi.
    I am using the bapi BAPI_SALESORDER_CHANGE for the same.
    I could able to create a schedule line but the problem is,its not updating the CONFIRMED QUANTITY and COMMITTED  QUANTITY on
    sales order schedule line tab,its updating ORDER QUANTITY and ROUNDED QUANTITY.
    the structures and tables parameters i have updated are:
    IMPORT PARAMETERS: SALESDOCUMENT,ORDER_HEADER_INX-UPDATEFLAG= 'U'(change sales order).
    TABLES:SCHEDULE_LINES(ITM_NUMBER,REQ_DATE,REQ_QTY,DLV_DATE)
                   SCHEDULE_LINESX(ITM_NUMBER,UPDATEFLAG='I',REQ_DATE,REQ_QTY,DLV_DATE).
    Please help me out if i need to fill up any other parameters or anything am missing out here.
    Would appreciate your help.
    Thanks in Advance
    Ramu

    Dear Ramu ,
    Any solution to this Issue i have the same Requirement and faceing the very same problem.
    Thanks in advance for reply .
    Thanks alot.
    regards
    Prashant Singh

  • Create new schedule lines

    How to create new schedule lines for existing item programatically using bapi or function module?

    Hi,
    Check if this link helps you:
    http://forumsa.sdn.sap.com/search.jspa?threadID=&q=createschedulelines&objID=f50&dateRange=lastyear&numResults=15&rankBy=10001
    Regards,
    Swarna Munukoti.

  • Backorder scheduling creating multiple schedule lines

    Hi,
    We have one issue wherein Backorder scheduling is creating multiple schedule lines for the same date.
    I would lke to know how to approach this issue, what all needs to be checked in config to prevent it from creating multiple schedule lines.
    Thanks

    Rajendra,
    You didn't mention what kind of order, but the first things to try are the same regardless.
    Use an availability checking type in your material master that uses daily requirements, similar to SAP standard 01.  You can review the checking types in OVZ2, use one that has a "Total Sales" entry of B.
    You can also change the default confirmation behavior.  OVZJ, set Avail check rule to "blank"  or B "full delivery" if you are talking about sales orders.
    Rgds,
    DB49

  • MRP create more Schedule Lines than target quantity

    We already follow the OSS note 83343, we create a Schedule agreeement and validity date is the same as the Source List and Quota arrangement, also the Target Quanity is the same in the quota arrangement in the maximun quantity and Maximun release qty fields.
    After maintaining that data, we run the MRP as follow:
    Processing key          NETCH               Net change for total horizon
    Create purchase req.    2                   Purchase requisitions in opening period
    Delivery schedules      3                   Schedule lines
    Create MRP list         1                   MRP list
    Planning mode           1                   Adapt planning data (normal mode)
    Scheduling              1                   Basic dates will be determined for plann
    After that, still in teh schedule agreement was created more schedule lines that the quantoty is bigger that the target quantity in the sched Agreement.
    What else we miss??

    Thanks for your not help.
    That I can investigate is the quota arrenagement is incorrect but for some reason the QA is not working.

  • How to create a muli line text area using JavaFx

    Hi all,
    Since the preview SDK does not contain TextArea any more, I am wondering how to create a muli line text area using JavaFX. The behaviour of this text area/field should be somehow similar to JTextArea in Swing or StyledTextWidget in SWT.
    Does JavaFX have any support for this? What would be a sensible approach to create such a widget?
    Thanks for your suggestions,
    br michael

    This is a pretty old thread (I know I came across this while searching for something similar recently), but I figured I'd throw this out there in case other people might find this useful. As I write this, JavaFX's latest version is 1.3... which may have added the needed functionality since the last post.
    You can now create a multi-line text area using a TextBox and by specifying the nubmer of lines and setting the "multiline" value to true. It may not offer all of the same functionality as JTextArea, but it did the job for what I needed... newlines by pressing enter, scrollbar if text surpasses height, etc.
    Here's a simple example:
    Group {
       content: [
          TextBox {
             text: "This is a multi-line textbox"
             lines: 10  // <-- this may/may not be necessary depending on your situation. Default is 5.
             multiline: true
    }Edited by: loeschg on Jul 29, 2010 2:59 PM

  • Create a Multiple-Line JButton Without Using HTML format

    I used html format for multiple-line JButton and it took a long time to load that button up (about 5 seconds more). Does anyone know how to create a multiple-line JButton without using html?
    Any suggestion or sample code will be appreciated.
    javamesser

    Hello,
    You could try using the following:
    -give your button some layout (e.g.: BoxLayout.Y_AXIS, or BorderLayout).
    -create the wrapped text in separate JLabels (one line in each label)
    -add your labels to the button
    Advantage:
    this solution does not affect the laf classes
    Disadvantage:
    focus rectangle is not calculated accurately
    Regards,
    G

  • Change gl account in MIGO by using user exit

    Dear all,
    Could you tell me how to use user exit to change the gl account in MIGO?
    I have searched in SDN and found some code.
    In user exit: MBCF0002 ( EXIT_SAPMM07M_001 ).
    FIELD-SYMBOLS <F2> TYPE ANY."Field Symbol for the GL ACCOUNT
    DATA : W_KONTO_NAME(50) VALUE '(SAPMM07M)DM07M-KONTO'.
    ASSIGN (W_KONTO_NAME) TO <F2>.
    MOVE "GLACCOUNT" TO <F2>.
    "GLACCOUNT" is the new GL account you want to change.
    but thecode doesn't work, it can not change the BSEG-HKONT.
    Could you help me solve this problem?
    Many thanks
    Message was edited by:
            Chen Zhonghua

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    Rewards if useful.........
    Minal

  • MIRO using user exit  EXIT_SAPLFYTX_USER_001

    We are using user exit EXIT_SAPLFYTX_USER_001 for both ME21N and
    MIRO.  ME21N works fine in that we added an item number field to I_INPUT_USER  and it populates with the current item number on the po so we are able to get the gl account from EKKN.  The problem is for tcode
    MIRO.  The data in the I_INPUT_USER is all header data.  There is no material number, qty, item number, etc.  So we cannot go back to the po/item to get the gl account number to pass to vertex.  I used note 302998 to try and add fields EVRPT and EVRTN to the  I_INPUT_USER but they are not populated and when I look at KOMP those fields are also blank there. 
    For MIRO the I_INPUT_USER-KPOSN always has a value of 999999 where for ME21N it has the actual item that it is processing on the po.  I have looked and tried multiple OSS notes and nothing seems to work.  It seems that the MIRO transaction will only pass header data to vertex.  Any help is greatly appreciated!!!! thanks  - deb

    Martha - I did have an OSS note out there but I found the solution for us.
    To get the line item info in I_INPUT_USER and I_TAX_ITEM_INPUT for MIRO we had to go to transaction OBCO and turn on line item processing for our external tax system.  As for your question  - the header information should be in I_TAX_ITEM_INPUT and in I_TAX_HEADER_INPUT.  the I_INPUT_USER is for users to add their own fields that are currently in KOMP.  Look at OSS note 302998 it explains how to extend the I_INPUT_USER  and how to export and import data that you might need.  If this note does not help - go to OSS and do a search on EXIT_SAPLFYTX_USER_001 and some of the other notes should help you. thanks - deb

  • How to use User Exit for SD...

    Hi there,
    My client's requirement is to block the overall status of the Sales Order header under status tab to be blocked when user r-enters a new scheduled date in the "First Date" column in the SO.
    When they goto VA02, & put a new date it must automatically put a delivery block in the header as well as make the order header status to be blocked.
    I see the “First date” field in the SO is in a Structure “RV45A”, the field name is ETDAT.
    Can you let me know how to use User exit MV45AFZZ?
    When doing it, it must put the Delivery block in table VBAK – LIFSK.
    Rgds,
    Pri

    Hi Debadatta,
    Welcome to SDN.
    Have you looked report program <b>RM07MAAU</b> (Report for Material Document Archiving)?
    Hope this will help.
    Regards,
    Ferry Lianto

  • Triggering workflow using user-exits

    Hi all,
    can anyone tel me how a workflow can be triggered using user-exits??
    thanks in advance

    Call function module SAP_WAPI_CREATE_EVENT (with COMMIT_WORK = space) to create an event, and use the event to start your workflow (triggering event). Alternatively, you can start the workflow directly using the corresponding SAP_WAPI function module for that purpose. My recommendation is that you normally don't start workflows directly as it is a less flexible solution (or you have to build that flexibility yourself instead of using what you get for free with triggering events).
    However, why are you asking this question? I started wondering after seeing you ask an almost identical question in [another thread|Triggering Workflow Using BADI; here.

  • How to update old records of LIPS used user exit MV50AFZ1

    To All Experts,
    I have used User Exit MV50AFZ1 and in this user exit i updated the fields
    USEREXIT_MOVE_FIELD_TO_LIPS.
    LIPS-ETENR = VBEP-ETENR.
    Its working fine for new VL0N1 t-code, but what about old recods of LIPS table ?
    How to update old records ? Pl. guide me.
    Yusuf

    Hi Yusuf,
    See SAP Note 415716 - User exits in delivery processing, it explain how these userexits work and cautions that you must have.
    Regards
    Eduardo

  • Can i use user exits

    Hi,
    Can anybody tell me if i can use user exits for not applying cost centre fields for Assets and liabilites gl a/c when we post transcations in fb60 0r fb50 f-22 etc
    warm regards
    Manjunath

    hi Manjunath,
    you can try to set up a substitution and see if it is working. On the other hand P/L accounts must have a CO object by posting, of course cost center is just one option.
    ec

Maybe you are looking for

  • Sudden Shutdown

    I was typing a paper for school when my MacBook Pro (which was plugged in) shut down completely and will not turn back on.  HELP please?!

  • QUERY MANAGER RELATED QUESTION

    mY QUESTIONIS I WANT TO ADD CALANDER AS INPUT PARAMETER IN QUERY MANAGER IS THIS POSSIBLE AND IF THAN HOW? PLEASE HELP ME OUT THANKS IN ADVANCE TARUN CHAUHAN

  • Spring JPA + Toplink Issues

    Heya, I followed a developer works tutorial on integrating Toplink with Spring, and everything seemed to go well, when I start up the application, it looks like Toplink finds all my annotations and validates them (if any where invalid, it sure lets m

  • 3D Autocad drawing not visible in Acrobat 3D

    I have a 3D Autocad .dwg file which had been converting to Acrobat 3D, but  now that I've added some items on the drawing, it appears blank in Acrobat. Smaller 3D files works OK. Is this a known issue with Acrobat 3D?

  • Keybard and Mouse Preferences Not Saving

    We have an OS X server running with remote home folders for a number of different users. Some users have enforced preferences on them. However, on accounts that should have no enforced preferences the keyboard and mouse preferences are getting re-set