Pop up message in custom infotype screen

Hi Expert,
I have one custom infotype with field zzdest ( destination airport) which show all destination airport like mumbai,delhi etc.this
airpot are mainatin in an ztable  ZR_HR_DES. while user selecting destination some name will be wrong like mumbay instead of mumbai  in the custom table at that time it should show the pop up message that please select mumbai instead of mumbay.
can any one suggest me how to do this.
Regards,
Mdaddu

When user give a text that is not in your table, you may try to fill an internal table with similar text and then use this internal table in a popup select FM like REUSE_ALV_POPUP_TO_SELECT.
Some way to fill the internal table
- with leftmost part of the name removing rightmost character until you get some records (remove right most character and add wildcard til select returns some records) (will identify incomplete text or error at rightmost characters)
- converting erroneous input to a range replacing every character by a wildcard (DO length(str)/replace sy-tabix character by wildcard and append to a range) (identify a single mistake on a character)
- wait til SAP implements a [Levenshtein distance|http://en.wikipedia.org/wiki/Levenshtein_distance] rule in SQL...
Remarks: why don't you use an "official" airport code like ICAO or IATA to identify an airport, a text like "Bombay",  "Mumbai", "Sahar" or even "Chhatrapati Shivaji" can refer to the same airport, and many cities have more than one airport (eg. Juhu for small private aircraft)
Regards,
Raymond

Similar Messages

  • Needs pop up message to occur on screen when data ia manipulated...

    Hi
    In my application(forms 6i/oracle9i), I want pop up message to occur on the screen of application user A when another application user B manipulates the data. Message would be like '2 rows are updated in Branch Master'. Then there should be availabilty( currently from his screen itself) to user A to see those manipulations being done by user B.
    Pop up message should occur in following cases
    case 1: Just after User A log in to the Application i.e. all master data changes being done after he has logged out the application.
    Case 2: During his session i.e. when he is using application, and in case there are changes to the Master Tables being done by other user.(this time pop up should come on the screen on which user is working.)
    I am keeping the log of data changes in Audit_Trail_Log table through trigger.
    Secondly, application keeps the login time of users in app_login_status. And logout time in app_login_logout_log table.
    I hope you get my requirements. Thanks in advance.

    can you try the following things:
    Case 1
    -- Count the number of inserts after the logout time of user
    select count(*) from audit_trail_log where
    statement_column like '%INSERT%'
    and user<>user
    and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
    -- Count the number of deletions after the logout time of user
    select count(*) from audit_trail_log where
    statement_column like '%DELETE%'
    and user<>user
    and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
    -- Count the number of updates after the logout time of user
    select count(*) from audit_trail_log where
    statement_column like '%UPDATE%'
    and user<>user
    and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
    ADD ALL THREE OF THEM. Put it in a variable. Say sum_updates
    On when new form instance, write
    message('Number of updates since last login : '||sum_updates);
    synchronize;
    Case 2
    create a timer and in when timer expired trigger write the same code as in when new form instance. Put the sum in sum_updates2
    find the difference diff_updates := sum_updates2-sum_updates
    and in WHEN-TIMER-EXPIRED write:
    if diff_updates<>0 then
    message('Number of updates in the database in this session : '||diff_updates);
    synchronize;
    end if;
    I guess, you understand the logic.
    P.S : Not tested !!

  • Pop up message for 0019 infotype

    Hi gurus,
    can you help me out  my requirement is when ever i mainatain infotypes 0016 and 0019 system should pop a message showing the reminder date for that event can you tell me how can i do it .If i run a standard report date monitoring  i can see the data but i need automatically generated POP up message.
    Regards
    Smitha

    Hi,
    You can use Dynamic actions to get this done, please check table T588Z to do this configuration. Hope this will help you, Thanks.
    Regards,
    Sridhar.

  • Pop up message on the variable screen in portal when report is run

    Hello
    I have a requirement to pop up a message stating " Date should not be entered before 2010 "on the variable screen of the report if date is entered before 2010 by the user when the report is run.
    Please can someone tell me how to implement this?
    thanks

    Hi Tom,
    The logic could be to include code in CMOD forat variable with ISTEP=2.
    IF I_STEP = 2.
    LOOP AT i_t_var_range into wa_t_var_range where vnam = 'Date Varaible'
    <write condition to check the year entered. First, using function module DATE_TO_PERIOD_CONVERT, extract year from Date>
    <   CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
            EXPORTING
              I_DATE               = ZT_SDT
            I_MONMIT             = 00
              I_PERIV              = 'Variant'
           IMPORTING
             E_BUPER              = zbuper
             E_GJAHR              = zbdatj this is the year entered
           EXCEPTIONS
             INPUT_FALSE          = 1
             T009_NOTFOUND        = 2
             T009B_NOTFOUND       = 3
             OTHERS               = 4>
    >
    Then check the year for the condition.
    If correct.
    exit.
    else.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'RSBBS'
    I_TYPE = 'E'
    I_NUMBER = '000'
    I_MSGV1 = 'Date should not be entered before 2010'.
    raise again.
    endif.
    endif.
    endloop.
    Hope this helps you.!
    -Pradnya

  • Pop up message in B2C ISA screen

    Hi All,
    We are using CRM 5.0 ISA application, we have a requirement to provide a pop up window in payment screen of B2C application.
    Please can you suggest whether is it possible to provide pop up window based on the payment type selected and how can this be achieved.
    Thanks
    Neha

    You can write a JavaScript function for the event.
    If I am correct, the payment type is a radiobutton. So, possibly you can use onClick event to open a popup window.
    ... on_Click = "Javascript: window.open ('<URL>','Test popup',
                 'height=250, width=250, scrollbars=yes' ); return true; " ...
    (correct the event name to onClick. SDN wouldn't let me post the correct code

  • Add new loop field in custom infotype - error field .. not assigned to loop

    Hi,
    I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
    1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
    Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
    There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
    Best regards,
    George

    Not a nice solution but I had to do this quick and I'll correct it in the next days:
    The old flow logic PBO code was:
      LOOP.
        MODULE FILL_DYNPRO.
      ENDLOOP.
    If I wanted to insert here something like:
      FIELD whatever
        MODULE dummy.
    , I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
    Wanting just to get this over with, I added the following code (after the initial loop):
      LOOP.
        FIELD whatever
          MODULE FILL_DYNPRO."same module as above
      ENDLOOP.
    This was repeated in PAI.
    This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
    Thanks for the help, guys.
    Best regards,
    George

  • Custom infotype in PPOME

    Dear friends,
    I have added custom OM infotype in PPOME as a new tab page.
    if i create any organisational unit in ppome, i want to know the immidiate parent organisational unit (ie. Objid of the parent org unit) of this newly created org unit.
    Also if the cursor is on some other org unit other than the newly created org unit.
    then i am not able to get the objid of this newly creatd org unit in PBO or PAI of
    my custom infotype screen.
    Any help will be highly rewarded.
    Thanks,
    Vijay.

    Dear friends,
    I have added custom OM infotype in PPOME as a new tab page.
    if i create any organisational unit in ppome, i want to know the immidiate parent organisational unit (ie. Objid of the parent org unit) of this newly created org unit.
    Also if the cursor is on some other org unit other than the newly created org unit.
    then i am not able to get the objid of this newly creatd org unit in PBO or PAI of
    my custom infotype screen.
    Any help will be highly rewarded.
    Thanks,
    Vijay.

  • Pop up message in Background execution

    Hello everybody!
    I created a Pop up message in AT-SELECTION-SCREEN event and it's working well in online mode. However, when I try to execute the same program in Background mode, the SE37 transaction does not show me the list at spool.
    Question: Does SAP allow the execution in background mode with pop up messages?
    Thanks!
    Michel Khouri
    Mars, Inc

    Hi,
    in at selection-screen generally we will not use the Information Message, so i think in your case it is Error message. so Obviously it will not work.
    i guess you are using error message.
    Regards
    vijay

  • PPOME custom infotype

    Dear friends,
    I have added custom OM infotype in PPOME as a new tab page.
    if i create any organisational unit in ppome, i want to know the immidiate parent organisational unit (ie. Objid of the parent org unit) of this newly created org unit.
    Also if the cursor is on some other org unit other than the newly created org unit.
    then i am not able to get the objid of this newly creatd org unit in PBO or PAI of
    my custom infotype screen.
    Any help will be highly rewarded.
    Thanks,
    Vijay.

    Hello,
    Note 327614 and 385019 might help troubleshoot your issue
    Kind regards
    Sarah

  • Description for value help field for custom infotype field

    Hi,
       I`ve got to include a field in custom infotype. This field has got a value help attached to it. The values to be displayed in the value help are stored in the domain of the field(in the dictionary).
    The requirement is that once I select a value from the F4 help, the description for that value should be fetched and be dispalyed on the screen.
      I`m using the FM "<b>AM_READ_TEXT_ON_DOMAIN_VALUE</b>" to read the description from the domain ,but unable to make it display it on the screen.
      Can anyone suggest me as what should I do for displaying the description in the custom infotype screen.
    Regards,
    Farhana

    Hi anji,
       While using the "GET_DOMAIN_VALUES", I do get all the values from the domain. But I want only description to be displayed when I select a Value for that field.Kindly help out..
    Eg:
    1-Individual
    2-Family
    Then the description should be displayed as Family when I select the value 2 from the value help.
    Regards,
    Farhana.

  • Transfer control back to calling program from infotype screen

    i've developed a module pool program that uses 'call transaction pa30'BDC  to an custom infotype screen... after the 'save' button is pressed the control goes to the infotypes initial screen.
    but i want the control to come back to the calling module pool program.. how do i do that??

    Hi Joseph,
    have you considered using function module HR_INFOTYPE_OPERATION with parameter DIALOG_MODE = '2' instead of CALL TRANSACTION?
    Regards,
    Christian.

  • Custom Infotype - Using Table control in the screen.  IN OM

    Hi,
    I am having a requriement where in I need to create a custom infotype using table control in the screen. I have to create this in OM and I am using PPCI transaction to create the info type. I am able to create the infotype with fields but not table control. Please let me know if any one of you came across and help me with the process I need to follow.
    Thanks in advance.
    Venkat.

    Hello,
    After you create the info type throug PPCi, you can directly go to the Sceen module program created automatically while creating Info type and edit the screen.
    activate it after your changes.
    Regards,
    Srujan.

  • TS1368 HELP!!! After upgrading to IOS 6.13 my IPAD Stucks in a plug-in screen and the Itunes. When i Try to connect to iTUNES pop-up message apear "iTunes has detected an iPad in recovery mode.. You must restore this iPad before it can be used with iTunes

    I have windows 8 enterprise OS and iTunes ver. 10.5.0.142. I was upgrading my iPad to IOS 6.1.3. After finishing the upgrade my iPad Reboot and currently stucked-up in a plug-in screen and iTunes Logo. When I try to connect it to the iTunes pop-up message appear saying " iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes." In short, I push the restore button then another pop-up message appear saying " The iPad software update server could not be contacted. Make sure your network settings are correct and your network connection is active, or try again later." I tried many ways but still no luck. I repeatedly reboot the iPad and open the iTunes still the same problem. I try also to uninstall the iTunes and installed the lower version but still the same problem, I even check the firewall if the ITunes was block or My privileges is administrator to run the iTunes or even reset my winsock but the problem still remain. PLEASE HELP! Thank you in advance!!!

    Turn off your firewall and antivirus software.

  • Customizing request screen not popping up while saving

    Hi
    I have created a company and saved. but while saving no customizing request screen popped up.
    Does any one know the reason behind it and also let me know if any settings to be done to get the customizing request screen pop up.
    with regards
    Ramesh Y

    Hi Eli,
    Thanks for quick reqply but when I tried to access the Tcode SCC4 it throws an error as below
    Transaction SCC4 is locked (in Transaction SM01) &
    when I tried to access the Tcode SM01 it throws an error as below
    Transaction SM01 is locked (in Transaction SM01)
    is there any way I can check this and activate the same.
    Ramesh Y

  • How to add fields in custom infotype and update its screens

    Hi Experts
        I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release.   is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fields

    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype

Maybe you are looking for

  • How do I save a snapshot from a video in iphoto

    when taking pics with my digital camera I inadvertently recorded a short video. I'd like to cut out a picture from that, I've isolated the frame, but don't see how to make it into a snapshot that I could then edit and use as a picture. Any ideas? Tha

  • Which Macbook Pro should I purchase? I'm thinking the non-Retina 13" with 2.9GHZ and 128GB SSD...

    I am looking to purchase a new laptop in the near future but I am not sure which configurations--specifically relating to speed and memory--I should choose. As of now I am thinking about this: 13" non Retina Macbook Pro 2.9GHz Dual-core Intel Core i7

  • Device type for printer types

    Hello, Could you please tell me the device type for these 2 SAP printer types: HP Color Laserjet CP1515n Triumph adler DC 2218 I searched for these, but without any success. Thank you for your help in advance, Noemi

  • Kernal panics after installing AIRPORT EXTREME PCI 54M WIFI CARD

    hi all - after reading around the forums - i bought this off ebay AIRPORT EXTREME PCI 54M WIFI CARD /APPLE POWERMAC G3&G4 http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWNX:IT&item=37 0157697386#ht1341wt892 but when i boot up i all

  • ITunes cutting song length

    I am extremely frustrated with this, and it seems like many other people are having the exact same problem. First of all, I do not have crossfade turned on. The lengths of random songs in my iTunes library somehow get shortened, and these shorter ver