Variables are not displaying in a order in a query
Hi friends,
I have 4 vaiables in my query.. i want to dispaly those variables in a particular order.. for example.. i want to display 1. Country , 2. State , 3. City , 4. Street.. like this order.. but my Query was displaying in a disorder.. for this.. with out changing the Query fields order.. how can i change the variables displaying order ..
can any one plz provide me the solution...
thanks
Babu
Hi
In Querry properties u can change the order according to ur requirement.
Thanks
Khaja
Similar Messages
-
Audiobooks are not displaying in numerical order on iphone. all mixed up.
audio book contents which are in order from 1 to whatever number in itunes are now displaying in different orders on iphone now. how do I fix this? they are already in the order I want in itunes but not on the iphone
I created a playlist (not a smart playlist) for the audiobooks I transfer to the iPod and they're STILL playing as if I had shuffle mode on. I've reported this as a bug, but who knows when Apple will get around to fixing it!
I was hoping someone would have come up with a workaround but nothing works. -
Document library items are not displaying in sorted order in sharepoint 2013
Hi,
I have a document library , I am storing document sets on it.
28326 items are there in the library.
I have configured sort on Name columns. Initially items are displaying in sorted order like (A,B,C,D,E...)
Now Items are not displaying in a sorted order it is displaying like (A, B,C,D,E,A,C...) like this.
Please help me on this sorting issue.
Thanks,
SamirAre the documents displaying in your image inside the document sets? If so then your sets (folders) are displaying in alphabetical order and the documents inside the sets are displaying in alphabetical order. This is what i would expect.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
NB Type Planned orders are not Displayed in the Order Information System
Dear All
We have one material with Proc. type F.
We have entered a sales order for that item & run MRP ( MRP type PE)
No strategy is assigned to the material.
MRP has created a Plan Order which is of NB type & in MD04 it is showing SDEB against Plan Order.
Now we are not able to see this Plan Order in COOIS.
Although it is visible in MD04,MD16.
Can anyone tell me whether COOIS consider only those plan orders which are of E ( In house Prod ) category ?
How can we display that in COOIS ?
Abhishek GargDear,
COOIS is used for production orders or planned orders olny and it will show u Order information relevent to "E" type procurement.
You can use ME5A -
Pricing conditions are not displaying on purchsae order form
hi.
i am using zmedruck form,i am able to modify all and its printing properly,but pricing coditions at item level is not displaying ,if there is any solution for this let me know.
Thanks in advance.yes u can write a subroutine in another program n call that from ur sapscript. u can pass the PO number from the script and use the logic accordingly in ur subroutine to get wat is required... u can refer the below example
In script program,
/:PERFORM GET_SBGRP_STEXT IN PROGRAM ZSDSCRIPT
/:USING &GV_MATNR&
/:CHANGING &GV_STEXT&
/:TABLES INPUT_TABLE
/: OUTPUT_TABLE
/:ENDPERFORM
In program ZSDSCRIPT,
form get_sbgrp_stext tables intab structure itcsy
outab structure itcsy.
DATA: LV_MATNR LIKE MARA-MATNR,
LV_TEXT(3) TYPE C VALUE 'ABC'.
clear intab.
read table intab with key name = 'GV_MATNR'.
if sy-subrc = 0.
lv_MATNR = intab-value.
ENDIF.
CLEAR OUTTAB.
READ TABLE OUTAB WITH KEY NAME = 'GV_STEXT'.
IF SY-SUBRC = 0.
OUTAB-VALUE = LV_TEXT.
modify outab index sy-tabix.
ENDIF.
endform. -
Text fields are not displayed for custom infotypes in Adhoc query
We have developed a custom infotype , which we had incldued in the adhoc query. when we generate output , it is showng codes instead of text . In the output filed , it is hwoing only vaue and Vale and text is diabled.
please let me know , how to add text in the out filed filed
thanks
rajaram B bhatHI
But in the out put filed , when i click on the output filed , i am get three drop downs , only text , only value and valu & text.
Only value is enabled and other two ate disabled.
How to enable the othet two , i.e text only and value & text
thanks & regards
Rajaram B Bhat -
Target costs not displayed in process order
Hi,
We have set up a small PI scenario. The issue we are facing is that the target costs are not displayed in the order. Actual costs appear after confirmation, but target costs appear as zero.
We have maintianed cost relevancy in work centers, defined valid activity types, maintianed price in material master for all components and also run the standard cost estimate and released it.
Please let us know what we are missing and why this error could be happening?
Thanks in advance,
AshokTarget costs are populated when you do the goods receipt. System will search for the released standard cost estimate and then apply that for each material component. If these 2 conditions are passed, then you will get target cost in order,
You need to define the following,
1. Variance Key - Transaction "OKV1"
2. Assign that to Plant using "OKVW"
3. Define Variance Variant using "OKVG"
4. Define Valuation variant for WIP/Scrap calculation using "SPRO"
5. Define target cost version by assiging sl no 3 & 4 and also how the cost calculation should be used.
Once this activities are completed, execute production/process order and then after goods movement and some confirmations process Variance using "KKS2" as a period end activities.
Edited by: sarin toms on Dec 2, 2008 2:26 PM -
Records are not displaying as expected.
Hi,
Records are not displaying as expected.
i designed an query as
SELECT '1. Emp Detail ' Details from dual
UNION ALL
SELECT empno||ename details dfrom emp
UNION ALL
SELECT '1. Dept Detail ' Details from dual
UNION ALL
SELECT deptno||dname details from dept
UNION ALL
SELECT '1. Location Detail ' Details from dual
SELECT locationcode||locationname details from location
The above query is displaying the data as follow
EMP Detail
Dept Detail
Location Details
John
Kathy
Prem
IT
Customer care
Boston
Texas
but i need to display the data as follows
EmpDetail
JOHN
Kathy
Prem
Dept Detail
IT
Customer care
Location Detail
Boston
Texas
Please help me on this.
Thanks,
NazRecords are not displaying as expected.Well, it certainly displays as I'd expect it to. i.e. in an undetermined order.
If you want the output of a query to come out in a specific order then you must use an ORDER BY clause in your query, otherwise you are just querying a set of data and there is no order to it. You cannot assume that the order of the data will be the order in which you union your queries together, that's not how SQL works, as SQL is designed to work on sets of data, not on sequential rows.
So, in your example you would want something along the lines of:
select Details from (
SELECT 1 as ord, '1. Emp Detail ' Details from dual UNION ALL
SELECT 2, empno||ename details dfrom emp UNION ALL
SELECT 3, '1. Dept Detail ' Details from dual UNION ALL
SELECT 4, deptno||dname details from dept UNION ALL
SELECT 5, '1. Location Detail ' Details from dual UNION ALL
SELECT 6, locationcode||locationname details from location
order by ord, details -
Text Variables are not being Displayed in the Output of the Query
Hi All ,
We have some column headings , which are populated through the Text Vaiables , But in the Query Ouptput only the tech names of the Text variables are being displayed . can anyone tell me why its happening like this . I want to debug the Query , please guide me in this regard
Thanks in Advance.. Pls reply me as soon as possibleHi Nagarjuna reddy,
Click on the properties of the infoobject enter the name of the description and next to that you can see the X/? buttion click on the this button and select the field/if the proper field is not there then create a field descriton and select. i hope this is works and correct me if i am wrong. for debuggin the query use a transaction code- RSRT.
regs,
Vachan -
I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV.
After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the original folder.
How to pair show in a certain order, for example, sorted by name.
grateful
Julio CesarNot that I'm aware of. You just export JPEG copies to a folder that you can point iTunes to. For instance, I have created a folder in my Pictures folder called Apple TV. And within that folder I have other folders of pictures that I can choose from in iTunes to share with Apple TV. But there doesn't seem to be any way to share a Lightroom slideshow. If you have laid to create a video file that would probably work. Apple TV is a little clunky in my opinion. Some things are a little more difficult to do now than they were a while back. I probably haven't provided you with much help, but just keep experimenting and I think you will figure it out.
-
Service order values posted to WBS, values are not displaying in CJii3
Hi,
We have posted thevalues from service order to wbs.
values are not displaying in cji3.
Regards,Hi,
If the data has been successfully loaded into BPC, then it should be visible in BPC report.
You need to make sure that you are looking at the correct data region. Check in RSA1 and check which data region has the data. Maintain the same region in the report as well.
Hope this helps. -
Bind variables are not used in select statement
Hello all of you,
I have two parameters in Report 6i.
1) Department
2) Section
There are many section in a single department. Both parameters are selected from list. The list for department name is as follows -
select deptname from department_master order by deptname
It works very well. The value is stored in :p_dept_name.
I want to display section of selected department only using following code :-
select sectname from section_master a, department_master b where a.deptcode = b.deptcode and b.deptname = :p_dept_name
The value is stored in :p_sect_name.
But it does not work. bind variables are not allowed in select statement, then how can I do this???
Please suggest me.
Thanx,
Regards,Vikas,
the forum is full of threads about that.
Dependent Parameters in Reports are possible out-of-the-box in Reports.
If you're running your report on the web, have a look at Metalink Note:185951.1
Regards
Rainer -
Column Heading are not displayed in ALV Report using CL_SALV_DISPLAY?
Hi,
I am using CL_SALV_DISPLAY class to display data. I Created an Internal Table Dynamically based fieldcatalog which was prepared based data at run time. When i displayed data using CL_SALC_DISPALY data is display in output but column headings are not displayed.
can anyone suggest me how to display heading in ALV using CL_SALV_DISPLAY class, My code is
CLASS lcl_report DEFINITION
CLASS lcl_report DEFINITION.
PUBLIC SECTION.
METHODS:
display IMPORTING l_table TYPE string
l_fcat TYPE string.
ENDCLASS. "lcl_report DEFINITION
CLASS lcl_report IMPLEMENTATION
CLASS lcl_report IMPLEMENTATION.
METHOD display.
DATA: gr_table TYPE REF TO cl_salv_table.
DATA: gr_columns TYPE REF TO cl_salv_columns_table,
gr_column TYPE REF TO cl_salv_column_table,
ls_fcat TYPE slis_fieldcat_alv.
DATA: gr_display TYPE REF TO cl_salv_display_settings.
DATA: l_o_functions TYPE REF TO cl_salv_functions_list,
l_field TYPE string.
FIELD-SYMBOLS : <fs_table> TYPE STANDARD TABLE,
<ft_fcat> TYPE STANDARD TABLE.
Get the ALV object refering to the output table
ASSIGN (l_table) TO <fs_table>.
ASSIGN (l_fcat) TO <ft_fcat>.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_table
CHANGING
t_table = <fs_table> ).
CATCH cx_salv_msg. "#EC NO_HANDLER
ENDTRY.
Add basic default functionality in the ALV report
Functions
l_o_functions = gr_table->get_functions( ).
l_o_functions->set_all( abap_true ).
gr_columns = gr_table->get_columns( ).
gr_columns->set_headers_visible( abap_true ).
Display the list
gr_table->display( ).
ENDMETHOD. "extract
ENDCLASS. "lcl_report IMPLEMENTATION
*& start-of-selection declaration
START-OF-SELECTION.
PERFORM :
get store codes
get_storecodes USING p_stfile
CHANGING it_t001w,
fetching mard data
read_mard_data,
preparing fieldcatalog for Final Data
create_filedcat USING it_t001w
it_site
CHANGING it_fieldcat,
preparing structure & internal table for Final Data
create_final_table_structure USING it_fieldcat,
prepare output data
prepare_final_data.
*& end-of-selection declaration
END-OF-SELECTION.
PERFORM :
display data
display_data USING l_table
l_fcat.
*& Form get_storecodes
FORM get_storecodes USING p_p_stfile
CHANGING p_it_t001w LIKE it_t001w[].
DATA :
internal table for RAW
lt_raw TYPE truxs_t_text_data,
rs_site LIKE LINE OF rt_site,
l_index LIKE sy-tabix.
FIELD-SYMBOLS :
field symbol for it_t001w
<fs_t001w> LIKE LINE OF p_it_t001w.
calling function module to get Stores Data from File
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = lt_raw
i_filename = p_p_stfile
TABLES
i_tab_converted_data = p_it_t001w[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
EXIT.
ENDIF.
SORT p_it_t001w BY werks.
CLEAR rs_site.
rs_site-sign = 'I'.
rs_site-option = 'EQ'.
rs_site-low = p_dccode.
APPEND rs_site TO rt_site.
IF it_t001w[] IS NOT INITIAL.
LOOP AT p_it_t001w ASSIGNING <fs_t001w>.
l_index = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = <fs_t001w>-werks
IMPORTING
output = <fs_t001w>-werks.
MODIFY p_it_t001w FROM <fs_t001w> INDEX l_index.
IF <fs_t001w>-werks GE s_site-low AND <fs_t001w>-werks LE s_site-high.
append site to ranges
CLEAR rs_site.
rs_site-sign = 'I'.
rs_site-option = 'EQ'.
rs_site-low = <fs_t001w>-werks.
APPEND rs_site TO rt_site.
CONTINUE.
ENDIF.
ENDLOOP.
SORT p_it_t001w BY werks.
SORT rt_site.
ENDIF.
ENDFORM. " get_storecodes
*& Form create_final_table_structure
FORM create_filedcat USING p_it_t001w LIKE it_t001w[]
p_it_site LIKE it_site[]
CHANGING p_it_fieldcat LIKE it_fieldcat[].
FIELD-SYMBOLS :
field symbol for p_it_t001w
<fs_t001w> LIKE LINE OF p_it_t001w,
field symbol for p_it_site
<fs_site> LIKE LINE OF p_it_site.
DATA :
fieldname
l_fieldname TYPE slis_fieldname,
workarea for site ranges
rs_site LIKE LINE OF rt_site.
CLEAR : l_fieldname, rs_site.
l_fieldname = p_dccode.
PERFORM
prepare fieldcatalog
build_fieldcatalog USING : 'MTART' 'CHAR' '5' ,
'MTBEZ' 'CHAR' '25' ,
'MATKL' 'CHAR' '6' ,
'WGBEZ' 'CHAR' '20' ,
'MATNR' 'CHAR' '18' ,
'MAKTX' 'CHAR' '30' ,
l_fieldname 'CHAR' '17' .
create header for excel
PERFORM create_excel_header USING : 'Division',
'Divsion Description',
'MC Code',
'MC Description',
'Article',
'Article Description',
l_fieldname.
loop for creating fieldcatalog
LOOP AT it_site ASSIGNING <fs_site>.
READ TABLE it_t001w ASSIGNING <fs_t001w> WITH KEY werks = <fs_site>-werks
BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t001w> IS ASSIGNED AND
<fs_site> IS ASSIGNED AND <fs_site>-stock GT 0.
CLEAR : l_fieldname, rs_site.
l_fieldname = <fs_site>-werks.
prepare fieldcatalog
PERFORM build_fieldcatalog USING : l_fieldname 'CHAR' '17'.
create header for excel
PERFORM create_excel_header USING l_fieldname .
CONTINUE.
ENDIF.
ENDLOOP.
l_fcat = 'it_fieldcat[]'.
ENDFORM. " create_final_table_structure
*& Form build_fieldcatalog
FORM build_fieldcatalog USING p_fieldname TYPE slis_fieldname
p_datatype TYPE datatype_d
p_length TYPE intlen.
DATA : ls_fieldcat LIKE LINE OF it_fieldcat.
CLEAR : ls_fieldcat.
ls_fieldcat-fieldname = p_fieldname.
ls_fieldcat-datatype = p_datatype.
ls_fieldcat-intlen = p_length.
APPEND ls_fieldcat TO it_fieldcat.
ENDFORM. " build_fieldcatalog
*& Form create_final_table_structure
FORM create_final_table_structure USING p_it_fieldcat.
Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fieldcat
IMPORTING
ep_table = t_table.
ASSIGN t_table->* TO <ft_final>.
ENDFORM. " create_final_table_structure
*& Form create_excel_header
FORM create_excel_header USING p_p_fieldname.
DATA : ls_header LIKE LINE OF it_header.
CLEAR ls_header.
ls_header-col_name = p_p_fieldname.
APPEND ls_header TO it_header.
ENDFORM. " create_excel_header
*& Form prepare_final_data
FORM prepare_final_data .
DATA : l_matnr LIKE g_matnr,
l_werks LIKE g_werks,
l_index LIKE sy-tabix.
FIELD-SYMBOLS : <fs_mard> LIKE LINE OF it_mard.
Getting No. of Lines in IT_MARD internal table
DESCRIBE TABLE it_mard LINES g_lines.
LOOP AT it_mard ASSIGNING <fs_mard>.
l_index = sy-tabix.
IF l_matnr IS INITIAL.
l_matnr = <fs_mard>-matnr.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
UNASSIGN : <fs_value>, <fs_final>.
Create dynamic work area and assign to FS
CREATE DATA t_line LIKE LINE OF <ft_final>.
ASSIGN t_line->* TO <fs_final>.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mard>-matnr.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
getting Article Type,MC & its Descriptions
PERFORM get_other_data USING l_matnr
l_werks.
ELSEIF l_matnr <> <fs_mard>-matnr.
APPEND <fs_final> TO <ft_final>.
CLEAR l_matnr.
l_matnr = <fs_mard>-matnr.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
UNASSIGN : <fs_value>, <fs_final>.
Create dynamic work area and assign to FS
CREATE DATA t_line LIKE LINE OF <ft_final>.
ASSIGN t_line->* TO <fs_final>.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mard>-matnr.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
getting Article Type,MC & its Descriptions
PERFORM get_other_data USING l_matnr
l_werks.
ELSE.
CLEAR : l_werks.
l_werks = <fs_mard>-werks.
ASSIGN COMPONENT l_werks OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_value> + <fs_mard>-labst.
ENDIF.
IF l_index = g_lines.
APPEND <fs_final> TO <ft_final>.
ENDIF.
ENDLOOP.
l_table = '<ft_final>[]'.
ENDFORM. " prepare_final_data
*& Form get_other_data
FORM get_other_data USING p_l_matnr
p_l_werks.
FIELD-SYMBOLS : <fs_mara> LIKE LINE OF it_mara,
<fs_t023t> LIKE LINE OF it_t023t,
<fs_t134t> LIKE LINE OF it_t134t,
<fs_makt> LIKE LINE OF it_makt.
READ TABLE it_mara ASSIGNING <fs_mara> WITH KEY matnr = p_l_matnr. " BINARY SEARCH.
IF sy-subrc = 0 AND <fs_mara> IS ASSIGNED.
ASSIGN COMPONENT 'MTART' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mara>-mtart.
ASSIGN COMPONENT 'MATKL' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_mara>-matkl.
READ TABLE it_makt ASSIGNING <fs_makt> WITH KEY matnr = <fs_mara>-matnr BINARY SEARCH.
IF sy-subrc = 0 AND <fs_makt> IS ASSIGNED.
ASSIGN COMPONENT 'MAKTX' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_makt>-maktx.
ENDIF.
READ TABLE it_t023t ASSIGNING <fs_t023t> WITH KEY matkl = <fs_mara>-matkl BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t023t> IS ASSIGNED.
ASSIGN COMPONENT 'WGBEZ' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_t023t>-wgbez.
ENDIF.
READ TABLE it_t134t ASSIGNING <fs_t134t> WITH KEY mtart = <fs_mara>-mtart BINARY SEARCH.
IF sy-subrc = 0 AND <fs_t134t> IS ASSIGNED.
ASSIGN COMPONENT 'MTBEZ' OF STRUCTURE <fs_final> TO <fs_value>.
<fs_value> = <fs_t134t>-mtbez.
ENDIF.
ENDIF.
ENDFORM. " get_other_data
*& Form display_data
text
FORM display_data USING p_l_table
p_l_fcat.
DATA:
Variable for Object Creation
o_report TYPE REF TO lcl_report.
CREATE OBJECT o_report.
o_report->display( EXPORTING l_table = p_l_table
l_fcat = p_l_fcat ).
ENDFORM. " display_dataI don't know how to read the code you pasted or I would have checked this myself.
Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
I made a method inside my local class to add the names:
call method set_colname
EXPORTING iv_tab = alv_tab
iv_colid = 'xxxx' "fieldname from the table
iv_stxt = text-t54
iv_mtxt = text-t55
iv_ltxt = text-t55.
METHOD set_colname .
data:
alv_cols type REF TO cl_salv_columns_table,
alv_col type REF TO cl_salv_column.
TRY .
*... Change fieldnames
call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
IF iv_stxt <> ''.
CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
ENDIF.
IF iv_mtxt <> ''.
CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
ENDIF.
IF iv_ltxt <> ''.
CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
ENDIF.
CATCH cx_salv_not_found.
ENDTRY.
ENDMETHOD. "set_colname -
ORA-01008 All variables are not bound
Hi I am running this query and getting this exception ORA-01008 All variables are not bound .
Could anyone please insight ?
SELECT EQMT_INGT_LOG_ID, EQMT_ID,
XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML
FROM TOS_EQMT_INGT_LOG ingLog
where BUCK_SLIP_XML is not null and ingt_date between to_date(:fromDate, 'MM/DD/YYYY HH24:MI')
and to_date(:toDate,'MM/DD/YYYY HH24:MI' )
and eqmt_id in (select eqmt_id from tos_eqmt
where eqmt_init = :eqmtInit and eqmt_nbr = :eqmtNbr
and orig_loca_id in (select loca_id from tos_loca where altn_src_sys_stn_id = :circ7 ))
and SCAC = :scac
and STCC = :stcc
and SHPR_NAME = :shprName
and CNSE_NAME = :cnseName
and driv_id in (select driv_id from tos_driv where lcns = :lcns )
and driv_id in (select driv_id from tos_driv where sabv = :sabv )
and ingt_stat_ind = :ingtStatInd
and BUCK_SLIP_XML like :inspectedBy
ORDER BY INGT_DATESlightly off-topic but what do you think this does :
XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML? -
Web Variables are being displayed and they shouldn't be
Hi, Our web template is configured to not present the variable screen when the variables are populated. For some reason after I added the dynamic tab functionality using the SAP_BW_URL command our variables screens are appearing after selecting a tab. When the screen appears all of the variables are populated and some of the variables are not melted. The only thing our SAP_BW_URL command does is reset a dataprovider.
<i><A href="<SAP_BW_URL DATA_PROVIDER='DP1' CMD='RESET_DATA_PROVIDER' INFOCUBE='ZMPASDPL' QUERY='ZGZMPASDPL_SR21_AREA_DASH_01' CMD_1='ITEM=NAV_BRAND&HIDDEN=X' CMD_2='ITEM=CON_BRAND&HIDDEN=X'>">Sales Area</A></i>
We have set our template to "Reset Variables to Default" and "display same variable only once".
Anyone know why I am seeing the variable screens after I select a tab even though I have the correct settings and the variables values are all prepopulated?
I will give full points from now until eternity for this to any kind soul helping me solve this one.
Thanks!
Message was edited by: Kenneth MurrayHi Kenneth,
this is a tricky situation:
just assume the following scenario (this is what I have seen when I had a glimpse on your original post)
- In your template you have 2 DataProvider DP1 and DP2
- DP1 is assigned to a table item and points initially to some query (A)
- DP2 is not assigned to a web item and points initially to some query (B)
- Query B has some mandatory variable
- Now when you call your web template the variable screen will be displayed (Variable for DP2 (query B))
- You enter a value and submit the variable screen
- Now you reset DP1 to another query (ok it's query B (which you already used as DP, but the system won't check this while resetting the variable screen). Now the (new) query has a unfilled variable. The system needs to bring up the variable screen.
- As we have now 2 variables (one already filled (during start of your template) and one still initiall. They have different default values and won't be melted.
- You get a variable screen with 2 variables
- And they just have the same value, because the system remembers the last entered value and already writes it in the input field.
The parameter reset variables to default is only relevant for views (mainly during first initialization of template). With your command you didn't change DP2.
=================================================
Solution: In BW 3.5 there's a possbility to pass filters and variables to another Query with the command RESET_DATA_PROVIDER (parameter rri=X)
in BW < 3.5 I would recommend to not use RESET_DATA_PROVIDER, but creating different table items, which are initially hidden and just hide/unhide the correct tables ...
Heike
Maybe you are looking for
-
Photoshop CS4 Menu toolbar display bug and fullscreen slowness...
http://img384.imageshack.us/img384/8202/menutoolsbugee3.gif I'm having a display bug with the menu toolbar in Photoshop CS4 Extended. Notice the area of tools is gone and replaced by random pixels? This happens whenever I enter the fullscreen mode th
-
Xml file not loading from different server
Hi, I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortuna
-
PPro cs 6.0.2 Export to Tape Dropped Frames
My specs are in my profile pic (pending approval). I just upgraded to PP cs6 and have an odd thing happening. Has anyone else seen this? Does anyone have an explanation? Whenever I output to tape (FireWire to Panasonic AJ-D250, DVC Pro), I get dro
-
Audio out of Synch in Prem Pro CS4 after editing in Soundbooth
This is using the Mac version of Premiere Pro CS4 and Soundbooth. I Premeire, I choose to edit the audio portion of a clip in Soundbooth. In sound booth I just add some compression or other sweetening and save it (only adding effects no cutting of th
-
Keynote can't open file because it is damaged
I've created several presentations in Keynote 09 that worked fine initially but suddenly won't open anylonger. When I click on the file, I get the following error message: "Keynote can't open file because [filename] is damaged" I was able to open two