User Exit  during TO confirmation

hello,
I need to find a user exit that we can use during TO confirmation..need to capture some information from the TO , such as source , destination bins , quantity and user ....plz advise
Kind Regards
Edited by: BrightSide on May 18, 2009 9:29 AM

Hi,
In transaction CMOD you have to create a new proyect and assign the enhancement MWMTO002. There are only one user exit (EXIT_SAPLL03T_002).
You have to create the include ZXLTOU02. In this include you can put a break pint to check the user exit (the user run in update task, so you need to activate the update debuggin).
In the user, you have the structure I_LTAK_VB with the header data of the TO that you are confirming and the table T_LTAP_VB. This table is filed with all positions that you are confirmed (if you confirm the TO, all positions is filled in the table, if you confirm only one position, only this appear in the table).
Regars,
Pepe

Similar Messages

  • User exit during planned order to production order conversion

    Hi,
    Let me know if there is any user exit during planned order to production order production.
    Regards,
    Yogesh

    Dear
    You can try the following :
    1.PPCO0001 /PPCO0007 /PPCO0012
    2.BADI workorder_update
    3.Check in SMOD or CMOD and enter PPC* -you will find all the related user exit
    Hope this helps
    Regards
    JH
    Edited by: Jiaul Haque on Oct 21, 2010 10:55 AM

  • User Exit during MB1B transaction

    Our scenario is during MIGO GR we are creating batches with a custom number range based on the unit of entry on the PO.  For example if we are procuring and receiving material A as Pallets with the unit of entry PAL then the batch number to be generated will be PAL0000123.  If for the same material A we are receiving as Drums then the batch number is DR00000123.  Each batch is required as all have a specific characteristic value that must be maintained.
    The next step in our process is to transfer these materials from one storage location to another using batch determination based on FIFO from MB1B.  The batch determination is only at the material level and not the Unit of Entry such as PAL or DR and so the system will transfer whatever material was received first irregardless of the unit of entry in MB1B.
    What we're looking for is a user exit during the MB1B transaction prior to the batch determination that will only select batches according to the value in the Unit of Entry field in MB1B.  This will allow us to apply the FIFO strategy to only PAL or DR batches separately based on the batch number assigned during GR.
    Thank you,
    Jeff Diluzio

    Hello,
    I have checked in my system and I see we do not have the order unit field available to create condition table with it but then we have a option to enahance the field catalog and there if we mention the field . However even in feild catalog I cant locate this filed but I see we have filed dummy.
    Conclusion: First step will be to do enhance field catalog with order unit field. If that is not possible then we need to use dummy field in field catalog to create condition table and then we need to pass order unit from MB1B screen to batch search/selection procedure.
    I know you have already tried for exit and all but I do not see any way possible to pass order unit to your selection /search procedure.

  • GATP - User exit during product availability check

    Hi,
    Is there any method (e.g. user exit)  to confirm the stock based on batch characteristic in APO during product availability check? i.e. before confirmation of the stock some validation needs to be put by reading the batch characteristics.
    Let me know if further clarification is required.
    Regards,
    RS

    Hi Manimaran,
    thanks for the reply,
    Actually we are not using class 400. The confirmation of stock should be done by reading the batch characteristic value because we want to put validation on the characteristic value. This should happen during product availability check.
    Is this possible based on batch class (023) and without using class 400.
    Regards,
    RS

  • Is there a user exit during IW41?

    Hi,
    Cannot find plant maintenance forum, so I hope the PP folk can help me on this.
    I have successfully managed to make my material document able to printed out automatically with your feedback on my previous posting title "Why material document not able to print automatically?".
    Now there is a new question which is sort of related to previous post in term of solution given in Note 426554.
    We have a plant maintainance order in which when we performed confirmation IW41 (i.e. backflush), a material document of movement type posted with 261 automatically in background. When we open up the material document with MB03, we notice that the system is unable to capture the output condition record, further, the print indicator, and version indicator radio button or checkboxed in header are all unchecked or blank.
    However, this is not the case if we will to perform the confirmation step via MB1A (instead of IW41) with movement type 261 and reference to the PM order. The output condition record is appear in the table if using this route.
    We have perform all the necessary configuration and condition record setup in MN21, and we also have put in all the user parameter (i.e. NDR, WEV, PRI) in SU2 (user profile), and it work if perform goods issue using the second method (i.e. via MB1A), but condition record not showing if perform the goods issue via IW41. Maybe system is unable to capture all the config and condition records in table, and user paramenter in the profile if perform 261 via IW41??
    Thus, my question:
    Is there a SAP user-exit in which I can use to intervene during IW41 posting so that I can have my programmer to pull the relevant configuration and output master record from the system?
    Regards,
    Tuff

    Hi,
    Try any of the following exits available for IW41 along with your technical consultant :
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    HOpe this helps.
    Regards,
    Tejas

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • User exit during MIRO with PO reference data

    I have maintained dates Validity Star and End dates in Purchase order header data. My client wants that during MIRO system will throw error message if the posting date of IV crosses the Validity end date maintained in PO.
    Is there any user exit for this so that during giving PO reference system will look for this data in PO and throw message or during simulate or post.
    Regards,
    Suman

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there!
    During MIRO after pressing save...
    I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
    I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
    To summarize all my searching here and findings... I list all exits I have tested...
    User-Exits
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maintenance
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    MRMN0001 Message output and creation: Logistics Invoice Verification
    BADI - When saving in MIRO the following BAdI were passed...
    PPA_CUST_BADI
    /CCIS/FICLRDC_ENH
    INVOICE_UPDATE  << only read no update
    ME_DP_CLEARING
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPRI_001
    CO_DOCUMENT_INFO
    INVOICE_UPDATE (method change_before_update ) << only read no update
    MRM_RANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    Other BAdI's
    MRM_HEADER_CHECK - Bara ingående värden för kontroll
    MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
    MRM_ERS_HDAT_MODIFY  - EJ anropad...
    Would be greatful for any ideas on this matter...
    Best regards
    Henrik

    Hello Henrik,
    In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
    Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
    We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
    You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
      DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
      FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
      ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
      IF <fs_rbkpv> IS ASSIGNED.
        <fs_rbkpv>-xblnr = 'VALUE'.
      ENDIF.
    endmethod.
    Best regards,
    Vishnu Tallapragada

  • User-exit during settlement of PM orders to COPA

    HI,
    We have a situation where a plant maintenance order type is sometimes charged to a customer. In those cases, the costs are sent to SD using a DIP profile, the customer invoiced. with the PM orders as the cost object for the revenue posting. At the end of the month, the PM order is settled to COPA. But I also need to duplicate the entry on the cost centre....
    So I need two user-exits, one of which I have.
    I need a user-exit to override the automatically derived settlement rule, so that I can put in a PSG as settlement receiver.
    Then somewhere, either at the time of the billing doc release to accounting, but preferably at the time of the settlement posting into COPA, I need a user-exit where I can quickly post an FI document.
    COPA0002, which we use for something similar in postings from SD to COPA, seems not to be triggered during settlement postings. The same is true of the Fm's for COPA0005.
    Does anybody know of a user-exit that gets triggered during settlemnt to COAP from orders?

    Hi
    Your settlement rule says "Settle to Cost Center" only.... I dont think any user exit can help in this case, if you want to settle occasioanlly to 2 cost objects
    Try with these options
    Option A
    1. Remove the 100% validation tick in the settlement profile...
    2. Maintain 2 settlement rules... i.e. One with Cost center and another with PSG... If any warning comes, ignore it
    3. Execute settlement now
    Option B
    1. Maintain settlement rule with PSG as settlement receiver
    2. In the same Settlement rule, Menu GO TO > DETAILS and maintain Cost Center also....
    3. Now execute settlement...
    Option C
    1. Maintain settlement rule with PSG as settlement receiver
    2. In the same Settlement rule, populate Cost Center also as a Valid Characteristic
    3. Now execute settlement...
    BR,Ajay M

  • User exit during VF04 background process

    Hi ,
    I am creating billing through the background run of VF04.
    Before a billing document is created I have to check the following condition.
    If the payment terms of the relevant billing item not equal to 'X' then system shoudl check the billing date and only create billing document if the date is equal to system date.
    If the payment terms is equal to 'X' then billing document should be created.
    I am plannign to use the userexit RV60AFZC and in there
    FORM USEREXIT_FILL_VBRK_VBRP
    I tried to find out of this user exit was called during background processing of VF04 by putting ina breakpoint. It did not give any pop-up.During creation of billing through VF01 it gave me the breakpoint.
    I want to know if for my requirement this is the right place to put the logic.
    Regards
    BGS

    Hi ,
    We had to change the logic and the user exit because it was not possible to pull the item level data into the VF04 screen.
    We are trying to do the following with variant which looks for all billing items due in next 5 working days
    Before system gets data from VKDFS into VKDFIF we are trying to aplly the logic
    If Payment terms <>  direct debit the include in the list VKDFIF
    If Payment terms <> direct debit
    Check  IF Billing date <= system date
    Yes -include in VKDFIF
    No- Remove entry
    When I call the variant in try to display the billing due list It shows the correct value
    But when we run the same variant in backgorund it fails
    BADI used
    Include LV60AA93
    Badi badi_sd_billing methode:vbrk_vbrp_fill
    CALL METHOD l_sd_billing_item_exit->vbrk_vbrp_fill
    Any help wpuld be appreciated

  • User exit during project creation

    Dear ALL,
    I want to know is there any user exit at the time of project Creation  ( CJ20N / CJ01). Actually the requirement is the system should restrict the user if the user selects  the wrong project profile during the  initial screen and not during saving .
    Thanks in advance.
    Regards
    Nitin

    Hi Virendra,
    I am new to PS , can you please help me to get prepopulated project profiles .
    Thanks
    Nitin

  • User exit for TO Confirmation

    Hi,
    I want to Raise error message for Transfer order confirmation when destination Storage type is 998(no location)?
    Regards,
    Omkaram.

    User Exits for Transfer Order.
    MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task)
    MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)

  • User exit during Sales order settlement to COPA (through VA88)

    Hi All
    I need uergent help.
    We are settling SO to COPA through VA88. We are looking for some user exit/mehtod to change soem value fields and quantity feilds in COPA document.
    Thanks
    Neeraj

    Hi,
       In your valuation strategy (tcode KE4U) you should specify that user exit will be used for record type C.
       The user exit in this case is COPA0002.
    regards
    Waman

  • User exit during creation and saving of Produciton order

    Hi folks,
    I need to append a row in the material component of transaction code COR1. This needs to be triggerd when an order is created and saved in COR1. Please help me out...........
    thanks in advance

    Hi Team
    Below mentioned requirement , in which user exit i have to put below logic while creaion and change of sales order?
    u2022 The logic for the user exit to explode should consider the following assumptions and validations
    o Customer master to have the entry at KNVV-KVGR1
    o Material master to have the entry at MVKE
    o UoM in the Sales order item (VBAP- VRKME) should be = Pallets PAL or tonnes (TES)
    o Should have more than one line item or number of line items with UoM PAL or tonnes TES should be > 1
    for example :-->
    Product A with Scales mentioned below
    Product A Quantity / Scale UoM Price(£)
    0-10 PAL/TES 20
    11- 20 PAL/TES 10
    21- 30 PAL/TES 5
    31-40 PAL/TES 2.5
    >41 PAL/TES
    Product B with Scales mentioned below
    Product B Quantity / Scale UoM Price(£)
    0-15 PAL/TES 25
    16-20 PAL/TES 20
    21- 30 PAL/TES 15
    31-40 PAL/TES 10
    41 PAL/TES 5
    u2022 Product A (qty 10PAL) + Product B (qty 15 pal) ordered in a single order with 2 line items.
    u2022 The expected results should be
    o Product A qty 10 + B qty 15 added = 25Pal
    o The system user exit should add the total number of pallets on the order line items and point towards the respective scales, so in this example prices against each line item should be the respective price against 25 Pal = 5£ for product A per pal and £15 for product B.
    Thanks in Advance.
    Puneet.

  • User exit in Production Confirmation

    Hi Experts,
    I need to fill the a custom pallet table when the material document is created in transaction CO11N. And I need to do few validations and if those fails I need to reverse the material document.
    I found few user exits with the material document data but when I query the database table MSEG or MKPF with the material document number in the user exit, it is not giving me any data. That means the document is not yet created. So, at this point of time I cannot completely validate my data and I cannot reverse the material document as there is no document created actually.
    Could you please give a user exit which will be called after the creation of material document?
    Thanks in advance.

    User exits which you can use would be - CONFPP02 to CONFPP06, so evaluate with your abaper which one suits your specific need.
    Hope the above helps.
    Regards,
    Vivek

Maybe you are looking for