2015 Jan 21 5:56 AM
hi all,
i am creating module pool program with subscreen. two screen creation for one ztable.
first screen having 5 fields. Is a single entry screen
second screen having 10 fields(in that 5 is same as first screen) . Is a Table control with 10 lines.
once give entry to first screen and press display pushbutton,data of that 5 field move to second screen corresponding fields of all lines.
but it is moving only to the first line. not for all lines.
for that i did DO and ENDDO. So now it is coming for all lines of secondscreen.
now i giving entry to second screen remaining fields(10 lines), but only last line entry only getting updating into ztable.
other line entries are not updated in ztable .
how to slove this.
regards,
S.kavitha
2015 Jan 21 6:01 AM
Hi Kavitha,
Can you check the Key Combination (Composite Key) of your Z Table?
May be whatever the records your are trying to upload, due to key combination, final records / lines information is only coming after all process.
Regards.
Praveer.
2015 Jan 21 6:36 AM
HI sir,
first screen 5 field is a primary key, bcoz of that it is not Accepting? right.
in that 5 field one is like counter field,
i.e.,
3961 01 10001 2015 20.01.2015
3961 02 10001 2015 20.01.2015
3961 03 10001 2015 20.01.2015
3961 04 10001 2015 20.01.2015
like this. whether problem is bcoz of duplicate entries ? is my question is correct
regards,
s.kavitha
2015 Jan 21 6:42 AM
Hi kavitha,
If the above 5 fields are primary key combination, so based on the Count field, the records would be unique.
If the same Information are updating into the another Table Control (Which is having 10 Fields),
then check 2nd table control is contains the right information.
Like Below.
1. Table Control.
3961 01 10001 2015 20.01.2015
3961 02 10001 2015 20.01.2015
3961 03 10001 2015 20.01.2015
3961 04 10001 2015 20.01.2015
2, Table Control.
3961 01 10001 2015 20.01.2015 X X X X X
3961 02 10001 2015 20.01.2015 X X X x X
3961 03 10001 2015 20.01.2015 X ......
3961 04 10001 2015 20.01.2015 ....
Regards.
Praveer