Changing Tab focus while in a User exit. Is this possible?.

We have a user exit that kicks in when saving in a sales screen with different tabs. There seems to be inconsistancy as what tab is focused (chosen/highlighted) afte the user exit completes.
What I wanted to know was whether it was possible to force a certain tabbed screen to be the main focus.
Is that understandable?. I know I have not explained it that well, but hopefully I given enough to put across the problem.
Jas

Hello Jas,
Could you please mention the user exit name that you are using?
Thanks,
Johnson

Similar Messages

  • Difference between the different structures while dealing with User-Exits

    While dealing with User-Exits, we come across the different structures/Tables like XVBAP,YVBAP,TVBAP,IVBAP,*VBAP....
    What is the difference between them ?

    Usually X<tablename> and Y<tablename> are used in change document management to determine records updated (Y is old values and X new ones).  (Look at transaction SCDO)
    T<tablename is an internal table read from database and I<tablename> is an import table parameter of the same structure. <tablename> is an equivalent of <tablename> declared with statement TABLES and contains usually the "old" value.
    Look at exit documentation. start at [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    Regards

  • Problem while calling the user exit

    Hi All,
    In one of the program one user exit is called. Before this user exit ther is one FM . If I copy the same function module with a new name Z* , this user exit is not getting triggered. The program is going till the point where CALL CUSTOMER-FUNCTION '001' IS written but after that it's not going inside the user exit. But if I put back the original FM , this suer exit is getting triggered and it's gong inside the exit. I've activated the Project for this user exit also. As per our requirement I've to copy the original FM into Z* FM.But my doubt is when I put back the original FM , this User Exit is getting triggered whereas when I copied this FM it's not working .
    Anybody could helpme out why it's happening ?
    Thanks
    Alok

    Srinivas,
    Yes it's related to the other post where I had to copy one standard Function Pool.While copying the function pool I copied the FMs also.This problem is coming out of one FM ,when I changed this to Z* at the place where it is called, the user exit which is written inside that FM is not getting triggered even though program is reaching till the point where this user exit is called .
    Any clue ?
    Thanks
    Alok

  • Change Confirmed Qty in Sales Order User exit/ATP User exit

    HI
    We have a requirement to change the ATP Qty for certain meterials & Order Types  duing sales Order User exit(FORM USEREXIT_MOVE_FIELD_TO_VBEP.? ) or ATP User exit.( ATP...OUT?).
    Is this ok to update the XVBEP in FORM USEREXIT_MOVE_FIELD_TO_VBEP of MV45AFZZ ?
    Our requirement will be like this, for one order type ZSAL( and for certain Materials)  we need to reserve 4 qty, if any order comes with 10 qty and the confimed qty is only 6( total available stock at present) , then we should only confirm  2 qty for the other order type( For Non ZSAL Order Type), and reserve the 4 QTY for ZSAL Order Type.
    If there are multiple schedule lines for an Item, we need to reduce the qty equally( as possible) from all schdule lines.
    i.e. date1 qty 4
         date2 qty 6,
    in  this case we should confirm  Date1 QTY 2, date2 qty 4, so that the remaining 4 will be reserved for ZSAL Order type.
    Whats the Best way to achieve this ?
    Edited by: agrud agrud on Sep 8, 2011 4:01 AM

    Hi Agrud,
    Did you check the possibilities with configuration.If it is not possible with configuration then you can use that exit.Before i used this but only to display not to change any thing.
    Regards,
    Madhu.

  • How to change actual quantity in Outbound delivery User exit

    hi all ,
    My requirement is to change the quantity of outboud delivery according to some logic .but my issue is after writing the code MV50AFZ1 , system is not considering the quantity changed by me , it is taking the quanity directly from sales order confirmed quantity .
    please anybody help on this issue  .

    Hi,
    Under which user exit have your written your code:
    USEREXIT_MOVE_FIELD_TO_LIKP or
    USEREXIT_MOVE_FIELD_TO_LIPS or
    USEREXIT_SAVE_DOCUMENT or
    USEREXIT_SAVE_DOCUMENT_PREPARE
    I think if you write your code within the USEREXIT_SAVE_DOCUMENT, it should work.
    Regards,
    Subramanian

  • Changing emp time data in CATSDB - user exit for CAT2?

    Hi experts,
    My requirement is to change the wage type against which the employee working hours gets stored in CATSDB table.
    I understood that through CAT2 tcode, the data is getting stored in CATSDb table.
    So can anyone tell me the user exit or Badi which will get trigger on SAVE of the CAt2 transaction.
    or else, in what way i can achieve my requirement? Pls suggest.

    no Idea

  • Changing tab focus with the keyboard

    I've read about changing the tab focus from one page to another programmatically; however, I would like to have shortcut keys to change tabs (like many programs that use CTRL+Tab to change windows within the program).
    I could use an event structure to capture keyboard button presses and then change the value of the tab control, but is there a more straightforward approach?
    Thanks!
    mlloyd

    You can set all other controls not to be tabbed through and the tab control to have its pages tabbed through. That way, when you use tab, only the tab control's pages will be on the tabbing list. This, however, is probably less straightforward.
    I'm not sure what's the problem with the method you outlined. In most cases, if you want something to happen, you will have to code it. This appeares to be one of those cases. You can make a subVI to do the tabbing for you, if you don't want to have to code all of it in your VI. Pass the reference of the tab control into the VI after you detect the event and use that to decide whether to increase or decrease the tab value. Be sure to cycle the number back to the first page when it reaches the end.
    Try to take over the world!

  • Shipment cost - change customization of item categories via user exit

    hey ,
    is it possible to manpiulate the item categories customization to open manually/ automaticly via  user exit
    even if i customized them to open manually ?
    for example :
    if the shipment type is X - open manually , else automaticly .
    Regards
    ASA  .
    Edited by: ASA MOKED on Dec 23, 2009 11:38 AM

  • Inernal order enhancement after "ENTER" not user exit like COOPA_01 possibl

    Hi guys,
    I need a check on internal orders when creating or changing but before saving just pressing enter.
    I think some years ago in a project a developer found out an enhancement spot in coding, where customer coding can be implemented without standard modification, but also not a user exit.
    Unfortunately I can not remember where and in OSS I did not find anything.
    Any idea?
    best regards
    Bjoern

    Hi
    As far as I know, exit COOPA_01 is used for any custom checks on Order master data... I dont know why you are against it
    Anyways, to find out the enhancement spots called in a transaction, proceed as below
    Go to se24 -> cl_exithandler-> go to method get_instance -> and put a break point at
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    Here one of the parameters is exit_name .
    Once after you put the break point , execute the transaction and here in the parameter exit_name , you will be able to see all the available badi's .
    br, Ajay M

  • Changing Tab Focus Programmatically

    I have a tab canvas with three tabs. I have a stacked canvas for each of the tabs. These stacked canvases display multiple records. When the user switches tabs it displays the correct canvas. Now, lets say I am entering information on tab two and I press down to insert a new record. I have code that returns the cursor to the first item on stacked canvas one, but the tab canvas is still showing focus on the second tab. How can I programmatically reset the focus of the tab canvas to the first tab?

    I think the ~right~ way to achieve the tabbed canvas setup is to use a single primary canvas, and a single tabbed canvas with multiple Tab Pages assigned to it. It seems to me if you use this method, the tabs show correctly when the cursor moves to an item on a different tab.
    If you press the down-arrow to create a new record, then you might need some special code in the key-down trigger to go_item someplace other than the first field in the block.

  • Changing Tab Focus Behavior

    I have two machines running Firefox 4.0. Both have Tab Mix Plus installed. Each exhibits a different behavior when opening multiple tabs.
    To open multiple tabs, I simply highlight a number of links on a page, right click and select Open Links in New Tabs from the menu
    In both cases this action results in each link opening in a new tab. In both cases the focus stays on the current tab.
    However on one machine if I change focus by clicking on the tab next to the current one and then close it, the focus goes back to the first tab.
    On the other machine if I change focus by clicking on the tab next to the current one and then close it, the focus moves to the tab immediately to the right of the closed tab.. This is the desired behavior.
    What do I need to change on the first machine to get it to behave like the second one?
    I tried doing a visual compare of the configuration setting on each machine both for Firefox and Tab Mix Plus but couldn't find any difference in settings.

    You can set all other controls not to be tabbed through and the tab control to have its pages tabbed through. That way, when you use tab, only the tab control's pages will be on the tabbing list. This, however, is probably less straightforward.
    I'm not sure what's the problem with the method you outlined. In most cases, if you want something to happen, you will have to code it. This appeares to be one of those cases. You can make a subVI to do the tabbing for you, if you don't want to have to code all of it in your VI. Pass the reference of the tab control into the VI after you detect the event and use that to decide whether to increase or decrease the tab value. Be sure to cycle the number back to the first page when it reaches the end.
    Try to take over the world!

  • How to change price in Sales order using user exit ?

    The scenario is -  when the user creates a sales order,  there has to be an RFC called to another system to get the price of the materials in that system. Then it has to overwrite that price in this S.O.
    Which exit in S.O can be used for this and then what processing needs to be done after the RFC call to get price. Like how the price can be overwritten on this S.O ? (Lets say to get price we use some BAPI to the other system).  Any help ?

    Dear Theodorous,
    1)Please check the Material has been extended to the second plant.
    2) Assign the second Plant to Sales Org and Dist Channel
    If you have any concern revert back the same
    Regards
    Amjath

  • COPA Report Changes in KE30 for Configured materials - User Exit

    Dear all,
    We are having a configured material with BOM and we are using COPA Report.
    For a given material type we need the row "Other cost of Goods Sold" to be zero since it does not take into account the child materials.
    Is there any userexit to make this happen ??
    Thanks in advance.
    Regards,
    Vivek.

    Hi Vivek,
    KE30 is a Transaction code. If you want to copy a Report associated with this Transaction code then go to transaction code KE30 Provide the data a initial screen. Then go to Utilities->status. A popup screen will be displayed. In SAP data tab There is a field called Program. Copy that program name & go to transaction code SE80 & provide the program name & go for display. Here all the related screens, fields, tables etc. will be displayed then right click on the program name & select copy & provide the target program name starting from Z. Save & activate it.
    Note you can copy the standard program & copy it also but I think it will not take place the standard porgram, you will have to run the progam manually.
    I think BADI or BTE may be available for this transaction.
    Ashven

  • How to capture an address change for a sale order in user exit MV45AFZZ?

    Hi ,
    My requirement is to capture the address change in sale order .
    I have to write the code in my own z-include in MV45AFZZ of SAPMV45A.
    Here I have to use VBAP-KUNNR for PARVW = ‘AG’ or ‘WE’. And  ADDR1_DATA.
    Could you please give me idea , how to capture the address change?
    Thanks ,
    Suresh.

    Farshid,
    As I understand it it is the RCS software that replaces the $Revision$ with $Revision: 1.2$. Is that correct?
    There are two things that you need to be aware of if this is the case.
    First, the length of the text fields are saved as part of the SystemBuild model file. This means that when the revision control software replaces the tag the length is no longer correct, and SystemBuild will not be able to load the file correctly. You can still change the text as long as you make sure the the length of the tag stays the same. For example if the version number is a single digit decimal then single digit, then when you create the file you could store the revision as $Revision: x.x$. When the tag gets replaced by the revision control software you would get
    $Revision: 1.2$ which is the same length.
    Next you need to be aware of potential line breaks. When the SystemBuild model is saved as ASCII then line breaks are added at regular intervals, so the tag might be broken up on two lines. This could prevent the revision control software from recognizing the tag. To prevent this save the file as binary.
    In short make sure that the text the revision control software adds is the same length as the text that it replaced and save the files as binary files.
    Carl L
    National Instruments
    www.ni.com/matrixx

  • Facebook turns black when changing tabs... How can I fix this?

    Whenever I'm on safari and I open my facebook it works just fine. But when I go to another tab and return to my facebook tab the page is all of parts of ik are black and I have to refresh the page for facebook to look normal. This has been going on quite a while and it never really bothered me, but now it's just getting annoying! Does anybody have a solution or know what to do? Thanks in advance!

    I have the same problem but if you go back to another tab and quickly back to facebook it'll go back to normal. I know it doesn't solve anything but its an alternative to refreshing the page... probably just as annoying though

Maybe you are looking for

  • Fields missing from dbo.MSP_EpmProject_UserView when connected via ODBC to Access 2013

    Odd things here --- Both the dbo.MSP_EpmProject_UserView and the MSP_EpmProject tables, are missing a number of fields including: ProjectName; ProjectAuthorName; ProjectManagerName, etc.   Looked in the schema to make sure I wasn't crazy, and they ar

  • Black (K = 100) text in InDesign being reported as CMYK in Acrobat

    These are the settings in my InDesign documents: CMYK working color space: US Sheetfed Uncoated v2 Preserve embedded profiles Text set to K = 100 When I exported to PDF, these were the settings under Output > Color: No color conversion Include all pr

  • Error when unzipping compressed files in portal

    Hi, I am using Oracle AS Portal 10g v 9.0.4. When unzipping a compressed file in a portal page I get the following error for each of the files in the zip: ERROR: Failed to create overview_9041_new_features.pdf ORA-06510: PL/SQL: unhandled user-define

  • A query statement

    SELECT SCN_TO_TIMESTAMP(TIMESTAMP_TO_SCN(startup_time)) "DB Shutdown Time" , startup_time "DB Startup Time" FROM v$instance; Hi All I find above sql statement from internet. It is said that this SQL will shows the database down time and start time. I

  • Create Stand by database difference server

    Dear all, I copied physical datafiles whole database from production to stand by database. After then i reconfig and start stb db.It's works well.But when i test updated and commit transaction from prod and i copied archive files into stb db and i tr