Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HELP Urgent

Former Member
0 Likes
557

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
533

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

3 REPLIES 3
Read only

Former Member
0 Likes
533

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

Read only

Former Member
0 Likes
533

Before the call to the transactions, check that tb_final-ebeln has a valid value.

Rob

Read only

Former Member
0 Likes
534

hi,

use

SET PARAMETER ID 'CTR' FIELD tb_final-ebeln.

you will get it.

thanks