Enable selection check boxes in CO-PA datasorce
HI BI gurus,
I have an CO-PA datasource,
in datasource level some fields are not enabled ,it wont allow to select or reselect the options, that selection check box is automatically set 'M' version ,which means 'Must Required' ,now i want to change this 'M' to P flag ,
in BW i know that how to do ,in BI i don't know how to do that,
cause : while loading time in infopackage level which is asking KOKRS: controlling area Range ,and PERVI: fiscal period is asking,if u wont give this options it wont load the data
i dont want this restrictions in Data selection also ,plz help me
Thanks and Regards
prakash.v
Edited by: Prakash V on Jan 2, 2008 10:20 AM
You can write a sample code in update rule to delete undesired currency type:
delete data_pakage where 0currtype = 'B0'.
Not sure on 0currtype name.
Hope it helps.
Regards
Similar Messages
-
Data source selection check box Enabling
Hi All,
Good day, This in Ravi .
I need one small help from you.
We have a data source named 0co_pc_pcp_01.
we need to check the selection check box for the field ELEM(cost component number).
But it was in disable mode.
Please could you tell how to eanble that selction check box.
Bcoz i need to set that option for that field and have to load in BW with selctions in infopackage.
Please could you help me reagrding this, waiting for your replies.
my maild id is [email protected]
Thanks & Kind Regards
RaviHi Ravi,
Which system is it? R/3 Dev pr R/3 QUAL? If it is R/3 Dev then you can goto the TCode RSA6 select your data source and click on the pencil icon on the menu bar. It will ask for a Transport Request, you can give one and then it will take you to the change mode of the data source, there you can do the changes and generate the data source.
But if it is R/3 QUAL then you can't change it there straightaway. You have to first change it in R/3 DEV and collect these changes in a Transport Request and then transport it to R/3 QUAL.
Hope it helps.. -
How to enable the check box using cl_salv_table?
Hi Experts,
what code will change for to enable the check box in the following Report program?
REPORT ZMA_ALV_OOPS2.
TABLES:MARA.
TYPES:BEGIN OF T_MARA,
SEL TYPE C,
MATNR TYPE MARA-MATNR,
WERKS TYPE MARC-WERKS,
LGORT TYPE MARD-LGORT,
LABST TYPE MARD-LABST,
END OF T_MARA.
DATA:TB_MARA TYPE STANDARD TABLE OF T_MARA,
WA_MARA TYPE T_MARA.
DATA: GR_TABLE TYPE REF TO CL_SALV_TABLE.
DATA: GR_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS.
DATA: GR_DISPLAY TYPE REF TO CL_SALV_DISPLAY_SETTINGS.
DATA: GR_COLUMNS TYPE REF TO CL_SALV_COLUMNS_TABLE.
DATA: GR_COLUMN TYPE REF TO CL_SALV_COLUMN_TABLE.
DATA: GR_SORTS TYPE REF TO CL_SALV_SORTS.
DATA: GR_AGG TYPE REF TO CL_SALV_AGGREGATIONS.
DATA: GR_FILTER TYPE REF TO CL_SALV_FILTERS.
DATA: GR_LAYOUT TYPE REF TO CL_SALV_LAYOUT.
DATA: GR_PRINT TYPE REF TO CL_SALV_PRINT.
DATA: GR_SELE TYPE REF TO CL_SALV_SELECTIONS.
DATA: GC_TRUE TYPE SAP_BOOL VALUE 'X'.
DATA: GR_ITEM TYPE REF TO CL_SALV_ITEM.
DATA: COLUMNNAME TYPE REF TO LVC_FNAME.
top of list for CCL
DATA: GR_CONTENT_CCL TYPE REF TO CL_SALV_FORM_ELEMENT.
DATA: GR_COL TYPE REF TO CL_SALV_COLUMN.
DATA: LT_SORT TYPE SALV_T_SORT_REF,
LS_SORT TYPE SALV_S_SORT_REF,
L_SEQUENCE TYPE SALV_DE_SORT_SEQUENCE,
T_SORT TYPE REF TO SALV_T_SORT_REF.
DATA: KEY TYPE SALV_S_LAYOUT_KEY.
DATA: COLOR TYPE LVC_S_COLO.
DATA: GR_EVENTS TYPE REF TO CL_SALV_EVENTS_TABLE.
DATA: GR_SELECTIONS TYPE REF TO CL_SALV_SELECTIONS.
**--Selection screen
SELECT-OPTIONS:S_MATNR FOR MARA-MATNR.
SELECT MATNR WERKS LGORT LABST
FROM MARD
INTO CORRESPONDING FIELDS OF TABLE TB_MARA
WHERE MATNR IN S_MATNR.
TRY.
CALL METHOD CL_SALV_TABLE=>FACTORY
IMPORTING
R_SALV_TABLE = GR_TABLE
CHANGING
T_TABLE = TB_MARA.
CATCH CX_SALV_MSG.
ENDTRY.
GR_TABLE->SET_SCREEN_STATUS(
PFSTATUS = 'SALV_TABLE_STANDARD'
REPORT = SY-REPID
SET_FUNCTIONS = GR_TABLE->C_FUNCTIONS_ALL ).
GR_FUNCTIONS = GR_TABLE->GET_FUNCTIONS( ).
GR_FUNCTIONS->SET_ALL( ABAP_TRUE ).
GR_DISPLAY = GR_TABLE->GET_DISPLAY_SETTINGS( ).
GR_SELE = GR_TABLE->GET_SELECTIONS( ).
GR_SELE->SET_SELECTION_MODE( ).
GR_TABLE->SET_TOP_OF_LIST( GR_CONTENT_CCL ).
*--- To change the column headings
GR_COLUMNS = GR_TABLE->GET_COLUMNS( ).
GR_COLUMNS->SET_OPTIMIZE( GC_TRUE ).
GR_SORTS = GR_TABLE->GET_SORTS( ).
TRY.
GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'SEL' ) .
GR_COLUMN->SET_CELL_TYPE( IF_SALV_C_CELL_TYPE=>CHECKBOX ).
GR_COLUMN->SET_LONG_TEXT( 'CHECKBOX' ).
CATCH CX_SALV_NOT_FOUND.
ENDTRY.
GR_COLUMN->SET_CELL_TYPE( 6 ).
GR_COLUMN->SET_SHORT_TEXT( 'Check Box' ).
GR_COLUMN->SET_LONG_TEXT( 'Check Box' ).
******Check box edit
TRY.
GR_SORTS->ADD_SORT( COLUMNNAME = 'MATNR' SEQUENCE =
IF_SALV_C_SORT=>SORT_UP ).
CATCH CX_SALV_DATA_ERROR
CX_SALV_NOT_FOUND
CX_SALV_EXISTING.
ENDTRY.
GR_LAYOUT = GR_TABLE->GET_LAYOUT( ).
KEY-REPORT = SY-REPID.
GR_LAYOUT->SET_KEY( KEY ).
GR_LAYOUT->SET_SAVE_RESTRICTION( CL_SALV_LAYOUT=>RESTRICT_NONE ).
TRY.
GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'MATNR' ).
CATCH CX_SALV_NOT_FOUND.
ENDTRY.
COLOR-COL = '8'.
COLOR-INT = '0'.
COLOR-INV = '1'.
GR_COLUMN->SET_COLOR( COLOR ).
GR_TABLE->DISPLAY( ).
Thanks,
Mahesh.Hi,
You can use the method set_selection_mode to automatically show the checkbox for each row..and use the method get_selected_rows to get the rows selected..
Check this sample report..
TYPES: BEGIN OF type_output,
matnr TYPE matnr,
END OF type_output.
DATA:lt_output TYPE STANDARD TABLE OF type_output,
lwa_rows TYPE int4,
lwa_output TYPE type_output,
lt_rows TYPE salv_t_row.
* Local declarations.
DATA: lr_table TYPE REF TO cl_salv_table,
lr_selections TYPE REF TO cl_salv_selections.
DATA: lr_columns TYPE REF TO cl_salv_columns_table.
START-OF-SELECTION.
* Prepare data.
lwa_output-matnr = 'TEST1'.APPEND lwa_output TO lt_output.
lwa_output-matnr = 'TEST2'.APPEND lwa_output TO lt_output.
lwa_output-matnr = 'TEST3'.APPEND lwa_output TO lt_output.
* Call the factory method
TRY.
cl_salv_table=>factory(
EXPORTING
list_display = 'X'
IMPORTING
r_salv_table = lr_table
CHANGING
t_table = lt_output ).
CATCH cx_salv_msg. "#EC NO_HANDLER
ENDTRY.
* Column selection
lr_selections = lr_table->get_selections( ).
lr_selections->set_selection_mode( if_salv_c_selection_mode=>row_column ).
lr_columns = lr_table->get_columns( ).
lr_columns->set_optimize( abap_true ).
* Display
lr_table->display( ).
* Get the selected rows.
lt_rows = lr_selections->get_selected_rows( ).
* Display the selected rows.
LOOP AT lt_rows INTO lwa_rows.
READ TABLE lt_output INTO lwa_output INDEX lwa_rows.
WRITE: / lwa_output-matnr.
ENDLOOP.
Thanks
Naren -
Enable the check box in change layout in a report
Hi all,
I have a requirement ie after i run a repot we get a change layout icon in that icon there r tab's in it like coloums, sort order....,display.
In the dispaly tab i have a check box named printout with date,title and page number .so i would like to enable the check box .
can anybody tell me how can i do it using ALV's
Thanks,
Sricheck FM Reuse_alv_grid_display.
i_SAVE = 'A/U/'.
FU REUSE_ALV_LIST_DISPLAY I_SAVE
Text
Variants can be saved
Description
Controls the storage mode
Prerequisite:
The IS_VARIANT parameter has the appropriate value.
See also the documentation of the IMPORTING parameter IS_VARIANT.
Value range
' ' = display variants cannot be saved
Defined display variants (e.g. delivered display variants) can be selected for presentation independently of this flag.
Changes can not be saved.
'X' = standard save
Display variants can be saved as standard display variants.
User-specific saving is not possible.
'U' = only user-specific saving
The user can only save display variants user-specifically
'A' = standard and user-specific saving
The user can save a display variant user-specifically and
as standard display variant. The user chooses in the display variant
save popup.
Default
SPACE
Function Module
REUSE_ALV_LIST_DISPLAY
Regards
Prabhu -
How to Save the multiple selection check box values into the database
i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.
You can access the values using listbinding and can then store them as a string by using a delimiter.
-
Extracting values from multi select check boxes delimeted by ":"
A set of check boxes in an Apex form produces "V1:V2:V3" in the target field, these are the key fields from a dynamic selection lists based on a table that contains the key and value fields. Does anyone have a sample SQL fragment that will produce a record for each one of the values ?
FORM_TABLE
ID (1)
CB_TARGET (V1:V2:V4)
LIST_TABLE
KEY_F (V1),(V2),(V3),(V4) etc.
VALUE_F (Value 1), (Value 2), (Value 3), (Value 4 ...)
Even though there is only a single row in this example in the "FORM_TABLE", how can this be transformed to :
1, V1
1, V2
1, V4
Regards
HDoes anyone have a sample SQL fragment that will produce a record for each one of the values ?Does it have to be SQL? The simplest approach is probably PL/SQL, using the <tt>apex_util.string_to_table</tt> function.
For a purely SQL-based solution, use whatever string-to-row technique is appropriate to your situation. -
How to enable a check box using the table LVC_S_FCAT
hi,
I am working on reports. I have to have a check box and i am using the table LVC_S_FCAT to get the check box, i am getting the check box. how to enable it.Hi Preethi,
try to set default the check-box with the
value '0', '1', '-', ' ' and 'X' (0/1 -> only display,
'-' field is not shown, ' ' and 'X' is normal)
and see the differences.
Hope it helps.
Regards, Dieter
Sorry, i thought you meen enable not editable.
Message was edited by: Dieter Gröhn -
How to get the sum of selected check boxes?
I have created this simple form with several fields. Fields can be selected via a check-box and they have a price listed.
I would like to have the sum of each selected product, added in total.
You can check it out here: https://www.dropbox.com/s/wl1bqz4fa0vlrsk/Student%20Form.pdf
Help.. anyone?it's me again..
here's a solution: http://forums.adobe.com/thread/929801 -
Programatically enable-disable check box"play user interface sound effects"
Hello All,
I have been Working on something where i need to disable the "play user interface sound effects" check box ( Under System preferences under sound panel ) for few seconds and then enable the same programically without any user interface appearing on the screen. I know something related using the Applescript however there is a user interface appearing there which doesn't serve the purpose please help with some solution.If you could provide the exact location of the plist file which holds this information then that could help as well.Hi !
I too have been working with the sounds ( Which i think is relates to @mit's query ) in an application and the problem is that when ever that application moves something to trash there is a sound which comes the sound of "throwing things in the trash". This is very annoying and i want to do something so that I can suppress that sound atleast for the time this application is on. Now is there some way where I can do this Programically . It would even be fine if I could turn off the user interface sounds completely for sometime and then bring them back on.
Thanks In Advance !
Looking Forward To Some response soon !
iMAC G4 Mac OS X (10.4) Power PC 256 MB RAM -
How do I enable the check box for watermark?
In Lightroom 3.3, when in the Library module and attempting to export, I am unable to check the checkbox for watermarking.
Thank you for your reply.
The file is a jpeg.
In the Print module I am able to enable the watermark check box, but not in the Library module. -
Selecting (checking boxes) within Library in iTunes
Is there a quick way to select or deselect (checking boxes) within your library (or specific playlist) as a means to control the items that you want to move to the ipod? Usually in a similar environment, you have an option to select all of the boxes and check them or the reverse in an attempt to control selection.
Can anyone help? Apple(corp) suggested this support forum.
Thanks (in advance)
DavidMake a selection by clicking on the first track and shift-clicking on the last one for consecutive tracks or command-click on ones that are non-contiguous (you can combine these techniques). Then control-click on the selection and choose "Check (Unselect) Selection".
-
How to enable/disable check boxes in a table.
hi Gurus,
i am new to webdynpro for abap.
the problem i have is.
i have a table with two columns. first one is a check box column and the second one is a value field. the table is populated with data(second field only) upon pressing some button.
while populating data i want to make check box field/row ticked and disabled when second field row value is 'X' . if not leave the check box row/field enabled and unticked ( if i want i can tick the check box later). hope you guys me. this is sort of urgent. please reply with some code.
thanks in advance.
SreeHi
Issue what i am facing is,i want to display column of CHECKBOXes in my ALV.
for that i declare atrribute of type CHECKBOX.
And i write the following code.
lr_column_settings ?= l_value.
lt_columns = lr_column_settings->get_columns( ).
loop over table - in each loop another column can be modified
LOOP AT lt_columns INTO ls_column.
IF ls_column-id = 'CHK_BOX'.
CREATE OBJECT lr_chk_box
EXPORTING
checked_fieldname = ls_column-id.
lr_chk_box->set_read_only( ABAP_FALSE ).
lr_chk_box->set_read_only_fieldname( 'ALV_FINAL_STATUS' ).
ls_column-r_column->set_cell_editor( lr_chk_box ).
even i cant able to get checkbox in my ALV.
IT is displaying as general field.
Regards,
Ravi -
Deletion of single or multiple rows by selecting check boxes?
Hi ,
I want to delete a row or no of rows in a table by selecting the check boxes.COuld any one suggest me how to do this?
Regards,
RamFollowing is the JavaScript sample you may have to tweak the code to fit your situation....
// Invoke the Instance Manager to remove the current instance of the detail subform.
_<SubformName/RowSOMName>.removeInstance(index of the object to remove)
//_Section2Detail.removeInstance(this.parent.index); //in my case I have a delete button next to each row when clicked that will pass the index of the parent(row index as it is part of that row).
// Invoke the recalculate method to update the form calculations.
xfa.form.recalculate(1); -
Hi
I want to allow the user to select multiple items via a checkbox displayed as LOV.
I've managed to display all the LOV entries as check boxes just by selecting a LOV but it only stores one of the items I've selected in that LOV.
I need a checkbox system that stores data like a shuttle control, i.e. 1:2:4:9 etc
Is this possible without using Add-on JavaScript library's?
Thanks
AdamYou can access the values using listbinding and can then store them as a string by using a delimiter.
-
I am creating a form where a user can check up to 20 check boxes... How can a make it so only the SELECTED/CHECKED check boxes get printed. I think i can make a hidden subform where as the boxes are checked it populated the name of that box... then make that hidden sub field visible only at print. Can anyone give some guidance, thanks!
The code I had in my reply is generalized code can be used with any checkBox irrespective of name. No customizations required to get what you need. In the code "this" references the object that code is associated with hence you do not have to specify the name of the object. So use the same code over and over with each check box as indicated.
Maybe you are looking for
-
Error while running the query from WebI
A database error occured. The database error test is: The MDX query Select Company code Vendor Fiscal year Cumulative Balance on Rows from 0FIAP failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901) Any i
-
Keeping SharePoint Query Data and Excel Manual Entry Data Aligned
Greetings! I've been trying to find the best place to ask this question, so I'm hoping this is close enough to on-topic for this forum. I have an Excel 2010 workbook that includes a table linked to my SharePoint 2013 site by a data connection. The Sh
-
Center text in DIV horizontally and vertically.
I made a simple nav bar at the bottom of a site I am building and had it centered horizontally and vertically. When I pulled up the page today the text is all the way to the left and I had no problems with it the day before. I have made no changes t
-
"Merge with values" not merging values
Hello, I have quite a problem with LDAP provisionning and LDAP groups management: - "user1" and "user2" already exist in the LDAP directory and are members of "group1" - I create user1 in IDM and give him the LDAP ressource => he gets linked correctl
-
Query about location of picture files in iPhoto 9.2.1
Hi I apologise immediately if this is an elementary question but I am a barely elementary Mac user. I can't find the photo files on my new computer. Where on my previous Mac there was an iPhoto library folder much as there is an iTunes Music folder I