‎2006 Nov 03 11:35 AM
hi to all,
plz help me in this issue,
iam having values in the internal table and using write _form to populate the values, but they r not populating
my internal table is some ex it_int and i used &it_int-sno& like this to populate in the output but it is not happening. and iam giveing same text elements.plz help e in this issue.
this i am using in a alv report program i tried using in separate program then i am getting values.
thanks in advance
kiran kumar
Message was edited by: kiran kumar
Message was edited by: kiran kumar
‎2006 Nov 03 11:37 AM
rite process...
go to debugging mode and check the value in internal table and also debugg the script and try to analys y it is not coming...?
‎2006 Nov 03 11:38 AM
Hi kiran,
i think in Program you use <b>it_intand</b> and in script &<b>it_int</b>-sno&?
maybe thats the problem.
regards, Dieter
‎2006 Nov 03 11:55 AM
hi kiran ,
in ur <b>driver program</b>
let it be
<b>it_intand</b>
<b> LOOP AT it_intand. "<----
u r error is here ..
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ZXX'
EXCEPTIONS
OTHERS = 1.
endloop.</b>
in the script
give it as <b>&it_intand-sno&</b>
just maintian this ..
regards,
VIjay
Message was edited by: Vijay
‎2006 Nov 03 12:09 PM
hi
good
have you debug your sapscript ? if no than check it and see wheather the value is passing properly from the driver program to your form.
if yes than check the values you r selecting through the select statement and the value you r printing in the sap script form,
the way you have select the value in the select statement should be same with the value that you r printing in your sap script form otherwise it wont print.
thanks
mrutyun^
‎2006 Nov 03 1:53 PM
hi,
help me in this issue.
loop at it_int
call function 'write_form'
--
--
endloop
i am using like this i am seeing values in internal table
it_int but in ouput i am not able to get values.
i am using this in alv report i tried writing in separate program then i am able to get values
thanks in advance
Thanks and regards
kiran kumar
‎2006 Nov 03 2:33 PM
Hi kiran,
can you show thoe whole WRITE_FORM
and the line in SAPSCRIPT.
Have you used the debugger.
Regards, Dieter
‎2006 Nov 03 4:09 PM
hi dieter,
LOOP AT IT_INSTL01.
SELECT SINGLE NETDT FROM ZFI_CUS_DETAILS INTO L_NETDT
WHERE ZSTATEMENTNO EQ IT_INSTL01-ZSTATEMENTNO
AND BELNR EQ IT_INSTL01-DOC_NOS.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = '300'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
ENDLOOP.
iam not getting values in the script output iam having values in internal table.
thanks and regards
kiran kumar
‎2006 Nov 03 12:25 PM
Hi kiran ,
just keep ur internal table
both in the driver as well as form with the same name .
if its it_intand in ur driver program
then u will be doing
loop at <b>it_intand</b>.
call function 'WRITE_FORM'.
element = 'ZXXX'
endloop.
so in script it should be
/e ZXXX -->red color text
<b>x</b> | &it_intand-sno&
<b>
x-paragraph format</b>
check 1. form is active .
2.
check whether the element is same what u r passing in the driver program .
3
open form and close form in ur driver program.
regards,
Vijay.