2007 Apr 05 5:15 AM
Hi experts,
I have one problem , please give us proper guideline.
I have one ztablee with fields .
bukrs ztable zfield description
the records in the field is
e200 bkpf bktxt some text field
e200 bseg zbdt some text field
like that ....
i want information if some one change the any fields in standard tables , if that table and field exist in ztable as a record i want that records from standard tables and i havee to put in a another internal table .
Please let me how can i solve this problem
Regards
Ajay pandey
Hi experts,
I have one problem , please give us proper guideline.
I have one ztablee with fields .
bukrs ztable zfield description
the records in the field is
e200 bkpf bktxt some text field
e200 bseg zbdt some text field
like that ....
i want information if some one change the any fields in standard tables , if that table and field exist in ztable as a record i want that records from standard tables and i havee to put in a another internal table .
Please let me how can i solve this problem
Regards
Ajay pandey
2007 Apr 05 5:20 AM
Hi,
Please make the question clear.did not understand what u want to do.
Rgds,
Prajith
2007 Apr 05 5:27 AM
Hi I want if any body change any standard table records if that table with that field exist in the z table as a record i want that changed records from standards table .
ex if any one change bktxt field from standard table bkpf . i wantt that change records and i have o put in another z table
Regards
Ajay pandey
2007 Apr 05 5:33 AM
U want whether the FIELD changed or not or the RECORDS
belongs to that field??
2007 Apr 05 5:24 AM
Hi..
follow thse steps:
1. <b>select ztable zfield
from ztable
into itab.
*********selecting all the tables with ZTABLE tables.
2. select tabname fieldname
from dd03l
into gtab
for all entries of itab
where tabname = itab-ztable.
**Now,gtab is having TABLE and ALL FIELDS in that table
3.loop at gtab.
read table itab with key zfield = fieldname.
if sy-subrc <> 0. " Field was Changed...
**select all fields in dbase chose what u want.
else.
field was not modified.
endif.
endloop.</b>
try with this logic and modify it according to ur require ment.
Message was edited by:
Rammohan Nagam
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |