Empty record when using FCC!
The target output file has empty line after File Content Conversion. I using XSLT mapping with selection criteria.
Sample output XML
<root>
<child>
<field1>field1</field1>
<field2>field2</field2>
</child>
</root>
XI output
(empty line)
field1|field2
FCC parameters
Recordset Structure: child
child.fieldSeparator: |
child.endSeparator: 'nl'
Expected output:
field1|field2
Message was edited by:
Sarveshwar Kuncha
Hi,
>>Recordset Structure: child
Change it to Root,1,child,*.
it will work.check below links for reference.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
Regards,
Phani
Reward Points if helpful
Similar Messages
-
Arabic characters appear as empty squares when using certain HTML tags or font styles
Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using <i> or <em> html tags.
Try this code to replicate the problem
<pre>
<p>مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف</p>
<i>i tag مشكلة ظهور المربعات الخالية بدل الحروف</i> <br> <br>
<em>em tag مشكلة ظهور المربعات الخالية بدل الحروف </em>
</pre>After lots of research, I found the problem. The boxes (squares) show up whenever there is a font in the webpage that does not have Arabic within its Unicode range such as Times New Roman Italic or Oblique. Normally, Firefox will pick another font to display the characters but now, a newly introduced feature is interfering.
To fix the problem without turning off hardware acceleration.
Go to about:config
locate: gfx.font_rendering.directwrite.use_gdi_table_loading
which is True by default in FF4.0 Beta 10, and change it to False.
This is a bug that has to be fixed. -
Not being able to hear application audio on quicktime screen recording when using headset
Can someone tell me how to still hear the computer audio (like the application sound) on while using quicktime screen recording when using headset?
Someone help me please or tell me another application to do this with.hi paula
your problem could be hardware/software. lets hope its software issue first and i'd like you to do these:
if you have personal files on volume c, copy/backup them. shut down your computer, press one key recover button to perform clean windows installation. then check if the issue still persists.
if you don,t want to use okr, you can use windows restore to restore your computer to previous restore points but if it's windows/virus issue, it may not help. -
Can't get sound to record when using isight in my macbook pro
for some reason it just records the video no audio when using my macbook pro. any thoughts?
flux302 wrote:
for some reason it just records the video no audio when using my macbook pro. any thoughts?
Verify your iMovie "Voiceover" audio source is set to use your MBP's internal Mic before you record.
http://docs.info.apple.com/article.html?path=iMovie/7.0/en/10311.html
(You might also need to change it in System Preferneces > Sound > Input.)
Also verify the microphone's "Level" is not muted or adjusted too low in either place.
Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2) MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
LED Cinema Display G4 PowerBook 1.67GHz (10.4.11) iBookSE 366MHz (10.3.9) External iSight -
Empty request when using IE5.5 and client auth.
We are in the process of enabling Client Authentication for one of our websites. When enabling client authentication in iPlanet 6.1SP2 somethings go wrong when using the client uses Internet Explorer 5.0 or 5.5.
It seems that when using a IE browser older than 6.0 the Content Type is being sent twice:
Contect type: application/x-www-form-urlencode, application/x-www-form-urlencode and the servlet that needs to capture the data which is sent by the Client replies with a Cannot process an empty request.Does anyone have a workaround for this??I hadn't heard of this problem before, but it should be possible to work around it by adding the following lines to obj.conf:
<Client headers="Content-type: application/x-www-form-urlencode, application/x-www-form-urlencode">
AuthTrans fn="set-variable" set-headers="Content-type: application/x-www-form-urlencode"
</Client>Of course, you could also a) modify the affected Servlet or b) write a Servlet Filter that would modify the header before it's passed to the affected Servlet.
Please let us know whether you're able to solve the problem -
Error :Invalid TLV Record when using with VC++ UI Thread
Post Author: divya prakash
CA Forum: Other
Hello
I am using Crystal Report XI with VC++ 6.0 .When I am trying to print report directly on button click event all goes well.But as soon as i try to print report calling that function in a UI Thread it gives two error :
This document could not be opened. It does not appear to be a Crystal Report document. This document has the expected file extension (.RPT) but it seems to be corrupt. If the report use to work, try opening it with a different version of Crystal Reports and if that still does not work, please contact your administrator.
after pressing OK it gives another error : Invalid TLV record.
I dont know what is going wrong ...same code works well if I dont call in UI Thread and the moment I try to do the same by calling that function in UI Thread it gives above errors.
I have registered :craxdrt.dll as well as crqe.dll .... than also ..
Please help me I am totally stuck ...
Thanks in advance
- Divya PrakashPost Author: divya prakash
CA Forum: Other
Hello
I am using Crystal Report XI with VC++ 6.0 .When I am trying to print report directly on button click event all goes well.But as soon as i try to print report calling that function in a UI Thread it gives two error :
This document could not be opened. It does not appear to be a Crystal Report document. This document has the expected file extension (.RPT) but it seems to be corrupt. If the report use to work, try opening it with a different version of Crystal Reports and if that still does not work, please contact your administrator.
after pressing OK it gives another error : Invalid TLV record.
I dont know what is going wrong ...same code works well if I dont call in UI Thread and the moment I try to do the same by calling that function in UI Thread it gives above errors.
I have registered :craxdrt.dll as well as crqe.dll .... than also ..
Please help me I am totally stuck ...
Thanks in advance
- Divya Prakash -
Empty playlists when using iTunes match
Most of my playlists are showing up empty when I use iTunes Match on my second Mac. The playlists all work fine on my devices (ipod and ipad), it's just on my work Mac that this is happening. All smart playlists work. Randomly, two of my other created playlists are working but all of the rest show up empty with zero items in them. I've tried reseting Itunes match. Nothing is working to fix the problem. Any suggestions? This is driving me crazy.
Hi,
Try holding shift key whilst turning off match. Close itunes and relaunch, turn on match and select add this computer.Does this help?
Jim -
Noisy recording when using adobe audition _ how to make it better
Hi there,
I have just downloaded adobe audition cs5 for my recordings. When I record something, I have a noise at the back round which is created by I don`t know what. The computer doesn ot make noise and my room is quite.
Configuration before recording :
Primary recording :
After the amplification :
[0 to 1.8] ms shows the sounds that has been generated by I don`t know what.
You can get a wave file "Untitled 1.wav" I made from http://dk0.ti1ca.com/get/27.18.148.125/1m7qm7qh/Untitled%201.wav
I am using Windows XP sp3
Thanks for your help.@topomorto Please find below the snaps you asked for.
Here is another test I have just done : http://dk1.ti1ca.com/get/27.18.148.125/2myov2k6/Untitled%201.wav -
How to update around 12 lac record when using co-related update
Hello Everyone
I have two tables and 14 columns in them are similar, I mean have the same name
Now I want to update 1 column using the records in the other table by using join condition so I wrote a code but as the records are around 12 lac which need to be updated so my code hangs after 25%
UPDATE TABLE A
SET A.COLUMN1=(SELECT B.COLUMN1
FROM TABLEL B
WHERE B.COLUMN2 = A.COLUMN2
AND B.COLUMN3 = A.COLUMN3
AND B.COLUMN4= A.COLUMN4
AND B.COLUMN5 =A. COLUMN5
AND B.COLUMN6 = A.COLUMN6
AND B.COLUMN7=A.COLUMN7
AND B.COLUMN8 = A.COLUMN8
AND B.COLUMN9 = A.COLUMN9
AND B.COLUMN10 = A.COLUMN10
AND B.COLUMN11 = A.COLUMN11
AND B.COLUMN12 = A.COLUMN12
AND B.COLUMN13 = A.COLUMN13
AND A.PLAN_ID = 1000000300
AND B.PLAN_ID = 1000000300)
WHERE COLUMN14= 1000000300
AND COLUMN15=1000000002please suggest a way that the update could be done easily
Edited by: Peeyush on Feb 8, 2011 5:56 AM
Edited by: Peeyush on Feb 8, 2011 5:57 AMYou can rewrite it using a merge statement, to prevent starting that subquery numerous times.
Here is an example that mimics your situation, with two tables containing only 10 rows:
SQL> create table table_a
2 ( column1
3 , column2
4 , column3
5 , column4
6 , column5
7 , column6
8 , column7
9 , column8
10 , column9
11 , column10
12 , column11
13 , column12
14 , column13
15 , column14
16 , column15
17 , plan_id
18 )
19 as
20 select -1
21 , level
22 , 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
23 , 1000000300
24 , case mod(level,2) when 0 then 1000000002 else 1000000000 end
25 , 1000000300
26 from dual
27 connect by level <= 10
28 /
Table created.
SQL> create table table_b
2 as
3 select rownum column1
4 , column2
5 , column3
6 , column4
7 , column5
8 , column6
9 , column7
10 , column8
11 , column9
12 , column10
13 , column11
14 , column12
15 , column13
16 , column14
17 , column15
18 , plan_id
19 from table_a
20 /
Table created.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.
SQL> alter session set statistics_level = all
2 /
Session altered.
SQL> UPDATE TABLE_a A
2 SET A.COLUMN1=(SELECT B.COLUMN1
3 FROM TABLE_b B
4 WHERE B.COLUMN2 = A.COLUMN2
5 AND B.COLUMN3 = A.COLUMN3
6 AND B.COLUMN4= A.COLUMN4
7 AND B.COLUMN5 =A. COLUMN5
8 AND B.COLUMN6 = A.COLUMN6
9 AND B.COLUMN7=A.COLUMN7
10 AND B.COLUMN8 = A.COLUMN8
11 AND B.COLUMN9 = A.COLUMN9
12 AND B.COLUMN10 = A.COLUMN10
13 AND B.COLUMN11 = A.COLUMN11
14 AND B.COLUMN12 = A.COLUMN12
15 AND B.COLUMN13 = A.COLUMN13
16 AND A.PLAN_ID = 1000000300
17 AND B.PLAN_ID = 1000000300)
18 WHERE COLUMN14= 1000000300
19 AND COLUMN15=1000000002
20 /
5 rows updated.
SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
2 /
PLAN_TABLE_OUTPUT
SQL_ID 2xky09vcgyzpr, child number 0
UPDATE TABLE_a A SET A.COLUMN1=(SELECT B.COLUMN1 FROM
TABLE_b B WHERE B.COLUMN2 = A.COLUMN2
AND B.COLUMN3 = A.COLUMN3 AND B.COLUMN4= A.COLUMN4
AND B.COLUMN5 =A. COLUMN5 AND B.COLUMN6 =
A.COLUMN6 AND B.COLUMN7=A.COLUMN7 AND
B.COLUMN8 = A.COLUMN8 AND B.COLUMN9 = A.COLUMN9
AND B.COLUMN10 = A.COLUMN10 AND B.COLUMN11 =
A.COLUMN11 AND B.COLUMN12 = A.COLUMN12
AND B.COLUMN13 = A.COLUMN13 AND A.PLAN_ID = 1000000300
AND B.PLAN_ID = 1000000300) WHERE COLUMN14= 1000000300 AND
COLUMN15=1000000002
Plan hash value: 4173428670
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 1 | UPDATE | TABLE_A | 1 | | 0 |00:00:00.01 | 25 |
|* 2 | TABLE ACCESS FULL | TABLE_A | 1 | 5 | 5 |00:00:00.01 | 3 |
|* 3 | FILTER | | 5 | | 5 |00:00:00.01 | 15 |
|* 4 | TABLE ACCESS FULL| TABLE_B | 5 | 1 | 5 |00:00:00.01 | 15 |
Predicate Information (identified by operation id):
2 - filter(("COLUMN14"=1000000300 AND "COLUMN15"=1000000002))
3 - filter(:B1=1000000300)
4 - filter(("B"."COLUMN2"=:B1 AND "B"."COLUMN3"=:B2 AND "B"."COLUMN4"=:B3 AND
"B"."COLUMN5"=:B4 AND "B"."COLUMN6"=:B5 AND "B"."COLUMN7"=:B6 AND
"B"."COLUMN8"=:B7 AND "B"."COLUMN9"=:B8 AND "B"."COLUMN10"=:B9 AND
"B"."COLUMN11"=:B10 AND "B"."COLUMN12"=:B11 AND "B"."COLUMN13"=:B12 AND
"B"."PLAN_ID"=1000000300))
Note
- dynamic sampling used for this statement
40 rows selected.Note that you have 5 starts of operation 4, meaning 5 full table scans.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
2 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
4 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
6 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
8 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
10 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.
SQL> rollback
2 /
Rollback complete.
SQL> merge into table_a a
2 using table_b b
3 on ( a.column2 = b.column2
4 and a.column3 = b.column3
5 and a.column4 = b.column4
6 and a.column5 = b.column5
7 and a.column6 = b.column6
8 and a.column7 = b.column7
9 and a.column8 = b.column8
10 and a.column9 = b.column9
11 and a.column10 = b.column10
12 and a.column11 = b.column11
13 and a.column12 = b.column12
14 and a.column13 = b.column13
15 and a.plan_id = 1000000300
16 and b.plan_id = 1000000300
17 and a.column14 = 1000000300
18 and a.column15 = 1000000002
19 )
20 when matched then
21 update set a.column1 = b.column1
22 /
5 rows merged.
SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
2 /
PLAN_TABLE_OUTPUT
SQL_ID by8mwr4pxfv46, child number 0
merge into table_a a using table_b b on ( a.column2 = b.column2 and a.column3 = b.column3
and a.column4 = b.column4 and a.column5 = b.column5 and a.column6 = b.column6 and
a.column7 = b.column7 and a.column8 = b.column8 and a.column9 = b.column9 and
a.column10 = b.column10 and a.column11 = b.column11 and a.column12 = b.column12 and
a.column13 = b.column13 and a.plan_id = 1000000300 and b.plan_id = 1000000300 and
a.column14 = 1000000300 and a.column15 = 1000000002 ) when matched then update set
a.column1 = b.column1
Plan hash value: 1110892605
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | OMem | 1Mem | Used-Mem |
| 1 | MERGE | TABLE_A | 1 | | 1 |00:00:00.01 | 13 | | | |
| 2 | VIEW | | 1 | | 5 |00:00:00.01 | 6 | | | |
|* 3 | HASH JOIN | | 1 | 1 | 5 |00:00:00.01 | 6 | 778K| 778K| 573K (0)|
|* 4 | TABLE ACCESS FULL| TABLE_A | 1 | 5 | 5 |00:00:00.01 | 3 | | | |
|* 5 | TABLE ACCESS FULL| TABLE_B | 1 | 10 | 10 |00:00:00.01 | 3 | | | |
Predicate Information (identified by operation id):
3 - access("A"."COLUMN2"="B"."COLUMN2" AND "A"."COLUMN3"="B"."COLUMN3" AND "A"."COLUMN4"="B"."COLUMN4"
AND "A"."COLUMN5"="B"."COLUMN5" AND "A"."COLUMN6"="B"."COLUMN6" AND "A"."COLUMN7"="B"."COLUMN7" AND
"A"."COLUMN8"="B"."COLUMN8" AND "A"."COLUMN9"="B"."COLUMN9" AND "A"."COLUMN10"="B"."COLUMN10" AND
"A"."COLUMN11"="B"."COLUMN11" AND "A"."COLUMN12"="B"."COLUMN12" AND "A"."COLUMN13"="B"."COLUMN13")
4 - filter(("A"."PLAN_ID"=1000000300 AND "A"."COLUMN14"=1000000300 AND "A"."COLUMN15"=1000000002))
5 - filter("B"."PLAN_ID"=1000000300)
Note
- dynamic sampling used for this statement
36 rows selected.And with the merge you have only one.
SQL> alter session set statistics_level = typical
2 /
Session altered.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
2 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
4 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
6 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
8 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
10 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.On 1.2M rows, the savings should be considerable.
Regards,
Rob. -
How can I control creation of empty tags when using ora:view syntax?
I'm using XMLQuery and ora:view syntax to create xml resources in the database but I'd like to be able to prevent the creation of empty tags for null values in the table.
CREATE OR REPLACE PROCEDURE proc_ctsi_build is
XMLdoc XMLType;
BEGIN
DBMS_XDB.deleteResource('/public/CTSI/ctsi_phsall_rpt1.xml',1);
SELECT XMLQuery(
'<Progress_Report>
<Personnel_Roster>
{for $c in ora:view("CTSI_INVEST_SOURCE_V")
let $username := $c/ROW/COMMONS_USERNAME/text(),
$expertise := $c/ROW/AREA_OF_EXPERTISE/text()
return
<Investigator>
<Commons_Username>{$username}</Commons_Username>
<Area_of_Expertise>{$expertise}</Area_of_Expertise>
</Investigator>}
</Personnel_Roster>
</Progress_Report>'
RETURNING CONTENT) INTO XMLdoc FROM DUAL;
IF(DBMS_XDB.CREATERESOURCE('/public/CTSI/ctsi_phsall_rpt1.xml', XMLdoc)) THEN
DBMS_OUTPUT.PUT_LINE('Resource is created');
ELSE
DBMS_OUTPUT.PUT_LINE('Cannot create resource');
END IF;
COMMIT;
END;
In this example how can I prevent getting <Area_of_Expertise/> in my output when AREA_OF_EXPERTISE is null in the table?
ThanksHi,
you can use if else conditions.
{if ($expertise) then
<Area_of_Expertise>{$expertise}</Area_of_Expertise>
else ()}
**not tested**
Ants
Message was edited by:
Ants Hindpere -
Distorted Recording when using powered mixer into GB
Hello, I'm trying to trial a new mic setup for my drums, and need to test the mix (goal is to have one already mixed input into PA). I have a Crate PA6FX Powered Mixer, using an Alesis io2 USB into my Mac Pro, then into GB. I am able to record, however, the recording is VERY distorted. I've checked input settings, and reduced the master volume and inputs to almost 0. Still get the same distortion. I'm using the "speaker" jack from the mixer. I don't see anywhere else to connect it to. Any ideas on what is causing this distortion?
http://www.thehangtime.com/gb/gbfaq2.html#recordlength
-
CR & LF characters at the end of records when using delimited flat file (CR is missing)
Hi All,
I have a requirement where data of SQL query needs to be loaded to a CSV file.
The row delimiter of the CSV file has to be CR-LF.
In the flat file connection manager, I have mentioned Header Row delimiter as "{CR}{LF}" and under columns section, row delimiter is specified as "{CR}{LF}".
But when I open the detsnation CSV file using notepad++, I see only "LF" at the end of all rows.
Can you please let me know how can I get both CR & LF at the end of each row
Below is the screen shot of the flat file connection manager which I have used for CSV destination file:
RakshaHi Raksha,
Just as Vaibhav said, I’m curious why you need use “CR & LF” as row delimiter in Flat File Connection Manage. Since you can use "CR" as row delimiter in Flat File Connection Manager and it worked fine, you can directly specify "CR"
as row delimiter in Flat File Connection Manage.
Besides, if you still want to replace “LF” with “CR & LF” in the text file, we can use Notepad++’s Find/Replace feature or Edit -> EOL Conversion to achieve the goal. Then we can specify "CR & LF" as row delimiter in Flat File
Connection Manage.
The following blog about conversion between “LF” and “CR & LF” row delimiter in Notepad++ is for your reference:
http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/07/replacing-crlf-with-lf-using-notepad.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi All How to add an empty record into an table control in mpp
Hi All,
If my table control has 10 records , and I want to add an empty record when i click a push button for that what is the procedure to do it. please send me the source code for that its Urgent.
Thanks&Regards.
Bharat Kumar .WHEN 'INSL'.
insert line above cursor position
GET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
SET CURSOR FIELD FLD LINE LINNO OFFSET OFF.
IF FLD CP 'IT_SPFLI*' AND SY-SUBRC = 0.
IF LINNO >= 1.
LINNO = LINNO + TC_SPFLI-TOP_LINE - 1.
CLEAR IT_SPFLI.
INSERT IT_SPFLI INDEX LINNO.
TC_SPFLI-LINES = TC_SPFLI-LINES + 1.
ELSE.
CLEAR IT_SPFLI.
APPEND IT_SPFLI.
TC_SPFLI-LINES = TC_SPFLI-LINES + 1.
ENDIF.
ENDIF.
Use the above code as sample
Reemz -
Hi All How 2 add empty record to table control
Hi All,
If my table control has 10 records , and I want to add an empty record when i click a push button for that what is the procedure to do it. please send me the source code for that its Urgent.
Thanks&Regards.
Bharat Kumar .Hi..
In the PBO Module which is called before the LOOP on Table control .
Give the code like this..
DESCRIBE TABLE ITAB.
if OK_CODE = 'ADD'.
TABCON-LINES = SY-TFILL + 1.
ELSE.
TABCON-LINES = SY-TFILL .
ENDIF.
This will give the Additional line always when you click the ADD(some) button.
<b>Reward if Helpful</b> -
TS1631 People say I sound like I'm in an echo chamber or empty room when I'm calling on my iPhone 4S
Help! People say I sound like I'm in a tin can or empty room when using the iPhone 4S
Have you by any chance covered the little hole at the top of the phone or is there any dirt in it?
Maybe you are looking for
-
Xperia Z2 touch screen going rampage
When I was using the phone, the touch screen would suddenly go rampage as if touching random places on the screen. So, I decided to activate the dev option and log down the pointer movement, it turns out like a big cross and pointer moving around the
-
Need to save streaming video - what to do?
My apologies if this is the wrong forum, but I didn't know where to go... There is a 30-second streaming video clip on the web that I would like to save/download for a legal promotional personal use. Is there any macintosh software I can use to "grab
-
BAPI_CUSTOMERRETURN_CHANGE
Hi, I am using the fm BAPI_CUSTOMERRETURN_CHANGE to update the condition values of a return order. CALL FUNCTION 'BAPI_CUSTOMERRETURN_CHANGE' EXPORTING salesdocument = g_vbeln return_header_in = x_order_header_in
-
I have trouble configuring the Intel Pro/100 ethernet for the PXI-8176 controller during the kickstart installation. Did anyone have better luck?
-
Mac cannot find WPA-2 enterprise wifi when updated to Mavericks
My MacBook air cannot find WPA-2 enterprise wifi on the network list when updated to Mavericks, but I can add the network by choosing "joining other network" and typing username and password manually. Anyone knows how to solve this problem?