DataServices repeated schedule : how to avoid overlaping ?
Hello,
I want to repeat a DataServices ETL job 2 to 4 times a day (depending of the real job execution time). The problem is that if the execution time grow enough to exceed the following job start time, then the 2 jobs run in parallel. And it's a big mess in my case.
I tried a 15min job, started every 3 minutes. All the jobs are run in parallel, some of them ending with problems (as some tables are cleared during execution). The others probably giving some bad results.
Is there a way to :
- wait for the other task's end before starting?
- not run a job if the previous is still running?
I've not seen such possibilities, while I think it is a very important issue.
Regards
Frédéric
Thanks fact586,
I set the logo from the Application Builder/Edit Application Properties:
Logo Type: Image
Logo:#WORKSPACE_IMAGES#Infosoft_Logo.gif
The image was previously uploaded (Shared components/images).
The theme I used is 2. Builder Blue
Templet used is: One Level Tabs - Right Sidebar (optional / table-based.
Checking in shared components>Globalization attributes>User interface I found the same configuration I did in Application Builder/Edit Application Properties.
PD: I would like to send you the image file, but the "insert image" and "Insert video" options in my replay editor is ghosted.
Regards,
Luis
Similar Messages
-
How to avoid overlapping of Table on another table in Adobe Form
Hi Experts ,
Can anyone tell me how to do this scenario,When I am inserting 3 flowable tables in Adobe form ,issue is one form is overlapping over another, All the internal tables has 10 records minimum. Requirement is after one table is printed Next table should be start printing without overlapping on next further table... Please let me know How to avoid overlapping of table on another table.Advance thanks.
Thanks & Regards
SandeshHi Sandesh.
Put your table in subform. (one for each)
And than add one more subform and include all 3 table's subforms in single subforms.
All subforms should be flowed.
With Regards,
JP -
How to Avoid overlapping data label values in Pie Chart
Hi,
I am facing the problem when the data is more my pie chart data label value is overlapping.
I tried with showing outside the data label value but customer is not accepting ,and i used the CollectedPie option also but still its overlapping .So please any body knows how to resolve this problem as i need very urgent basis.
Regards,
HariKan
HariKanHi HariKan,
Per my understanding that the Category group of the pie chart which will retuen many values so that the label will overlapping and you want to know is any method to deal with this kind of problem, right?
In Reporting Services, when enabling data label in par charts, the position for data label only have two options: inside and outside.
In your scenario, I recommend you to increase the size of the pie chart if you insist to choose the lable inside the pie chart as below:
If you choose to "Enable 3D" in the chart area properties and choose to display the label outside, the label's layout will be more clear:
Reference:
Pie Charts (Report Builder and SSRS)
Position Labels in a Chart (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to avoid the event has been repeated many times in the background
Application, the main screen is divided into two containers:left and right container,
The right side of the container is divided into two containers:top and bottom container,
There is a button in the left container.
Click the button, the container at lower right will using ModuleManager load Module, The following container load of the right of the screen has been monitoring the container above the action.
Problem:
When you click the button repeatedly to load the container in the lower right, it will create multiple instances, and can not be freed immediately. When the above container do an action or event, there are multiple instances of monitoring exist.
The background will be repeat the action or event many times.
How to avoid the event has been repeated many times in the background?
ThanksFlex harUI
multiple instances of a mxml, maybe ? -
HOw to avoid DeadLocks when you schedule a Sql Server Agent Job and calling SSIS packages
Hi All,
I have scheduled 2 packages in in Sql Server Agent jobs .
First job which is having Package 1 executing at 11 AM and where I am inserting the data in the table.
Second job which is having Package 2 executing at 12 AM and where I am updating the data in the table based on the first job inserted records.
When I am executing my first job it taking more time and executing till 12 AM and from 12 AM my job 2 also starting ,so getting deadlocks conflicts because inserting happening from job1 and updating happening from Job 2.
How to avoid deadlocks and fix the issue.
Please Suggest .
Thanks & Regards,
AnandHi Anand,
Here is another solution, you can set the Job 2 not to run based on a schedule, and create another SQL Server Agent Job which starts at 12 AM and run with a specified time interval to execute a SQL statement in which you do the following steps:
1. Get the status information of Job 1 using the statement:
DECLARE @i int;
EXEC @i = msdb.dbo.sp_help_job @job_name = ‘Job Name'
2. If the value of @i is 1 which means the status of job 1 is success and current time is, then start the job 2. So, the statement is as follows:
IF @I = 1
EXEC msdb.dbo.sp_start_job @job_name= ‘Job Name’
Regards,
Mike Yin
TechNet Community Support -
How to avoid repeatation of code
hi
My code is as mentioned below.
if l_location ='USA'
insert into location
select f1,f2,f3,f4
from usa_tab
else if l_location = 'FRANCE'
insert into location
select f1,f2,f3,f4
from france_tab f , x1_tab x
where f.id = x.id
else if l_location = 'UK'
insert into location
select f1,f2,f3,f4
from uk_tab u,y1_tab y
where u.id = y.id
end if;
how to avoid the repeatation of code here?954992 wrote:
it is an existing application. The tables can not be changed.
actually here the insert and select statements are fixed , only the from and where conditions are getting changed.
howf to avoid repeatation of the fixed code?Oracle supports features called "+partition views+" and "+instead of triggers+". This can be used to glue tables (same structure) together and select and insert against these tables via a view.
Basic example:
// tables that constitutes the partition view - a check constraint on
// country is used to specify which cities are in which table, similar
// to a partition key
SQL> create table location_france(
2 country varchar2(10) default 'FRANCE' not null,
3 city varchar2(20) not null,
4 --
5 constraint chk_france check (country in 'FRANCE'),
6 constraint pk_location_france primary key
7 ( country, city )
8 ) organization index;
Table created.
SQL> create table location_uk(
2 country varchar2(10) default 'UK' not null,
3 city varchar2(20) not null,
4 --
5 constraint chk_uk check (country in 'UK'),
6 constraint pk_location_uk primary key
7 ( country, city )
8 ) organization index;
Table created.
SQL> create table location_spain(
2 country varchar2(10) default 'SPAIN' not null,
3 city varchar2(20) not null,
4 --
5 constraint chk_spain check (country in 'SPAIN'),
6 constraint pk_location_spain primary key
7 ( country, city )
8 ) organization index;
Table created.A partition view is a view that uses union all to glue these tables together:
SQL> create or replace view locations as
2 select * from location_france
3 union all
4 select * from location_uk
5 union all
6 select * from location_spain
7 /
View created.To support inserts against the partition view, an instead-of trigger is used:
SQL> create or replace trigger insert_location
2 instead of insert on locations
3 begin
4 case :new.country
5 when 'FRANCE' then
6 insert into location_france values( :new.country, :new.city );
7 when 'UK' then
8 insert into location_uk values( :new.country, :new.city );
9 when 'SPAIN' then
10 insert into location_spain values( :new.country, :new.city );
11 else
12 raise_application_error(
13 -20000,
14 'Country name ['||:new.country||'] is not supported.'
15 );
16 end case;
17 end;
18 /
Trigger created.Rows can now be inserted into the view and the trigger will ensure that the rows wind up in the correct table.
SQL> insert into locations values( 'FRANCE', 'PARIS' );
1 row created.
SQL> insert into locations values( 'UK', 'LONDON' );
1 row created.
SQL> insert into locations values( 'SPAIN', 'BARCELONA' );
1 row created.As with a partition table, a select on a partition view that uses the "partition column" (in this case, the COUNTRY column), the CBO can prune the non-relevant tables from the view and only select against the relevant table. In the following example, the UK is used as country filter and the CBO shows that only table LOCATION_UK is used.
SQL> set autotrace on explain
SQL> select * from locations where country = 'UK';
COUNTRY CITY
UK LONDON
Execution Plan
Plan hash value: 1608298493
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 19 | 1 (0)| 00:00:01 |
| 1 | VIEW | LOCATIONS | 1 | 19 | 1 (0)| 00:00:01 |
| 2 | UNION-ALL | | | | | |
|* 3 | FILTER | | | | | |
|* 4 | INDEX RANGE SCAN| PK_LOCATION_FRANCE | 1 | 19 | 2 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | PK_LOCATION_UK | 1 | 19 | 2 (0)| 00:00:01 |
|* 6 | FILTER | | | | | |
|* 7 | INDEX RANGE SCAN| PK_LOCATION_SPAIN | 1 | 19 | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - filter(NULL IS NOT NULL)
4 - access("COUNTRY"='UK')
5 - access("COUNTRY"='UK')
6 - filter(NULL IS NOT NULL)
7 - access("COUNTRY"='UK')
Note
- dynamic sampling used for this statement (level=2)
SQL>Oracle provides a number of methods to address flawed data models and problematic client code. However, despite this flexibility on Oracle's part, you should still consider fixing the flawed design and code - as that flaws invariable mean reducing flexibility, performance and scalability. -
i have one database table called "sms1" that table is updated every day or on daily basis it has the following fields in it:
SQL> desc sms1;
Name Null? Type
MOBILE NUMBER
RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)
SNO NUMBER
INDATE DATE
From this table the is one column "RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)" . I am splitting it into different columns like :
SQL> desc smssplit;
Name Null? Type
R VARCHAR2(2 CHAR)
C VARCHAR2(2 CHAR)
S VARCHAR2(1 CHAR)
TC VARCHAR2(3 CHAR)
NA VARCHAR2(3 CHAR)
TC2 VARCHAR2(3 CHAR)
NA2 VARCHAR2(3 CHAR)
TC3 VARCHAR2(3 CHAR)
NA3 VARCHAR2(3 CHAR)
TC4 VARCHAR2(3 CHAR)
NA4 VARCHAR2(3 CHAR)
WTHER VARCHAR2(10 CHAR)
SNO NUMBER
INSERTDATA VARCHAR2(25 CHAR)
Now I am written a procedure to insert the data from "Sms1" table to smssplit table...
CREATE OR REPLACE PROCEDURE SPLITSMS
AS
BEGIN
INSERT INTO scott.SMSSPLIT ( R,C,S,TC,NA,TC2,NA2,TC3,NA3,TC4,NA4,WTHER,SNO)
SELECT SUBSTR(RCSTCNATCNATCNATCNAWTHER,1,2) R,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,3,2) C,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,5,1) S,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,6,3) TC,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,9,3) NA,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,12,3) TC2,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,15,3) NA2,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,18,3) TC3,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,21,3) NA3,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,24,3) TC4,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,27,3) NA4,
SUBSTR(RCSTCNATCNATCNATCNAWTHER,30,10) WTHER, SNO
FROM scott.SMS1 where SNO=(select MAX (sno) from SMS1);
END;
Now in order to update the second table with data from first table on regular basis I have written a job scheduler and I am using oracle 9.0. version...
DECLARE
X NUMBER;
JobNumber NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT
job => X
,what => 'scott.SPLITSMS;'
,next_date => SYSDATE+1/1440
,interval => 'SYSDATE+1/1440 '
,no_parse => FALSE
:JobNumber := to_char(X);
END;
Now this job scheduler is working properly and updating the data for every one minute but it is taking or updating the duplicate values also ..like example:
R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
INSERTDATA
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:49:16
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:49:16
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:50:17
R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
INSERTDATA
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:50:17
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:51:19
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:51:19
R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
INSERTDATA
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:52:20
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:52:20
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:53:22
R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
INSERTDATA
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:53:22
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:54:45
33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
06-SEP-2012 03:54:45
Now I do not want the duplicate values to be updated ...and want them to ignore them.....
please I need a help on this query........How to avoid the duplicate values............Look at the posts closely:might not be needed if formatted ;)
create or replace procedure splitsms as
begin
insert into scott.smssplit (r,c,s,tc,na,tc2,na2,tc3,na3,tc4,na4,wther,sno)
select substr(rcstcnatcnatcnatcnawther,1,2) r,
substr(rcstcnatcnatcnatcnawther,3,2) c,
substr(rcstcnatcnatcnatcnawther,5,1) s,
substr(rcstcnatcnatcnatcnawther,6,3) tc,
substr(rcstcnatcnatcnatcnawther,9,3) na,
substr(rcstcnatcnatcnatcnawther,12,3) tc2,
substr(rcstcnatcnatcnatcnawther,15,3) na2,
substr(rcstcnatcnatcnatcnawther,18,3) tc3,
substr(rcstcnatcnatcnatcnawther,21,3) na3,
substr(rcstcnatcnatcnatcnawther,24,3) tc4,
substr(rcstcnatcnatcnatcnawther,27,3) na4,
substr(rcstcnatcnatcnatcnawther,30,10) wther,
sno
from scott.sms1 a
where sno = (select max(sno)
from sms1
where sno != a.sno
); ---------------> added where clause with table alias.
end;Regards
Etbin -
How to avoid po release strategy replicating in RFQ
Dear Sapiens,
I am aware as we are using same class for PO RFQ and Contract the release strategy will repliacte in rest,
but I dont want PO release strategy to get repliacted in RFQ,because I dont have realease for RFQ
how to avoid po release strategy replicating in RFQ?
Regards
KanthaHi,
Yes they are same unless you differentiate by using
1> Purchasing Document Category i.e CEKKO -BSTYP
A..... Request for Quotation
F......Purchase Order
K......Contract
L......Scheduling Agreement
So if you just create a characteristics for CEKKO-BSTYP then maintain its values only for F so it will not be applied to RFQ -
How to avoid hidden menu in framesets
Hi All,
I have modified apex template to have 3 frames in frameset. We have dropdown menus in frame2 those are hidden by frame3.
Code for frameset:
<frameset rows="15,6,79" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="/apex/f?p=&APP_ID.:102:&APP_SESSION." name="Frame1" scrolling="NO" noresize>
<frame src="/apex/f?p=&APP_ID.:10:&APP_SESSION." name="Frame2" scrolling="NO" noresize>
<frame src="/apex/f?p=&APP_ID.:107:&APP_SESSION." name="Frame3" scrolling="YES">
</frameset>How to avoid hidden frame2 dropdown menus by frame3.
pls suggest.
Thanks in advance,
Nagpnr wrote:
pls give me the sample code for frameset to avoid overlapping frames.The HTML spec is very clear:
>
Elements in the following list are entirely obsolete, and must not be used by authors
>
What part of that is unclear? Do not use <tt>frame</tt> and <tt>frameset</tt>.
In APEX terms this means using:
<li>Page 0 to render components on multiple pages.
<li>Dynamic Actions and AJAX for partial page refreshes.
<li><tt>iframe</tt> to include content from other URLs. -
How to avoid page break up in background
hi all,
i have developed new report i don't given page break statement .. in foreground it s coming correct without any page break..
when i have schedule in background page break is coming please let me know how to avoid page break in background process.
regards ,
santosh
Edited by: santosh jajur on Jul 8, 2009 12:16 PM
Edited by: santosh jajur on Jul 8, 2009 12:46 PMHi,
When you view the output from the report run in batch you are presumably looking at the spool output. Because you are viewing a preview of what is sent to the printer the spool applies page breaks based on the printer parameters. When you run the report in dialog you view the report on the screen, and the spool is not involved, so no page breaks.
If you print your report in dialog then review the spool you'll find it has the page break just as the background run has.
Regards,
Nick -
Hi
i'm calling reprots from the forms.My problem is we are calling 3 reports at a time i,e one after the other, this will works fine in report 5 for screen but in 10g this will overlap all the output to a single pdf file (here i'm using cache)so that i'm getting only the third file.
how to avoid this? so that i can have 3 diffrent pdf files or one after the other if first close second open,second close third open.
please help me,
thanks and regards
vishwaIF :BLK_MAIN.CKB_REP7 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast03');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast03',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
IF :BLK_MAIN.CKB_REP6 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast05');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast05',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
IF :BLK_MAIN.CKB_REP1 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast04');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast04',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
In the above code,3 check box are like :BLK_MAIN.CKB_REP7,:BLK_MAIN.CKB_REP6,:BLK_MAIN.CKB_REP1 which end user selects(he can choose any one or all three).If select all 3 the report masto4 only comes,mast05,mast03 also
comes but those pdf's are overlaped from the report mast05.
But in the earlier version of forms and reports, if close the first report then second will come and like that. -
How to avoid merged columns on conversion
Dear All,
I have built some reports using Oracle Developer Report Suit. All is well and working fine but when I send report output to Excel file I am facing following two issues:
1) It goes always to .xls file which is excel 97 format and having limit of maximum 65 thousands rows. Can I convert report to excel 2010 .xlsx file as my reports sometime contains large number of rows?
2) When I convert into excel all information comes normally with proper format but some of report columns occupy multiple excel columns which is causing difficulties in sorting and other function in excel. How to avoid it?
I would be glade to hear from you guys to resolve above issues.
Thanks!Zia wrote:
1) I have a detail report which contains more than 100 thousands rows. This report is already on menu and available to users. User have got an option on menu that they can select output either 'screen' or 'spreadsheet'. If user select option as 'spreadsheet', report open in excel file but in old excel and truncating excessive rows as .xls have limitation of maximum 65 thousands rows. I do not want to use 'csv' format as directly conversion into excel is more convinient for users. If report contains less than 65 thousands rows then everything is fine and no issues with the report. I hope I could explain real problem this time.65 thousands rows is the limitation of that version u use. I use Microsoft Office 2010 where limitation is 1048576 is a sheet.
One solution is uninstall the present Office version and use Office 2010.
2) Regarding second point, I have a summary report which is all fine and showing desired output in desired format. But when user want output in excel file, some of report columns occupy more than one columns and causing difficulties for users. Actually users do need to convert few reports into excel and work with formulas in excel but in this situation they have to do lots of changes in format before applying formulas. A sample screen shot of a report and converted report in excel file both can be seen on this link [https://skydrive.live.com/?cid=573511bde4261fe6#cid=573511BDE4261FE6&id=573511BDE4261FE6%21120]
I'm not sure about the solution. Most probably you have more space in repeating frame and cause this thing happen. shorter the space in the frame and try.
Hope this will help you. -
How to avoid duplicates values from alvgird see below code
how to avoid duplicates values from alvgird see below code
in below query docno no is repeated again and again
how i can avoid duplication in this query.
select * into corresponding fields of table itab
from J_1IEXCHDR
inner join J_1IEXCDTL
on J_1IEXCDTLlifnr = J_1IEXCHDRlifnr
where J_1IEXCHDr~status = 'P'.Hi Laxman,
after that select statement
select * into corresponding fields of table itab
from J_1IEXCHDR
inner join J_1IEXCDTL
on J_1IEXCDTLlifnr = J_1IEXCHDRlifnr
where J_1IEXCHDr~status = 'P'.
<b>if sy-subrc = 0.
delete adjucent duplicates from itab comparing <field name of itab internal table>
endif.</b>
this will delete your duplicate entries.once you done with this call the alv FM.
<b> call function 'REUSE_ALV_GRID_DISPLAY'</b>
exporting
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'IT_USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
i_grid_title = 'Purchase Order Details'
I_GRID_SETTINGS = I_GRID_SETTINGS
is_layout = wa_layout
it_fieldcat = it_fieldcat
IT_EXCLUDING = IT_EXCLUDING
IT_SPECIAL_GROUPS = IT_SPECIAL_GROUPS
it_sort = it_sort
IT_FILTER = IT_FILTER
IS_SEL_HIDE = IS_SEL_HIDE
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT = IS_VARIANT
it_events = it_event
IT_EVENT_EXIT = IT_EVENT_EXIT
IS_PRINT = IS_PRINT
IS_REPREP_ID = IS_REPREP_ID
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS = IT_ALV_GRAPHICS
IT_HYPERLINK = IT_HYPERLINK
IT_ADD_FIELDCAT = IT_ADD_FIELDCAT
IT_EXCEPT_QINFO = IT_EXCEPT_QINFO
IR_SALV_FULLSCREEN_ADAPTER = IR_SALV_FULLSCREEN_ADAPTER
IMPORTING
E_EXIT_CAUSED_BY_CALLER = E_EXIT_CAUSED_BY_CALLER
ES_EXIT_CAUSED_BY_USER = ES_EXIT_CAUSED_BY_USER
tables
<b> t_outtab = ITAB</b>
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.
Thanks
Vikranth Khimavath -
How to avoid jitter in analog output(square wave) generation
Hi all,
Iam working with PCI-6723 32 channels analog output,iam generating a square wave,sampling at 100ks/s.
ican able to generate upto 10kHz square wave.The wave form appears clean when it is below 1000Hz if i crossed 5KHz to 7KHz, iam getting jitter in the output square wave form,i have experimented with the digital filter but still the jitter is persisting,
since iam using 12 channels for such similar generations so i have fixed the sampling rate.100Ks/s.
kindly suggest me how to avoid this jitter in high frequency generation.
OS::WINDOWS 2000
HARDWARE PCI-6723.
I/O CB 68
NIDAQ:7.3
LABVIEW 7.1
kindly find the attached file.
Thanks and Regards
RAJESH
Attachments:
Untitled.vi 73 KBHi ALAN,
Thanks for your reply, well the square appears to be overlapped ie one ON/OFF period another waveform tries to overlap, actually i planned to take a snapshot of my oscilloscope (tetronix) but since its not advanced one ,i have attached the file kindly look into it,you can observe the at some higher frequencies there is lot of difference between rise time and fall time.
Thanks and Regards
rajesh
alan actually iam decorating my front pannel do u have any sample layouts for coloring ,buttons kindy forward me .
Attachments:
Doc1.doc 56 KB -
How to avoid Line Items(fields) in BAPI mapping.
Hi
Does any body help me for mapping between header and line items in BAPI..
my scenario is filerfcmail(wokflow)!
File is CSV based :
(ex: 001150,,1123,JERM,08122006,,,
,,,ANN,,01082006,
If you look at example csv file , there is some fields mixed with header and line items. But in RFC header can be 1 to 1 and line item should be 0 to Unbound.
Now my problem is if I sent above example csv file as source :
The payload coming like this(sxmb_moni) :
</HEADERDATA>
- <GLACCOUNTDATA>
- <item>
<COSTCENTER />
<PROFIT_CTR />
</item>
- <item>
<GL_ACCOUNT>738100</GL_ACCOUNT>
<ITEM_AMOUNT>60000</ITEM_AMOUNT>
<COMP_CODE>001150</COMP_CODE>
<ITEM_TEXT>*777-8030-861</ITEM_TEXT>
<COSTCENTER>7320</COSTCENTER>
<PROFIT_CTR>7320</PROFIT_CTR>
<ALLOC_NMBR />
</item>
- <item>
<GL_ACCOUNT>738100</GL_ACCOUNT>
<ITEM_AMOUNT>40000</ITEM_AMOUNT>
<COMP_CODE>001151</COMP_CODE>
<ITEM_TEXT>*777-8030-861</ITEM_TEXT>
<COSTCENTER>6010</COSTCENTER>
<PROFIT_CTR>6010</PROFIT_CTR>
<ALLOC_NMBR />
</item>
<item />
</GLACCOUNTDATA>
You can find there is one more item coming after headerdata with null values. It means map reading first line and one by one , if any field found in rows which belogs to GLAccount(Line item), then it writing one more item after headerdata with that fields only.
Remainig GLAccount data coming as per map after the item .
Can you tell me how to avoid extra line items.
Thanks,
SankarYes, It exist..
I cross checked ..with out givig fileds and giving some fields...its writing another items in after headerdata tag.
hope you understand , what my problem..
See: GLACCOUNTDATA under subnode
item is 0 to unbound in BAPI side, because of this its reading all rows , and if find any field which belongs to GLAccount , then it writing another item tag after headerr data.
Thnaks,
Sankar
Maybe you are looking for
-
Multiple apps using same files, how to lock them?
Hi all, I have a unique situation (or so I think). We are running our apps in Citrix servers, such that many users log in to a single citrix server and run our java apps. The problem is, it will be possible that more than one user might use the same
-
Export all tracks as audio files in LPX has suddenly ceased to function correctly
I have been working on a project for the past three months, which requires me to work from home ,then export all my tracks as audio files and take them into another studio. This is because my collaborator's DAW of choice is now Nuendo. So far, this h
-
Subject:-Tax reduction in invoice is not possible at the time of LIV when c
Dear SAP expert Subject:-Tax reduction in invoice is not possible at the time of LIV when corresponding order is closed. While carrying out the LIV of vendor invoice against service entry sheet , ERROR message of Order xxxxxxx created in PM module is
-
I'm trying to open Cloud but it uses my earlier e-mail account and I don't know how to have Cloud recognise my current account. Is there a way to fix that so Cloud will be available to me?
-
Valitadion of xml with schema declared in it
Hey, I can compile this and run it; but I don't know if it works because it will not throw any exceptions if I change my xmlfile to be not valid. So I'm not getting any printouts... This is not good at all. What have I done wrong? I'm totally new to