01-16-2006 11:11 AM
hi ,friend ,i am taking matnr vaue from user and check the value of matnr coming from flat file ,if both are same then i want to skip the row ,but whern i use skip_record it is just replacing the vaue of matnr by'/'in allthe recoreds ,not escaping that par row.
i want some sugg .
thanks
01-16-2006 11:15 AM
If you are processing the matnr values in an internal table, use keyword CONTINUE to go to the next record.
IF ITAB-MATNR = <MATNR_FROM_FLAT_FILE>
CONTINUE.
ENDIF.
01-16-2006 11:15 AM
If you are processing the matnr values in an internal table, use keyword CONTINUE to go to the next record.
IF ITAB-MATNR = <MATNR_FROM_FLAT_FILE>
CONTINUE.
ENDIF.
01-16-2006 11:22 AM
01-16-2006 11:23 AM
hi Andreas,
the code let i am wr.
p_in ;value in flat flie.
w_matnr the value i have given.
if p_in = w_matnr.
skip_record.
endif.
matnr mbrsh mtart
/ s 03
/ p 04
it is doing in this way but i want if matnr is 20 in flat file and the value i have given match , it should take that row ,but it is taking olny by replacing the value of matnr by '/'
01-16-2006 11:49 AM
hello sir, i want say ,suppose the value of matnr coming form flat file is same as my given value ,it should skip that row ,and move to next row,
if i am using the skip_record,it is not skipping ,it is just replacing the valuie of matnr by '/'.
01-16-2006 1:54 PM
01-16-2006 4:43 PM
In your field mapping, double click on begin_of_transaction and put your logic there and use skip transaction(assuming one record from your file will result in one transaction).
Srinivas