2007 Jun 11 8:30 AM
Hi
Is is possible to add two fields during a inner join select.
I want to add ( dndabj + dndabp ) and ( dkansw + dknafa ) into one field.
SELECT a~anln1 a~anln2 a~bukrs a~txt50 a~aktiv a~zugdt a~deakt
b~kostl
c~ndjar c~afabe c~schrw
d~ndabj d~ndabp d~kansw d~knafa d~answl d~nafag d~gjahr
INTO TABLE wa_outtab
2007 Jun 11 8:45 AM
Hi,
You cannot do that. You need to populate each field into corresponding internal table field and then do your calculation on the internal table.
Thanks and regards,
S. Chandra Mouli,
Hi
Is is possible to add two fields during a inner join select.
I want to add ( dndabj + dndabp ) and ( dkansw + dknafa ) into one field.
SELECT a~anln1 a~anln2 a~bukrs a~txt50 a~aktiv a~zugdt a~deakt
b~kostl
c~ndjar c~afabe c~schrw
d~ndabj d~ndabp d~kansw d~knafa d~answl d~nafag d~gjahr
INTO TABLE wa_outtab
2007 Jun 11 8:45 AM
Hi,
You cannot do that. You need to populate each field into corresponding internal table field and then do your calculation on the internal table.
Thanks and regards,
S. Chandra Mouli,
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |