How to get a LOGO in a classical report?
please say me how to put a logo in a classical report?
Prakash,
IT IS POSSIBL USING OOPS CONCEPT GO FOR THIS CODE:--
REPORT y_pic_show .
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 150
left = 700
top = 10
width = 138.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'PIX PATHNAME'.
IF sy-subrc NE 0.
Fehlerbehandlung
ENDIF.
ENDFORM. "show_pic
~~Guduri
Similar Messages
-
How to get add/edit button in classic report
Hi,
Iam trying to built a classic report,but here i need to have add/edit button.How can i achieve this in classic reports?
I know this add/edit button with a pencil on note will come through the interactive report.
But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page.Here he created a classic report with alternating rows but has an add/edit button to it.How could that be achieved??
Can Anyone help me in this regard to built the My orders page including the add/edit navigation getting to order for items.How can tat sample application of My orders built?
TIA,
Regards,
Kranthi.
Edited by: Kranthi.K on Sep 29, 2009 12:38 AMOne more doubt is
But here iam trying to build a page same as the sample application Orders tab i.e. My Orders page and when we hit add/edit image it directs us to the My orders info and order items.
How can we build that page of My orders info and order items.Can anyone guide me through the steps the sample is created.
I tried many times with master detail,but dint achieve what the default Sample Application has been done.
Thanks in Advance
Edited by: Kranthi.K on Sep 29, 2009 4:54 AM -
How to get updated fields in a classical report
Hi,
After displaying the report using Write, multiple fields are editable. I used INPUT ON for this. My problem is, how does the program recognize the new entered values in all the editable fields? I can not use AT LINE-SELECTION because only the current line that the cursor has focus on is being retrieved.
I've also researched about DYNPRO_FIELD_GET but i requires a DYNPRO. When I checked the report, it doesn't have a screen number?
Kindly Help.Hi,
You can do that in AT USER-COMMAND
Check this program...
*" Field string declarations...........................................
* Field string declaration to hold computation values with operator *
data:
begin of fs_comp,
operand1(10) type c, " Operand1
operator(2) type c, " Operator
operand2(10) type c, " Operand2
result(30) type c, " Result
end of fs_comp.
* Internal table to hold computation values including operator *
data:
t_comp like
standard table
of fs_comp.
*" Data declarations...................................................
* Work variables *
data:
w_operand1(10) type c, " Operand1
w_operator(2) type c, " Operator
w_operand2(10) type c, " Operand2
w_result(30) type n, " Result
w_flag type i. " Temporary Flag
* END-OF-SELECTION EVENT *
end-of-selection.
sy-title = ' '.
perform operations.
* AT-LINE-SELECTION EVENT *
at line-selection.
if sy-lsind ne 1.
message e000(yh1152).
else.
w_flag = 0.
perform display_input.
endif. " IF SY-LSIND NE 1
* AT PF<nn> *
at pf05.
set user-command 'CALC'.
* AT USER-COMMAND EVENT *
at user-command.
if sy-lsind eq 1.
message e008(yh1152).
else.
if w_flag eq 0.
perform calculations.
else.
message e007(yh1152).
endif. " IF W_FLAG EQ 0
endif. " IF SY-LSIND EQ 1
*& Form operations
*This subroutine displays the operations to be performed on basic list
* No interface parameters
form operations .
write:
/10 'Select a line'(008).
skip 2.
format hotspot on.
write:
/10 'ADDITION : +'(002),
/10 'SUBTRACTION : -'(003),
/10 'MULTIPLICATION : *'(004),
/10 'DIVISION : /'(005),
/10 'POWER : ** '(006).
endform. " operations
*& Form calculations
* This subroutine performs the calculation part of detail list
* No interface parameters
form calculations .
data:
lw_line type i value 4, " No of Lines
lw_str type string. " Exception text
data:
lw_ref type ref to cx_root. " Reference Variable
refresh t_comp.
do 3 times.
clear:
w_operand1,
w_operator,
w_operand2.
read line lw_line field value
w_operand1 into w_operand1
w_operator into w_operator
w_operand2 into w_operand2.
fs_comp-operand1 = w_operand1.
fs_comp-operator = w_operator.
fs_comp-operand2 = w_operand2.
try.
case w_operator.
when '+'.
fs_comp-result = fs_comp-operand1 + fs_comp-operand2.
when '-'.
fs_comp-result = fs_comp-operand1 - fs_comp-operand2.
when '*'.
fs_comp-result = fs_comp-operand1 * fs_comp-operand2.
when '/'.
fs_comp-result = fs_comp-operand1 / fs_comp-operand2.
when '**'.
w_result = fs_comp-operand1 ** fs_comp-operand2.
fs_comp-result = w_result.
clear w_result.
endcase. " CASE W_OPERATOR
catch cx_root into lw_ref.
fs_comp-result = 'Cannot Compute'(007).
lw_str = lw_ref->get_text( ).
message lw_str type 'I'.
endtry.
append fs_comp to t_comp.
clear fs_comp.
add 2 to lw_line.
enddo. " DO 3 TIMES
add 1 to w_flag.
perform result.
endform. " calculations
*& Form DISPLAY_INPUT
* This subroutine displays the input on basic list for operations
* No interface parameters
form display_input .
sy-lsind = 1.
clear:
w_operand1,
w_operand2.
case sy-lilli.
when '4'.
w_operator = '+'.
when '5'.
w_operator = '-'.
when '6'.
w_operator = '*'.
when '7'.
w_operator = '/'.
when '8'.
w_operator = '**'.
when others.
stop.
endcase. " CASE SY-LILLI
write:
/10 'Enter values and press F5 to calculate'(009).
skip 2.
do 3 times.
write:
10 w_operand1 no-zero input on color 1,
25 w_operator intensified on color 2,
30 w_operand2 no-zero input on,
45 ' = ' ,
w_result no-zero input off.
skip.
enddo. " D0 3 TIMES.
endform. " DISPLAY_INPUT
*& Form RESULT
* This subroutine displays the caculated result for selected operator
* No interface parameters
form result .
sy-lsind = 1.
write: /08 'The result of operation processed is'(001).
skip 2.
do 3 times.
read table t_comp into fs_comp index sy-index.
write:
10 fs_comp-operand1 no-zero input off color 1,
fs_comp-operator no-zero intensified on color 7.
if fs_comp-operand2 eq '' or fs_comp-operand2 eq '0'.
write: fs_comp-operand2 no-zero input off color 6.
else.
write: fs_comp-operand2 no-zero input off color 1.
endif. " IF FS_COMP-OPERAND2 NE 0
write:' = ' color 3.
write:
fs_comp-result no-zero intensified on input off color 5.
skip.
enddo. " DO 3 TIMES
endform. " RESULT
* End Of Program *
Execute the above program and run in debugging mode after selecting a line in the basic list.
Hope this would help you.
Regards
Narin Nandivada -
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to Get Navigational attributes of dso in Report ...
Hi i have a dso with many fields ,
In the report i need to get some navgational attributes which are in dso..
How to Get Navigational attributes of dso in Report ..??
Thanks All..hai naiduz,
in the dso u find folder with navigational attributes, there select the Navigation check box the fields which u need in the report.
and further if ur dso through multiprovider and also identify them at multi provider level.
then u will be able to see the fields at query designer level, then u can use the nav. fields u need in the report.
regards,
Vj -
How to get the original version of Web report in BW ?
Hello Friends ,
I have transported one Web report from BW development to BW Production System.
But unfortunately , the desired result not me met .
So I have been asked to keep the original version of the Web report.
As the new version of Web report has replaced the previous one ,
So could anybody tell me how to get the original version of Web report in BW ?
Many thanks in advance !!!!!!!!Hi,
You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
Here you can find the history of requests imported to the prod system.
Regards,
K.Manikandan. -
How to get the total pages in ALV report?
Hi guys,
Since I used page breaks can somebody please help me on how to get the total pages in ALV report?sincerely please...thanks guys.automatic display total page.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
r -
How to fix Width of column in classic report.
Dear Friends
i am using Apex 3.2.
i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
i have try some code in html expression
<span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
{code
after apply abovemention code that display me in my summary like this and not manage width of column.
style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
How to fix Width of column in classic report.
ThanksHi,
I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
2) Here is one way that works:
- In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
- In the columns you want to affect, place "<div>#ENAME#</div>" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
I'm using the EMP table as an example.
- Finally, in the page's HTML Header put, for example
<style>
#classic-report td.data[headers="ENAME"] div {
width: 200px;
color: blue;
#classic-report td.data[headers="JOB"] div {
width: 50px;
white-space: nowrap;
word-wrap: break-word;
</style>This makes the ENAME column wider and the JOB column smaller and wraps it.
Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
#classic-report .report-standard th.header {
border-left: #9fa0a0 1px solid;
padding: 2px 3px 4px 5px; /* top right bottom left margins */
font-size: 11px;
font-weight: bold;
vertical-align: bottom;
#classic-report .report-standard td.data {
border-left: #9fa0a0 1px solid;
padding: 3px 4px 5px 6px;
font-size: 9px;
}Does this help?
Howard -
How to get my logo to appear in the URL box?
If you ever notice when you go on websites like facebook or myspace or even apple's website you always see their logo right before the URL address in the box at the top of the page. How do you get the logo there? My logo is all over my site but can't seem to figure out how to put it there.
As Wyodor has pointed out, only one site can use CNAME forwarding and use favicon just by placing the file in the root of the server. If you have multiple domain names or sites you can add a favicon to those sites, with or without a domain name.
Just add the following code in an HTML snippet to each page:
<script type="text/javascript">
var head = parent.document.getElementsByTagName("head")[0];
var favicon = parent.document.createElement("link");
favicon.rel = ("shortcut icon");
favicon.href = ("URL TO IMAGE USED FOR FAVICON");
head.appendChild(favicon);
</script>
With this method the file name can be anything you'd like and the format can be either gif, png or ico. If you place the file in your iDisk/Web/Site folder the url to use would be:
http://web.me.com/MMeUsername/FileName
OT -
How to Link column header only in classic Report in APEX 4.1
Hello Everybody,
Probably there is a simpler way to do this, but I am not sure. I want a link on column header in Report on a specific column. The link will take me to new region or a page.
How to achieve this in APEX 4.1
Theme : Blue 2
Database 11g
I see there is a column link opiton, but that creates link for every row in that column on a specific icon, I just want link on a title of the column in Classic Report.
For Example,
if there are two columns Name and Client ID, which has 10 records to display on a classic report. I wan the link on Client ID on header only not on the records.
Can anybody provide some simple solution for this.
Thanks,
--CP
Edited by: cpora007 on Jun 22, 2012 10:38 AMHello,
I didn't understand, what do you mean by default it is going to sort popup. I have a classic report based on SQL, which generates a report with static header, there is no sort or any other link on that.
I added a link in column header name with an anchor. It works and takes to the new page.
But it is not a proper solution. A solution based on Jquery dynamic action is preferable. Also the preferred option is that the link opens a hidden region of the same page at the same location of the report and the report gets hidden. after the procession on the form region and submitting the update/ insert process. the report region shows up with the change data.
Moving on to new page is 2nd option, if the first do not work.
In the JavaScript, put: apex.submit("GO_TO_MY_OTHER_PAGE");
On the page, create a Branch to the Second page. Set the condition to Request=Expression 1. Set the request to "GO_TO_MY_OTHER_PAGE"
On which page I need to create a branch?, Is it on the report page or the form page.
Thanks a lot for the response. I appreciate your kind efforts in this regard.
--CP -
How to get the SR NO in a report
Hi all,
I am new to report and was wondering how I get the
SrNO in a report like below example.
SrNO Name Dept
1 ABC Sales
2 xyz Admin
Should i use CF or CP etc ???
Regards
SunnyIf it is a tabular report, then use rownum in your
query and display it in the report
e.g.
SELECT ROWNUM, EMP.EMPNO, EMP.DEPTNO
FROM EMP
If group report, then use a summary column (count) in
the detail group and reset on master group.
Hope this helps.Thanks a Million.!!!
Sunny -
How to get the latest creditlimits in the reporting
Hi All,
Can anybody give me an idea on how to get the latest credit limit values per each customer in the report.
I have below requiremnt.
I have cube which is having transactional data on document and customer level .and it also having master data info object in the cube which is credit management view having all the customer numbers .
This credit management view is master data info object having credit limit key figure as attribute.These credit limit are per each customer.
So we need these credit limits in the report as dynamic values .(I mean whatever be the current credit limit in the master data table for that paricular customer that should show up in the reporting).
one more thing these credit limits should roll up correctly at the HTR level.
One HTR having number of customers .
for example HTR 100 can have customer number 200,300,400.
Those 200,300,400 customer credit limits should roolup correctly at the HTR 100 level.
Example below :
Cube DATA :
HTR Customer Doct number Credit managment view
100 200 10001 200
100 200 10002 200
100 300 10004 300
100 300 10005 300
100 400 10006 400
100 400 10007 400
100 400 10008 400
Master data tabel (P Table)(Credit managment view)
Credit managment view Credit limits
200 1000.00
300 50000.00
400 90000.00
Please remeber :
We can not make these credit limits as navigational becasue these are keyfigure attributes not characteristics.
one more thing we can not make them as charatistics because we need use these credit limits to derive other calkculation. so it is not possibel to derive calculations on charactristics .
Edited by: sirisha Nekkanti on Oct 30, 2008 6:27 PM
Edited by: sirisha Nekkanti on Oct 30, 2008 6:35 PMThis is duplicate of
how to get the latest credit limit values per each customer in the report.
thread. -
How to get the Empty page in Webi report
Hi,
I have to insert the charts in the report but i don't have the space to insert the charts in same page so i need one more page how to get the blank page in report
thanks,turn your report from Page Layout to Draft Mode. Than you will be able to insert chart in it.
You can view Web Intelligence reports in different modes depending on how you want to work with data and how you want the data to appear.
1. In Web Intelligence Interactive, select the report tab of the report you want to view.
2. Click the arrow next to the View button on the main toolbar above the report.
3. Select the viewing mode.
4. In the Java Report Panel or Web Intelligence Rich Client, use Switch Page/Quick Display on the Reporting toolbar to alternate between Page mode and Quick Display mode.
Edited by: srrachna on Apr 22, 2011 2:25 PM -
How to get this output format in ALV report
Hi.
Can any one pls let me know how to get the following output format in ALV report.Following are the outputfields
companycode location position approver
300 800 01 watson
null null 03 candy
null null 04 smith
null null 05 michael
one empty line after this again
300 800 01 ryant
null null 02 gyan
null null 03 fermi
null null 04 ogata
*Note: Null indicates empty space .( i.e I need to get empty space in output where ever null is there.)
Thanks in advance.
Kind Regards,
samiulla.hi,
u can use 'REUSE_ALV_LIST_DISPLAY'
or
'REUSE_ALV_GRID_DISPLAY' function modules.
SAMPLE CODE :
*& Report Y101982CHD
* TABLES
TABLES: vbak. " standard table
* Type Pools *
TYPE-POOLS: slis.
* Global Structure Definitions *
*-- Structure to hold data from table CE1MCK2
TYPES: BEGIN OF tp_itab1,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
werks LIKE vbap-werks,
lgort LIKE vbap-lgort,
END OF tp_itab1.
*-- Data Declaration
DATA: t_itab1 TYPE TABLE OF tp_itab1.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
* Selection Screen *
*--Sales document-block
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
*--Display option - block
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
PARAMETERS: alv_list RADIOBUTTON GROUP g1,
alv_grid RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b2.
*file download - block
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
PARAMETERS: topc AS CHECKBOX,
p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b3.
* Initialization. *
* At Selection Screen *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
EXPORTING
dynpfield_filename = 'P_FILE'
dyname = sy-cprog
dynumb = sy-dynnr
filetype = 'P' "P-->Physical
location = 'P' "P Presentation Srever
server = space.
AT SELECTION-SCREEN ON s_vbeln.
PERFORM vbeln_validate.
* Start Of Selection *
START-OF-SELECTION.
*-- Fetching all the required data into the internal table
PERFORM select_data.
* End Of Selection *
END-OF-SELECTION.
IF t_itab1[] IS NOT INITIAL.
IF topc IS NOT INITIAL.
PERFORM download.
MESSAGE 'Data Download Completed' TYPE 'S'.
ENDIF.
PERFORM display.
ELSE.
MESSAGE 'No Records Found' TYPE 'I'.
ENDIF.
* Top Of Page Event *
TOP-OF-PAGE.
*& Form : select_data
* Description : Fetching all the data into the internal tables
* parameters : none
FORM select_data .
SELECT vbeln
posnr
werks
lgort
INTO CORRESPONDING FIELDS OF TABLE t_itab1
FROM vbap
WHERE vbeln IN s_vbeln.
IF sy-subrc <> 0.
MESSAGE 'Enter The Valid Sales Document Number'(t04) TYPE 'I'.
EXIT.
ENDIF.
ENDFORM. " select_data
*& Form : display
* decription : to display data in given format
* parameters : none
FORM display .
IF alv_list = 'X'.
PERFORM build_fieldcat TABLES i_fieldcat[]
USING :
*-Output-field Table Len Ref fld Ref tab Heading Col_pos
'VBELN' 'T_ITAB1' 10 'VBAP' 'VBELN' '' 1,
'POSNR' 'T_ITAB1' 6 'VBAP' 'POSNR' '' 2,
'WERKS' 'T_ITAB1' 4 'VBAP' 'WERKS' '' 3,
'LGORT' 'T_ITAB1' 4 'VBAP' 'LGORT' '' 4.
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'*
*EXPORTING*
*i_callback_program = sy-repid*
** i_callback_pf_status_set = c_pf_status*
*i_callback_user_command = 'USER_COMMAND '*
** it_events = t_alv_events[]*
*it_fieldcat = i_fieldcat[]*
*TABLES*
*t_outtab = t_itab1[]*
*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.*
ENDIF.
IF alv_grid = 'X'.
PERFORM build_fieldcat TABLES i_fieldcat[]
USING :
*-Output-field Table Len Ref fld Ref tab Heading Col_pos
'VBELN' 'T_ITAB1' 10 'VBAP' 'VBELN' '' 1,
'POSNR' 'T_ITAB1' 6 'VBAP' 'POSNR' '' 2,
'WERKS' 'T_ITAB1' 4 'VBAP' 'WERKS' '' 3,
'LGORT' 'T_ITAB1' 4 'VBAP' 'LGORT' '' 4.
*CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'*
*EXPORTING*
*i_callback_program = sy-repid*
** i_callback_pf_status_set = c_pf_status*
*i_callback_user_command = 'USER_COMMAND '*
*it_fieldcat = i_fieldcat*
*TABLES*
*t_outtab = t_itab1[]*
*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.*
*ENDIF.*
ENDFORM. " display
*& Form : vbeln_validate
* description : to validate sales document number
* parameters : none
FORM vbeln_validate .
DATA: l_vbeln TYPE vbak-vbeln.
SELECT SINGLE vbeln
FROM vbak
INTO l_vbeln
WHERE vbeln IN s_vbeln.
IF sy-subrc NE 0.
MESSAGE 'ENTER THE VALID SALES DOCUMENT NO:' TYPE 'I'.
EXIT.
ENDIF.
ENDFORM. " vbeln_validate
*& Form :build_fieldcat
* Description : This routine fills field-catalogue
* Prameters : none
FORM build_fieldcat TABLES fpt_fieldcat TYPE slis_t_fieldcat_alv
USING fp_field TYPE slis_fieldname
fp_table TYPE slis_tabname
fp_length TYPE dd03p-outputlen
fp_ref_tab TYPE dd03p-tabname
fp_ref_fld TYPE dd03p-fieldname
fp_seltext TYPE dd03p-scrtext_l
fp_col_pos TYPE sy-cucol.
*-- Local data declaration
DATA: wl_fieldcat TYPE slis_fieldcat_alv.
*-- Clear WorkArea
wl_fieldcat-fieldname = fp_field.
wl_fieldcat-tabname = fp_table.
wl_fieldcat-outputlen = fp_length.
wl_fieldcat-ref_tabname = fp_ref_tab.
wl_fieldcat-ref_fieldname = fp_ref_fld.
wl_fieldcat-seltext_l = fp_seltext.
wl_fieldcat-col_pos = fp_col_pos.
*-- Update Field Catalog Table
APPEND wl_fieldcat TO fpt_fieldcat.
ENDFORM. "build_fieldcat
*& Form : download
* description : To Download The Data
* Parameters : none
FORM download .
DATA: l_file TYPE string.
l_file = p_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
TABLES
data_tab = t_itab1
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6.
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. " download
HOPE IT WILL HELP YOU
REGARDS
RAHUL SHARMA -
How to Get SUMCT SUMGT functionality in WEBI reports.
Hello All,
How to get the SUMCT SUMGT functionality in WebI reports using variables/formulates, as these fictions cant be used in Bex if we are developing a BO report on top of that.
We are developing BO WebI reports on top of BeX query. nd we are on BO 4.0
I tried to search in SDN but didnt got any relevant link.
Thanks & Regards
Neeraj.Hello,
Srry for disturbance.
Got the soln for the same. Can be achieved easily using report context.
For more details refer below link.. :
http://www.dagira.com/2010/01/04/calculation-context-part-i-overview/
Neeraj.
Maybe you are looking for
-
Firefox update and none of my plug-ins were working till I went and changed them from Ask to Activate to Always Activate. This Adobe Acrobat NPAPI Plug-in says it needs to be updated but when I try it does not update. It returns to the same need to u
-
Final cut pro not exporting to youtube?
Final cut pro isnt exporting to youtube? why is this and what can i do to fix it? Also says keyword: too_long ?
-
Report Painter - Invisible Column
Hello All - I am creating a report painter report using internal order table. When I execute the report, I am seeing a column that I don't see when I am editing the configuration of the report. I have looked to see if the column resides on a differen
-
Dear Gurus, I am having sme doubts asked by the client. Kindly clarify the following doubts. 1. Here in PGL they r makng 2 projcts with 1 material...ex: abc AND bcd.. Both the projcts are made using one single material copper..
-
Where can I find update 7.2.0?
Hi, Would like to update from 7.1.1 to 7.2. Could anybody please tell me where to find the Logic Pro 7.2.0 update?? I can only find 7.2.1 (and 7.2.3) and when I try to update, it gives this ALERT: An eligible Logic Pro Version was not found in the Ap