on 10-30-2008 7:16 AM
Hi Abapers,
Am using <FS> in my smartform
it is using as Work area.
Bcoz my line item data Containing Amount and Quantity fields.
so when am not using <FS> i.e., if am declaring WA like <struc>
then its giving error message like Quantity does not exist.
when for is printing.
so thats why am using <FS> as my Work area.
when am looping my table data into <FS>.
for my main window table.
so when ever am having no line item data with respect to my Selection screen.
Then my line item internal table is empty in my driver program.
so when it comming to smartform <FS> is empty
then my form is going to Shortdump.
so how can i over come that it should not go to shortdump
even my line item data is not having records.
Pls give me any solution .....!
Thanks & Regards,
Rajeshk
Thanks for ur immd. response.
Actually am not having problem with Quantity and Currency fields.
My form is executing alright.
But ,
when ever am having no line item data with respect to my Selection Criteria.
Then my line item internal table is empty in my driver program.
so when it comming to smartform <FS> is empty
then my form is going to Shortdump.
I think you under stood my problm.
ThankQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In Global Definition, There is a tab called Currency/Quantity Fields, here you have to give your currency and quantity fields and under Reference fields you have to give the Standard Currency/Quantity field.
Regards,
VIshwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check while u are Declare the Amount filed as a CUR and
Quantity field as a QUN,
In Global definition..
Regards
swamy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.