T-code J1IS data to be displayed..
Hello,
I had requirement i need to develop a smartform in which J1IS data is to display in the smartform like materila description, Quantity,Rate,Amount ...
so what will be the keyfield to get these data ....
Thanks inadvance
Santosh,
These are always tricky but try in the first instance to make all 3 frames variable. If this doesnt work make the items
within the frames variable also. See what happens. The fixed vertical elasticity can fix the position within the page.
If neither of these work, make the block plate headings also fixed elasticity.
Dave
Similar Messages
-
2 ranges of sales order date to be displayed under one coloum.
Hi ALL,
I need the o/p of the two select-options to be displayed in a single column??
EX : sodat1 1.10.2006 TO 20.10.2007
sodat2 1.12.2008 TO 20.10.2009
I need these dates to be displayed in a single coloumn under SO.
SO (SALES ORDER)
1.10.2006
2.10.2006
3.10.2006 .
20.10.2007 AND continuously next range of sodat2 LIKE
1.12.2008
2.12.2008
3.12.2008 .
19.12.2009
20.10.2009
Suggest me some steps to do or any sample codeing.
Thanks&Regards,
R.Vinoth.Hi Vinoth,
Use the below code.
SELECT-OPTIONS: s_num FOR sy-datum,
s_num1 FOR sy-datum.
DATA: BEGIN OF itab OCCURS 0,
num type sy-datum,
END OF itab.
*For select option 1.
IF NOT s_num-low IS INITIAL AND
NOT s_num-high IS INITIAL.
WHILE s_num-low LE s_num-high.
itab-num = s_num-low.
APPEND itab.
s_num-low = s_num-low + 1.
ENDWHILE.
ELSEIF NOT s_num-low IS INITIAL.
LOOP AT s_num.
itab-num = s_num-low.
APPEND itab.
ENDLOOP.
ENDIF.
*For select option 2.
IF NOT s_num1-low IS INITIAL AND
NOT s_num1-high IS INITIAL.
WHILE s_num1-low LE s_num1-high.
itab-num = s_num1-low.
APPEND itab.
s_num1-low = s_num1-low + 1.
ENDWHILE.
ELSEIF NOT s_num1-low IS INITIAL.
LOOP AT s_num1.
itab-num = s_num1-low.
APPEND itab.
ENDLOOP.
ENDIF.
LOOP AT itab.
WRITE:/5 itab-num.
ENDLOOP. -
Query on Multiprovider - Data is not displayed correctly
Hi,
I have two cubes in a multiprovider.
1st has following Characteristics :
1. Service Order
2. Product line code
3. Cost Center
4. Fiscal Period
5. Fiscal Year
6. Actuals - Key Figure
2nd cube has
1. Product Line code
2. Cost Center
3. Budget type
4. Fiscal Year
5. Fiscal period
6. Budget Amount - Key figure
I have a query to display: Service Order, Product line, cost center, fiscal period, actuals and budget amount.
When I execute I get 2 rows:
1 st row displaying - Actual values with all the data
2nd row displaying Product line and Budget with all other fields containing '#' sign or "not assigned" .
I will appreciate if you can tell me what mistake I am doing. I have checked the multiprovider 'Identification' - all the fields are selected.
Thanks in advance.
Regards
JitendraHi Jitendra,
This is because you have got service order charcterstic in 1st cube only and does not exist in 2nd cube. when you try to display Service order, you will get two records. If you remove service order from display of query, you will be able to see one record as charcterstics are common in both cube.
If you want to display service order and wud like to resolve this issue, try the following:
Restrict Budget amount with characterstic service order and right click it and select Constant. Then execute the query.
Cheers
SB -
Disable certain rows of data to be displayed.....
I have a program in which the table will display data fed from the server .
I would have a function in which user have the freedom to select which data he wants to be display on the next refresh page.
How do i prevent the other data that user does not require to be displayed on the table ??
by the way all these will affect the rows in the table , so how do i go about manupilating the rows?
Thank YOu anyone . .If you mean that the user will enter a kind of scan, like myitem* or item using as a wildcard, I would create a class called ScanType where you have diiferent return values. In your main code you can use if..else depending on the scantype.
public final class ScanType
/** The types are:
* -1: source
* 0: *ource
* 1: *ourc*
* 2: sourc*
* 9: s*urce
private ScanType()
super();
public static final int getScanType(String source)
// Default is not valid. scan type : 9
int returnValue = 9;
// Check scan type -1: source
if(source.indexOf("*") == -1)
returnValue = -1;
// Check scan type 0
else if((source.charAt(0) == '*') && (source.charAt(source.length()-1) != '*'))
returnValue = 0;
// Check scan type 1
else if((source.charAt(0) == '*') && (source.charAt(source.length()-1) == '*'))
returnValue = 1;
else if(source.charAt(source.length()-1) == '*')
returnValue = 2;
return returnValue;
}You can test this with this code:
public class ScanTypeTest
public static void main(String[] args)
String kalle = "source";
System.out.println("Scan type: -1 " + kalle + " " + ScanType.getScanType(kalle));
kalle = "*ource";
System.out.println("Scan type: 0 " + kalle + " " + ScanType.getScanType(kalle));
kalle = "*ourc*";
System.out.println("Scan type: 1 " + kalle + " " + ScanType.getScanType(kalle));
kalle = "sourc*";
System.out.println("Scan type: 2 " + kalle + " " + ScanType.getScanType(kalle));
kalle = "s*urce";
System.out.println("Scan type: 9 " + kalle + " " + ScanType.getScanType(kalle) + " is invalid");
}The rest of the code you have to create yourself as I don't know how you will retrieve the data to be displayed.
Klint -
Preserving doc "Date Created" as displayed in Windows explorer
Hello. We've just retired an SBS and have about 2000 Word docs that have their attached templates linked to the obsolete server. Using EditAttachedTemplates (vb.net) solves the missing template problem but introduces another. It wipes the
Date Created - for Windows explorer purposes.
Our staff accesses all of the .docm's by windows explorer (sorted by "Date Created"). Without the template repair app, each doc takes 30 seconds to open and machines are searching for the old server.
I do not have access to the source code of the template repair app. Also... I am not a dev and we do not employ one. So... hypothetically, if I could find someone to alter the vb repair app, could it in theory be adjusted so that the original
"Date Created" as displayed in W7 explorer would be unchanged?Thank you, Paul.
This code has following issues:
1. Its "Last Modified" date retention line returns an error. "Object does not support this action". I worked it around using the Shell method though.
UpdateModDT xFolder, xFile, xDT
Function UpdateModDT(myFolder, myFile, DateTime)
Dim objShell, objFolder
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.NameSpace(CStr(myFolder))
objFolder.Items.Item(myFile).ModifyDate = DateTime
End Function
2. It skips the Protected files and returns an error when it cannot write the reason in the the document from where it was run
3. It only works on one extension type at a time, i.e. currently set for *.doc
Can you please assist on this?
Thanks,
Josh -
Editting data on tabular display
Our customers complain that they have to double click to select the whole field to enter data on tabular displays. I am using Forms 6i. What they want is something similar to excel where users can type directly after move the cursor to a field.
Hello Gary,
Today i've implemented ORDER_SAVE BADI, method PREPARE with the same task as you have.
And it's working.
code:
data: lt_customer_h type crmt_customer_h_comt.
data: ls_customer_h type crmt_customer_h_com.
ls_customer_h-ZZFLD000003 = LV_YOUR_VARIABLE
ls_customer_h-ref_guid = LV_HEADER_GUID
append ls_customer_h to lt_customer_h.
data: lt_input_fields type crmt_input_field_tab.
data: ls_input_field type crmt_input_field.
data: ls_input_field_name type crmt_input_field_names.
ls_input_field_name-fieldname = 'ZZFLD000003'.
insert ls_input_field_name into table ls_input_field-field_names.
ls_input_field-objectname = gc_object_name-customer_h.
ls_input_field-ref_guid = iv_guid.
ls_input_field-ref_kind = gc_object_kind-orderadm_h.
insert ls_input_field into table lt_input_fields.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_customer_h = lt_customer_h
CHANGING
ct_input_fields = lt_input_fields.
data: lt_cust_h type crmt_customer_h_wrkt.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_guids
IMPORTING
et_customer_h = lt_cust_h.
In my example, i saved LV_YOUR_VARIABLE into the field CRMD_CUSTOMER_H-ZZFLD000003 for the transaction guid LV_HEADER_GUID.
If you are using your own program, don't forget to call CRM_ORDER_SAVE and BAPI_TRANSACTION_COMMIT afterwards. Clearing of the buffers can be done via CRM_ORDER_INITIALIZE.
Hope it's not yet late.
Best Regards, Dima -
suddenly today my email won't display properly. html emails just display the actual html code instead of a graphic display. Text emails just show a blank page. I have changed the View setting to show messages as original html, simple html and plain text. None of the settings restores things. All these emails were viewable properly yesterday.
Anyone got any ideas as to what's up?sounds like your index and the data are out of synch. Often the result of anti virus activity either blocking the update of the index or quarantining the whole inbox so there is no mail left to display.
Right click the folder, select properties and then the repair button. -
Getting the Transaction/Transaction Code Usage data
Hello, I wonder if anyone could help me?
The requirement given by the client calls for a report that displays the usage of a transaction code, specifically the following:
1. given the transaction code, the date/time it was last used and the user who used it;
2. given a key date (default current), the list of transaction codes used in the last three months, the user who last used it, also with date and time.
I have looked at the tcode ST03, but it only gives me the list of transaction codes and users who accessed the transaction code. I need the access date and time in order to meet the requirement.
Thanks in advance. Üchk this from other thread
also chk the structure MYLIST for the required informatiuon
report abc.
DATA : MYLIST LIKE UINFO OCCURS 0 WITH HEADER LINE.
PARAMETERS : TCODE LIKE TSTC-TCODE.
CALL FUNCTION 'TH_USER_LIST'
TABLES
LIST = MYLIST.
LOOP AT MYLIST WHERE TCODE = TCODE.
WRITE : / MYLIST-BNAME , MYLIST-TCODE.
ENDLOOP. -
Nested Objects for a Data Provider in a Data Grid, not displaying data
Hi, I have a datagrid and the dataprovider for this grid is the result of a RPC call. The result set has the following structure:
Array
[0]->Object #1
[one] => 1
[two] => 1
[three] => Object #2
[apple1] = > Object #3
[color] => red
[rate] => 20
[apple2] => Object #4 ( the number of apples is dynamic, apple3,apple4 .. and so on)
[color] => blue
[rate] => 100
and so on ... so the number of apple objects will vary since its
dynamic. How do I display this data in a datagrid ??? Please help!! I
saw many articles on creating the "Nested DataGridColumn " classes...
like this :
http://active.tutsplus.com/tutorials/flex/working-with-the-flex-datagrid-and-nested-data-structures/
it helps, but the problem with my data is that some of the indexes (like apple1,apple2 etc) are dynamic.
Also, my flex application is a desktop application (in case that matters). Just to see whats going on, I
dropped all the nested arrays and used a plain simple one-dimensional array. Even in this case the data
isnt getting displayed.
I dont know what im doin wrong. the datafields, labels etc e'thing is correct. I even debugged and
im getting the result on the flex side. whats going on ?No luck ... i converted the result set to a List, and even tried with an iList. Same problem - nothing gets displayed...
I have no idea whats happening ....
This is my code :
[Bindable]private var privilegesArray:ArrayCollection = new ArrayCollection();
public function init():void{ // called on creation complete
RO.getPrivileges.addEventListener(ResultEvent.RESULT,handleGetPrivileges);
RO.getPrivileges();
protected function handleGetPrivileges(event:ResultEvent):void{
privilegesArray = event.result as ArrayCollection;
<mx:DataGrid id="privilegesDG" dataProvider="{privilegesArray}" width="100%">
<mx:columns>
<mx:DataGridColumn headerText="Name" dataField="name" />
<mx:DataGridColumn headerText="Alias" dataField="alias" />
</mx:columns>
</mx:DataGrid>
The data that gets returned is smthing like this : (for the moment I have removed all the nested objects and arrays and returning just a simple plain array)
Array => [0] => Object #1
[name] => some name
[alias] => alias -
Extract Year (only) from Date Field and Display in Text Field
I need to extract the year from a user entered date field and display the year in a text field. Can someone help me with the correct script to do this?
Hi,
that's quite easy to realize with FormCalc.
In you date fields exit event add the following code:
textField1 = Num2Date( Date2Num($.formattedValue, "MM/DD/YYYY"), "YYYY")
Note: This sample assumes that your date field formats the date with "MM/DD/YYYY". You may have to change the pattern to make it work at your end. -
Numeric data is not displayed in BI Publisher 11g report
Hi,
I'm using Oracle BI 11g (11.1.1.6.0).
I'm experiencing a serious issue with numeric data in reports created with Publisher.
When I define the query in the data model, numeric data gets declared as "integer" (even if it should be "double"). Anyway, when creating the layout all data is correctly shown.
The issue emerges when I run the report in interactive mode: numeric data is not displayed at all.
If I run it in HTML mode or other, I get proper results.
I tried to explicitly CAST numeric data in the query to number(21, 6) but I get no different result.
Any help or suggestion is warmly welcome.
Thanks,
CristinaYes, assuming that you are using the Standalone version, following are some excerpt from user guide.
10g see Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01
Chapter 6 Building a Data Template
Supported Column Types
CLOB (conditionally supported)
The CLOB must contain text or XML. Data cannot be escaped inside the CLOB column.
And for 11g see
Oracle® Fusion Middleware
Data Modeling Guide for Oracle Business Intelligence Publisher
Release 11g (11.1.1)
Part No. E18862-01
Chapter 3 Creating Data Sets
Using Data Stored as a Character Large Object (CLOB) in a Data Model
BI Publisher supports using data stored as a character large object (CLOB) data type in
your data models. This feature enables you to use XML data generated by a separate
process and stored in your database as input to a BI Publisher data model.
Use the Query Builder to retrieve the column in your SQL query, then use the data
model editor to specify how you want the data structured. When the data model is
executed, the data engine can structure the data either as:
• a plain character set within an XML tag name that can be displayed in a report (for
example, an Item Description)
• structured XML
Cheers,
ND -
Date not being displayed in the custom format
Hi ,
I have a problem wherein i am unable to change the format of the date.
I need the date to be in the format 'January 10,2010.' however the date is being displayed as '1/10/10'. I have tried all options for the date formatting. I specified the custom format as 'MMMM D,YYYY' as mentioned in the SAP Library. I am trying to use the std custom options like YYYY-MM-DD, the date is not being dispalyed in the custom format provided by SAP either.
I have binded date from the context, used the Current Date field provided by SAP. Nothing works.
Its not working on the new form. However the old forms have the same kind of formatting and are being displayed as desired.
Please suggest as to what the issue could be.
Thanks,
Soumya.Hi All,
Even I'm encountering the same issue. I'm trying to control the outputted date format programmatically.Please have a look.
data: v_int_date like sy-datum,
v_ext_date(10).
v_int_date = '20110201'
write v_int_date to v_ext_date MM/DD/YYYY.
Here I've tried to convert the date to external format using a fixed format(MM/DD/YYYY). But still it's getting outputted in the format DD/MM/YYYY only as that's the way its defined in the User Master!
Is there any solution for this? How can I 'override' defaults in the SAP User Master?
Thanks,
Mahesh -
Navigational Attribute data is not display in Cube level and reporting
Hello ALL
Iam facing a problem like,I created Navigational attribute and I selected that navigational attribute in cube level also but data is not display in cube level.
What will be the problem?Pl help me out.
regards
balajiHi Dinesh
You mean base characteristic means loading data after creating Navigational attribute?Is it this way,(orelse can u tell me about this base characterstic)
Yes after making that particular attribute as a navigational attribute I loaded data in master data tables.
How to run Attribute change run?can u give me steps
regards
balaji -
No data was been displayed in Windows Performance Analyzer
When I use the Windows Performance Analyzer to analysis the data,but the performance data is not displayed in the WPA. Who can support me to solve the question.
Detail:
1. Create the *.etl file
(1)do the command: xperf -on SysProf -stackwalk profile
(2) execute the performance software
(3) do the command to create the *.etl file : xperf -d f:\aLog.etl
2. Analysis the *etl file
(1)Use the WPA to open the *.etl created by the step(3), click Load Symbos below Trace Menu
(2)Drop Computation to the Analysis window
(3)Select Utilization by Process,Stack,no data is been displayed below Series,and I try all the selection ,no data is been displayed. But put the mouse on the cell, there is some information about *.exe file on it
Remark:The other method to create the *.etl file : Use Windows Performance Recorder to create *.etl file,then execute the Step2 to analysis the *.etl,the result is that no data is been displayed
Test enviroment:
OS:Windows7 Professional SP1
Explorer:IE 8.0
Captured image:When I use the Windows Performance Analyzer to analysis the data,but the performance data is not displayed in the WPA. Who can support me to solve the question.
Detail:
1. Create the *.etl file
(1)do the command: xperf -on SysProf -stackwalk profile
(2) execute the performance software
(3) do the command to create the *.etl file : xperf -d f:\aLog.etl
2. Analysis the *etl file
(1)Use the WPA to open the *.etl created by the step(3), click Load Symbos below Trace Menu
(2)Drop Computation to the Analysis window
(3)Select Utilization by Process,Stack,no data is been displayed below Series,and I try all the selection ,no data is been displayed. But put the mouse on the cell, there is some information about *.exe file on it
Remark:The other method to create the *.etl file : Use Windows Performance Recorder to create *.etl file,then execute the Step2 to analysis the *.etl,the result is that no data is been displayed
Test enviroment:
OS:Windows7 Professional SP1
Explorer:IE 8.0
Captured image: -
Can i have html code for date select options (SEARCH HELP)
Hi frinds,
I have a BSP Page with input as date.
Can i have html code for date select options (SEARCH HELP)
MoosaHi
Please find the sample code below.
FROM DATE
<htmlb:inputField id = "dd"
width = "45%"
type = "DATE"
showHelp = "X" <- Search help
alignment = "CENTER"
maxlength = "10"
disabled = "TRUE"
value = "<%= w_FROMDATE %>" />
TO DATE
<htmlb:inputField id = "dd"
width = "45%"
type = "DATE"
showHelp = "X"
alignment = "CENTER"
maxlength = "10"
disabled = "TRUE"
value = "<%= w_TODATE %>" />
Thanks
kalyan
Maybe you are looking for
-
Nike+ keeps saying my workout has stopped when I'm still running
I haven't used my year old nike+ for several months. I used it today and it kept saying my workout had stopped when I was still running. Is this likely to be a problem with my sensor or my ipod (6th gen nano)? Is there any solution or do I need to bu
-
Cannot import entire dvd into premier elements 10
I am having problems importing and entire dvd that was recorded on a mini-dvd camcorder into premier elements 10. My OS is windows 7 64 bit. I have read thru these forums for hours and have not come across anything that will resolve the problem. Y
-
How to import numbered images?
FCP 6/7 has a command to import a numbered series of images. Does FCP X have a similar command? If not, how can I do this?
-
Aperture 2 and RAW vs JPG ?
Just downloaded the trial version and haven't done any work yet with RAW files. Previously everything was done with JPG on iPhoto. Should I now shoot RAW+JPG mode on my Canon 30D and then use Aperture for the RAW files? Is using JPG on Aperture worth
-
MacBook Pro and Facebooks "New Design"
I know that I can't be the only one suffering from this, so I am going to lay it out there and hope that someone can help me....... I have a MacBook Pro with a Mac OS X operating system, Version 10.5.8. A few weeks ago Facebook foisted their "New De