‎2010 Oct 14 10:22 PM
Guys.
I'm trying to read some of the values from a particular column in an ALV table in transaction MD04. I'm using the loop to read the first 5 rows within the Do loop. I have changed the ID element within the loop as below to read the
do 5.
GETGUI ( MD04_710_STEP_42 ).
log ( getval ) .
enddo.
I have changed the GUI Element ID as below in the above GETGUI recording and capture that value in a local variable getval.
'wnd[0]/usr/subINCLUDE1XX:SAPMM61R:0750/tblSAPMM61RTC_EZ/txtMDEZ-EXTRA [ 5, &LPC ]'
But it does return only empty though in the alv table in the screen it has values. if I hard coded the number 1 or 2 or 3 etc., in the above field it does retrieve the correct values from ALV table. But If I give the &LPC or any other local variable for iteration it returns empty.
Not sure how to read the values within the loop by changing the GUI ID dynamically.
Appreciate your inputs.
thanks
Venkat
Edited by: Venkat on Oct 14, 2010 11:25 PM
‎2010 Oct 15 7:18 PM
I have figured out this on how to change the ID names of the GUIELEMENT with the help of SAP help document as below.
http://help.sap.com/saphelp_nwpi71/helpdata/en/49/6d3d78e0221ec6e10000000a42189b/frameset.htm
The above link for very useful.
I consider this issue has been resolved.
thanks
Venkat