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

Similar Messages

  • 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

  • Need help with transporting User Exit Variable in CMOD ZXRSRU01

    Hello Gurus.,
                      I changed the existing user exit variable in CMOD ZXRSRU01.,before changing neither it ask for any transport request,  nor when I activated the include program .
    Well., I tried this........I went to goto-> Object Directory Entry.,
    changed the Package and person responsible for and then it asked for transport request...but this dint work...
    Now., how can I capture the changes in a transport request, so that, i can move the changes to production system?
    is there anyway to solve my problem?
    Regards,
    PNK

    Thanks for ur help VIKRAM...i solved the issue...the changes are captured in someother request, but it was not showing in the Version Management.'
    I checked the Lock Overview in the Object DIrectory Entry and found out that it was capturing in different request. I released the request and when I tried to change the code, it asked for new transport request.
    It worked..
    Thanks for your help..
    Regards,
    PNK

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

  • User exit or badi neede for the vl02

    Hi All,
    My user will do the GOODS ISSUE Through the VL02 ,So the shelflife expiry date will perform at this time,it will give the error message if the Batch shelf life expiredate is not matching with material master shelflife expriry date,but my user wants to skip this check for a particular movement type , So to solve this issue can any one tell which enhancement technique is suitable to solve this issue,if that is user-exit or BADI Please could you give that user-exit/BADI Name .
    Thanks in advance..
    SRIHASA

    you can use these many badi for user exist in vl02:
    Enhancement/ Business Add-in            Description
    Enhancement
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    Business Add-in
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing
    DELIVERY_PUBLISH                        Announcement of delivery data during database update

  • Read value selected in Dropdown list in user exit

    Hello,
    I have mulitple variable in my web interface.
    The first one is a list of months that the user can change and the others are calculated by user exit.
    The problem is that i need the month in the user exit.
    When the user has already a variable set for him, with ZGET_VARIABLE_DETAILS, i can have this month.
    My problem is when the user changes the month in the web interface.
    For exemple, the user has already save the layout with 01.2006, my user exits variables will find 01.2006 and be calculated with that month. After, the user changes the month to 11.2006, the problem, is that ZGET_VARIABLEDETAIL still return 01.2006, and my user exit variable are not anymore correct. But in the interface, the header area show well 11.2006. it's confusing for the user ...
    If the user saves, that will set the month variable to 11.2006 and the next refresh will be ok.
    Any idea how i can find this 11.2006 ? the current value of the dropdown list ?
    Regards,
    Jarod

    Hello Vlad,
    The flag is well to true, and my layouts are well refreshed, but on the resfresh, the user exit variable read the month variables, and then calculation are made.
    But on the read of the month variable, even if the dropdown bow has changed, this is still the set value which is read.
    It seems that when you change the value in the dropdown, it doesn't set the value. It's only a display, and when you save, it set the value.
    The problem is that for my refresh, i need to read the new month, the "displayed" value. In the header are of my layout, it's well the new month, but i cant find it in background for my user exit variable.
    Jarod

  • User Exit for VL31N

    Hello all
    My requirement is, need to find a screen exit in Vl31n.
    Need to pass last updated batch number to the batch field in VL31N transaction.
    Tell me if there is any screen-exit to pass Batch number automatically.
    If its helpful, i will give u full reward points.
    Thanks in advance.
    Ravi

    Hi
    check the following
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)        
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)        
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)       
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc            
    V53W0001                                User exits for creating picking waves                        
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot      
    V53C0001                                Rough workload calculation in time per item                  
    V50S0001                                User Exits for Delivery Processing                           
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List      
    V50R0002                                Collective processing for delivery creation                  
    V50R0001                                Collective processing for delivery creation                  
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields      
    V50PSTAT                                Delivery: Item Status Calculation                            
    V02V0004                                User Exit for Staging Area Determination (Item)              
    V02V0003                                User exit for gate + matl staging area determination (headr) 
    V02V0002                                User exit for storage location determination                 
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_PUBLISH                        Announcement of delivery data during database update         
    Regards
    Anji

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • Transportation Planning Status (vbuk-trsta) User Exit

    Hi All,
    I wish to change the transportation planning status (vbuk-trsta) of a delivery in a user exit. Which user exit should I use to do this?
    Just a point to note. The delivery is created automatically from the sales order creation. I don’t think this should matter though as the user exit should kick in.
    Many thanks,
    Colm

    Hi,
    Try exit V50PSTAT.
    Enhancements        
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)      
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)      
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)     
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc          
    V53W0001                                User exits for creating picking waves                      
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot    
    V53C0001                                Rough workload calculation in time per item                
    V50S0001                                User Exits for Delivery Processing                         
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List    
    V50R0002                                Collective processing for delivery creation                
    V50R0001                                Collective processing for delivery creation                
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields    
    V50PSTAT                                Delivery: Item Status Calculation                          
    V02V0004                                User Exit for Staging Area Determination (Item)            
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination               
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                      
    DELIVERY_PUBLISH                        Announcement of delivery data during database update       
    Hope it helps,
    Chang

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • User exit for  Delivery output execution

    Hello All,
             My query is i  need a delivery relevant  user exit for output trigger which the  specific order reason and for this only it should trigger in the VL01N (delivery) output. Kindly let me know if any user exit is there where i can give my condition(by checking the specific order reason from the proceding sales document)  and for that only it should trigger in the VL01N output . PLZ let me know the answer ASAP.

    Hi
    Check the following enhancements and BADI's
    Enhancement
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    Business Add-in
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing
    DELIVERY_PUBLISH                        Announcement of delivery data during database update
    Also look at the Standard program of Delivery SAPMV50A
    for the user exit Include MV50AFZZ
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • 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

  • I_STEP=2 in Planning sequence and user exit variable

    Hello!
    I need some issue, help plz.
    I have planning sequence with currency translation type fuction.
    In this function Exch. rate type calculated from user-exit variable VAR_1 (for example).
    This VAR_1 calculate from VAR_2 (ready for input) variable on I_STEP = 2.
    In pure report all fine, i fill VAR_2 in variable screen and VAR_1 fill in exit.
    But! In planning sequence (run from Excel) in I_STEP = 2 structure i_t_var_range is empty and my VAR_1 cannt be calculated.
    I try any command and parameters in Bex - no result.
    How can i calculate VAR_1? Or what i must do in order to get i_t_var_range on I_STEP 2 with VAR_1.
    Thanks.
    Anton.
    BW SP 17(DEV) AND 19(QAS)

    Hello Matthias!
    I try all kind of binding, using command VAR_NAME and VAR_VALUE, without command etc.
    But it seems like my user-exit variable start in different context and do not see other variable.
    My planning sequence start working only when i insert condition for planning function and set VAR_2 here. After that VAR_1 calculate normally ( i_t_var_range on I_STEP 2 contain VAR_2). But i think all should be working without condition...i dont need condition.
    Any idea?
    Anton.

Maybe you are looking for

  • IPhoto 6 little better than V5.

    Frankly I am disappointed. With all the hype you would think this was going to be a wizbang product. Having done a fresh install of Tiger and copied in 12.5 Gb of images into My Documents/Digital Images to run the beta tests on Adobe Lightroom, I the

  • Save as EPS defaults

    Is it possible to change the 'Save as EPS' defaults to 'Preset: High Resolution' and 'PostScript LanguageLevel: 3'? Michael mhphillips at gmail dot com

  • Lollipop update for note 3

    Hi i bot an AT&T Samsung Galaxy Note 3 from the U. S. A. I unlocked is here in Bangladesh locally. Bt i cant use NFC neither i can use my phone as Hotspot. Also i m unable to receive updates for lollipop. Any suggestions for me how to solve my proble

  • Design window - all panels greyed out (CC)

    Hi. Just using the trial version of DW CC, and liking it so far! I'm using Split, and when I go to make a link in Design, the Properties box below is greyed out (as is the Insert panel). The only option left is to actually highlight the text in the C

  • How to recover classic Aqua Blue wallpaper after Lion clean install?

    When I did a clean install of Lion I lost my lovely classic Aqua Blue (originally Tiger?) wallpaper. An upgrade on a different Mac kept my original wallpaper.  How do I download and install that simple Aqua Blue one? Thanks.