Can we show j1ifr report in our alv report
hi,
i want to show all grn (goods recievd inward no.) w.r.t my challan numbers.is it possible to fetch all the good recievd inward no(grn) .w.r.t my single challan no.
Edited by: Rob Burbank on Sep 21, 2009 9:25 AM
Hi,
First create seperate iviews for all the reports(can be t-code iviews or IAC iviews)
All the links in ESS that appear inside a iview/page are services defined in SPRO. So create the services in the SPRO, then give the names, map the services with sub areas. Make sure these services are PCD type and give the PCD location of the iviews you created. Thats it your work is done...
or the other way..
Create a WDJava iview which lists all the reports you have to access, then in each link give the pcd location of the corrosponding iviews, then add this page/iview to ESS role, so that it comes under ESS Role...
Other Way...
Create iviews for all the reports you want to access...
put all these iviews inside a single page and map this page to ESS Role....
So that user can see the list of reports in detail navigation and on click he can see the corrosponding report....
These are some of the ways I thought of...
Regrds,
Srinivas
Similar Messages
-
How can we place a push button in ALV report
hi
could anybody inform me
how can we place a push button in ALV report
thanx
regards
kals.Hi kals.
please have a look at demoprogram
SALV_DEMO_TABLE_FUNCTIONS
BCALV_GRID_05
Regards
Bernd -
How we can drill-down, sorting, traffic lights, in ALV report
hi gurus ,
how we can drill-down, sorting, traffic lights, in ALV report .
please any one suggest that...
regards,
praveenCheck the sample code for drill-down, sorting, traffic lights, in ALV report.
REPORT YMS_COLOURALV NO STANDARD PAGE HEADING.
TYPE-POOLS: SLIS, ICON.
DATA: FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: BEGIN OF IMARA OCCURS 0,
LIGHT(4) TYPE C,
MATNR TYPE MARA-MATNR,
MTART TYPE MARA-MTART,
MAKTX TYPE MAKT-MAKTX,
COLOR_LINE(4) TYPE C,
TCOLOR TYPE SLIS_T_SPECIALCOL_ALV, "cell
END OF IMARA.
DATA: XCOLOR TYPE SLIS_SPECIALCOL_ALV.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM WRITE_REPORT.
FORM GET_DATA.
WRITE ICON_GREEN_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'ABC'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for ABC'.
APPEND IMARA.
WRITE ICON_YELLOW_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'DEF'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for DEF'.
APPEND IMARA.
WRITE ICON_RED_LIGHT AS ICON TO IMARA-LIGHT.
IMARA-MATNR = 'GHI'.
IMARA-MTART = 'ZCFG'.
IMARA-MAKTX = 'This is description for GHI'.
APPEND IMARA.
LOOP AT IMARA.
IF SY-TABIX = 1.
IMARA-COLOR_LINE = 'C410'. " color line
ENDIF.
IF SY-TABIX = 2. " color CELL
CLEAR XCOLOR.
XCOLOR-FIELDNAME = 'MTART'.
XCOLOR-COLOR-COL = '3'.
XCOLOR-COLOR-INT = '1'. " Intensified on/off
XCOLOR-COLOR-INV = '0'.
APPEND XCOLOR TO IMARA-TCOLOR.
ENDIF.
MODIFY IMARA.
ENDLOOP.
ENDFORM. "get_data
FORM WRITE_REPORT.
DATA: LAYOUT TYPE SLIS_LAYOUT_ALV.
LAYOUT-COLTAB_FIELDNAME = 'TCOLOR'.
LAYOUT-INFO_FIELDNAME = 'COLOR_LINE'.
PERFORM BUILD_FIELD_CATALOG.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FIELDCAT
TABLES
T_OUTTAB = IMARA.
ENDFORM. "write_report
FORM BUILD_FIELD_CATALOG.
DATA: FC_TMP TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
CLEAR: FIELDCAT. REFRESH: FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Status'.
FC_TMP-FIELDNAME = 'LIGHT'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '4'.
FC_TMP-ICON = 'X'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material Number'.
FC_TMP-FIELDNAME = 'MATNR'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '18'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material Type'.
FC_TMP-FIELDNAME = 'MTART'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '10'.
APPEND FC_TMP TO FIELDCAT.
CLEAR: FC_TMP.
FC_TMP-REPTEXT_DDIC = 'Material'.
FC_TMP-FIELDNAME = 'MAKTX'.
FC_TMP-TABNAME = 'IMARA'.
FC_TMP-OUTPUTLEN = '40'.
APPEND FC_TMP TO FIELDCAT.
ENDFORM. "build_field_catalog -
Can not show Address of BP in XL reporter
Hi all!
I don't undersatnd why i can not show address of BP in XL reporter although i have already entered these information for address.
Thanks!If you use the report composer to create your report:
Drag the business partner object into the report view an then make right-click --> display more attributes and than choose the adress fields you want to display
Hi !
I have already used this way before i create new thread but Address is stll not showed. You can test in your Database
I'm using SAP B1 2007A Pl42
Thanks! -
Classical report to classical ALV report
Hi All,
Please help in converting classical report to classical ALV report as in my classical report between the program ,after calculation block i have deleted all the WRITE statement to convert it into classical ALV and after end of the program i have used
PERFORM LAYOUT_INIT USING gs_layout.
PERFORM COMMENT_BUILD USING gt_list_top_of_page[].
PERFORM build_fldcat CHANGING field_cat1.
PERFORM build_layout.
PERFORM set_events CHANGING lt_events.
and FM Reuse_alv_grid_display.
Please suggest the right way where to use these perform statements & the FM Reuse_alv_grid_display.
either in place of the deleted write statements or any where else in the program so that the calculation part output is displayed in Grid form.
Thanks.use in place of the write statements only....
Regards,
SAPient -
How can i choose row to edit in alv report
hello ,
i done alv report with one coloumne that can be edit ,
in this coloumne i want to choose which rows can be edit
and which will be close according to event .
i saw example program "BCALV_EDIT_02" that show this case
but stile , i don't understand what is the action that
do it .
this is the part
IF p_mode EQ 'RW'.
*§2a.Use attribute CL_GUI_ALV_GRID=>MC_STYLE_ENABLED to set a cell
to status "editable".
l_mode = cl_gui_alv_grid=>mc_style_enabled.
ELSE. "p_mode eq 'RO'
*§2b.Use attribute CL_GUI_ALV_GRID=>MC_STYLE_DISABLED to set a cell
to status "non-editable".
l_mode = cl_gui_alv_grid=>mc_style_disabled.
ENDIF.
so what is the part that will close the row for edit ?
when i add this part in my report all the row is deleted.
thanks.Dakota,
You can change the settings at runtime.
What you need to do is to have another column as part of the internal table, that has the data. This column, say, STYLE will refer to LVC_T_STYL. So, this becomes a nested internal table.
Set the editable flga switched off at Fieldcat and layout level.
Now, while filling the data in the table, or looping it separately, fill the Styles table for each row accordingly depending on the conditions. So, if you want the entire row to be enabled for editing, there will so many rows as the no. of columns in the inner internal table which is a column of that row.
col1 col2 Col3 Style
1 1 2 Col1 -- Style_Disabled
___________________Col2 -- Style_Disabled
___________________Col3 -- Style_Disabled
This should solve your problem.
Regards,
Ravi
note : Please reward the posts that help you.
Message was edited by: Ravikumar Allampallam -
How can give the user defined parameter in alv report
Hi experts
I have created one alv report for Sale Order statement.In this alv report have different input parameters
My problem is in this alv i have two input field Sales Orgaization and Plant.When I set this parameter value in user details it snot affected in my alv report.But it is affected in the standard alv report.How can
i rectify this
Regards
Manojhi
i think don't use set parameter value, use there SUBMIT & RETURN statement and write in USER_COMMAND function.
FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM
P_SELFIELD TYPE SLIS_SELFIELD.
SUBMIT program name AND RETURN
WITH <selection-screen field> IN <selection-screen field>
WITH WERKS IN WERKS .
ENDFORM .
Regards,
Abhi -
Total or sub-total won't show for any of our Discoverer reports
We are using Oracle BI Discoverer 11g (11.1.1.4.0) and Operating System: amd64 Windows 7 6.1.
For some reason, either totals or subtotal won't work in any our DISCO reports. I just realized this a few days back and have tested a few reports. None of them gives me the totals or subtotals. In the cell, it is just 'Sum:' and no values. The amount columns contains no null values for those reports, absolute values either > 0.00 or = 0.00.
One example: a report for GL journals and here is what I tested after open a DISCO report as a Plus user:
- In edit mode
- Under select items page
- Click on calculation tab
- Click on My Totals
- Click on New Totals
- Then choose a detail amount such as period_cr, total=f(x)sum, choose either grand total at bottom or subtotal at each change in: (I picked journal name)
- When the result comes back, in total or subtotal cell, there is only Sum: and not like Sum: 12,345.67
Very strange and I remember those reports worked for us before. We just moved to 11 a few months back and I am not sure if that has anything to do with this.
Thanks,
NingThanks for your suggestions. Yes, I have tried all the possible ways for aggregations, plus setting up way to deal with null values, but so far nothing helps. I forgot to mention that the subtotal for single row works and for multiple rows, sometimes it works, sometimes it won't. The only difference I can tell is that when the query is from a detailed table, such as po_distributions_all, it works and if the query is from higher level table, such po_lines_all, it won't. Any ideas why?
-
I can't see my buttons in my ALV report...
Hello experts,
I created a PF-status for my ALV report(with checkbox) so I can test if my checkbox is working or not. I created 2 buttons namely button and button1 in SE41. Now, I declared the program name and status name. But when I execute my report the buttons didn't appear.
Again, thank you guys and have a nice day!Hi no problem,
Goto se41.
Give the program Name : 'SAPLKKBL'
GUI status : 'STANDARD'.
Click the "USER INTERFACE" button(It is for copy the GUI status)
Give me your program name.
now the GUI Status 'STANDARD' is available in your program.
then go to ur program.
Give the following code:
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
Set the GUI status
SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
ENDFORM. "set_pf_status
then double click the STATNDARD GUI status.
it will go the Menu painter.
In that u create ur own Buttons. than activate it.
In the FM:
EXPORTING
<b>I_CALLBACK_PF_STATUS = 'SET_PF_STATUS'</b>
now u get better idea I believe. -
Can anyone give me document to devlop alv report in object oriented
hi
hi i want document how to devlope alv report in object oriented.
i need document .
thanks .HI,
Check these programs and links.
OOPS ALV standard pgms
BCALV_EDIT_01
BCALV_EDIT_02
BCALV_EDIT_03
BCALV_EDIT_04
BCALV_EDIT_05
BCALV_EDIT_06
BCALV_EDIT_07
BCALV_EDIT_08
ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
some helful links.
Go through the below links,
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
1) http://www.erpgenie.com/sap/abap/OO/index.htm
2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
Regards
Sudheer -
How we can sort subtotal results value in abap alv report
Hi, How we can sort subtotal results value in abap alv report
Thanks a lot for your code
but i am still getting double and weird results.
Subtotal IN PARTY KGS TOTAL VALUE
1 40008 3,141.20 192,799.00
1 40008 16,681.06 1,908,659.00
Subtotal 1 19,822.25 2,101,458.00
10 40022 4,590.60 531,228.00
10 40022 3,448.27 377,173.00
Subtotal 10 8,038.87 908,401.00
100 40010 270.172 19,852.00
Subtotal 100 270.172 19,852.00
101 40036 752.898 61,051.00
101 40036 207.586 19,431.00
Subtotal 101 960.484 80,482.00
102 40048 325.936 32,154.00
102 40048 264.32 19,364.00
Subtotal 102 590.256 51,518.00
103 40066 216.134 18,088.00
Subtotal 103 216.134 18,088.00
104 40001 231.96 16,986.00
Subtotal 104 231.96 16,986.00
105 40021 585.918 65,461.00
105 40021 108.683 15,825.00
Subtotal 105 694.601 81,286.00
106 40046 209.777 15,341.00
Subtotal 106 209.777 15,341.00
107 40043 167.353 14,755.00
Subtotal 107 167.353 14,755.00
108 40046 153.023 14,343.00
108 40046 342.348 32,223.00
Subtotal 108 495.371 46,566.00
109 40008 184.085 13,483.00
Subtotal 109 184.085 13,483.00
11 40011 5,275.63 524,232.69
11 40011 6,723.28 643,911.82
Subtotal 11 11,998.90 1,168,144.51
110 40067 142.113 13,333.00
110 40067 492.883 44,428.00
Subtotal 110 634.996 57,761.00
111 40040 118.961 13,190.00
111 40040 492.433 60,029.00
Subtotal 111 611.394 73,219.00
Edited by: Timaji Sawant on Feb 16, 2012 12:16 PM
Edited by: Timaji Sawant on Feb 17, 2012 9:27 AM -
Different between coding of simple ALV report and interactive ALV report
Hi
Please some one tell me the difference (extra coding) for interactive ALV report.
I know how to design simple ALV report but i dont know what extra I hace to code for interactive ALV report.
Thanks in advance.View at se38, ALV grid demos, search BCALGRID
-
How can i exceed the sap screen in ALV report.
hi sap Gurus,
i need solution from you regarding to increase the SAP screen in ALV customised report.
now what we are getting the problem is:
we developed the report, in that lot of fields are there.
because of that the fields are going in second line.
but actually the max length is showing in SAP is :X_65_255.
Please give me the solution to increase the screen.
Regards,
SOMU.Hi,
The standard screen which is displayed once u execute it not possible to change, but can follow one guide line.. by reducing the feild discrption( columns) on the report .
Eg : sold to part can be changed to SP or someother conversion which user understands. ( Before this user confirmation should be taken for this change)
Kindly Reward points if usefull
Regards
vK -
How can we split the grid display in alv reports.
hi everyone.i am trying to get the display of two reports in a single one using split screens.i had written a report for vendor balance.one for open and one for cleared items.how can i combine these two reports.
the field catalog was same for these two.
can anyone suggest me suitable way to perform.HI,
You can also try ALV Blocked display.
Pls Check following program
BCALV_TEST_BLOCK_LIST.
FM used are
call function 'REUSE_ALV_BLOCK_LIST_INIT'
exporting
i_callback_program = sy-repid.
call function 'REUSE_ALV_BLOCK_LIST_APPEND'
exporting
is_layout = it_layout
it_fieldcat = fc
i_tabname = 'IT_VBRK1'
it_events = it_event
tables
t_outtab = it_vbrk1.
call function 'REUSE_ALV_BLOCK_LIST_APPEND'
exporting
is_layout = it_layout
it_fieldcat = fc1
i_tabname = 'IT_VBRK2'
it_events = it_event
tables
t_outtab = it_vbrk2.
call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
form top_of_page1.
format color col_positive.
write: / 'FIRST BLOCK'.
endform. -
Can't display three field in the ALV report
hi all,
i have made a report ALV in which i have to display these fields:
BANFN,EMATN,TXZ01,MENGE,NETPR,EBELN,BEDAT,LIFNR,NAME1 and the table which im using are EKKO,EKPO,LFA1.
Actually only three fileds i-e (EBELN,LIFNR,NAME1) are not displaying in the report.
I can't understand what is the problem in the coding.
This is the PERFROM ORGANIZE DATA coding:
form organizate_data.
data: lv_index type sy-tabix.
loop at itab_main.
move sy-tabix to itab_main-sno.
clear itab_ekpo.
read table itab_ekpo with key ebeln = itab_main-ebeln
ebelp = itab_main-ebelp.
ENDLOOP.
loop at itab_ekko where bedat = itab_main-bedat.
endloop.
clear itab_main.
loop at itab_ekpo.
move sy-tabix to itab_main-sno.
clear itab_ekko.
read table itab_ekko with key ebeln = itab_main-ebeln binary search.
move-corresponding itab_ekpo to itab_main.
move-corresponding itab_ekko to itab_main.
append itab_main.
endloop.
endform.
Thanks,
sappk25FROM ORGANIZATE DATA
form organizate_data.
data: lv_index type sy-tabix.
loop at itab_main.
move sy-tabix to itab_main-sno.
clear itab_ekpo.
read table itab_ekpo with key ebeln = itab_main-ebeln
ebelp = itab_main-ebelp.
ENDLOOP.
loop at itab_ekko where bedat = itab_main-bedat.
endloop.
clear itab_main.
CONCATENATE 'No.' itab_lfa1-lifnr 'Name:' itab_lfa1-name1 INTO itab_main-n3 SEPARATED BY space.
loop at itab_ekpo.
move sy-tabix to itab_main-sno.
clear itab_ekko.
read table itab_ekko with key ebeln = itab_main-ebeln binary search.
move-corresponding itab_ekpo to itab_main.
move-corresponding itab_ekko to itab_main.
append itab_main.
endloop.
endform. "organizate_data
continued from here...
Maybe you are looking for
-
How can I download Acrobat 9 standard
How can I download and re install Adobe Acrobat 9 standard ?
-
Unable to fill out interactive form fields in the pdf form.
I'm unable to fill out interactive form fields in the pdf tax form in Reader 11.0.06 with purple bar inviting to do so.
-
1 month wait then chunks missing from desk
My experience with Best Buy has been beyond frustrating. I ordered a computer desk online and waited and waited and waited. After 1 month, 3 emails and 2 phone calls to Best Buy I finally got them to ship me a replacement desk. It came. I rejoiced. I
-
Details link of the Advanced Table
Hi All, I'm having a requirement where in i need to make the Reason For Change as the madatory field while correcting the salary details (Oracle seeded page).The existing salary details are shown in the advanced table having detail disclosure.But as
-
I've had my macbook pro repaired a few weeks ago (new battery and keyboard).. Ever since then every time I boot it its superslow ... + with high activity on kernel_task.. When I close the lid and open it after 5 seconds again the problem is gone. Wha