Why Excel insert cell block, hasn't input for data input?
Hi
I found a block for insert new row in excel, but there is no input for data input. how should I insert data by this block to excel file? can you help me?
that block name: Excel insert cells
in report generator toolkit
Best Reagards
behzad1 a écrit :
I could work with Excel insert cell block, but when I want add new data to an old row continuation, last row shift downward! while I want add data to old row. anyone can help me?
Nobody will be able to identify the problem without seeing your code. Excel Insert Cells.vi is used to add cells to an existing spreadsheet, not to set the cell value. To do this is a more specific way than the Append Report Text.vi you can use Excel Easy Text.vi or Excel Insert Table.vi. With these vis you can specify the range where you want to insert something.
For your other question (Two different data types) you can use the Excel Set Cell Format.vi to format a range as a date or something else. You will need to use the Excel format specifiers for this.
Ben64
Similar Messages
-
Excel Insert Cells.vi に発生したエラー
LabVIEW2011にて、Excelレポートを出力するVIを作成しました。しかし、EXEファイルにビルドする際に、
「以下のファイルを作成中に発生したエラー:
C:\PROGRAM FILES\NATIONAL INSTRUMENTS\LabVIEW 2011\vi.lib\addons\_office\excel.llb\Excel Insert Cells.vi」
というエラーが発生してビルドに失敗します。調べたところ、表題にある「Excel Insert Cells.vi」というVIファイルが破損しているようでした。
同様のエラーを検索したところ、該当VIのブロックダイアグラムを修正することでエラーは回避できるとのことでした。
しかし、このVIに関しては編集が不可能になっているようで、自力での解決はここで手詰まりとなってしまいました。
このエラーの解決方法をご存知の方、ご回答のほどよろしくお願いします。
解決済!
解決策の投稿を見る。自己解決することができました。
メニューバーの「操作」から「編集モードに変更」で編集ロックが外れるようです。
ブロックダイアグラムを修正して、無事ビルドすることができました。
ありがとうございました。 -
Why doesn't the "block cookies and other website data" setting on Safari 7.0.2 work? Everytime I try this setting, I still get cookies and other data that needs to be deleted from my computer.
This has been the case for sometime.
There is no effective way to block these cookies.
Try this, may help.
Safari > Preferences > Security > Cookies and other website data:
Press "Remove All Other Website Data:'
Do this twice.
Select "Reset Safari" from Safari drop down menu.
Select only "Reset all website data".
Click "Reset". -
Combine year + period as one dimension for data input
Existing Hyperion Planning has 2 dimension to keep the year and period. Our users would like to have the data entry web form title to show the year+period e.g. Jan 2009 instead of two rows. Is it very difficult to build such a label or a dimension for data input?
Thanks in advance.Jake_Turrell wrote:
You could do this with custom JavaScript, although I have to say the work would outweigh the benefits.
Why is it important that they see the year and month with a specific layout on a web input form? Are they printing the form, or using it as a "report"? If so, I would direct them to Financial Reporting, where it is much easier to format labels, etc. Forms shouldn't be used as reports as a general rule.
- JakeI am referring to the web form. Because there are 12 months in a year and they need to input more than 10 years budget, the label on the web form is not easy to view from our end user point of view. They say that sometimes they will input data in the wrong year. So they prefer to the column label as Jan2009, Feb2009, etc instead.
Thanks for your help. -
Developed VI for data input from a Serial RS485 S. Himmelstein 700 Series Signal Conditioner
Has any one developed a VI for data input from a serial RS485 connection with S. Himmelstein 700 series signal conditioner. Multiple displays and channels. Labview 2009
Hi
I am using the same vi which you have suggested and i have selected proper com port and other settings, but i am not getting any data,but if i send "ADC0" and "*IDN?\n" command alternatively then it is giving the data...but if i do that i will get zero and data alternatively.I want to get data without zero in between.. any solutions on why i have to send *IDN?\n?
Expand.Evolve.Influence
Attachments:
Hammltn.jpg 91 KB -
Tree-control for data input?
Hi,
I need to program an input screen for values that have hierarchical dependencies (e.g. sums). I feel, the most adequate user-interface would be a tree control, because of the data dependencies and also because the users asked for a possibility to collapse/expand parts of the data during input.
I had a look at CL_GUI_COLUMN_TREE, but I'm not sure, if it can be used for data input. Has anyone done something like this before or can anybody direct me to some additional sample coding? (the sample coding in the reuse library didn't do it...)
Thanks for your help, greetings, Kathrin!Hello Kathrin,
Since you say that the user's input is hierarchical in nature, it is nice to have a tree-control for input. But, the choice of using a custom-control-version of the tree is a cause for some concern. I cannot recollect any of the SAP screens where the input can be given through such a tree framework (please do let me know if you have come across one). The problem with such a tree would be in the areas of even-handling. Filling the tree with appropriate data at the right times would be another challenge.
However, there's one alternative that I would like to direct your attention to. You must have observed another kind of tree, when you select an application component from the APPLICATION HIERARCHY, which is just like a list. Also, the <i>Transport Organizer (SE09)</i>, <i>Menu Painter (SE41)</i> etc., have this kind of a tree. You can use this if you (or rather your users) are very particular on having a tree display. For more information, you can see the Function Group <b>SEUT</b>, which has the required function modules to accomplish the same. The Function Group is well documented, and you might have to work a little on the function modules themselves.
Please do let me know if this is a suitable option to meet your requirement. All the best,
Regards,
Anand Mandalika. -
Open/close line for data input depending on characteristic value
Hi,
assume we have an input ready query linked to an analysis item.
material qty
1 100
2 50
3 70
How can we achieve that only the line 2 is open for data input by the user
and the other lines 1/3 are closed.
Regards
PaulHi,
You can use data slice for this. Activate the data slice for sl no 1 and 3 and the appln will not allow you to enter for these records.
Data slice can be made dynamic to activate/deactive as per your requirement.
pratyush -
Hi,
can anyone share the inputs for data validation.
Source data to SAP retail data
any validation tools?
any enay method to extract data from SAP, apart from tables
Regards,
ArunHi vamsi nagaraju
it depends on wich version of ECC you are using, if you are using ECC 6.0 or ECC 5.0 all records are in table FAGLFLEXT but if you are using R/3 4.7, 4.6 etc, all records are in ECMCT for consolidation purposes.
Try to run T-code F.01 for balance sheet in both versions.
which validations do you want?
regards!! -
Hi experts.
Can someone assist me with information on using ALV grid for data input. Please give a simple example if possible.
I am mainly interested in the part in which we can transfer data from the grid changing the internal table's data.Try this code:
REPORT z_demo_alv_jg.
TYPE-POOLS *
TYPE-POOLS: slis.
INTERNAL TABLES/WORK AREAS/VARIABLES *
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
w_field TYPE slis_fieldcat_alv,
p_table LIKE dd02l-tabname,
dy_table TYPE REF TO data,
dy_tab TYPE REF TO data,
dy_line TYPE REF TO data.
FIELD-SYMBOLS *
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_wa> TYPE ANY,
<dyn_field> TYPE ANY,
<dyn_tab_temp> TYPE STANDARD TABLE.
SELECTION SCREEN *
PARAMETERS: tabname(30) TYPE c,
lines(5) TYPE n.
START-OF-SELECTION *
START-OF-SELECTION.
Storing table name
p_table = tabname.
Create internal table dynamically with the stucture of table name
entered in the selection screen
CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_table->* TO <dyn_table>.
IF sy-subrc <> 0.
MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
LEAVE TO LIST-PROCESSING.
ENDIF.
Create workarea for the table
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
Create another temp. table
CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_tab->* TO <dyn_tab_temp>.
SORT i_fieldcat BY col_pos.
Select data from table
SELECT * FROM (p_table)
INTO TABLE <dyn_table>
UP TO lines ROWS.
REFRESH <dyn_tab_temp>.
Display report
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
TABLES
t_outtab = <dyn_table>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*& Form SET_PF_STATUS
Setting custom PF-Status
-->RT_EXTAB Excluding table
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'Z_STANDARD'.
ENDFORM. "SET_PF_STATUS
*& Form user_command
Handling custom function codes
-->R_UCOMM Function code value
-->RS_SELFIELD Info. of cursor position in ALV
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Local data declaration
DATA: li_tab TYPE REF TO data,
l_line TYPE REF TO data.
Local field-symbols
FIELD-SYMBOLS:<l_tab> TYPE table,
<l_wa> TYPE ANY.
Create table
CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN li_tab->* TO <l_tab>.
Create workarea
CREATE DATA l_line LIKE LINE OF <l_tab>.
ASSIGN l_line->* TO <l_wa>.
CASE r_ucomm.
When a record is selected
WHEN '&IC1'.
Read the selected record
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
rs_selfield-tabindex.
IF sy-subrc = 0.
Store the record in an internal table
APPEND <dyn_wa> TO <l_tab>.
Fetch the field catalog info
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = 'Z_DEMO_PDF_JG'
i_structure_name = p_table
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
Make all the fields input enabled except key fields*
w_field-input = 'X'.
MODIFY i_fieldcat FROM w_field TRANSPORTING input
WHERE key IS INITIAL.
ENDIF.
Display the record for editing purpose
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
it_fieldcat = i_fieldcat
i_screen_start_column = 10
i_screen_start_line = 15
i_screen_end_column = 200
i_screen_end_line = 20
TABLES
t_outtab = <l_tab>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc = 0.
Read the modified data
READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
If the record is changed then track its index no.
and populate it in an internal table for future
action
IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
<dyn_wa> = <l_wa>.
i_index = rs_selfield-tabindex.
APPEND i_index.
ENDIF.
ENDIF.
ENDIF.
When save button is pressed
WHEN 'SAVE'.
Sort the index table
SORT i_index.
Delete all duplicate records
DELETE ADJACENT DUPLICATES FROM i_index.
LOOP AT i_index.
Find out the changes in the internal table
and populate these changes in another internal table
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
IF sy-subrc = 0.
APPEND <dyn_wa> TO <dyn_tab_temp>.
ENDIF.
ENDLOOP.
Lock the table
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc = 0.
Modify the database table with these changes
MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
REFRESH <dyn_tab_temp>.
Unlock the table
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table.
ENDIF.
ENDCASE.
rs_selfield-refresh = 'X'.
ENDFORM. "user_command -
Hi all,
I need a INPUT html control for numeric input, that is:
- No alphabetic characters,
- At the lost focus, align the number to the right and formating the number.
How can i do this or find a component with this functionality?. I tried with a jsp tag but stay out of FORM structure.
Thanks in advance!!
Salvador Huertas.So... Do I understand correctly that there is no real interest in fixing this BlackBerry PlayBook OS/browser bug? I don't know about other developers or users, but it actually manages to render one of my apps to near-uselessness, and it seems like it shouldn't be that hard to correct (especially given that it wasn't always doing that) if someone actually wanted to...
Developers and users, if this bug bugs you, look up the ticket tracking this bug at https://www.blackberry.com/jira/browse/TABLET-623 and "vote" it up. -
Hi, my employees are using the form as a way to input data quickly, in order to do this they are using the test form link, is there a faster way to do this instead of having to use a link to the form or the test page?
Thanks
JennHi Jenn,
Can you elaborate a bit more? Why is filling in the form from a URL not fast? Are you looking to copy/paste data? Import it from Excel? If you could, describe a bit more on what your form is, and how you are using it.
Thanks,
Todd -
I have an internal table . One of the fields can take input in the ALV grid using ABAP objects.
When the user enters a value in this field , I would like to capture the values in all the cells of all the fields that are adjaccent to this editable field.
I think I will have to use data_changed event . The SLIS examples are a bit complex, If there is a simpler example to show how this can be done , it will be great.That's right, that is the event that you want to use. See example programs which start with BCALV_EDIT*
Regards,
Rich Heilman -
Manual input for Date offset Buckets in Due date analysis 0FIAR_C03
Hi Experts,
I have a requirement where i need to provide a manual input selection to fill offset values of dates for due date analysis.
For example, current standard report 0FIAR_C03_Q0005 provides data with buckets of 0 days, 1-30 days, 31-60 and so on. Instead of this we need to define this bucket as manual input field and based on that the due date report should fetch the data like as if a user enters 7, 14, 21, 28 and so on till last option as 999 in 6 to eight variables provided than the report should come in buckets of 0-7, 8-14, 15-21 and so on.
How can i achieve this with BEx.
-KushalI'm considering you are running this report on a daily basis. Under this assumption, you may create a Key Date Varaible in BEx Query Designer. SAP BEx offers a very useful concept called Key Date. Purpose of Key Date is to execute your report as of today's date (sy-datum) based on a variable. You may create variables also on 'Key Date' & use this variable as subsequent your offsets in the row/col structure. This gives you a better leverage from ABAP side. For such bucket scenarios, your defined variable will give you option to choose input date which can be customized to choose sy-datum as the current date.
There's no necessity for user to define bucket limits for each level. As per the statements, its obvious the values are multiple of ZOFFSET (The offset provided by users). We can use a simple Customer Exit Variable. We need to first capture the value of ZOFFSET:7. Using CMOD, we can write the custom exit returning a value which gives the bucket range. Another input also must be passed to the exit program to capture 'How many lines you need to process/iterate?'. Say, you create a small formula variable to capture the # of slabs: ZSLABS. I've just written a basic skeleton. Pls. incorporate your requirements as necessary.
CASE I_VNAM
WHEN 'XXXX'.
IF I_STEP=2 +(i.e.after popup!)+
READ TABLE I_T_VAR_RANGE INTO L_S_RANGE WITH KEY VNAM='ZOFFSET'.
FOR (ZTEMP_I=0; Z_TEMP_1 <= ZSLABS; ZTEMP_I++)
IF SYSUBRC=0
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8). +This is YYYYMMDD+
ZOFF_PREV = L_S_RANGE-LOW + 1.
ZOFFSET = ZOFFSET * ZTEMP_I.
IF(ZOFFSET) IS INITIAL.
L_ST_RANGE-HIGH = SY-DATUM.
L_S_RANGE-LOW+6(2) = ZOFFSET. +Just filter only DD from YYYYMMDD+
ELSE
L_ST_RANGE-HIGH = ZOFF_PREV.
L_S_RANGE-LOW+6(2) = ZOFFSET.
ENDIF.
L_S_RANGE-SIGN='I'.
L_S_RANGE-OPT ='B'.
APPPEND L_S_RANGE TO E_T_RANGE.
END FOR +(Not sure about For loops; but you may similar logic using normal do/while loops too...)+
ENDCASE
There may be a few errors in code. Pls. review them & let me know your comments.
Typos regretted. Thanks!
Edited by: Arun Bala G on Oct 16, 2010 12:44 AM -
Cjr2 - protect AND unprotect fields in planning layout1-701 for data input
Where can I configure the field status of a field in teh planning WBS layout 1-702 (profile SAP ALL) in CJR2.
I would like to protect and unprotect certain fields for input.standard planning layouts are protected. you can not change it. create your own planning profile..
Or try by Using a transaction variant (SHD0)
may be you can also try GuiXT settings..
Please search the forum / internet for more informations. -
Flash Interface for Data Input - Good Examples?!
Hello,
I’m interested in locating samples of how a Flash graphic interface can be used as a way to more effectively engage users for inputting data collection - in contrast to a less engaging data collection form.
Please let me know any examples you may know and if possible attach links to samples if available.
Thanks!Hello Kathrin,
Since you say that the user's input is hierarchical in nature, it is nice to have a tree-control for input. But, the choice of using a custom-control-version of the tree is a cause for some concern. I cannot recollect any of the SAP screens where the input can be given through such a tree framework (please do let me know if you have come across one). The problem with such a tree would be in the areas of even-handling. Filling the tree with appropriate data at the right times would be another challenge.
However, there's one alternative that I would like to direct your attention to. You must have observed another kind of tree, when you select an application component from the APPLICATION HIERARCHY, which is just like a list. Also, the <i>Transport Organizer (SE09)</i>, <i>Menu Painter (SE41)</i> etc., have this kind of a tree. You can use this if you (or rather your users) are very particular on having a tree display. For more information, you can see the Function Group <b>SEUT</b>, which has the required function modules to accomplish the same. The Function Group is well documented, and you might have to work a little on the function modules themselves.
Please do let me know if this is a suitable option to meet your requirement. All the best,
Regards,
Anand Mandalika.
Maybe you are looking for
-
User defined field in BSEG not accessible
Hi all. I have appended a field in BSEG. When I view it in SE16 using BELNR, that field is visible, but when i search it using that field , it shows no data exists. It happens with very less no of BELNR, but it is creating problem. Can anyone help me
-
I am trying to purchase 0ffice 365 for small business after having the trial, it goes through to the payments screen but does not show any buttons to complete the process. My trial is due to run out today so I need assistance so that I can carry on w
-
Apple Remote Desktop Not Listed in Sharing
Hey everyone, I'm trying to enable a laptop with the apple remote desktop service so i could connect to it from my computer. I have done this with other computers in the office and each of them had "Apple Remote Desktop" listed in the Sharing left-si
-
Business Partner Data Migration
Hi experts, I have few options for doing data migration for business partners for CRM. 1. Using customized program (BAPI/FM) 2. LSMW (IDOC) 3. tcode KCLL and KCLJ May i know which method is most efficient/fastest/easiest? Regards, st
-
HTML DB Format Phone/Fax Numbers
Within my htmldb application I have Phone/Fax # getting pulled from my table. The phone/fax number are formatted like this 2135589645. I would like them to be formatted this way, 213-558-9645. How can I do that in HTML DB?