Only is the last value is in output instead of all
report zexam.
tables : mara, mbew, mard,t023t.
type-pools:slis.
data : ist_list_topofpage type slis_t_listheader.
data : s_list_topofpage type slis_listheader.
data : i_fieldcat type slis_t_fieldcat_alv.
data : x_fieldcat type slis_fieldcat_alv.
**************************************selection options***********************
select-options mat_grp for mara-matkl.
********************selection from mara table*********************************
data : it_mara type table of mara,
wa_mara type mara.
select matnr matkl from mara into corresponding fields of table it_mara
where matkl in mat_grp.
loop at it_mara into wa_mara.
endloop.
****************selection from mbew*******************************************
data : it_mbew type table of mbew,
wa_mbew type mbew.
*if not wa_mara is initial.
select matnr lbkum salk3 from mbew into corresponding fields of table it_mbew
where matnr = wa_mara-matnr.
*endif.
*loop at it_mbew into wa_mbew.
*endloop.
********************grp desc from table v023***********************************************
data : it_t023t type table of t023t,
wa_t023t type t023t.
*if not wa_mara is initial.
select matkl wgbez spras from t023t into corresponding fields of table it_t023t
where matkl = wa_mara-matkl and spras = 'EN'.
*endif.
*loop at it_t023t into wa_t023t.
*endloop.
*endloop.
*endloop.
********************************itab for final output******************************************
data : begin of it_final occurs 0,
matkl like mara-matkl,
lbkum like mbew-lbkum,
salk3 like mbew-salk3,
wgbez like t023t-wgbez,
end of it_final.
data : wa_final like it_final.
loop at it_mara into wa_mara.
wa_final-matkl = wa_mara-matkl.
read table it_mbew into wa_mbew with key matnr = wa_mara-matnr.
wa_final-lbkum = wa_mbew-lbkum.
wa_final-salk3 = wa_mbew-salk3.
read table it_t023t into wa_t023t with key matkl = wa_mara-matkl.
wa_final-wgbez = wa_t023t-wgbez.
append wa_final to it_final.
endloop.
**********************to display in ALV format*****************
x_fieldcat-col_pos = 1.
x_fieldcat-fieldname = 'MATKL'.
x_fieldcat-seltext_m = 'MATERIAL GROUP'.
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 2.
x_fieldcat-fieldname = 'WGBEZ'.
x_fieldcat-seltext_m = 'MATERIAL GROUP DESC'.
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 3.
x_fieldcat-fieldname = 'LBKUM'.
x_fieldcat-seltext_m = 'TOTAL VALUED STOCK'.
x_fieldcat-do_sum = 'LBKUM' .
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
x_fieldcat-col_pos = 4.
x_fieldcat-fieldname = 'SALK3'.
x_fieldcat-seltext_m = 'VALUE OF STOCK(INR)'.
x_fieldcat-do_sum = 'SALK3' .
append x_fieldcat to i_fieldcat.
clear x_fieldcat.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
it_fieldcat = i_fieldcat
tables
t_outtab = it_final.
Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:32 PM
hi,
pass the table name as well
check this code
tables : ekko,ekpo..
type-pools slis.
*data: i_ekko like ekko occurs 0 with header line.
data: begin of i_tab occurs 0,
ebeln like ekko-ebeln,
bukrs like ekko-bukrs,
aedat like ekko-aedat,
zterm like ekko-zterm,
waers like ekko-waers,
ebelp like ekpo-ebelp,
TXZ01 like ekpo-txz01,
menge like ekpo-menge,
bprme like ekpo-bprme,
netpr like ekpo-netpr,
end of i_tab.
****Field description for ALV****
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
DATA: repname LIKE sy-repid.
DATA: fieldtab TYPE slis_t_fieldcat_alv,
fieldtab1 TYPE slis_t_fieldcat_alv,
i_grid_title TYPE lvc_title,
heading TYPE slis_t_listheader,
f_events TYPE slis_t_event,
f1_event TYPE slis_alv_event,
gs_layout TYPE slis_layout_alv.
DATA:gt_sort TYPE slis_t_sortinfo_alv.
DATA:gs_filter TYPE slis_t_filter_alv.
select-options: s_ebeln for ekko-ebeln.
*select EBELN BUKRS AEDAT ZTERM WAERS
*into corresponding fields of i_ekko from ekko where ebeln in s_ebeln.
*append i_ekko.
*endselect.
start-of-selection.
select a~ebeln a~bukrs a~aedat a~zterm a~waers
b~ebelp b~txz01 b~txz01 b~menge b~bprme b~netpr
into corresponding fields of table i_tab
from ( ekko as a
inner join ekpo as b on a~ebeln = b~ebeln ).
perform alv_display.
*loop at i_tab.
*write:/ i_tab-ebeln,
* i_tab-bukrs,
* i_tab-aedat,
* i_tab-zterm,
* i_tab-waers,
* i_tab-ebelp,
* i_tab-txz01,
* i_tab-menge,
* i_tab-bprme,
* i_tab-netpr.
*endloop.
*& Form alv_display
* text
* --> p1 text
* <-- p2 text
form alv_display .
perform build_layout.
perform build_fieldcatlog.
PERFORM CALL_ALV.
endform. " alv_display
*& Form build_fieldcatlog
* text
* --> p1 text
* <-- p2 text
form build_fieldcatlog .
data l_fieldcat type slis_fieldcat_alv.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'EBELN'.
l_fieldcat-outputlen = 10.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-010.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'BUKRS'.
l_fieldcat-outputlen = 4.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-011.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'AEDAT'.
l_fieldcat-outputlen = 8.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-012.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'ZTERM'.
l_fieldcat-outputlen = 4.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-013.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'WAERS'.
l_fieldcat-outputlen = 5.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-014.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'EBELP'.
l_fieldcat-outputlen = 5.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-015.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'TXZ01'.
l_fieldcat-outputlen = 40.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-016.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'MENGE'.
l_fieldcat-outputlen = 15.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-017.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'BPRME'.
l_fieldcat-outputlen = 3.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-018.
APPEND l_fieldcat TO fieldtab1.
CLEAR l_fieldcat.
l_fieldcat-fieldname = 'NETPR'.
l_fieldcat-outputlen = 13.
l_fieldcat-tabname = 'i_tab'.
l_fieldcat-no_out = ' '.
l_fieldcat-seltext_l = text-019.
APPEND l_fieldcat TO fieldtab1.
endform. " build_fieldcatlog
*& Form CALL_ALV
* text
* --> p1 text
* <-- p2 text
form CALL_ALV .
REPNAME = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = REPNAME
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
IS_LAYOUT = gd_layout
IT_FIELDCAT = fieldtab1
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS = f_events
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = i_tab
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " CALL_ALV
*& Form build_layout
* text
* --> p1 text
* <-- p2 text
form build_layout .
gd_layout-zebra = 'X'.
gd_layout-info_fieldname = 'ROWCOLOR'.
endform. " build_layout
thanks
Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:32 PM
Similar Messages
-
WAD - display only the last value in the chart
hi...
I designed a chart in WAD wich displayed a range of values in a line. Now im searching for a possibility to display the value for the points in my chart, but not for all values, only for the last value in the line! And every month the line will extended with new value-points, so it is necassary that the function is dynamic, always for the last point in the chart the value should displayed!?
thx for some ideas!
davidhi @ all... once more information:
the chart displayed only one keyfigure of a query. for example it display the revenue per month. in jan. = 10, feb. = 15, mar. = 25, apr. = 13, jun. = 23. these values should be displayed in a line in the chart aaaand additional for the last one in the line the valuecaption direct in the chart (f.e.: jun. = 23). not for all "periods-points"only for the last one.
in jul. = 25 the chart changed and only for july the value-caption should be displayed. Is it possible?
Regards,
David -
Sapscript printing only the last value
Hello,
Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
Item # 1 10 pcs 10,000.00
Item # 2 5 pcs 10,000.00
Item # 3 5 Pad 10,000.00
where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the first two items.. here is my code..
TABLES: konv, ekko, ekpo.
DATA: BEGIN OF tab OCCURS 0,
brtwr LIKE ekpo-brtwr,
ebelp LIKE konv-kposn,
ebeln LIKE ekko-ebeln,
knumv LIKE ekko-knumv,
kbetr LIKE konv-kwert,
END OF tab.
DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
REFRESH: tab.
READ TABLE in_tab INDEX 1.
CHECK sy-subrc = 0.
SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
LOOP AT tab.
AT NEW ebelp.
tab-kbetr = 0.
ext = 0.
ENDAT.
SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp AND kschl = 'ZDEL'.
ext = tab-brtwr + tab-kbetr.
AT END OF ebelp.
READ TABLE out_tab INDEX 1.
WRITE ext TO val.
out_tab-value = val.
MODIFY out_tab INDEX 1.
ENDAT.
CLEAR: tab.
ENDLOOP.
i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
Thanks,
JPput ur write_form with in loop...
loop at itab.
write_form..
element = 'ddd'
endloop.
in script check ...
check wheather element is specified there r not
/e ddd.
&itab- & &itab- & -
How to make the footer text to come only on the last page
Hi,
Iam just making an print forms using adobe forms,Iam havinga text and some variable in the end of the page.these things need to be printed only on the last page.
if my output of the main window comes for 2 pages then it should print only in the second page not in the first page.
if the data of my main item data comes to one page then this should be printed on the first page itself.
how to put a condition on this type of footer windows.
Thanks in advance.
regards,
Sasidhartry with the following formcalc Scripting on the subform which contains the footer text...
var curpage = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif -
How to pick up the last value of the input string
Hi there,
I have a requirement in which I have to pick up the last value of the input string.
I don't know the field length, it could be 10 line, it could be 4 line and it could be even 1 line.
Another problem is that the field contains all the alphanumeric values so the sort function is not working.
I believe I need to write a UDF but not sure exact what and how.
Can some body please help me solving this issue.
Input.
1.Abc
2.abc123atxx.com
3.(980)771-2341
4.
5.518VR50V58AD10DSAYBDSAFDSIEGHA:1
In that case I only need to pickup the last value i.e. 518VR50V58AD10DSAYBDSAFDSIEGHA:1
Output
518VR50V58AD10DSAYBDSAFDSIEGHA:1
Note:
1. Length is unknown
2. Alphanumeric data
Thanks,Hi karthick Lakkar,
Thanks for your quick response but unfortunately I am getting mapping exception.
What I did is create a UDF with 2 input
INPUT
a string
b string
and then this code
int Length=Integer.parseInt(a);
int requiredLength=Integer.parseInt(b);
if(Length<=requiredLength)
return(a);
else
return a.substring((Length-requiredLength),Length);
I am wondering about the input as well.
At present I am doing
KTEXT + KTEXT --- UDF
+ does represent concat, means same input will go to the UDF
This is the error which I am getting
Exception:[java.lang.NumberFormatException: For input string: "Kevin Farrar"] in class com.sap.xi.tf._MM_XXXXXXXXXXXXXX_ method calculate[Kevin Farrar, Kevin Farrar, com.sap.aii.mappingtool.tf7.rt.Context@6dbf19db] -
How to display the last value of a field in a group in the group header
I need to display the last quiz score from a group of quiz scores as part of the header of a group of units (the quiz score values are in the detail record). I can not use the group footer, which would be the natural place to find the last value. It must be in the group header because there will be a subsequent group within the unit group. In other words, the grouping is as follows:
Unit Group Header (Display last quiz score in unit)
SubUnit Group Header (Display other detail summaries)
Detail Record (including quiz score)
SubUnit Group Footer
Unit Group Footer
While there is a minimum/maximum summary function, there is not a first/last function.
Fuskie
Who is constantly amazed at the ability of users to request report features that are not easily implented through Crystal Reports...Hi Fuskie,
One suggestion to display the last quiz score in the Group Header, other than what had already been suggested, will be to use a linked subreport in the Group Header. It is not an efficient way to display the information, but it could do the trick.
Another suggestion will be to insert a subreport in the report header, then store the last quiz score in an array for each group, then share it with the main report and display the values in the appropriate group. In this way it will only connect twice to the data source, one for the main report and once for the subreport, instead of multiple connection for each group.
Finally, the most efficient way will be to have this value calculated on the database side using a command object or a stored procedure.
Patrick -
How to get the last value edited by users from JTable?
Hi.
I have a JDialog that includes an editable JTable. This table is used to set up field caption and font for a report program. I found only when cursor is moved to another cell, the value in current cell being edited will be transferred to Table Model. So if the user don�t move cursor to another cell after editing the value of a cell but click OK button directly, Table Model cannot get the last value edited by the user, I wonder if there is a way to fire JTable to transfer the value being edited to Table model.
By the way, I found if the TableCellEditor is using JCheckBox or JComboBox instead of JTextField, there is no this problem.
Thank you for any reply.I guess you can make use of the following methods on your table model to inform it make it getValueAt bcos table data has changed.
fireTableCellUpdated
Notifies all listeners that the value of the cell at [row, column] has been updated.
fireTableChanged
Forwards the given notification event to all TableModelListeners that registered themselves as listeners for this table model.
fireTableDataChanged
Notifies all listeners that all cell values in the table's rows may have changed. The number of rows may also have changed and the JTable should redraw the table from scratch. The structure of the table (as in the order of the columns) is assumed to be the same.
But when to call these methods??
-- When OK button is pressed, do this as the first thing!!
OR
-- Call this on every key event!!
regds,
CA -
I need to print a text but only for the last page in the main window.
I have tried with IF.
IF &PAGE& = &SAPSCRIPT-FORMPAGES&
BOTTOM
....TEXT
ENDBOTTOM
ENDIF
But it prints in all pages in every main window.
Can someone point me what I am doing wrong or how can I do this?
Regards,
CarlosHello Carlos,
the problem with this condition is the following.
The Sapscript composer cannot know during the processing of e.g. the first page,
how many pages will follow. So &SAPSCRIPT-FORMPAGES& still contains the same
value like& PAGE& and is filled with the correct values only at the very end of the processing.
(when the total number of pages is known).
So I suggest you to use the BOTTOM command in the print program,
when the processing of all item of the MAIN window is ended.
There is an other variable &NEXTPAGE&. &NEXTPAGE& will always be 0
when it reaches to last page to print. The problem with this variable that
it can not be used in a condition in MAIN window too, only in a separate page window.
Regards,
Hedvig -
JTable problem : how to get the last value entered by user + event lost
Hi all,
I have 2 problems with Jtable class.
1 => To get the last value entered by user in a cell,
it seems that we must change the selected cell.
That is to say we can only have the previous cell's value.
Is there a simple way to get the current value of any cell ?
2 => To resolve the problem i store the values of each cell in a vector and i intercept keyboard event (!)
BUT, when i do a double click with the mouse on the Jtable, i loose keyboard events. Then, i can't intercept them.
Is it a bug of swing or am i following a wrong way ?
Thanks by anticipation for your help.You have to fire the "TableCellUpdatedEvent"
and override the getCellEditorValue in TableCellEditor to return the current value -
How to get --Last date of the Last value .
Dear All,
I have a report like
Material Country Current Price
1112----- Singapore -
100
1112----- Japan -
120
1112----- Malesia -
99
Here current price is Last Value of the particular Material on particular Date.
This I can get based on Key figure Aggregation ( Last Value and reference Character 0CALDAY ), It is giving the last Value of the Particular Material.
Now my user wants to see Last date of the value ( Date of the Value )
Example :-
Material Country Date --Current Price
1112----- Singapore -
01/04/2008 -- 100
1112----- Japan -
04/05/2008 -- 120
1112----- Malesia -
05/05/2008 -- 99
If I drill down the date in my report it is showing all dates , my user wants to see only last date .
Hope some one has solved this issue , please help me to solve this issue.
Regards,
SHAIK.I have created a keyfigure with date as a data type.
In aggregation tab, I selected aggregation Maximum.
Upto DSO, data is Loaded perfect. Ok.
I added the same key figure in cube , When I am trying to Activate the Transformation,
It is giving Error message.
Rule 17 is invalid and is being deleted. The reason for this is that a field or InfoObject that is used in rule 17 has been deleted in the source or target of the transformation ODSO ZPL_DSO1 -> CUBE ZPLATT_C (0GH6MHANQ2J79LXZBLGIJ9ZK9LWHK6RS)
Plz Advice.
Regards,
SHAIK
Edited by: shaik on May 7, 2008 5:46 PM -
Retrieve data from a text file, incrementing the last value and save new value below
Hi
This was working initially. It is part of my LabView Project. I was trying to create a unique number that increments every time the adds the value to the list. It works on computer perfectly. But when I put this on a PDA, it seems to create a blank space when reading the contents of the text file after the last value, which means 0 + 1, which is not what I want.
Please run the testUniqueNoOnPDA.vi first and change the path to C:\uniqueNumber.txt and save the uniqueNumber.txt file to your C drive and see What I am trying to do. Click the Enter button to increment.
Why does the PDA create a blank space after the last value and a computer does not?
I was working perfectly all week and it is not working well now.
Help please, I think I'm missing something
Attachments:
uniqueNumber.txt 1 KB
testUniqueNoOnPDA.vi 33 KB
testUniqueNoOnPDA.lvproj 4 KBIt works perfectly, it was a hardware problem. It depends on what PDA I used.
-
How can I reference the last value in a column?
How can I reference the last value in a column? For example, today I want the value of A1 to appear in another cell. Tomorrow, I will add a row and want to reference A2, next day A3, and so forth.
Now I got it:
=OFFSET(A1,COUNT(A)-1,0) -
How do I only sync the last 18 months of emails to my mac mail on the macbook?
How do I only sync the last 18 months of emails to my mac mail on the macbook? It is currently retrieving all emails from the four accounts I am syncing to and filling up space on my macbook. I can't work out how to set a limit.
Any help appreciated!Imap is designed to synchronize your mail client with the mail server, this the normal result.
Switch to POP access if you want it to work asynchronously -
How to print grandtotal in table footer only in the last page in SMARTFORMS
Hello Experts,
How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
/: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
* V_SUM.
/: ENDIF.
I even tried this.
/: IF &NEXT-PAGE& EQ 0.
* V_SUM.
/: ENDIF.
but still it displays the grand total on all pages at table footer.
How do i go for this experts.
Regards,
Ranjith NHI Nambiar,
To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
This grand total will be displayed after all the items and end of the main window.
Footer in the table displays as the subtotals i.e on every page total is displayed..
Regards,
Sravanthi -
Function in select statement need to be called only for the last record.
Select state,
local,
fun_state_loc_other_details(19) details
from state_local
where pm_key=19
resuts:_
State Local Details
AP APlocal details1
UP UPLocal details1
MP MPLocal details1
i) The above query returns 100 records
ii) fun_state_loc_other_details is also getting called 100 times. But I want this function to be called only for the last record that is 100th record.
is there any way to do that?Thanks amatu.
One more small query. Can I do it on condition based.
Select state,
local,
fun_state_loc_other_details(19) details
from state_local
where pm_key=19
Like if one state it need to be called once.
AP -- 50 records
UP - 20 records
MP -- 10 records.
fyi: this record no. varies
I want the function to be called for AP once, UP once, MP once.
Maybe you are looking for
-
Write to Serial Port without splitting string data
Hi, all, thank you for your help in advance. Problem: I am trying to write to the serial port with VISA write module. Somehow the string I tried to send was splitted before it was sent. For example, if I want to send "127", it sends "7', "2", "1". I
-
How to create new or delete the existing row in the grid....
hi my friends... i am developing report using Reuse_alv_grid_display... my requirement is... At runtime 1. i may create new row on the grid (empty row inwhich i may enter the data). 2. i may delete a existing row in the grid
-
Doubt about Sync and Async process
hi experts i have one small doubt if we r having the scenario like file to rfc iam passing the input parameter like material number through file adapter and then i want to get the material details response from rfc sap r/3 to file system this is the
-
Hello, Actually, we are migrating an oracle 9i instance to 10g. We are using Discoverer 4 (I know, an old one). The problem is : Everything is on 10g and seems to work properly, except for one thing : Workbook sharing. I can't give access to other us
-
We created an app for kids using DPS but Apple rejected it for two reasons. The biggest one is the following: 24.3 We noticed you have designated your app as primarily intended for kids under the age of 13 but it includes links out of the app or enga