Plz see this
hi,
i have 3 radio butttons , such that i disable one radiobutton. when i start running application in create mode the radiobutton is disabed and it is fine.
now if i have pasted any old transactionid and open the form in change mode i.e changeform the radiobutton is not disable.
can any one tell me . and for create i have ws_mode eq create but i did not found for change .
Bye.
-- REP-1401: ''cf_2formula': Fatal PL/SQL error occured.
Hi! I have the same error too except that I'm not using a select statement. The error occurs even if i entered a valid paramter for date.
When I tried inputing into
:refdt1 = 02/01/2007
:refdt2 = 02/15/2007 it doesn't work......(the error occurs)
but when I tried inputing into
:refdt1 = 02/01/2000
:refdt2 = 02/15/2007 it works......
the code is written below....
function CF_2Formula return Char is
begin
return('For the Month '||to_char(:refdt1,'DD FmMonth, YYYY')||' to '||to_char(:refdt2,'DD FmMonth, YYYY'))
end;
please reply asap! thanks!
Message was edited by:
Bernabe, David B.
Similar Messages
-
How we can replace the column in Core Table plz see this msg
Hi,
How we can replace the column in Core Table plz see this msg
Req:
when i push the Insert button the data inserted into the Table
like
Cols Values
FOCD CUFZ14
PRDCD FU6
Month 082008
AgencyCD AG02
PLAN 123
This is FO_Plan Table....
Requirement:
i need at table show to replace the Prd_CD to Prd_Desc while inserting the above Row....
There is no Prd_Desc in FO Plan Table....
Prd_desc comes from Product Table.
did u get my point...
how to solve.
Thanks
Ram
Edited by: Ram Vungarala on Sep 24, 2008 9:09 AM
Edited by: Ram Vungarala on Sep 24, 2008 9:15 AMHi,
I'm not sure if I understood what are you trying to do. But you can modify your table in a backing bean code. JSF page code for a table:
<af:table id="product_search_results_tbl" binding="#{backingBean.boundTable}" ... />
And a backing bean code:
import oracle.adf.view.faces.component.core.data.CoreTable;
public class YourBackingBean {
private CoreTable boundTable;
public void setBoundTable(CoreTable boundTable) {
this.boundTable = boundTable;
public CoreTable getBoundTable() {
return boundTable;
public String insertButtonAction() {
// Bind your button action to this method and modify here your bound table
return null;
{code}
Look for column modification methods in a CoreTable class documentation.
Marius -
hi Everyone,
I have written a bdc for multiple line items for single header in PO.but i am getting multiple PO number for different line item.
Plz suggest how should i correct it.
report ZPURCHAGE1
no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE ***
data: t_bdc_data like bdcdata occurs 10 with header line.
data: begin of record2,
ebelp(005),
ematn(010),
menge(017),
name1(030),
spinf(001),
end of record2.
data: begin of record,
data element: BSART
BSART(004),
data element: MEPO_VENDOR
SUPERFIELD(051),
data element: EBDAT
BEDAT(010),
data element:
LIST(040),
data element: BSART
BSART_005(004),
data element: MEPO_VENDOR
SUPERFIELD_006(051),
data element: EBDAT
BEDAT_007(010),
data element: EKORG
EKORG(004),
data element: EKGRP
EKGRP(003),
data element: BUKRS
BUKRS(004),
data element:
LIST_011(040),
data element: BSART
BSART_012(004),
data element: MEPO_VENDOR
SUPERFIELD_013(051),
data element: EBDAT
BEDAT_014(010),
data element: EKORG
EKORG_015(004),
data element: EKGRP
EKGRP_016(003),
data element: BUKRS
BUKRS_017(004),
data element:
LIST_018(040),
data element: BSART
BSART_019(004),
data element: MEPO_VENDOR
SUPERFIELD_020(051),
data element: EBDAT
BEDAT_021(010),
data element: EKORG
EKORG_022(004),
data element: EKGRP
EKGRP_023(003),
data element: BUKRS
BUKRS_024(004),
data element: EBELP
EBELP(005),
data element: EMATNR
EMATN(018),
data element: BSTMG
MENGE(017),
data element: MEPO_EWERK
NAME1(030),
data element:
LIST_029(040),
data element: BSART
BSART_030(004),
data element: MEPO_VENDOR
SUPERFIELD_031(051),
data element: EBDAT
BEDAT_032(010),
data element: EKORG
EKORG_033(004),
data element: EKGRP
EKGRP_034(003),
data element: BUKRS
BUKRS_035(004),
data element:
LIST_036(040),
data element: INFUP
SPINF(001),
end of record.
data : itab like standard table of record with header line.
data: itab1 like standard table of record2 with header line.
End generated data section ***
start-of-selection.
*perform open_dataset using dataset.
*perform open_group.
*do.
*read dataset dataset into record.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = ' '
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = ' '
FILETYPE = 'DAT'
TABLES
DATA_TAB = itab1.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at itab into record.
*if sy-subrc <> 0. exit. endif.
LOOP AT ITAB1 INTO RECORD2.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEV4000BUTTON'.
perform bdc_field using 'BDC_CURSOR'
'MEPO_TOPLINE-SUPERFIELD'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'BDC_CURSOR'
'MEPO1222-BUKRS'.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEV4001BUTTON'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'BDC_CURSOR'
'MEPO1222-BUKRS'.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-NAME1(01)'.
perform bdc_field using 'MEPO1211-EBELP(01)'
record2-EBELP.
perform bdc_field using 'MEPO1211-EMATN(01)'
record2-EMATN.
perform bdc_field using 'MEPO1211-MENGE(01)'
record2-MENGE.
perform bdc_field using 'MEPO1211-NAME1(01)'
record2-NAME1.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MESAVE'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-EEIND(01)'.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_field using 'MEPO1319-SPINF'
record2-SPINF.
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
clear t_bdc_data.
refresh t_bdc_data.
endloop.
endloop.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0046 text
-->P_0047 text
FORM bdc_dynpro USING PROGRAM
DYNPRO.
CLEAR t_bdc_data.
t_bdc_data-PROGRAM = PROGRAM.
t_bdc_data-DYNPRO = DYNPRO.
t_bdc_data-DYNBEGIN = 'X'.
APPEND t_bdc_data.
ENDFORM. " bdc_dynpro
*& Form bdc_field
text
-->P_0051 text
-->P_0052 text
FORM bdc_field USING FNAM
FVAL.
CLEAR t_bdc_data.
t_bdc_data-FNAM = FNAM.
t_bdc_data-FVAL = FVAL.
APPEND t_bdc_data.
ENDFORM. " bdc_field
MohitHi ,
try this :
ur existing codes:
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
clear t_bdc_data.
refresh t_bdc_data.
endloop.
endloop.
proposed codes by me:
clear t_bdc_data.
endloop.
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
refresh t_bdc_data.
endloop.
Message was edited by:
Jogdand M B -
Plz see this and think once..
hai friends,
i got one trouble plz help as soon as u can....imagine i ahve 10000 rows....
i want to upload into one it table and i want to split them into 100 text files..each having the
100 rows...just like splitting them into text files and downloading them as .txt files..plz.help me..How about something like this.
REPORT zrich_0001.
DATA: itab1 TYPE STANDARD TABLE OF string.
DATA: itab2 TYPE STANDARD TABLE OF string.
DATA: wa LIKE LINE OF itab1.
DATA: rec_counter TYPE i.
DATA: fil_counter(3) TYPE c.
DATA: file_name TYPE string.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:/testfile.txt'
CHANGING
data_tab = itab1
EXCEPTIONS
OTHERS = 19.
CLEAR fil_counter.
CLEAR rec_counter.
LOOP AT itab1 INTO wa.
APPEND wa TO itab2.
rec_counter = rec_counter + 1.
IF rec_counter = 100.
PERFORM download_it.
ENDIF.
AT LAST.
CHECK itab2[] IS NOT INITIAL.
PERFORM download_it.
ENDAT.
ENDLOOP.
*& Form download_it
* text
FORM download_it.
CLEAR file_name.
fil_counter = fil_counter + 1.
CONCATENATE 'c:/testfile' fil_counter '.txt' INTO file_name.
CONDENSE file_name NO-GAPS.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = file_name
CHANGING
data_tab = itab2
EXCEPTIONS
OTHERS = 24.
CLEAR rec_counter.
REFRESH itab2.
ENDFORM. "download_it
Regards,
Rich Heilman -
Conversion form .mdf to .DBF , Plz see this...
Hi all,
Thanks for reading this:
My Java application needs to read a .mdf database format (SQLServer) and export data (after some processing) in a .DBF format (for use with ArcView GIS).I can read from my SQLServer, but don't know how to generate a .DBF format. Are there any mechanisms in Java to do this?
Any comments, i greatly welcome.I assume that you are using Windows (as you are talking about SQL Server)
What you could do, is to create an ODBC datasource with the DBF driver.
Then create the target tables while connected to your ODBC connection (through the JDBC/ODBC bridge). This will create the .dbf files (one for each table). This can be done by sending the CREATE TABLE commands through JDBC. You will probably need to test which datatypes DBF supports (apart from CHAR(n))
Then you can connect to SQL Server and read the data from there and INSERT the data into your DBF tables.
If you it's a one to one table copy, you could save your data as SQL INSERT with an appropriate tool and then execute those inserts while connected to you DBF datasource.
Thomas -
rs=stm.executeQuery("select news.news_id,to_char(news_date,'dd-MON-yy HH:MM:SS AM'),heading,desc1,desc2 from news where sysdate<=news_date + interval '2' day order by news_date desc");
while(rs.next()){
newsDate=rs.getString("news_date");
out.println("News ID"+rs.getString("news_id")+"<div align=right>"+newsDate+"</div><br>");
news_id=rs.getInt("news_id");
heading=rs.getString("heading");
out.println("<tr><td><a href=http://localhost:5050/examples/servlet/displayNews?newsID="+news_id+"><font color=olive face='times new roman' size=3><b>"+heading+"</a></font></td></tr>");
out.println("<tr><td>"+rs.getString("desc1")+"<a href=http://localhost:5050/examples/servlet/displayNews?newsID="+news_id+"> Details.....</a><br><br></td></tr>");
}news_date exists in DB but it gives
Error:
Invalid column nametry to use like this to get data :
rs. getInt(1) > use column index number
maybe helps you. -
can i help u? i had bought camfrog pro app by itunes...i see that app is upgrade now. but i can not upgrade that app...i can see this message "can not open by This id" i don't know why can not upgrade camfrog pro by my korea id? plz answer me
To Update the App you have to Use the Same Apple ID it was Purchased with...
-
hi all,
plz correct this revert back whan i executing every time it will show internal table itab is no long enough.
plz rectify the errirs and send back it.
ABLES: zfm_kfz.
type-pools: slis. "ALV Declarations
*Data Declaration
*TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
*DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
DATA : BEGIN OF ITAB OCCURS 0,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB_FIELDCAT.
DATA: T_KFZ LIKE TABLE OF ZFM_KFZ.
*ALV data declarations
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,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'kfznr'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'geraet'.
fieldcatalog-seltext_m = 'geraet'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kostentraeger'.
fieldcatalog-seltext_m = 'kostentraeger'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'bezeichnung'.
fieldcatalog-seltext_m = 'bezeichnung'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'tuvdatummmyyyy'.
fieldcatalog-seltext_m = 'tuvdatummmyyyy'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'asudatummmyyyy'.
fieldcatalog-seltext_m = 'asudatummmyyyy'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kmstand'.
fieldcatalog-seltext_m = 'kmstand'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'histo'.
fieldcatalog-seltext_m = 'histo'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 1.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'reifen'.
fieldcatalog-seltext_m = 'reifen'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'username'.
fieldcatalog-seltext_m = 'username'.
fieldcatalog-col_pos = 9.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = 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.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select * from zfm_kfz
into table itab where kfznr = itab-kfznr.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table itab lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.Hi,
Change this..
DATA : BEGIN OF ITAB ,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: ITAB_FIELDCAT type SLIS_T_FIELDCAT_ALV .
and also use CAPS for field names.
fieldcatalog-fieldname = '<b>KFZNR</b>'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Regards
vijay -
hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out
olliemilne wrote:
- I've tried holding a bunch of different keys when starting up (cmd+R etc.) but again, nothing.
You could try booting the MBP using the OPTION+COMMAND+R keys and see if it will connect to the Apple servers. This would allow you to install the original OSX . I have my doubts though.
- I've tried something crazy suggested in another thread; leaving the Macbook partially opening and shaking it, which supposedly does something to the "sudden motion sensor".
The Sudden Motion Sensor is applicable for conventional Hard Drives, not the SSD that is in a MBA. Doing that will serve no useful purpose.
You have exhausted all reasonable options and will just have to have the MBA evaluated at the genius bar.
Ciao. -
hi ,
Iam handling CRM appln. I have a combo box which contain religion option. hidu-1,muslim-2, christian--3 ,....
iam getting value in preview page but when i press submit button the value which i had selected is not REFLECTING IN DATABASE. PLz help
code:
religion option -
is not entering in db. and u can assume html format .
if we select hindu option in religion combo, specify other is disabled if we select other in religion option ,specify other is enabled.
eventhandler--- oninitliazation
SELECT domname ddtext domvalue_l
FROM dd07v
INTO CORRESPONDING FIELDS OF TABLE it_dd07v
WHERE ddlanguage = 'E'
AND domname IN ('ZRELIGION ').
LOOP AT it_dd07v INTO wa_dd07v.
IF wa_dd07v-domname EQ 'ZRELIGION'.
APPEND wa_dd07v TO it_religion.
ENDIF.
ENDLOOP.
Page attr
it_dd07v type table of dd07v
wa_dd07v type table of dd07v
Plz see its urgent.
Regards
Durgaprasad.
Edited by: Durga Prasad on Apr 16, 2008 12:24 PM
Edited by: Durga Prasad on Apr 16, 2008 12:27 PMHi,
use Modify or Update instead of Append.
Try this link..
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba4b235c111d1829f0000e829fbfe/content.htm
Reward if its useful -
How can I mark event as "done" so that I see this at one glance?
how can I mark an event on ical as "done" so that I see this at one glance? In outlook this was possible, there was a white line on the left once I had marked the event as "done".
Greetings,
If you are new iCal user read this: http://support.apple.com/kb/HT2513
Events are more along the lines of a...well...event "Appointment with Dr. Smith"..."Travel to Mexico"..."Jon's Birthday".
What you are describing is what I would call a task. iCal offers "To Dos" for that purpose which include a check box for completion.
Cheers! -
Hi everyone.. the problem is: The server have all the UUID or ID of the computers.... but in windows we know how to see that but in mac we dont have idea to where see this number... so.. i try in terminal with some commands but everytime say the UUID of hardware or UUID of user but i need other UUID and this UUID is the number that the server say that is mine....
Is strange....
In windows we found a program,, but in mac i dont find some program can help my problem... My UUID is the same only show me the UUID of Hardware... i need the 4 UUID of the computers...
ThanksOk, Mr. Happy Duck, mouse over to the Apple menu in the top/left corner, select About this Mac. Click on More Info... then on System Report... The Hardware overview should give you all you need.
-
in the previous version of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?
Hi silvano,
If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
Start in Cell B2
1 Tab 2 Tab 3 Enter
4 Tab 5 Tab 6 Enter
7 Tab 8 Tab 9 Enter
Now you are ready to type into B5 .
Another way that some people find easier is to enter one column at a time
Start at B2
1 enter
4 enter
7 enter
etc.
Now start with C2.
Use whatever suits your work flow.
Regards,
Ian. -
How do a scan a file from my scanner and make it a PDF. . . . I do not see this choice in the Adobe program?
In the past I would simply place a copy of the document on my scanner, then selected create PDF from scanner. However, there is now no create PDF from scanner alternative, option or choice. The only option available is selected file to convert to PDF. what am I to do?That would have been a function of your scanning software. Adobe Reader is only used to view the pdf that your scanning software created.
-
The issue: Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes. Finally Fixed!!!
SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.
The cause: It is now clear what caused this problem. For years I had several “all-day” events in my Outlook calendar (birthdays, anniversaries, etc.). In May 2012 I decided to make some of them one hour events so I could add alerts to remind me of the event. I did this by dragging them in Outlook to the time I wanted and expanding them to the time slot desired and then adding the alarm.
The symptom: Syncing stopped working for the calendar but continued working for contacts and notes. I didn’t realize sync was failing until months later when I missed two very important phone calls, so when I noticed it the cause was not obvious.
The failed attempts: I’m head of a software firm and my calendar sync is a crucial to my business life so I took this on with a vengeance. From a quick look at events in Outlook and the iPhone I could see that the problem started in May 2012. Events before May were in both Outlook and the iPhone but events after May were only one or the other. Unfortunately I had changed several other things at the same time relating to other events so again the cause was not obvious. MANY calls with AppleCare proved them incompetent so my internal IT guys assisted trying many things. We tried a huge number of calendar changes and several versions of iTunes, iPhone OS and Office as well as both iPhone 4 and 5, all without success.
The fix: After 18 months of frustration, MANY hundreds of $ expense and MANY hours of wasted time I saw a blog that had a calendar sync problem and it indicated all day events were related. I changed the display of the Outlook calendar to the list view, added columns so I could see “all day” event check marks as well as times of events, sorted on the “all day” event column to move them to the top, and for all events that were “all day” events AND had a start and end time, I removed recurrence and then added the annual recurrence back…
After I fixed all events that had BOTH “all day” set and had a start/end time, I tried another sync. It synced for the first time in 18 months!
Problem occurred May 2012 – fixed Nov 2013Hi, to remove dummy '_ModGrp' entries, rather than crashing the 'Suppr' key on your keyboard, you can use this basic VBA macro (launched for instance from Excel).
It will recursively remove all '_ModGrp...' folders
Sub RemoveFolders_Click()
Dim oOutlook As Outlook.Application
Set oOutlook = New Outlook.Application
Set objNameSpace = oOutlook.GetNamespace("MAPI")
Call CleanFolders(objNameSpace.Folders)
End Sub
Sub CleanFolders(objFolders As Outlook.Folders)
For i = objFolders.Count To 1 Step -1
If Left(objFolders(i).Name, 7) = "_ModGrp" Then
objFolders.Remove( i )
Else
If Not objFolders(i).Folders Is Nothing Then
Call CleanFolders(objFolders(i).Folders)
End If
End If
Next i
End Sub
Maybe you are looking for
-
HT5704 how to reset my 3gs iphone without loosing contacts and information
hello my phone is in froze condition and is asking me to restore and update. i don't know how to do it. i have already unlocked the phone for worldwide usage. i hope i don't have to pay again to restore my phone and plus i want all my important infor
-
Midi note B below middle C is being played as Eb (below middle C) in the region only
When I'm recoding midi I'm running into a very strange problem..... randomly the B below middle C gets re-routed to Eb (below middle C). It shows right visually in the region, and when I go back to the controller and play the B note it plays correctl
-
Setup airport wrong, now scan doesn't find it. how do I fix?
After excellent Apple help, I setup airport wrong, Now scan doesn't find the wireless router - time machine - at all. I think I may have selected bridge for internet, and now the amber light is on steady and doesn't show up in a scan so I can reset i
-
DBI Budget data not showing in Dashboard
Hello all, I have an issue in DBI Budget dashboard. I have two different Business Group with different COA and Calendar. I did DBI setups for both. My issue is I can not able to select only one business group's related ledger while selecting Budget i
-
Blogs,Forums Relating to SLD and Software Components
Hi People, I have recently joined the integration space in SAP XI, I want to understand XI from the basics, I am very much unclear on the SLD, software components, software component versions, technical and business system concepts. Request you to pl