Application Development 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: 

"AT END OF " Problem.

vallamuthu_madheswaran2
Active Contributor
0 Kudos

Hi,

i'm having a problem in "end at".

end at syntax is AT END OF FIELD.

i want AT END OF FIELD1 FIELD2.

is it possible? if it is not possible then what is the solution?

Thanks & Regards,

Vallamuthu.M

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

is it not possible to have two fields with AT END OF the possible way is to give

AT END OF FIELD2.

the following statement considers all the left justified fields from field2 .

so, authomatically field1 & field2 are taken into account.

i hope u got the concept..

thanks

ravi

8 REPLIES 8

Former Member
0 Kudos

Hi There,

Could you please write down how your internal table looks like?

Former Member
0 Kudos

Hi,

It is not possible instead you can do this way..

AT END OF FIELD1.

ENDAT

AT END OF FIELD2.

ENDAT

Former Member
0 Kudos

Hi,

is it not possible to have two fields with AT END OF the possible way is to give

AT END OF FIELD2.

the following statement considers all the left justified fields from field2 .

so, authomatically field1 & field2 are taken into account.

i hope u got the concept..

thanks

ravi

Former Member
0 Kudos

Keep more varying field inside.

if f1 is changing more frequently then f2. then place f2 as ist field and f1 as 2nd field.

and use only at end of field1.

use it as

AT NEW F1

 endat.

AT new F2.

End at.


at end of f2.

end at.

at end of f1.

end at.

Edited by: tahir naqqash on Mar 11, 2009 4:02 PM

Former Member
0 Kudos

Hi,

U want to check the condition for both the fields.

Then u can give the second field (Like field 2)

If Field1 or field2 changes then the condition inside will be triggered.

Thanks,

Nithya

Former Member

0 Kudos

Hi,

Could you please explain your problem in more detail...

I mean the structure of your internal table, and the AT END OF (what are all the field names) you need.

Because the solutions may go wrong, when exact problem is unknown.

Best Regards,

Suresh

UdayS
Participant
0 Kudos

Hello Vallamuthu.M,

I am not sure whether you tried with this code or not, but i guess it has to work in your case.

At End of : Field1, Field2.

...............

.......... (Code lines)

Endat.

Endat.

The no of ENDAT's depends on the no of fields you are using at the starting.

Thanks & regards,

Uday S.