User exit during creation of notification

Hello!
I am creating a notification. Required start date and time is mandatory. Now I want that difference between notification creation date and required start date should not exceed 30 days. This can be achieved by user exit. Which user exit should I use?
Regards,
VM

Hi,
I am assuming you might have used the standard functionality of dates determination by Priorities. And it might not have met your requirements.
You may can use the following user exit QQMA0018 Scheduling according to entry of priority or QQMA0014 Checks before saving notification.
Please check with your ABAPer which one will suit better.
Regards,
N.Nagaraju

Similar Messages

  • 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.

  • Need User Exits for Creation of Delivery and for Posting Goods Issue

    Hi,
    I need User Exits for
    Creation of Delivery
    Posting Goods Issue
    I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
    Thanks in advance,
    Will reward,
    Mindaugas

    In the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
    You can find this user exit (form routine) in include MV50AFZ1.
    Hope that helps,
    Michael

  • 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.

  • 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 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

  • 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 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 after creation of Production Order

    Hello gurus.
    I would like to populate a table with the Production Order number once I create the document in transaction CO01. The problem is, I cannot find a user exit that can be executed after I save the Production Order number.
    We use internal assignment of production order numbers, so we don't know the number of the document until it's created. I'd like to find a way to be able to get the number of the document, once it's created and add it in a custom table I created.
    Is there a User Exit for this? Or maybe an alternative way of achieving this?
    Thank you.

    Fernando,
    I would suggest you to create a custom table and custom program. The program should pick up the all the orders which were created from AFKO table, on successful completion of running the program it should update the custom table with the date and completion time. So next time when this program is run, it should pick up order who's creation date and time is greater than that in the custom table. You can schedule to run this program in background.
    Regards,
    Prasobh

  • User Exit IDOC creation - When purchase order gets created

    Hi All,
    The requirement is whenever user creates a Purchase Order in the current SAP system an IDOC needs to get created and be sent to another SAP system where a Sales Order will be created.
    Can anybody suggest the correct User exit/enhancement at the time of Purchase order creation which could be used ?
    Also the function modules for creating the IDOCs within the user-exit.
    Thanks for your help.

    Hi Meghna,
    Your requirement is SAP standard function which means you don't have to use any user exit.
    What you need to do is configure output control, then when a PO saved, a idoc will send to vendor automaticly.
    Here is a step brief
    1. configure output type in NACE
    2. Add condition record in NACE
    3. Setup partner profile in WE20
    if you need detailed doc, give me your email, I can send you.
    Regards,
    Brown

  • 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

  • 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 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

  • 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

Maybe you are looking for

  • Is it possible to be connected with a 3G modem for internet access and a WiFi router for printer sharing at the same time?

    For our only internet access we have a 3G wireless modem. I have since purchased a WiFi printer and router to connect all the comptuters to in the house. The PCs have no problem with using both the 3G connection and the WiFi signal at the same time t

  • How to capture excise in MIGO and refer the same excise invoice to customer

    Hi experts,                I am doing STO manufacturing plant to depot... i am creating STO order where No excises duties are there .Then , i create delivery by processing VL10B and create proforma invoice which is where i maintain all the condition

  • Gl Balance carry forward

    Dear SIr, In 2006 my GL balance was not transferred to 2007 , while making balance sheet for year 2008 there was a difference in opening balance. When looked to the matter found that the closing balance for 2006 was not transferred to 2007. So how ca

  • Single page PDF issues! Please fix!!!

    When sending or receiving  a PDF single page file, my iPad changes the format to something other than a PDF. This make it very difficult to do business with non Mac/iOS users. I know that this is not a hardware issue, it is an operating system issue.

  • Referenced files, remember library and albums

    Something has happened with my Aperture 3.0.3. I have a couple problems. I get the "Which library do you want Aperture to use?" dialogue almost every time I start Aperture. It doesn't remember which one I used last time anymore. I can't select multip