on 01-24-2007 6:53 PM
Hi ABAP Gurus,
To get the sold to party address i did the following.
in the program lines i witten the following code.
data: l_t001 like t001.
clear gv_adrs ( a global variable of type addres)
select single adrnr from t001 into gv_adrs
where bukrs = zxekko-bukrs.
and passed this &gv_adrs& to the address field's address number.
activated the form and executed from the ME9K , getting spool request error.
what does it mean
Please kindly help me out.
Thanks,
Praveen
Edited by: Vijay Babu Dudla on Jan 21, 2009 3:56 AM
Hi Praveen,
The error is coming because address is not getting filled.
You need to add this code for address number after select statement:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = gv_adrs
IMPORTING
output = gv_adrs.
And add sy-subrc check also in smartform after select statement.
select single adrnr from t001 into gv_adrs
where bukrs = zxekko-bukrs.
If sy-subrc <> 0.
clear gv_adrs.
endif.
Ashven
Edited by: Vijay Babu Dudla on Jan 21, 2009 3:56 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
is that not ekpo-adrnr
and after that u pick value from adrc table entries passing ekpo-adrnr .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.