Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding know the field name changes .

Former Member
0 Likes
609

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

4 REPLIES 4
Read only

Former Member
0 Likes
578

Hi,

Please make the question clear.did not understand what u want to do.

Rgds,

Prajith

Read only

0 Likes
578

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

Read only

0 Likes
578

U want whether the FIELD changed or not or the RECORDS

belongs to that field??

Read only

Former Member
0 Likes
578

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