07-31-2007 9:14 AM
Deal All
I need a help in user_exit. In pa30 plz type infotype "0028" and subtype "001" and press "NEW" . In the screen you can see some text fields and below you can see a table control also. In this if user enters a value for 'Heihgt' in the 'Specific' column i should get "CM" automatically. Like that for weight also. If it is a text field the ordinary method will work.I mean we can pass the value to that structure, it will work easily. But this is a table control field so the stored value in innnn is not coming into the screen-field. Plz try to help. This is bit urgent for me..
Thanks In Advance
07-31-2007 9:36 AM
Hi biju,
1. The user exit is PBAS0001
2. If u notice PA0028 table, or the structure P0028,
u will notice there is a REPEAT STRUCTURE.
ie. <b>For every row of table control,
there is a BUNCH of 5 fields</b>
SBJ01 Examination area
JNF01 Yes/No field for internal medical service
NMF01 Value
DTF01 Examination date
WTF01 Proficiency
which are repeated 30 times.
3. Hence, in the logic we have to write code for
looping thru the repeat structure
(we can use DO.. VARYING syntax, just see f1 help on this syntax)
4. So if u put the value in the strucutre of the exit,
it will come.
<b> (This is similar to infotype 0008 which also has table control)</b>
regards,
amit m.
07-31-2007 9:30 AM
07-31-2007 9:36 AM
Hi biju,
1. The user exit is PBAS0001
2. If u notice PA0028 table, or the structure P0028,
u will notice there is a REPEAT STRUCTURE.
ie. <b>For every row of table control,
there is a BUNCH of 5 fields</b>
SBJ01 Examination area
JNF01 Yes/No field for internal medical service
NMF01 Value
DTF01 Examination date
WTF01 Proficiency
which are repeated 30 times.
3. Hence, in the logic we have to write code for
looping thru the repeat structure
(we can use DO.. VARYING syntax, just see f1 help on this syntax)
4. So if u put the value in the strucutre of the exit,
it will come.
<b> (This is similar to infotype 0008 which also has table control)</b>
regards,
amit m.
07-31-2007 12:17 PM
Dear Amit
Thanks For Your support. We tried our best to do this.What you told is correct, we are getting value in structure innnn. But the value is not coming into the table-control field. Our doubt is how to pass the innnn-data1(here we are getting value 'CM') value into table-control field. If you can give the sample code i will be greatfull.
Thanks
Biju