on 06-25-2008 10:49 AM
Hi Experts,
I have to display total for komvd-kwert, i am writing subroutine for this, but total has not displying , please give me the detail code for total displaying. please do the need full help, it is very urgent
thanks in advance,
Radhakrishna
Hi
double click on the global definition in smartforms. and click on the calculation tab in this tab mention like this
-
-
-
target fieldname associatedtp
total tot(define this variable in globaldefinition) itab-kwert
-
afterloop
finally u can print the variable tot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
READ TABLE OUTT_COND WITH KEY NAME = VALUE2.
check the read statement condition (WITH KEY NAME = VALUE2).
Regards
Adil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
paste ur subroutine code here. Vl check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This my code for totals,
FORM F_GET_PRICE TABLES INT_COND STRUCTURE ITCSY OUTT_COND STRUCTURE
ITCSY.
STATICS: VALUE2 TYPE KWERT,
VALUE1 TYPE KWERT.
READ TABLE INT_COND WITH KEY NAME = 'KOMVD-KWERT'.
VALUE1 = INT_COND-VALUE.
VALUE2 = VALUE2 + VALUE1.
READ TABLE OUTT_COND WITH KEY NAME = VALUE2.
OUTT_COND-VALUE = VALUE2.
MODIFY OUTT_COND INDEX SY-TABIX.
ENDFORM.
i saw in debugging value2 adding the total but it is not reding in outt_cond, it is getting subrc = 4,
could u help me please.
PERFORM F_GET_PRICE IN PROGRAM ZZM0001R
USING &KOMVD-KWERT&
CHANGING &VALUE2&
ENDPERFORM
this is the calling routine to script form.
Regards,
Radhakrishna.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.