2007 Nov 28 6:24 AM
Hi all,
Am working on a ABAP report - customer receivable agewise report. I want to fetch ZTERM & SUMZA from a structure RF42B...How should i work on the program to acheive this.
Urgent!
Regards,
Asha.
This message was moderated.
2007 Nov 28 6:25 AM
2007 Nov 28 6:32 AM
hii
I can get ZTERM from knvv but how can i get SUMZA ??
Regards
asha
2007 Nov 28 6:45 AM
2007 Nov 28 6:51 AM
2007 Nov 28 6:28 AM
2007 Nov 28 6:31 AM
HI
The structure will not have any data..It is a just a template..You need to select the data from the database table
The structure will only have data if it has been loaded elsewhere, such as if the structure was populated by a function call or BAPI.
If not, you will have to load data into the structure using SQL Select or by calling the approriate function call/method/BAPI etc.
If the structure already has data, you access that data by referencing the structure name and the component
e.g.
w_field = struct-field1.
This will load the value of the component field "field1" in structure "struct" into a separate work field "w_field".
This is how you refer to components of a structure.
structure_name-component_name
Consequently, you should not use a dash "-" in the name of a field or structure. If you need to separate words in the name use an underscore "_".
If you do attempt to use the dash "-" in the name of a field or structure in a Unicode program, you will get a warning message.
2014 Aug 21 7:09 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |