On F4 , POP up details  on screen,

hi all,
I have a senario where in i have a screen containing fields Po document(ebeln),and PO item (ebelp) no
other than that i have material no(matnr) ,supplier(lifnr) and transporter(lifnr) .
now the issue is , i have a text field by the name get podetails with an F4 option which is responsible to find all valid Po's with details and pop them up in a separate window from where the user is supposed to select one by double clicking and then Po doc no and PO item number would pop up in their respective fields.this functionality is basically for the purpose if the user doesn't remember the PO no at the moment of doing that transaction
I'm not able to proceed ,plz guide me with some samples.
thanks,
sachin soni

hi sachin,
for this u can use event called,
at selectio-screen on value-request for field.
here u can write select statement for po detais where po = firstfield-potext.
then u can pass u field and this itab to this function module name called F4IF_INT_TABLE_VALUE_REQUEST.
if its dailog screen use this function module to read screen fields 'dynp_values_read.
this is the sample code for this ,
data: begin of dynpfields occurs 3.
          include structure dynpread.
  data: end of dynpfields.
move 'ZPO_HEADER' to dynpfields-fieldname.
append dynpfields.
  move 'ZPO_HEADER-BUKRS' to dynpfields-fieldname.
  append dynpfields.
  call function 'DYNP_VALUES_READ'
    exporting
      dyname                         = sy-repid
      dynumb                         = sy-dynnr
  TRANSLATE_TO_UPPER             = ' '
  REQUEST                        = ' '
  PERFORM_CONVERSION_EXITS       = ' '
  PERFORM_INPUT_CONVERSION       = ' '
  DETERMINE_LOOP_INDEX           = ' '
    tables
      dynpfields                     = dynpfields
EXCEPTIONS
  INVALID_ABAPWORKAREA           = 1
  INVALID_DYNPROFIELD            = 2
  INVALID_DYNPRONAME             = 3
  INVALID_DYNPRONUMMER           = 4
  INVALID_REQUEST                = 5
  NO_FIELDDESCRIPTION            = 6
  INVALID_PARAMETER              = 7
  UNDEFIND_ERROR                 = 8
  DOUBLE_CONVERSION              = 9
  STEPL_NOT_FOUND                = 10
  OTHERS                         = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
  read table dynpfields index 1.
  zpo_header-bukrs = dynpfields-fieldvalue.
  refresh it_values.
  select ekorg ekotx from t024e into table it_values where
      bukrs = zpo_header-bukrs.
  if sy-subrc ne 0.
    message i019(zct) with zpo_header-bukrs.
    exit.
  endif.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
   DDIC_STRUCTURE         = 'ZPO_HEADER'
      retfield               = 'EKORG'
  PVALKEY                = ' '
      dynpprog               = sy-cprog
      dynpnr                 = sy-dynnr
      dynprofield            = 'ZPO_HEADER-P_ORG'
  STEPL                  = 0
  WINDOW_TITLE           =
  VALUE                  = ' '
      value_org              = 'S'
  MULTIPLE_CHOICE        = ' '
   DISPLAY                = 'F'
  CALLBACK_PROGRAM       = ' '
  CALLBACK_FORM          = ' '
  MARK_TAB               =
IMPORTING
  USER_RESET             =
    tables
      value_tab              = it_values
  FIELD_TAB              = IT_FIELD
     return_tab             = it_return
  DYNPFLD_MAPPING        =
EXCEPTIONS
  PARAMETER_ERROR        = 1
  NO_VALUES_FOUND        = 2
  OTHERS                 = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
check this demo report for this requirement,
'demo_selection_screen_f4'
regards,
seshu.
Message was edited by:
        maddipatla Seshu chowdary

Similar Messages

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • Pop up in standard screen

    Hi,
    I have a requirement which is as follows-
    User will create Order wherein he will give the
    Sales area customer details.
    Once he enters plant and hits enter, a popup should appear which will contain the appropriate storage location for that plant (maybe radio buttons).
    he will then select the actual storage loc.
    I want to know how can we have a pop up in standard screens.
    Please pour in your comments.
    Thanks in advance.
    Regards
    Megha

    Hi,
    Pop up can be implemented as a custom function module. You can use a standard pop up as reference which is SD_PARTNER_ADDRESS_DIALOG (you can check it in SE37; this is called from include LV09CF70)
    Develop a similar FM but with storage location and call this pop up function in user exit USEREXIT_CHECK_VBAP (include MV45AFZB). You can implement some code along the following lines.
    If <VBAP-WERKS not initial> and <any other condition for which pop up should be applicable>
          Call the pop up custom FM
           (This function module can provide a field storage location with drop down showing the values relevant for VBAP-WERKS)
          Whatever value user gives in the field, copy it to VBAP-LGORT.
    EndIf.
    Since this user exit is designed to execute everytime a user changes any field at item level, this is bound to give a pop up whenever user enters a plant.
    Cheers,
    KC

  • How can you get your music synced from iTunes to your iPod when a window pop ups on the screen saying"The iPod "Edward's iPod" cannot be synced. An unknown error occured (13019))?

    I had 429 songs already on my iPod Touch. When I was in the process of syncing a song from my iTunes Library on to my iPod, a window popped up on the screen saying, ""The iPod "Edward's iPod" cannot be synced. An unknown error occured (13019)). I click "Device" on my iTunes Library to make sure the song was in my iPod. It showed the song that was recently synced now listed under "Device", but when I physically looked for the song on my iPod Touch, it does not appear on there at all. It all started when I decided to put a Playlist I created in the iTunes Library and transferred it on to my iPod. Do you know why it may affected my syncing process and is there any way where I could get the syncing function back to normal so that I can continue adding songs on my iPod? Thank you for listening.    P.S. My iPod iOS version is 4.3.5.
    Message was edited by: edwardwashere

    Try here:
    iTunes: Error 13019 during sync

  • How do you get your ipod touch to make a noise when people text you and to pop up on the screen my friend did something to her ipod to do this but i dont know how please help!!!!!!!!!!!!!!!!!!!!!!!!!!! its like she updated it but i already tried it!!!!!!

    how do you get your ipod touch to make a noise when people text you and to pop up on the screen my friend did something to her ipod to do this but i dont know how please help!!!!!!!!!!!!!!!!!!!!!!!!!!! its like she updated it but i already tried it!!!!!!i am very confused and want my ipod touch 4g like that please help thxns:)

    Go to Settings>Notifications and turn alerts/sounds on for the app(s) in question.  Not all apps have all options.

  • I scanned documents to my macbook pro and it popped up on my screen so I know it was done correctly. I'vd saved as (pdf and jpg) and when I try to open in documents I can't. It shows it there but I can't open it...what do I do?

    I scanned documents to my Macbook Pro and it popped up on my screen so I know it scanned properly.  Then I did a "save as" and I tried as a pdf & a jpg and then when I go to my documents it won't allow me to open.  It shows it there but it is grey and not in bold black so when I click on it I can't open it.  I know nothing about computers so Help me please!!!!

    Repair permissions - http://docs.info.apple.com/article.html?artnum=25751 and restart your computer.

  • I have had my iPhone about 1 1/2 years...with no problems. About 2 days ago my battery drained within an hour, I plugged it in to charge and it heated up so hot the temperature warning popped up on the screen. The phone will not hold a charge now.

    I have had my iPhone 4 for about 1 1/2 years, with no problems. A couple days ago the battery drained in about an hour, I plugged it in to charge and it was not charging. After a few hours a message popped up on the screen about the temperature being too hot...the phone was very hot when I picked it up. The battery will not hold a charge and it heats up every time I plug it in. Suggestions???

    Make an appointment at the genius bar. An out of warranty replacement is $149.  It sounds like it may have gotten wet.

  • When I try to access Local Disk (C) a message pops up on my screen "access denied

    got a problem with my Laptop •Manufacturer: HP •Model :Compaq CQ58
    When I try to access Local Disk (C) a message pops up on my screen “access denied” when I view properties “used space 0 bytes” and “free space 0 bytes” drive c is shaded in blue completely. . .
    Homegroup won't allow me to make changes. Some of messages I came across is “Can't open access control editor” or “your system administrator has blocked you” I can save file on Local Disk (C) and I can't view anything from Local Disk C, I can't install softwares,
    when I try to troubleshoot problems it says Windows can not access C:\Windows\system32\msdt.exe and when I check diagnose it says ”a problem is preventing the troubleshooter from starting.
    I tried to refresh it to factory settings when I click get started “no action at all” even tried the options that says Remove everything and reinstall windows, still the was not action then I tried Advanced Start-up but still it didn't work. . . What can
    I do?

    1. Log in as a local administrator.
    2. Take the ownership of the C: driver.
    3. Add your ID in security and give full access.
    4. Change the NTFS permission back to normal.
    5. Reboot the computer.
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • HT201210 I just got a new iPhone 4 and the (-1) error keeps popping up on my screen as it is restoring filmware, what's wrong with it?

    I just got a new iPhone 4 and the (-1) error keeps popping up on my screen as it is restoring filmware, what's wrong with it?

    when you open the app store scroll down to the bottom it will display the apple id currently in use, change it to your normal apple id email

  • POP UP Window on screen - How

    How to invoke a Pop up window on screens.

    hi,
    try this.
    data : WF_RES type c.
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
                EXPORTING
                 DEFAULTOPTION        = 'N'
              TEXTLINE1            = 'Do you want to delete the record?'
    *           TEXTLINE2            = ' '
                  TITEL                = 'Delete Zone'
    *           START_COLUMN         = 25
    *           START_ROW            = 6
    *           CANCEL_DISPLAY       = 'X'
               IMPORTING
                 ANSWER               = WF_RES.
    if wf_res = 'J'.
    user selected 'YES'.
    else.
    user selected 'NO'.
    endif.
    Rgds
    anver

  • Mackeeper popped up on my screen.  Is this something I should use for my 5 year ould MacBook?

    MacKeeper popped up on my screen.  Is this something I should used for my 5 year ols MacBook?

    See below.
    https://discussions.apple.com/docs/DOC-3036

  • Add Columns to SNC - Order Forecast Details(Supplier) screen

    Dear All,
    I need to add two more columns in SNC - Order Forecast Details(Supplier) screen.
    I found many help to add key Figure to the screen, but need to add columns between Key Figure and Initial column.
    Request help for same.
    Thanks and Regards,
    Nitin

    Hi all,
    If some one want to add columns in SNC 7.1 screens,than following can help.
    SNC 7.1 screens has been developed using POWL ( Reusable component of ABAP WD ).
    In POWL there is a feeder class implementation . In feeder class ,there would be one method as 'Catalogue...".
    You can add column there & than in the main method of feeder class you have to provide data source for this
    new column.     It is the general approach that can be used in any screen in SNC 7.1.
    Regards
    Rahul

  • There is screen information of Airplay popping up on the screen every second minute. How do I get rid of this window? Everything is already connected

    There is screen information of Airplay popping up on the screen every second minute. It's stating: 1. Network Configuration: Connect to wifi network 2. Choose this Apple TV. However wifi is already connected and this apple tv has been chosen. How do I get rid of this window as everything is working already fine and everything is connected. Airplay and wifi are working already.

    Had this happen to me after a recent update, was super annoying.  To turn off, go to Settings > AirPlay > Conference Room Display > Off.

  • Countdown timers won't make sounds.  I have installed 3different ones and none of them alarm audibly...just a pop-up on the screen...anyone else have this issue?

    Countdown timer apps won't make sounds.  I have installed 3 different ones and none of them alarm audibly...just a pop-up on the screen...anyone else have this issue?  Any suggestions?

    I have my silent switch set to lock the rotation, but had already thought of that and unlocked it...stillnno sounds....
    Any other thoughts.  Where do you change the mute switch settings?

  • How to Additional Data Tab to HUMO detailed data screen and Update to VEKP

    Hi All,
    I have a requirement where I have to assign the Serial Number to Packaging Material of Handling Units. SAP standard allows to enter the Serial Numbers to the Materials of Delivery Item which is Non Packaging Materials.
    Now, I need to enter the Serial number to Handling Unit material and there is place to enter the serial number and I want to enhance the detailed data screen of HUMO transaction.
    Please help me how to do this. OR is there any SAP note which can be used to allow the serial numbers to Packaging Materials.
    Thanks,
    Prabhakara

    Solved.

Maybe you are looking for