We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: RE:[sap-abap] Assign default values from a table to a Parameter

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by robphelan (Lead SAP Specialist)
on Dec 30 at 2:07 PM
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
Mark as helpful
View this online
  
robphelan
SAP ABAP Enthusiast

Contributed 100 posts in a group to earn a Bronze Achievement
Most Popular White Papers

In the Spotlight
Which response to your Toolbox.com Groups post was the most helpful? Use 'Best Answer' to mark highest quality content.
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language