Reply from Juan_Tamad on May 11 at 5:45 AM Hi, To make things easier for you, you may opt to use the Dictionary in the screen painter. Check this out for your reference. http://www.saptechnical.com/Tutorials/ABAP/ScreenP ainter/Page2.htm
| | | ---------------Original Message--------------- From: Debbie Sent: Thursday, May 10, 2012 4:21 PM Subject: F4IF_INT_TABLE_VALUE_REQUEST Hi Did you ever notice that the things you thought were the easiest give you the biggest headache? I hope you can straighten this out: we have a program that calls a screen. There is a drop down on the company field to select company codes. The user wants the company code as well as the company description to display in the drop down. The following is the change I made to the code with my changes: TYPES: begin of tp_comp, bukrs type bukrs, *change add butxt type butxt, *change end end of tp_comp. Data: it_comp type standard table of tp_comp initial size 0, wa_comp type tp_comp. wa_comp-bukrs = '9800'. *change add select single butxt into wa_comp-butxt from t001 where bukrs eq '9800'. *change end. append wa_comp to it_comp. call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'BUKRS' dynpprog - 'ZFI_PU_REQ' dynpnr = '300' dynprofield = 'T_PUREQ-PLANT' value_org = 'S; Tables value_tab = it_comp : : After making this change, when I click on the drop down for the field I get the description (butxt) but not the comapny (9800). The table it_comp has both the company and the description in it? What am I doing wrong? Thank you for taking the time to read this. I really do appreciate all your help. Debbie | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |
No comments:
Post a Comment