Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
After you select your data from FEBKO into your WA* variables, you need to move those variables to your parameters. Move: wa_aznum to XXXX, Wa_ssbtr to yyyyy.
| | | ---------------Original Message--------------- From: immersap Sent: Thursday, December 30, 2010 12:19 PM Subject: Assign default values from a table to a Parameter Thank`s to both for your fast answer. Never worked with initialization event`s cause I think I`m sth. in between a newbie and a not anymore-newbie :-) I did as you told me, and when I debug it, the values are correct. But the values are not shown in the PARAMETERS!?!? Here`s the "new" coding: INITIALIZATION SELECT SINGLE aznum Max( kukey ) FROM febko INTO wa_aznum WHERE absnd = '76050101 4418203' GROUP BY aznum. SELECT SINGLE ssbtr Max( kukey ) FROM febko INTO wa_ssbtr WHERE absnd = '76050101 4418203' GROUP BY ssbtr. selection-screen begin of block 1. parameters: p_file type string default 'C:\Dokumente und Einstellungen\...', pc_upl LIKE rfpdo1-febpcupld default 'X', z_file type string default 'C:\Dokumente und Einstellungen\...', ausz_nr type i DEFAULT wa_aznum-wa_aznum...<<<< as I said: In the debugger you can see the correct values, but the don`t show on the screen even though I changed the variables into the same Types ( febko-kukey)!?!?! Any ideas??? | | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | robphelan SAP ABAP Enthusiast
Contributed 100 posts in a group to earn a Bronze Achievement Most Popular White Papers In the Spotlight _.____.__ |