2007 Oct 04 3:06 PM
SET PARAMETER ID 'VRT' FIELD tb_final-ebeln.
CALL TRANSACTION 'ME33K' .
the report is going to the transaction but the value of parameter id is not going
2007 Oct 04 3:17 PM
hi,
use
SET PARAMETER ID 'CTR' FIELD tb_final-ebeln.
you will get it.
thanks
SET PARAMETER ID 'VRT' FIELD tb_final-ebeln.
CALL TRANSACTION 'ME33K' .
the report is going to the transaction but the value of parameter id is not going
2007 Oct 04 3:13 PM
Try the following coding instead:
perform show_contract using detail_data_wa-ebeln.
...
form show_contract using iv_ebeln type ebeln.
data: lt_bdcdata type table of bdcdata,
ls_bdcdata like line of lt_bdcdata.
clear ls_bdcdata.
ls_bdcdata-program = 'SAPMM06E'.
ls_bdcdata-dynpro = '0205'.
ls_bdcdata-dynbegin = 'X'.
append ls_bdcdata to lt_bdcdata.
clear ls_bdcdata.
ls_bdcdata-fnam = 'RM06E-EVRTN'.
ls_bdcdata-fval = iv_ebeln.
append ls_bdcdata to lt_bdcdata.
clear ls_bdcdata.
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '='.
append ls_bdcdata to lt_bdcdata.
call transaction 'ME33K' using lt_bdcdata mode 'E'.
endform.
Or
Try in this way.
IF SELFIELD-SEL_TAB_FIELD = 'IT_FINAL-VBELN'.
READ TABLE IT_FINAL INDEX SELFIELD-TABINDEX
TRANSPORTING VBELN.
IF SY-SUBRC = 0.
SET PARAMETER ID 'VL' FIELD IT_FINAL-VBELN.
ENDIF.
CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
ENDIF.
Please give me reward points
regards
Murali Poli
2007 Oct 04 3:14 PM
Before the call to the transactions, check that tb_final-ebeln has a valid value.
Rob
2007 Oct 04 3:17 PM
hi,
use
SET PARAMETER ID 'CTR' FIELD tb_final-ebeln.
you will get it.
thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |