How to find page subtotal in tables in a smartform?
Hi All,
Can anyone please help me how to find the page subtotal of any field thats populated in a table in a smartform?
hi ,
for sub-totals create int.table and work area of type your required db.table and go through the below steps.
1. mention the field in <b>Sort Criteria</b> (you can find in DATA tab inTABLE)based on which you want subtotal for another field.And check the check-boxes Event on SortBegin,Event on SortEnd.
2.then you will get 2 nodes with name of the field u have given.before and after main area. for ex.NTGEW Event on SortBegin
NTGEW Event on SortEnd
( for example you want subtotal based on the weight-wise i.eNTGEW and you want to add cases delivered i.e.LFIMG)
3.pass the data to subtotal internal table from int.table which contains item data or from datadbase. in main area
4.below the <b>NTGEW Event on SortEnd</b> node create one <b>loop</b> and under the loop create <b>programlines</b> there you have to write coding for subtotal like in reports,
loop at it_sub into wa_sub.
at end of <f>
sum.
endloop.
and then create one <b>TEXT</b> and give the variable for ex. &wa_sub-lfimg&(which contains subtotal value)
5.and dont forget you should refresh the int.table of subtotal below the <b>NTGEW Event on SortBegin</b> node.
for <b>totals</b> simply mention in the calculation tab.
regards,
rajkumar.
Message was edited by:
rajkumar
Similar Messages
-
How to find the list of Tables....
Hi
How to find the list of Tables associated with When a Goods Issue is done for a Process Order ??
Kindly tell me step-by-step procedure in browsing it.
cheers
MaruthiRamHi
goto SE16 Click F4, You have two options Information system & Sap Applications.
Click on SAP Applications & selec the application you wnat to see, for E.g Purchasing you can click on materials managemnt, Purchasing if you drill down you will see the list of tables....
reward points if useful
Thanks & Regards
Kiran -
How to Find out the all tables in module wise ?
Dear Friends,
1.How to Find out the all tables in module wise ?
what are the total number of table in SAP ?
2. how to find out all existing functions in SAP ?
Thanks and regards,
Subasha Chandra Sahoo.Hi,
You will get the module wise list from:
http://www.sourceveda.com/SAPReference.htm
http://www.sourceveda.com/
Regards... -
H how to find if the psa table is included in psa deletion process chain
Hi all
can anybody tell me .
I have a psa table it's technical name is /BIC/B*
h how to find the above psa table is included in psa deletion process chain or not
please help meHi
Ope the PC in RSPC1 -->go to planning view of process chain
in left side you will find different types of process types.
under other BW process types folder -->you will find process type "Delete request from PSA"
drag this into your process chain planning view and customize it based on your requirements.
check the below article for step by step procedure
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Regards,
Venkatesh -
How to find the columns and tables used in a stored procedure?
Hi,
Can someone suggest how to find the columns and tables used within a stored procedure?
Thanks
VBKFor example:
SQL> create or replace
2 procedure p1
3 is
4 cnt number;
5 begin
6 select count(*) into cnt from emp;
7 end;
8 /
Procedure created.
SQL> select referenced_owner,
2 referenced_name
3 from dba_dependencies
4 where owner = 'SCOTT'
5 and name = 'P1'
6 and referenced_type = 'TABLE'
7 /
REFERENCED_OWNER REFERENCED_NAME
SCOTT EMP
SQL> SY. -
How to find the count of tables going for fts(full table scan in oracle 10g
HI
how to find the count of tables going for fts(full table scan) in oracle 10g
regardsHi,
Why do you want to 'find' those tables?
Do you want to 'avoid FTS' on those tables?
You provide little information here. (Perhaps you just migrated from 9i and having problems with certain queries now?)
FTS is sometimes the fastest way to retrieve data, and sometimes an index scan is.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:9422487749968
There's no 'FTS view' available, if you want to know what happens on your DB you need, like Anand already said, to trace sessions that 'worry you'. -
Hi,
How to find the average of table row values it should display in next row in libwindow/CVI
Please let me know the solution.There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to find last accessed/updated tables and the query text?
I am using :
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
How to find last accessed/updated tables and the query text?
Regards
LEE1212Check DBA_TBALES view there you find one date column that indicate last update
One option is as follows:
(1) Turn the auditing on: AUDIT_TRAIL = true in init.ora
(2) Restart the instance if its running.
(3) Audit the table:
AUDIT INSERT,SELECT,DELETE,UPDATE on TableName
by ACCESS WHENEVER SUCCESSFUL
(4) Get the desired information using :
SELECT OBJ_NAME,ACTION_NAME ,to_char(timestamp,'dd/mm/yyyy , HH:MM:SS')
from sys.dba_audit_object.
Cheer,
Virag Sharma
http://virag.sharma.googlepages.com/
http://viragsharma.blogspot.com/
Message was edited by:
virag_sh -
Hello,
How to find and remove obsolete table entries from below tables in EWM System.
/SAPAPO/MATKEY
/SAPAPO/MATMAP
/SAPAPO/MARM
/SAPAPO/MATLOC
/SAPAPO/MATMOD
/SAPAPO/MATRQ
/SAPAPO/MATLOTSZ
Thank you,
PravinPravin,
First, tell me how you determine that these entries are 'obsolete'.
Removing master data from SCM can usually be done using transaction WUF; however, you have to ensure that it is not re-sent to the SCM system, or you are just wasting your time.
Best Regards,
DB49 -
How to find the CRM related Tables form a Particular DataSource
Hi friends
<b>How to find the CRM related Tables form a Particular DataSource
of BusinessContent.</b>
ex: i had taken CRM - DataSource ........ 0CRM_LEAD_H (Lead Header Data)
for this DS i assign IS and extract data. But i want to Know from which
CRM tables it was comming.
ie ..I want to know the what tables linked to Datasource(0CRM_LEAD_H)
How it has to check?Just for your info, you can find as useful (for a methodology to solve this kind of issue) this weblog:
SAP BW and Business Content Datasources: in pursuit of the origins
Hope it helps!
Bye,
Roberto -
How to find relationship between database tables
Hi Mate,s.
Iam new to SAPBW , PLZ tell me , How to find releationship between database table(Transperent tables).
Regards.
harryhi harry,
from your previous postings, i guess you are asking relationship between tables in r/3, following links may help :
http://www.sapgenie.com/abap/tables.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sapgenie.com/abap/tables_fi.htm
http://www.sapgenie.com/abap/tables_ps.htm -
How to find max(time) from table using group by
how to find max(time) from table using group by
select var max(time)
from table
into (var1, time1)
where .....
group by var.
it is fetching record which is top in table.
if u can help?
regards.No this will fetch the maximum time from teh table.
select var max(time)
from table xxxx
into (var1, time1)
where .....
group by var.
Refer this code
TABLES SBOOK.
DATA: COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
DATA: CONNID LIKE SBOOK-CONNID.
SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
INTO (CONNID, COUNT, SUM, AVG)
FROM SBOOK
WHERE
CARRID = 'LH ' AND
FLDATE = '19950228'
GROUP BY CONNID.
WRITE: / CONNID, COUNT, SUM, AVG.
ENDSELECT. -
How can find database field and table name
how can find the underline database field name,table name from java page. Example. in oracle apps when we go purchaseing super user then supplier base then supplier and find supplier detail .
Hi,
depends on your model. If you work with ADF BC then you can use ViewLinks to access parent or detail infromation programmatically. See the developer guides for more information. Note that you wont access the tables directly but the collections that represent the records
Frank -
How-To Find the R/3 Table Name for a BW Data Source
Hi there,
Please advice how can I find the respective table name in R/3 for a particular BW DataSource ?
P/S : I would like a technical how-to instead of referring the table names at HELP.SAP.COM
For instance, for my Standard Business Content Info Cube 0CCA_C03(CO-OM-CCA: Statistical Key Figures) which extracts from BW Data Source: 0CO_OM_CCA_4
My question is, how can I find out which specific tables in SAP R/3 is this Data Source pulling the data from ?Hi Dinesh,
Data Source: 0CO_OM_CCA_4
1) In my R/3, I ran SE16 : Table -> ROOSOURCE
2) OLTPSOURCE -> 0CO_OM_CCA_4
3) EXMETHOD = F1
(Hence, I assume the Extraction Method is a Function Module)
4) So, Function Module = BWOM_RS_GET_CTRSTA
5) Run SE37 in R/3
How do I find out the specific tables in this Function Module ?
Would you please list them for me, so I can further refer to the individual tables ? -
How to find out name of table for a structure.
hello all,
I want to find out name of table for a structure ADDR1_DATA. can anybody pls tell me how to find out it?
Thanks,
AshuHi Ashu,
You write the structure name in se11
after selecting the database table radio button
click on the where used list button in the application tool bar.
You will find the table name if it is used else where.
Check out the website at:
http://sap-idoc2edi-consulting.com/
Read the blog at:
http://blogs.ittoolbox.com/sap/ehadzipetros
Regards,
Jagadish
Maybe you are looking for
-
ASCII High Level Specail characters issue in APEX!!
Hi All, We have created text area in APEX where users can enter content manually or copy the content and paste data. The key word characters are wroking fine, but other than this is not accepting and it is concverting as reverse down question mark. W
-
IMac does not recognize digital video camera plugged into USB port
Hi Everyone, I received a Kodak Zi8 digital video camera as a gift recently. I was told it was compatible with macs. When I plug the camera into the USB port of the mac it doesn't recognize that it is there. I read on one discussion board to turn the
-
Profile configuration for my app
Is it possible to set preference values for my app in the profile configuration file? If so, an example would be greatly appreciated. Thanks.
-
Add Tags to Document removes spaces!
Hi, I have an untagged PDF from which I am trying to copy the text. The text pastes into InDesign with a paragraph mark at the end of each line. If I add tags to document from Advanced>Accessibility, the copied text no longer has a paragrpah mark at
-
HP widget loses its configuration and I can't set it bagk for my c7280
HP widget loses its configuration and I can't set it bagk for my c7280