Urgent issue in user-exit

hi friends,
one urgent issue regarding user-exits;
i have the requirement like this:
if any one of these fields ZPBSTQTY2, ZPCSTQTY2, ZPBKTQTY2, ZPCKTQTY2 and ZPBFRQTY2 in table S505 is GT 0, then i need to pass a value 'X' to two flags present in that table.
then i have to update it thru transaction VA01.
Plz suggest some solution for this.
Thanks
Praveen

SDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V45A0001 Determine alternative materials for product selection
And also you can write your code in MV45AFZZ
<b>Reward points</b>
Regards

Similar Messages

  • Issue with user exit ZXPADU01 and ZXPADU02

    Hi,
    I am trying to change the existing record for the info type 0015 for an employee in Pa30 transaction.
    my requirement is i need old value and new value when i am changing the existing record in info type 0015.
    When i kept break point in user exit ZXPADU01 it is not triggering it is triggering only when we creating the record.
    i tried with user exit ZXPADU02 it is not working as per my requirement.
    My requirement is :whenever i am changing the existing record(modifying record) i need old value and new value.
    Anybody can suggest me how to fix this issue.
    Thanks,
    Maheedhar

    Dear Maheedhar,
    The best way to achieve this requirement is to use the PAI user exit ZXPADU02 import parameter PSAVE. The PSAVE parameter contains the PBO original / initial record, before any changes take place.
    The INNNN parameter contains the current PAI record as usual, in order to be used for customer check and new values. Thus, you've got both the old and the new record in place, and you can make your comparison according to the business requirements:

  • Urgent - Calculations in User exit in BI - in ZXRSRU01 of EXIT_SAPLRRS0_001

    Hi All,
    I have an urgent requirement to write the abap code for doing some calculations and the output should be
    produced in the report of BI. Right now i am doing the code in the User Exit
    ( ZXRSRU01 of EXIT_SAPLRRS0_001). i am done with the coding of the necessary calculations.
    now i need to bring the output of the calculations (output for 15 fields) to the  report.
    the output values are available in an internal table. now all the values of the fields of the internal table should be brought to the report as the output. how to do this?
    The traditional way suggested in the sample threads here is as follows.
      CASE i_vnam.
        WHEN 'ZDTE_V'.
          IF i_step = 2.
            CLEAR l_s_range.
            l_s_range-low  = '20070922'..
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            APPEND l_s_range TO e_t_range.
           ENDIF.
       WHEN '    '
        ENDCASE.
    Based on the input provided by the user in the BI input screen, the values are to be selected from a table
    and the calcualtions are to be done. then the 15 calculated output variables  are to be displayed in the report against 0calweek. The code for the calculations are done now . But getting the input from the query
    and generating the output to the report are pending. After the calcualtions, The output internal table will have 30 entries for every 15 variables. At last, all these entries of the table are required as the output of the report.To achieve this requirements, writing the code in the above user exit will solve the purpose?  If yes, How to do that?  If no what may the other possibility for this? Please suggest the soultions for this.
    Thanks in Advance. Good Points will be awarded.

    Its not a Zreport and standard report. its a SAP BI report generated from Adhoc query. The user inputs will be given to the query as variables ex: product. Based on that, the calculations should be done and calculated output should be displayed in the SAP BI Web report.
    Thanks and Regards...

  • Urgent Help in User-Exit for MM!

    Hi,
    1.  I am writing code in the Exit "EXIT_SAPLMGMU_001".
    2.  I have to pop-up error/warning messages for incorrect data entered in various fields/screens/views of MM01/MM02 transaction.
    3.  The Exit gets triggered when i press "SAVE" after modification.
    4.  When I create the Classification View, i enter the class type as "001" for material class.
    5.  Then i need to enter a value "Z_Product" in the class column(on the screen in classification view). This class is the "Product Class" (description).
          My problem is to find this value that i enter on screen before "Save" i.e. when i am creating material for the first time in MM01, i dont want the error message to pop-up if i am entering any value in the class column and  also entering values in the internal characteristics for that class.
          Basically i want to read the values (before "SAVe") entered in the class column as well as want to know the values for the internal characteristics of the class.
          For Class, the std. field is "RMCLF-Class" , but i have no buffer field available in my exit that contains the value for the Class. I have also tried using "Get parameter ID", but it doesnt work.
          For Internal Characteristic values (of the class) that are entered in the tab(that appears on pressing "Enter" after filling the Class value) below the Class tab, i am fetching data from std. table AUSP to check for corresponding entries for that particular material number....but this table will get updated only after "SAVE" and so i would be able to read the values only in MM02.
    Please help me in finding out a way for reading the class values & Characteristic values in my user-exit.
    Thanks & Regards,
    Tejas

    Hi Ronak.
    You can try with <b>'EXIT_SAPLCLFM_002'  (CLFM0002)</b>. This is the exit for the classification view. You can get this for the transaction CL22N / CL24N.
    This is also called in MM01 for classification values. This classification details are cross application components. So This is also called from other transaction.
    Regards
    Rusidar.

  • Urgent ( Case about USER EXIT)

    I need to place a Botton in CN20J (Project Builder).
    How can I proceed,
    Can there are User Exit for this ,
    If It is there Plz Try to Add a button to aopen an URL,
    I got aprocedure for URL.
    I need to place a button............
    If possible Plz send the Code to write it. or Steps to Proceed.....

    There are enhancements CNEX0006 PS customer specific fields project definition and CNEX0007 for WBS, these enhancement contain sub-screens for specific/customer fields.
    You could use this enhancement to
    - Put the button in sub-screen to display your URL
    or
    - Intercept the function-key "+CUD" to display your URL, then you have to "by-pass" the subscreen (or best, display the url in the sub-screen)
    Regards

  • Urgent: Issue with variable exit

    Hi All,
    We are having a requirement where in we need to populate the value of calday as the first day of the month that the user selects in the variable. For that, this is what i did:
    1. Created a variable for 0CALDAY as ZDAT1 and made it as "Processing Type --> SAP exit"
    2. Then i went to transaction SMOD and went to the enhancement RSR00001
    3. And then went to the exit EXIT_SAPLRRS0_001 and wrote the logic for the requirement,in the INCLUDE ZXRSRU01.
    4. Activated the include and exit
    However, after that when i executed the query i got an error saying that the Exit RSVAREXIT_ZDAT1 for variable ZDAT1 either does not exists or is inactive. For this reason I went to se37 and found that RSVAREXIT_ZDAT1 exit was inactive (I didnot manually create RSVAREXIT_ZDAT1, guess it was system created), so i put my piece of coding in it with the mandatory import and export parameters.However,  after that, the code was not getting called after the user enters the input, even if i put I_STEP =2. Can you please point out as to where i went wrong.
    Best Regards,
    Debashree.

    Hi Debashree,
    you should create the variable for processing type as 'customer exit' not SAP exit.
    hope this helps.

  • Urgent- Help abt  User Exit MV45AFZZ

    very good morning to all the SAP Masters out there....
    I had already posted a thread regarding the same but didnt get helpful answers...
    Hope I will get some this time...
    It is Interesting actually...
    I need ur help for solving an issue...
    when Sales Order is Being created...the Purchase Requisition and Requisition item is generated in the Schedule Line of Sales order's Line Items
    If I am not worng we are able to make changes in MV45AFZZ program for SalesOrder..
    So My requirement is..
    When Sales order is being created the value of KDMAT field of VBAP table should also be saved in EBAN-BEDNR...the length for BEDNR is 10 so it'll b taken care to limit VBAP-KDMAT with in 10 Chars...
    help me to Carry XVBAP-KDMAT into EBAN-BEDNR for VA01 Transaction....
    Points Rewrded for Helpful answers

    Hi,
    Why don't you try the exit
    V45E0001
    where the description says "Update Purchase Order from Sales Order"
    Please find below the documentation for the exit
    Update Purchase Order from Sales Order
    With this customer exit the standard system behavior regarding updating order data from the sales order can be expanded or restricted.
    The module is called up when the sales order is changed, as long as the conditions for changing the order have been filled. It transfers the document number, the purchase requisition number and a table for the fields to be changed in the order (T_PURCHASE_DATA). This can be expanded or restricted in the existing Customizing.
    The rule is: To change a field with the name FIELDNAME, a subprogram (form routine) with the name POSITION_CHANGE_FIELDNAME must exist in the program SAPMM06E.
    OR..in MV45AFZZ in userexit_save_document we need to write the code to manually update the table EBAN field by using abap code like modify table or seeking a BAPI..consider this as the last resort pls.....
    Reward if it helps
    Regards
    Byju

  • How to do this issue with user-exit or badi

    in migo transaction, after entering some purchase order number. go for item details.
    In that in quantity tab, Qty in unit of entry field value should be empty when the purchase order number is entered. how to do this?
    plz let me know as soon as possible.
    it is urgent requiement .
    points will be awarded.
    thanking u in advance,
    A.srinivas.

    Hi Arthur,
    Try this code ( i had changed only one line of code in your original code)
    Set oGoodIssue = oCompanyDI.GetBusinessObject(oInventoryGenExit)
    oGoodIssue.DocDate = "12/14/2007"
    oGoodIssue.Lines.itemCode = "SR-5155"
    oGoodIssue.Lines.WarehouseCode = "R5155KGS"
    oGoodIssue.Lines.SerialNumbers.Add
    oGoodIssue.Lines.SerialNumbers.SystemSerialNumber = CStr(1)
    oGoodIssue.Lines.SerialNumbers.ManufacturerSerialNumber = "SR-0000001"
    oGoodIssue.Lines.SerialNumbers.InternalSerialNumber = "SR-0000001"
    oGoodIssue.Lines.SerialNumbers.SetCurrentLine 0
    retval = oGoodIssue.Add
    If retval 0 Then
    oCompanyDI.GetLastError errMsg, errMsg2
    sbo_application.messageBox errMsg & " (" & errMsg & ")"
    Else
    sbo_application.messageBox "Success"
    End If
    Hope it helps you
    Regards
    Vishnu

  • User exit about change item's goods issue day in transaction code VA01

    Hi everyone.
    Can someone give me some advice how to change item's
    goods issue by user exit?
    thank you in advanced.
    Regards.
    Eric xu.

    Can u be more clear.
    This are the exits used for the VA01
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    V45A0001            Determine alternative materials for product selection
    Regards

  • User Exit issue after upgrade from 4.6c to ECC 6.0

    Hi Experts,
    After upgrade we are facing some issues regarding user exit. In 4.6c we have implemented several user exit to do customization in several module like SD,FI and HR. But after upgrade it has been identified that SAP has already provided this functionality in ECC 6.0. Now our problem is when this transactions are called or executed control is going to both custom and standard code. Which took long time to execute and causing performance issue.
    Is there any ways to identify which are the functionality SAP has provided in ECC 6.0 so that we can delete our custom user exits.

    Hi
        List all the user exits which you have modified and check in OSS notes you will get the OSS note with all the details what functionality has been changed.  Based on this you can delete or retain the user exits which ever you want.
    Regards,
    JB

  • User-exit in va01(real time problem)

    Hi Experts,
    suppose that while creating a sales order i have 4 material in it.
    now what i want that if the price(kbetr) of any material is below 50 then it should give a error message that 'price for this material is below 50' and that sales order can't be created.but if we delete that material from the sales order or there is no material whose value is less then 50 then we can save it.
    Please help me on this issue.which user-exit should i use for it.
    it give be much better if any one1 can provide me the code do it plus the name of the user-exit.
    please help me out its very urgent.
    necessary points will be awarded,
    Thanxs In Advance,

    i m trying to check the price for some conditions for every material. if any of the price is less then 50 Rs the it should gimme an error message that the SO can't be  created.
    i am writing code in this user-exit
      FORM USEREXIT_SAVE_DOCUMENT_PREPARE 
    and the code is
    data val type i.
      SELECT KNUMH  FROM A501 INTO WA_ITEM-KNUMH WHERE MATNR = VBAP-MATNR
                                                       AND   WERKS = VBAP-WERKS
                                                       and kschl = 'ZCPR'
                                                       and AUART_SD = vbak-AUART
                                                       and kunwe = vbak-kunnr.
           SELECT SINGLE kschl KBETR FROM KONp INTO (kschl ,KBETR ) WHERE KNUMH = WA_ITEM-KNUMH.
    val = kbetr / 100.
      CASE KSCHL.
        WHEN 'ZCPR'.
        if ( val >= 50 ).
          message 'sales order created' type 'S'.
        else.
        message 'sales order cant be created' type 'E'.
          endif.
        ENDCASE.
                ENDSELECT.
    but this is only checking for the last material only.
    what change should i make that it will check all material in the sales order instead of the last one

  • User Exit For Discount

    Dear Guru's,
    I have urgent requriment for user exit for discount.
    my requirment is sales employee can give 1 to 10% discount and sales manager can give 10 to 20% discount and GM can give 20 to 30% discount.
    Please it is urgent requirement give me the user exit or solution.
    points will be provided. Email adresses are [email protected] and [email protected]
    Waiting for yours reply
    Regards
    Maqsood

    If you are looking for MIGO check Or else let me know which  T code exit you want?
    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

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Change Moveing average price in MIGO Goods Reciept through user exit

    Hi,
    i need to change the moving average price in the MIGO transaction  (Goods Issue) through user exit can any one help me with user exit.

    Hi,
    Check these Enhancemnts...
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Badi Name            Description
    DELIVERY_ADDR_SAP    Determine Time-Dependent Delivery Address in Delivery
    DELIVERY_PUBLISH     Returns BAdI Implementation: Automatic GR Posting T 2
    DELIVERY_PUBLISH     Updating of Delivery in Purchase Order
    DELIVERY_PUBLISH     AIP: Delivery Confirmation for Sales Order
    Regards
    Raghu

  • User exit  for Transfer order (Ware House Managaement)

    Hai friends  I got a issue  in user exits.The isuue details as below,,,,,,,,,,,,
             When a material  with the same stock type is posted in the same bin, Capacity check is working, where as if the material with differnt stocktype are posted into same bin, Capacity check is not working.
    Issue deatils -    <b>max.bin.capacity -600kg.</b>
      capacity check method -3(check based on max.qty per bin in storage type).
       BINNO.      material             qty            stock type     
      01-01-01       mat1              600kg            Q
      01-01-01      mat1             100kg             Q   <b>capacity check is working</b> i.e  the sys. gives error msg as "Max bin capacity hasbeen exceeded by 100 kg.
    01-01-01       mat1              600kg            Unresticted
      01-01-01      mat1              400kg               Q   <b>capacity check is not working</b>
    Here, the system is posting into same bin with additional qty 400 kgs. it is not throwing any error msg. Here I suppose to get error msg.
    For this I found <b>EXit -EXIT_SAPLL2018_001</b> .
    <b>MWMBAP01 Enhancement for BAPI WarehouseTransOrder.GetDetail
    pls help me in this issue.pls suggest me in clearly.</b>bye.
    Prashanth.<b></b>

    Hi,
         You can try with user exit MWMBAP02
    <b>Reward points</b>
    Regards

Maybe you are looking for