2008 Mar 04 3:12 PM
my train_no is of type char.even if f2 contains 3 and itab_train1-train_no is 3 on clicking at train_No my inner if does not become true.why is it so?
AT LINE-SELECTION.
IF SY-LSIND = 1.
GET CURSOR FIELD F1 VALUE F2.
IF F2 = ITAB_TRAIN1-TRAIN_NO.
CALL TRANSACTION 'Z98477_MOCK5'.
ELSE.
MESSAGE I002(Z77_MESSAGE).
ENDIF.
ENDIF.
2008 Mar 05 3:30 AM
Hi,
IF F2 = 3 and ITAB_TRAIN1-TRAIN_NO = 3....it ll surely go into the inner IF..........
Put a session break-point on dat IF line and debugg....check de values of F2 and ITAB_TRAIN1-TRAIN_NO.......
U must use either READ TABLE or LOOP AT statements to read ITAB_TRAIN1 tables records...
Cheers,
jose.
Hi,
IF F2 = 3 and ITAB_TRAIN1-TRAIN_NO = 3....it ll surely go into the inner IF..........
Put a session break-point on dat IF line and debugg....check de values of F2 and ITAB_TRAIN1-TRAIN_NO.......
U must use either READ TABLE or LOOP AT statements to read ITAB_TRAIN1 tables records...
Cheers,
jose.
2008 Mar 05 3:30 AM
Hi,
IF F2 = 3 and ITAB_TRAIN1-TRAIN_NO = 3....it ll surely go into the inner IF..........
Put a session break-point on dat IF line and debugg....check de values of F2 and ITAB_TRAIN1-TRAIN_NO.......
U must use either READ TABLE or LOOP AT statements to read ITAB_TRAIN1 tables records...
Cheers,
jose.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |