Hi to all,
I developed the ALV Report, In this Report i am getting two Problems that i am not getting
Problems are..
1) select EKKO~BSART
EKKO~LIFNR
LFA1~NAME1
ekpo~TXZ01 <<<<<----
getting runtime error here
EKKO~BEDAT
EKPO~EBELP
EKPO~MENGE
EKPO~NETPR
into TABLE IT_TAB FROM ekko INNER JOIN ekpo on ekkoebeln = ekpoebeln inner join LFA1 on ekkolifnr = lfa1lifnr where ekko~lifnr in S_LIFNR .
The above code is working properly ,when ever i am adding ekpo~TXZ01 this field i am getting the runtime error.
And second one is
2) I have to add the Total price....
for that i searched in the forums then i got wa_FIELDCAT-do_sum(1) = 'X'. this will help for the grand total.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'NETPR'.
"WA_FIELDCAT-NO_OUT = 'X'.
wa_FIELDCAT-do_sum(1) = 'X'.
WA_FIELDCAT-SELTEXT_M = 'Net Price'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
with this report is executing normally ,what is happing exactly is i am getting the out put ,in that out put when i am going down to see the sum suddenly i am getting the Rnu time error ,that i am not getting.
Hope i am clear.