2007 Aug 03 7:35 AM
Hi,
The BDC code works fine when the value(3) or any value is hard coded. But it is not working if I use 'RMQAM-AKTIV(p_insty)' where p_insty is the parameter value entered at selection screen. Please let me know how to pass this value.
perform screen using: 'SAPLQPLS' '0100'.
perform field using: 'RMQAM-AKTIV(3)' w1_aktiv,
'BDC_OKCODE' '=WEIT',
'RMQAM-AKTIV(3)' 'X'.
Regards,
bindazme
2007 Aug 03 7:40 AM
If u use like this, it will treat as a screen filed and will not work. Instead concatenate 'RMQAM-AKTIV(' p_insty ')' into v_field and use this field in bdc like
perform field using: v_field w1_aktiv,
Hi,
The BDC code works fine when the value(3) or any value is hard coded. But it is not working if I use 'RMQAM-AKTIV(p_insty)' where p_insty is the parameter value entered at selection screen. Please let me know how to pass this value.
perform screen using: 'SAPLQPLS' '0100'.
perform field using: 'RMQAM-AKTIV(3)' w1_aktiv,
'BDC_OKCODE' '=WEIT',
'RMQAM-AKTIV(3)' 'X'.
Regards,
bindazme
2007 Aug 03 7:40 AM
If u use like this, it will treat as a screen filed and will not work. Instead concatenate 'RMQAM-AKTIV(' p_insty ')' into v_field and use this field in bdc like
perform field using: v_field w1_aktiv,
2007 Aug 03 7:41 AM
Use this code instead.
data lv_field(30).
concatenate 'RMQAM-AKTIV(' p_insty ')' into lv_field.
perform screen using: 'SAPLQPLS' '0100'.
perform field using: lv_field w1_aktiv,
'BDC_OKCODE' '=WEIT',
lv_field 'X'.Please mark points if the solution was useful.
Regards,
Manoj
Message was edited by:
Manoj V Kumar
2007 Aug 03 7:41 AM
The number must be in the string.
data l_field(40) type c,
l_num(2) type c.
write p_insty to l_num left-justified.
concatenate 'RMQAM-AKTIV(' l_num ')' into l_field.
perform field using: l_field w1_aktiv,
Andrew
2007 Aug 03 7:25 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |