on 05-19-2011 11:45 AM
Hi Experts,
Im my requirment i have to capture Delivery Number value from input output field and it should be passed to a functiom module which is called through a service call. i know that we can capture the value using get_attribute and it will be stored in a varaible.
but exactly my problem is when am using this value in FM its throughing an Error that 'Variable' is unknow.
how to solve this any hint.
Thanks,
Sandy.
Hi Sandy,
First get that attribute value using get_atttribute and store in local variable.
For ex :
get single attribute
lo_el_pack_mat->get_attribute(
EXPORTING
name = `INT_HAND_UNIT`
IMPORTING
value = lv_var ).
and pass this value to FM..like
Calling BAPI_HU_DELETE_FROM_DEL
CALL FUNCTION 'BAPI_HU_DELETE_FROM_DEL'
EXPORTING
DELIVERY = lv_var // Ensure that this delivery value and lv_var value is of same type.
HUKEY = HUKEY
TABLES
RETURN = Return1.
Hope it helps..
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.