Passing a parameter through user exit

Hi all,
I am adding a screen to the user exit ZXHIV01 and want the user to fill the organizational detail area on this screen.
However, I cannot get the value of the organizational code (OBJID) from the previous screen (1000 create).
I have tried GET/SET parameters but it did not work.
Should I do something different while editing a user exit?
Thanks in advance,
Dilek Ersö

Hi Dilek,
try using field-symbols.....it will work....
If the hint is useful… Say thanks by reward….
Regards,
Prabhu Rajesh

Similar Messages

  • Pop up screen for stock overview in ME51n through user-exit/BADI

    Hi,
    User wants that at time of  Purchase Requisition creation for any material system should give a pop up window of stock details to provide the status on inventory. 
    For stock summary the t code u201CMMBEu201D for combination of plant and material should run in background and produce output in pop up window. Basically MMBE report output is required for each item line in a pop up window.
    Can this be done through user-exit. I have implemented many user-exits but not sure about the report output in a pop up screen through a user-exit.
    The material stock ia already available under menu enviornment - Material stock(MMBE) but user wants the stock as soon as the material is enetered.
    any inputs.

    Have a look at below link which gives the details abt the user exits related to VA01/VA02.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • If PO is released I have to send a mail through User Exit

    Hi,
    Please let me know the relevant user exits for below requirements.
    a.  When the PO is released,  the system will check for that PO Parked invoice exists or not,  if yes I have to send a mail to creator of the Invoice through user exit.
    b.  PO Exist but NO GR  (for goods only not services) ,  each time an invoice is parked for Goods PO.  send mail to PO Creator and storekeeeper  through user exit.
    Please give me relevant/suitable user exits for above both requirements.
    Regards,
    Ganesh

    Hi Ganesh,
    Please move this to [Enhancement and Modifications|ABAP Switching, Enhancing, and Adapting Standard Programs; forum
    Cheers
    Suresh

  • 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

  • Purchase requisition release procedure through User-Exit

    Hi Workflow Guru,
    I have a requirement to configure purchase requisition workflow . the workflow should trigger through release strategy.
    The approver should determine through user-exit and the approver should determine based on value and quantity and that can be define in user-exit. as per my knowledge the value should mantain in SPRO-Release procedure. Please clarify me is it possible through user-exit. I am worked on user-exit for release procedure based on purchasing group.
    Thanks in advance.
    Regards,
    Ranjan Tiwari

    Hi,
    There is BADI ME_REQ_POSTED 
    in method POSTED  you can write your code to trigger the workflow and get the information related to release strategy and
    Purchase requisation  .
    for more than one PR use below logic .
    LOOP at im_eban into gwa_im_eban .
        concatenate gwa_im_eban-banfn gwa_im_eban-bnfpo into gwa_objkey .
      add data into container -----------------
          gwa_event_container-element = 'PurchaseRequisition'.
        gwa_event_container-value = gwa_im_eban-banfn.
        append gwa_event_container to gi_event_container.
        clear: gwa_event_container.
        gwa_event_container-element = 'ItemOfRequisition'.
        gwa_event_container-value = gwa_im_eban-bnfpo.
        append gwa_event_container to gi_event_container.
    get the other details and create event to start workflow .
    select single * from eban into lwa_eban where banfn = gwa_im_eban-banfn
                                                  and bnfpo = gwa_im_eban-bnfpo .
            if sy-subrc <> 0 .
          call function 'SWE_EVENT_CREATE'
            exporting
              objtype           = 'BUS2009'
              objkey            = gwa_objkey
              event             = 'zcreated'
            tables
              event_container   = gi_event_container
            exceptions
              objtype_not_found = 1
              others            = 2.
    ENDLOOP .
    Hope this will resolve your issue.
    Thanks and Regards,
    Deepanker Dwivedi

  • Bex Query: make data pass through user exit calculation at navigation time

    Hi all!
    I have a new requirement and I don't know how to solve it...
    Now, when I execute a web model containing a query, the system "reads" a date and calculate the query based on that date in a user exit defined in CMOD, for example, filtering data with an interval between january and the date read.
    Besides, I have in the web model a dropdown item where user can choose other months. The dropdown item only shows single values but now if I choose a month, the query only shows data for that month.
    I need the system filters the query with the new interval. For example, between january and the new month the user has just chosen.
    Does anyone know a way to make a query pass through the user exit calculation after executing the query for the first time? Any other ideas? I need the query to "reexecute" and filter the data (create a new interval) based on the value a user chose.
    (sorry about any inconvenience, because I posted the problem in another sdn specific forum but as I received no answer I've decide to explain it in here...)
    Thank you! Points will be assigned.

    Any ideas please?

  • Access to Profitability seg data in contract through user exit

    Dear All ,
    I have a critical issue in my current project.
    I have to post/create a contract in R/3 using custom Idoc type which is enhanced version of the standard Idoc type with two new fields for profitability segment data(TS product and Offering) for contract item.
    The Idoc is calling BAPI_CONTRACT_CREATEFROMDATA and which in turn calls SD_SALESDOCUMENT_CREATE and I checked it is passing through MV45AFZZ,MV45AFZA,MV45ZB INCLUDES also.
    Can anybody suggest me which user exit to be used to pass the idoc fields for profitability segment to the required work area(I dont know where,which table it gets saved) so that it gets saved in the line item.I tried COBL work area but those fields are not there.
    Your help is appreciated.
    Thanks
    Soujash

    I have used some user exits to replace fields on the profitability segment during order entry.  The same process might work for your scenario.
    You will have to add restrictions so it is only called during your IDOC processing and not for every SD transaction.
    I used USEREXIT_CHECK_VBKD in MV45AFZB.
    The current PA segment was read with function module RKE_GET_CHARS_FOR_PAOBJNR.
    If it was different than what I needed, I replaced fields on VBAP and re-triggered PA processing with
    PERFORM VBAP_PRUEFEN_ENDE(SAPFV45P).

  • Line item creation through user exit

    Hi
       I am creating a line item for a sales order when saving the sales order in transaction VA01 and VA02, using the userexit USEREXIT_SAVE_DOCUMENT_PREPARE. I am able to append the line item to the internal table XVBAP through my code in the user exit.
    But after appending to the internal table the line item is not getting created.I am not getting any error message also.
    Can anyone help me out in this regard.What could be the reason for this.

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

  • Get parameter in User-Exit

    Hi experts,
    I am performing an enhancement on me21n. I have found the required user-exit and would like to pick up the value from the screen field of material (MEPO1211-EMATN). I have found that that field has a parameter 'MAT' on it. How do i fetch the value from that parameter. I have used the following but it is not working.
    DATA: pmat TYPE mepo1211-ematn.
    GET PARAMETER ID 'MAT' FIELD pmat.
    Thanks in advance guys.

    Hi,
    you can use field symbols to fetch the screen values.
    eg.
    FIELD_SYMBOLS : <FS> type ANY.
    eg. ASSIGN ('<(PROGRAM NAME>)SCREEN FIELD') INTO <FS>.
    if you use SET/GET parameter you are getting values from SAP memory. which means if some other users put values from  another session you will get a different value using SET/GET parameter.
    regards
    aromal

  • Mark a user status in production order automatically through user exit.

    Hi all,
    I have a requirement....I have a user profile which has got 4 status one of them is MFAR.
    I need to check this status through an exit automatically so that it appears in the status line
    and does not allow for goods receipt at the time of order creation through CO01 .
    I have earlier tried with EXIT_SAPLBSVA_001 but this is only for formatting the text line whether I want to display that status.So it is not working for my case.
    I could not find any exit for checking the checkbox for user status MFAR.
    Thanks and Regards
    Sweta

    Hi Anup,
    Have you used this exit for the purpose I mentioned as this is not just a simple header field it is status.
    How do I mark any user status as active through this exit. Can you give any idea?
    Thanks and Regards
    Sweta

  • Change Schedule Line category through user exit - Issue with transfer of requirements

    Dear All,
    There is a user exit in Sales Order program MV45AZZ - PREPARE_TO_SAVE . It is currently being used to implement code to change schedule line category based on the status of the sales order.
    When Blocked , category is set to ZP, and when Released then it is set to CP.
    Now, when we change ZP to CP manually through VA02, I am able to see the requirements transferred in tcode MD50.
    The problem is, when user changes status of sales order from blocked to released, the userexit changes categories from ZP to CP, but the requirements are not transferred ( cannot see it in MD50 ).
    I tried searching the SCN, tried googling it, its been a week now and I havent found any clear solution.
    So, far what I understood is Availability Check needs to be carried out again. But I am not clear how to trigger it again.
    Are there any indicators that need to be set or any internal tables to be updated or any FM to call or any other user exit to place the code in.

    ?? Any suggestion friends ?

  • Having trouble passing a parameter through a button, php

    Hello all,
    I'm new to the forum and to web design and Dreamweaver, please go a little easy on me!
    I'm currently in the process of making a fantasy football website in Dreamweaver and phpmyadmin. When a user visits the site and wants to enter the competition they click register which brings up the register page. There they can fill out the form containing details username, password etc. When they click the register button at the bottom of the form their details are put into the users table in the database and they are passed onto the next page where they are asked to pick their team. The team details are kept in a seperate table in the database.
    What i'm trying to do is pass the username that is created in the register form to the pick team page as a parameter.
    Currently the code for my button is as follows:
    <input type="submit" value="Insert record" />
    and the sql for after insert goto is currently?
    $insertGoTo = "pickteam.php";
    In another section of the site i have passed a parameter with a link as follows:
    <a href="editgoalkeeper.php?gkid_gk=<?php echo $row_rs_viewgks['gkid_gk'];?>">
    but i'm not sure how to pass a parameter using a submit button, can anyone help me please?

    Please pardon my ignorance, i'm still very new to web development and Dreamweaver.
    Please could you give me an example of how i would go about coding the above?

  • Passing query parameter through xcelsius 2011 at run time

    I am using reporting service as a web connectivity and I am trying to pass the query parameter at run time from the dashboard. While executing the xcelsius at first time it is working well with the default value but after passing the parameter from combo box, the data is not loading. It is not returning anything except the field name.
    I am new to this xcelsius. Your help will be really appreciated.
    Thanks.

    Hi,
    if you do the following thing,i think it may be helpfull,
    First select Data in menubar>Connection->select required connection>select the useage option in connection definition window>give  trigger cell value as combo box destination cell.
    Thanks,
    Ramana

  • Restricting storage location through user exit.

    Dear Friends,
    My Scenario is " while doing goods movement in confirmation screen (cor6), the header material is assigned to 3 storage location , Now is there any USER EXIT so that it has to be restricted to 1 storage location ,we dont want authorization control"
    Regards
    tushar

    Dear,
    Please check User exit for storage location determination -EXIT_SAPLV02V_002 and Include ZXLOFU01
    or Program MV45AFZB
    USEREXIT_SOURCE_DETERMINATION
    Regards,
    R.Brahmankar

  • Passing input parameter to User Defined Procedures in ODI

    Hi
    I have to develop a procedure with an update query as follows
    Update Rec_Count set status as 'Y' where TableName = 'Name of the table'
    Here the 'name of the table' should be sent as input parameter while executing the package and this has 9 values.
    Kindly help me resolve this issue.
    Thanks

    Hi,
    Create a variable
    eg :- VarName
    and your query should be
    Update Rec_Count set status as 'Y' where TableName = '#VarName'
    Steps in package:
    step 1 :-
    refresh the variable ,
    or assign the variable while executing the package.
    Step 2
    Your procedure
    This will take the variable value dynamically while executing
    Regards,
    Rathish
    Edited by: Rathish on Aug 18, 2009 3:38 PM

Maybe you are looking for

  • MacBook (Mid 2007)

    Is a MacBook (Mid 2007) compatiable with snow leopard?

  • Macbook Pro WD Firewire 800 issues possible work around

    I have been having issues with my Western Digital My Passport Studio and the Firewire 800 connection. The drive would mount and was completly readable however copying to the drive would result in a stall. The USB connection worked perfect. I have fou

  • Ae cs5 importing seq images all blacked out or only one frame - help

    I created a pan background and keyframed it and it is working fine. I then brought in pngs with transparent background as a seq and the image is all black when they imported into ae cs5 once one image was brought in correctly (the first image of the

  • Font rendering and legacy X applications

    For some time, I have had problems keeping older applications working well as the X font system evolves. For example, I have many drawings created in Xfig, and the fonts stopped being rendered correctly some time ago. Converting all these files for a

  • Photos only show in 'places' map and not in regular photos location

    I recently restored from an iCloud backup when moving to 5.1.1 and now most of my photos only show in Places, not the proper photos location. Is there any way to make them appear correctly? Cheers everyone