SERIAL number in ALV
Hi experts,
iam doing alv report. iam having sl.no. filed in the internal table.
for output depending on different options, it is not showing the sl.no. in proper order.
for each input or requirement it is taking the same sl.no. series and the output is correct we r getting but sl.no order is not correct.
ex:option 1.
output:
sl.no.
1
2
3......
ex:option 2. (according to option this values only we require but, the serial number should be 1,2,3, in this order)
output:
sl.no.
12
21
32
33....
right answers can be rewarded......................
Message was edited by:
dasr r
actually..........
if i go for normal reporting......
if i do not give procurement type e or f............it will fetch all the records belong to
e and f. sl.no coming is 1,2,....................100...............correct iam getting.
if i give procurement type e or f............it will fetch some records which belongs to e or f that records only it will fetch but the sl.no. sequence is notlike 1,2,3,..........100. it is giving 1,3,5,6, ...........50.
Similar Messages
-
Hi...
How do we give Serial numbers to the records displayed in an ALV list? I can create a column(Sr. No) in the internal table, but this wont work if the user sorts the list.
Regards,
Anoophi.
you can try this out..
the statment WA_A2-SELTEXT_L = 'S_NO' is necessary for display of the numbers in the column in alv..
for example..
WA_A2-COL_POS = 1.
WA_A2-FIELDNAME = 'S_NO'.
<b>WA_A2-SELTEXT_L = 'S_NO'.</b>WA_A2-TABNAME = 'IT_A1'.
WA_A2-HOTSPOT = 'X'.
APPEND WA_A2 TO IT_A2.
CLEAR WA_A2. -
Outputting sy-tabix value in serial number.
Dear expert,
I have all the data stored in the internal table. I need to output it in the same serial number as it is in internal table along with the serial number (sy-tabix value) against this internal table data in report output display.
Thanks in advance.Hi,
Loop at itab.
Itab-serialnum = sy-tabix.
Modify Itab.
endlloop.
Naxt call alv display by passing the serial num filed catalog.
Prabhudas -
Dear Experts,
I herewith attachedc my codings i waht to add serial number how to do that i have done something but it is giving all zero values.,.,.,
*& Report ZAPPRAISAL_LAG
REPORT ZAPPRAISAL.
*Declaration of type-pools
TYPE-POOLS SLIS.
*Declaration of tables
TABLES : PA0025, PA0001.
DATA : LV_VALUE TYPE I.
*Declaration of work area
DATA: BEGIN OF WA_PA0025,
PERNR TYPE PA0025-PERNR,
ENDDA TYPE PA0025-ENDDA,
BEGDA TYPE PA0025-BEGDA,
AEDTM TYPE PA0025-AEDTM,
BWNAM TYPE PA0025-BWNAM,
DAT25 TYPE PA0025-DAT25,
GRPNR TYPE PA0025-GRPNR,
ENAME TYPE EMNAM,
BUKRS TYPE PA0001-BUKRS,
number type i,
END OF WA_PA0025,
WA_FCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
wa_sort TYPE SLIS_SORTINFO_ALV,
WA_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE.
DATA: row_number type i.
*Declaration of internal tables
DATA : IT_PA0025 LIKE TABLE OF WA_PA0025,
IT_FCAT TYPE SLIS_T_FIELDCAT_ALV,
I_SORT TYPE STANDARD TABLE OF SLIS_SORTINFO_ALV,
IT_EVENTS TYPE SLIS_T_EVENT.
*selection screen
SELECTION-SCREEN BEGIN OF BLOCK FF WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS S_DATE FOR PA0025-DAT25.
parameters : p_date type pa0025-dat25.
parameters : p_date1 type pa0025-dat25.
SELECT-OPTIONS S_BUKRS FOR PA0001-BUKRS NO INTERVALS.
SELECTION-SCREEN END OF BLOCK FF.
*ALV EVENTS
WA_EVENTS-FORM = 'HEADER'.
WA_EVENTS-NAME = 'TOP_OF_PAGE'.
APPEND WA_EVENTS TO IT_EVENTS.
CLEAR : WA_EVENTS.
*start-of-selection event.
START-OF-SELECTION.
SELECT DISTINCT
A~PERNR
A~ENDDA
A~BEGDA
A~AEDTM
A~BWNAM
A~DAT25
A~GRPNR
B~ENAME
B~BUKRS
INTO TABLE IT_PA0025
FROM PA0025 AS A
INNER JOIN PA0001 AS B
ON BPERNR = APERNR
WHERE A~DAT25
between p_date and p_date1
AND B~BUKRS IN S_BUKRS.
SORT IT_PA0025 by pernr.
DESCRIBE TABLE IT_PA0025 LINES LV_VALUE.
loop at it_pa0025 into wa_pa0025.
row_number = row_number + 1 .
WA_PA0025-number = row_number.
*append wa_pa0025 to IT_PA0025.
endloop.
perform fcat using '1' 'NUMBER' 'S.no' '12' '' 'C410' 'C'.
PERFORM FCAT USING '2' 'PERNR' 'Personnel number' '16' 'X' 'C410' 'C'.
PERFORM FCAT USING '3' 'ENAME' 'Employee name' '26' '' '' ''.
PERFORM FCAT USING '4' 'BUKRS' 'Company code' '15' '' '' 'C'.
PERFORM FCAT USING '5' 'BEGDA' 'Start date' '11' '' '' ''.
PERFORM FCAT USING '6' 'ENDDA' 'End date' '10' '' '' ''.
PERFORM FCAT USING '7' 'AEDTM' 'Changed date' '13' '' '' ''.
PERFORM FCAT USING '8' 'BWNAM' 'Appraiser' '18' '' '' ''.
PERFORM FCAT USING '9' 'DAT25' 'Appraised date' '15' '' '' ''.
CLEAR wa_sort.
wa_sort-fieldname = 'PERNR'.
wa_sort-up = 'X'.
APPEND wa_sort TO i_sort.
CLEAR wa_sort.
wa_sort-FIELDNAME = 'DAT25'.
wa_sort-UP = 'X'.
APPEND wa_sort TO I_SORT.
CLEAR wa_sort.
wa_sort-FIELDNAME = 'BUKRS'.
wa_sort-UP = 'X'.
APPEND wa_sort TO I_SORT.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-CPROG
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_SORT = I_SORT
I_GRID_TITLE = 'Report'
IT_FIELDCAT = IT_FCAT
IT_EVENTS = IT_EVENTS
TABLES
T_OUTTAB = IT_PA0025.
*& Form USER_COMMAND
text
--> p1 text
<-- p2 text
FORM USER_COMMAND USING U_UCOMM TYPE SY-UCOMM
US_SELF_FIELD TYPE SLIS_SELFIELD.
CASE U_UCOMM.
WHEN '&IC1'.
READ TABLE IT_PA0025 INTO WA_PA0025 INDEX US_SELF_FIELD-TABINDEX.
CASE US_SELF_FIELD-FIELDNAME.
WHEN 'PERNR'.
SET PARAMETER ID : 'PER' FIELD WA_PA0025-PERNR.
CALL TRANSACTION 'PA30'.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
FORM FCAT USING FP_COL_POS
FP_FIELDNAME
FP_SELTXT_M
FP_OUTPOUTLEN
FP_HOTSPOT
FP_EMPHASIZE
FP_JUST.
WA_FCAT-COL_POS = FP_COL_POS.
WA_FCAT-FIELDNAME = FP_FIELDNAME.
WA_FCAT-SELTEXT_M = FP_SELTXT_M.
WA_FCAT-OUTPUTLEN = FP_OUTPOUTLEN.
WA_FCAT-HOTSPOT = FP_HOTSPOT.
WA_FCAT-EMPHASIZE = FP_EMPHASIZE.
WA_FCAT-JUST = FP_JUST.
APPEND WA_FCAT TO IT_FCAT.
CLEAR : WA_FCAT.
ENDFORM. " FCAT
*& Form HEADER
text
--> p1 text
<-- p2 text
FORM HEADER . "#EC CALLED
DATA : IT_HEADER TYPE SLIS_T_LISTHEADER,
WA_HEADER LIKE LINE OF IT_HEADER.
WA_HEADER-TYP = 'H'.
WA_HEADER-INFO = TEXT-006.
APPEND WA_HEADER TO IT_HEADER.
CLEAR WA_HEADER.
WA_HEADER-TYP = 'S'.
WA_HEADER-KEY = TEXT-007.
CONCATENATE SY-DATUM+6(2) '.'
SY-DATUM+4(2) '.'
SY-DATUM(4) INTO WA_HEADER-INFO. "Current date
APPEND WA_HEADER TO IT_HEADER.
CLEAR WA_HEADER.
WA_HEADER-TYP = 'S'.
WA_HEADER-KEY = TEXT-012.
MOVE LV_VALUE TO WA_HEADER-INFO.
APPEND WA_HEADER TO IT_HEADER.
CLEAR WA_HEADER.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_HEADER.
CLEAR : IT_HEADER[], WA_HEADER.
ENDFORM. " HEADER
Thanks and Regards,
Thirukumaran. Rhi
LOOP AT it_pa0025 INTO wa_pa0025.
row_number = row_number + 1 .
wa_pa0025-number = row_number.
" Add this statement here
MODIFY it_pa0025 INDEX sy-tabix FROM wa_pa0025 TRANSPORTING number.
ENDLOOP.
Thanks & Regards -
Transaction IQ09 u2013 production ORDER number for the serial number not showed
In the ALV generated by IQ09, we couldn´t see any production order number with its respectives serial numbers listed.
We try to check in NOTES SAP, through "SER*" tables and programs RIQEUI21 and RIOBJK00, but without success.
In the IQ02 and IQ03 transactions, we can find the orders numbers, but our users would like to see at the ALV list.
Anybody knows any transaction that shows serial numbers and production orders in a unique LIST.
Thanks
Claudio.Hi,
I think you can customized your requirement, see below table
In table SER05, the list of serial number details can be obtained. key the order no in SER05 table, get field OBJKNR, then pass this OBJKNR in table OBJK .
Some useful table for serial numbers
SER00 Generic table for serial numbers
SER01 Serial numbers assigned to a delivery
SER02 Serial numbers assigned to a guarentee
SER03 Serial numbers assigned to a material document
SER04 Serial numbers assigned to an inspection lot
SER05 Serial numbers for a production order
SER06 Serial numbers for Handling Units
SER07 Serial numbers for Stocktaking
SER08 serial numbers for Orders (SD)
I hope that this information clarifies the issue.
Regards,
Sankaran -
Serial Number Selection with IQ09
Hi all,
I have a problem with serial number selection. When i submit some selection criteria to the program, the program shows me serial number list but i couldn't select any items from list. How can i select serial number from list and get seleced to the main program.
I submited selection criteria like this.
SUBMIT riequi21
WITH matnr = p_matnr
WITH werk = p_werks
WITH lager = p_lgort
WITH charge = data-charg
AND RETURN.
Message was edited by:
Thammarit ThapbumrungWhen you submit this program riequi21, selectiong the Serial number will display it using standard transactions( ie02/ie03).
if you need the same list, you can fetch the data from V_EQUI. it contains the link between material, serial number, plant, stor loc and Batch number. create your own alv list/grid and handle the selection.
hope it helps. -
IQ02 -Display material and Serial Number
IQ02 -Display material and Serial Number
In IQ02 If we gives Serial Number as input if that Serial Number has more than one material it is displaying one more screen in ALV display.If i select one item in that list it is going to final screen displaying Serial number details.
Now here we have a program like IQ02 (First Screen), I want that middle screen should be display in my program, I went in debug mode but i am not understanding how SAP is doing ? how can i call that middle screen..
Is there any function module or some other way available to make my job easy....
Thanks in advance,
fractalI have written like this...
submit riequi21 with dy_selm = x_indsel
with matnr in range_matnr
with sernr in range_sernr
with dy_mode = 'X'
with dy_tcode = 'IQ08'
and return.
When i execute the program, it is displaying directly the final output screen. I want the middle screen (ALV display for selecting the row) should be display, in that middle screen if i select one line it has to go to final screen.
how can i do this?
thanks,
fractal -
How are you supposed to get help from Apple if you don't know what your serial number is? They say to input the serial number of the "product" that you are asking about. Since my problem is how to deauthorize/authorize computers, and they are saying I have more than 5 (which I have never owned more than 5 computers in my life), I can't imagine what serial number they mean. Does it mean your desktop computer? If so, which one? Do they mean your device? LIke your iPhone, iPod or whatever? Do they mean the software ON one of your computers and/or devices? If so, which program, and on which computer/device?
We have three operational computers, one does not have iTunes on it. Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers. See what I mean? I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not. I only know of 2 computers that have iTunes on them, so how can there be 5? We also have 2 iPhones and 2 iPods in this family, but one of the iPhones has his own apple id. He may have been using mine, since his computer died. I read that those don't count as "computers" to the 5. Do they, then?
Help! I can't contact apple because I have no idea what they mean about serial number. I doubt they would help me anyway. In order to get the serial number off my desktop computer (that has iTunes on it already), I will have to move furniture, so I don't want to if that's not it. Is there some way to find the serial number in the software, either on my desktop or my iPhone?sunshinecowgill wrote:
We have three operational computers, one does not have iTunes on it. Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers. See what I mean? I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not.
You could have more 5 computers authorized if you ever, for example, reformatted a hard drive or replaced a hard drive without deauthorizing the computer first. Apple's system would see that as a different computer, even though you don't. There's nothing to be afraid of in deauthorizing everything and the reauthorizing what you actually have. You won't lose any data. Mistimp is correct, they can't tell you which computers are authorized. -
How Many Times Can I Use The Same Serial Number For Adobe Creative Suite 4?
I have design standard and was told I can use the same serial number on multiple computers. How many time can I use it? And say I install it on the maximum number of computers, but get a new computer, can I uninstall it on one of the old computers and use it on the new one? And can I use the programs on both computers simultaneously or do I have to use them one at a time?
Fred Tech wrote:
Broadly speaking, it depends on the type of license you have.
Specifically, if you have a single license then officially, you should only install it once on one computer.
Practically, (unless it has changed with CS4) you maybe able to install it on more then one computer, BUT can only run one instance of the software at a time. You can not run more then one instance of the software concurrently; i.e. you can't run Dreamweaver on Computer 1 and Photoshop on Computer 2. That would be two instances, and is not permitted.
This is my understanding. I am happy to be corrected if I am wrong
Fred
Sorry Fred you are wrong.
If you have a single license you can install it on as many computers as you like. you can only activate the suite on two computers at anyone time. Work and Home or as many of us do it Desktop and Laptop. You can not use the computers simultaneously. You only have 20 activation/deactivations so use them wisely. Student versions only have one activation. You can not break up the suite installs the suite is considered one application. -
How do I transfer an Acrobat serial number from one adobe account to another?
I've installed Adobe DC Pro on one of our user's computers. When it asked for an Adobe ID I entered the ID I used to purchase the serial number. Unfortunately now acrobat always starts on the new computer and displays my name instead of the end user name. So I'm wondering how to either transfer the serial number to the end user's adobe account, or alternatively re-associate the acrobat on the end user machine with the end user's own adobe account.
contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html
-
How many computers can you authorize with one serial number?
Hey guys.
I'm thinking about buying a 2nd Mac, but I'm just curious how many total computers you have authorize Logic studio on at one time (my guess would be 3 but I hope more).
Please let me know if you can.
Thanks,
NathanI'll copy my post from the other thread:
I don't know for the others but in my retail package ((not upgrade) I found two serial numbers. Though I haven't got time yet to try the second serial number on my MacBook, my logic says that with two different serials I could run both macs simultaneously and be on the network. But, my logic fails so often so it's better to shut my mouth, install Logic on MacBook and come back here again. -
How many times can you use a serial number?
I used my serial number on one computer and I'm trying to use it on the other computer. But, on the other computer, it keeps saying that the serial number is invalid. I checked my number to see if i typed it correctly, and its correct but it still wont work! So I'm wondering if you are allowed to use one serial number on two computers. (I'm triying to use it to download the Adobe Photoshop Elements 11 app)
You need to contact Adobe Support when you have serial number and activation issues, either by chat or via phone.
-
My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?
http://support.apple.com/kb/TS2005
http://support.apple.com/kb/HT1861
https://ssl.apple.com/support/proapps/serialnumbers/ -
How do I find a serial number for my iPod touch that I used with iTunes
I used my iPod touch previously to down load music and I am looking for the serial number for that device....is the information stored in iTunes somewhere?
The serial number of your device can be located at the back. Check on this page for more information.
-
Error message with a Serial Number after purchasing CS6 Design Standard
Hello everyone,
I have an error message "we are unable to validate this serial number for CS6 Design Standard" when using my official serial number.
I got the Serial Number from my Adobe ID account and e-mail purchase validation.
And no phone number to contact. Someone knows what I could do ?You should Contact Customer Care via chat; phone support is only available Mon-Fri during US daytime.
Maybe you are looking for
-
Is it possible to know the maximum db output of a pair of headphones based on your laptop volume
Hello all, I just joined the forum on advice from r/audioengineering. I asked this question over there and they thought you would be better to answer. My question is fairly straightforward (may not be simple). Is there a way to know the maximum db ou
-
How to interface with NI PCI-7344
Hi, First off,i have to say im a newbie with labview so if tis is some stupid qns,my apologies.I nid to work out a program using LabView 8.0 to control a stepper motor thru NI PXI-7344 and the NI UMI-7764. The program is ready with the output as a 32
-
HT4009 How do I get refunded for purchasing the same in-app purchase twice?
Is there a CS number to call or can I submit a request for a refund online?
-
Is it possible to have a button in a flash movie and have it print a pdf?
-
PO printout in AR language shows Mirror image
Hi, We have configured in output type for Arabic language PO, when we select language AR the PO Printout comes in Mirrror image, but when we select EN language its working fine, is any config from MM side or this issue will be Abap side please clear