2006 Sep 25 7:21 AM
Hi All,
Want to pass numeric value through 'counter', but it not taking numeric value, problem with quotes, please provide correct code .
data: counter type i.
counter = 1.
perform bdc_field using 'BDC_CURSOR'
'RF05L-ANZDT('"counter"')'.
Thanks
jog
Hi All,
Want to pass numeric value through 'counter', but it not taking numeric value, problem with quotes, please provide correct code .
data: counter type i.
counter = 1.
perform bdc_field using 'BDC_CURSOR'
'RF05L-ANZDT('"counter"')'.
Thanks
jog
2006 Sep 25 7:25 AM
<b>data: counter type c.
counter = 1.
perform bdc_field using 'BDC_CURSOR'
'RF05L-ANZDT('counter')'.</b>
ex--
loop at itab.
IDX TYPE C.
MOVE 1 TO IDX.
LOOP AT IT_BANK WHERE LIFNR = IT_XK01-LIFNR.
CONCATENATE 'LFBK-BANKS(' IDX ')' INTO FNAM.
perform bdc_field using FNAM
IT_BANK-BANKS.
CONCATENATE 'LFBK-BANKL(' IDX ')' INTO FNAM.
perform bdc_field using FNAM
IT_BANK-BANKL.endloop.
Message was edited by: kishan negi
2006 Sep 25 7:26 AM
data :
counter type NUMC3,
ws_string TYPE string.
counter = '1'.
CONCATENATE ''RF05L-ANZDT(' counter ')' INTO ws_string.
perform bdc_field using 'BDC_CURSOR'
ws_string.
2006 Sep 25 7:34 AM
HI jog
why are you using 'RF05L-ANZDT' structure there
data: counter type i.
counter = 1.
perform bdc_field using 'BDC_CURSOR'
'counter'.
or else
data: counter type i.
data: c_counter(5) type c.
counter = 1.
move counter to c_counter
perform bdc_field using 'BDC_CURSOR'
'c_counter'.
Give points
thanks Naval
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |