Remove line from output
hii,
output contains a line on top of every page (date, report name) how to exclude that.
thanks.
Edited by: aks on May 4, 2009 3:20 AM
in abap editor on the top where "Report <report name>." is written just add and write it this way
Report <report name> no standard page headings.
This wud do what you want
Similar Messages
-
How to remove xmls from output?
Hello All,
I have created a BPEL process that takes a flat file and converts to an XML file. I get an output of the following (see below). Is there a way that I can remove xmlns="" from the output?
Incorrect Output
<?xml version="1.0" encoding="UTF-8" ?>
<WhseShipNotice xmlns="">
Correct Output
<?xml version="1.0" encoding="UTF-8" ?>
<WhseShipNotice>
Any suggestions?
Regards,
KathyI can remember if this xsd removes namespaces correctly, I think it may still have the initial xmlns at the top but give it a try. Typically what needs to be done is some embedded java to do this.
<schema targetNamespace="http://www.oracle.com/Gateway"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Message">
<complexType>
<sequence>
<element name="Header">
<complexType>
<sequence>
<element name="UniqueID" type="string"/>
<element name="RoutingRule" type="string"/>
<element name="FileName" type="string"/>
<element name="Destination" type="string"/>
<element name="TransportType" type="string"/>
<element name="Attachment" type="string"/>
<element name="MQMessageID" type="string"/>
<element name="MQCorrelationID" type="string"/>
</sequence>
</complexType>
</element>
<element name="Payload" type="base64Binary"/>
</sequence>
</complexType>
</element>
</schema>cheers
James -
How do I remove lines from linked text?
I am using Dreamweaver CS 4 and linked images and text are automatically underlined. How do I remove the underlines from linked text?
https://www.adobe.com/support/dreamweaver/layout/link_underline/#72192
According to the Adobe page above, I can add this code to the “head’ area of my html page and then all my links will not have visible lines, but I did that and the lines are still there. Any ideas why?
<style type="text/css">
<!--
a:link {text-decoration: none}
a:visited {text-decoration: none}
a:active {text-decoration: none}
a:hover {text-decoration: underline}
-->
</style>Hello,
in my DW I can define this in the (translated from my german DW) page properties, see screenshot
Have a look at Hyperlinks (CSS) >>> Unterstreichungsstil (underlining style) >>> use dropdown menu output >>> never underline (nie unterstreichen)
Hans-Günter -
TO remove lines from itab where debit = credit
hi experts,
pls have look to the following code.
*& Report YTEST *
REPORT ytest NO STANDARD PAGE HEADING.
DATA: BEGIN OF itab OCCURS 0,
ref(3) type c, " reference number
po(10) TYPE C, " purchase order number
ic TYPE c, " debit/credit indicator s= debit h = credit
amount TYPE p DECIMALS 2, " cuurency
END OF itab.
itab-ref = '100'.
itab-po = '4000'.
itab-ic = 'S'.
itab-amount = '200'.
APPEND itab.
CLEAR itab.
itab-ref = '101'.
itab-po = '4000'.
itab-ic = 'H'.
itab-amount = '200'.
APPEND itab.
CLEAR itab.
itab-ref = '102'.
itab-po = '4000'.
itab-ic = 'S'.
itab-amount = '600'.
APPEND itab.
CLEAR itab.
itab-ref = '103'.
itab-po = '4001'.
itab-ic = 'S'.
itab-amount = '300'.
APPEND itab.
CLEAR itab.
itab-ref = '104'.
itab-po = '4002'.
itab-ic = 'S'.
itab-amount = '400.50'.
APPEND itab.
CLEAR itab.
LOOP AT itab.
WRITE:/3 itab-ref , 10 itab-po , 25 itab-amount LEFT-JUSTIFIED.
IF ITAB-IC = 'S'.
WRITE: 37 'DEBIT'.
ELSE.
WRITE: 37 'CREDIT'.
ENDIF.
ENDLOOP.
the o/p is as follows
100 4000 200.00 DEBIT
101 4000 200.00 CREDIT
102 4000 600.00 DEBIT
103 4001 300.00 DEBIT
104 4002 400.00 DEBIT
OK now since purchase order no. (po) is debited as well
as credited by amount 200.00 , the balance becomes 0
so in the output po: 4000 should not appear when debited and credited so the o/p SHOULD BE:
102 4000 600.00 DEBIT
103 4001 300.00 DEBIT
104 4002 400.00 DEBIT
WHAT ADDITIONAL LOGIC SHOULD I APPLY TO GET ABOVE O/P
pls give me lines of code that should be use
BEST REGARDS
PANKAJhi madam
i have used ur logic in my code but with this the
ref no 100 is not deleted and the o/p is
100 4000 200.00
102 4000 600.00
103 4001 300.00
104 4002 400.00
here the code is:
*& Report YTEST *
REPORT ytest NO STANDARD PAGE HEADING.
DATA: BEGIN OF itab OCCURS 0,
ref(3) type c, " reference number
po(10) TYPE C, " purchase order number
ic TYPE c, " debit/credit indicator s= debit h = credit
amount TYPE p DECIMALS 2, " cuurency
END OF itab,
fs_tab like itab.
itab-ref = '100'.
itab-po = '4000'.
itab-ic = 'S'.
itab-amount = '200'.
APPEND itab.
CLEAR itab.
itab-ref = '101'.
itab-po = '4000'.
itab-ic = 'H'.
itab-amount = '200'.
APPEND itab.
CLEAR itab.
itab-ref = '102'.
itab-po = '4000'.
itab-ic = 'S'.
itab-amount = '600'.
APPEND itab.
CLEAR itab.
itab-ref = '103'.
itab-po = '4001'.
itab-ic = 'S'.
itab-amount = '300'.
APPEND itab.
CLEAR itab.
itab-ref = '104'.
itab-po = '4002'.
itab-ic = 'S'.
itab-amount = '400.50'.
APPEND itab.
CLEAR itab.
LOOP AT itab.
IF ITAB-IC = 'S'.
read table itab into fs_tab with key ic = 'H'.
if sy-subrc eq 0.
if fs_tab-amount eq itab-amount.
delete itab index sy-tabix.
endif.
endif.
else.
read table itab into fs_tab with key ic = 'S'.
if sy-subrc eq 0.
if fs_tab-amount eq itab-amount.
delete itab index sy-tabix.
endif.
endif.
endif.
endloop.
loop at itab.
WRITE:/3 itab-ref , 10 itab-po , 25 itab-amount LEFT-JUSTIFIED.
IF ITAB-IC = 'S'.
WRITE: 37 'DEBIT'.
ELSE.
WRITE: 37 'CREDIT'.
*ENDIF.
ENDLOOP.
pls tell me where lies the mistake.
regards
pankaj -
Removing line from Portrait layout
I have a line that I would like to remove. In portrait layout, Basic Template there is a vertical line between text image that is getting in the way of my two column text. Highlighted as the red vertical line below. It doesn't seem to be removable?? A workaround is to go one column and stretch the page vertically. (Too many student objectives ;-)
Did you try unlocking the line, then deleting it? Click on the line so its ends show Xs (indicating it's locked). Then on the pulldown menu Arrange>Unlock and you should be able to delete it, or move it. If you do it in Layouts, it will affect all the pages that use that layout.
JS -
DePixelating a picture Or Removing Lines From Fabric Tex
I have a image of a BAG and the photo was shot in HD 3.4mb in size
i have to print the photo in catalouge and in small size it shows lines (curved) and when the photo is zoomed lines remove as much as i zoom
at 35% zoom in picture viewer and 45% in photoshop fabric is clear looking
tried blurring but quality is reduced
also tried to add noise and other textures no possible outcome
please helpI suspect a blur may be what you need, and that you just haven't yet found the sweet spot of "blurred just enough to hide the aliasing" but "not blurred so much as to reduce visual quality".
-Noel -
How do I remove lines from plot using property nodes
I am displaying data on an XY Graph and want to actively change the plot using property nodes. I can add plot points and set there colour and understand using active plot, my problem is I can not get rid of the line. I have tried Plot.Linestyle but there is no option to completemy remove the line.
Anyone any clues
niceTo get rid of the line, set Plot interpolation = 0.
=====================================================
Fading out. " ... J. Arthur Rank on gong." -
Why does hitting the Single Field checkbox in QT remove lines from my video?
Hi, when reviewing my HD video's I see annoying lines. However I went into the video track and hit the Single Field checkbox and they went away. The deinterlace checkbox did absolutely nothing however. Does this simply mean the footage is progressive but quicktime was just reading it wrong initially?
Very intereseted in knowing the answer.
All the best
KevinOk, maybe you can help me. I was sold some software that was meant to output progressive files in the AVI container with the MJPEG codec. I told him the software seems to be outputting interlaced files and this was his reasoning. Is he correct or is he taking me for a ride? This is a little beyond my knowledge of video systems so if anyone and help me please do.
They are Progressive Segmented Frames (PsF). This means they are progressive frames but with their information spread across two fields of an interlaced frame. Remember, interlacing is something added to the output of video to facilitate display requirements; it doesn't exist inside your PC. Odd, yes, but this is handy because if you had a true native progressive feed and tried to watch it on a display monitor that only supported interlaced input, you would not get an image. Also, PsF streams allow you to effectively use an interlaced camera to create progressive frames because, again, in a PC or MAC, there is no such thing as interlacing and during capture of each film frame, nothing moves between fields. Everything ends up progressive though carried on interlaced fields.
Forget film for a moment: Even when you shoot live video with an interlaced camera, the two successive fields for each frame are ALWAYS handled as one progressive frame inside your NLE, which usually displays only one of the fields during editing while the other field just goes along for the ride unseen. When you output the file or watch it on an external video monitor, the frames are then again broken up into fields to facilitate ease of playback on a variety of displays. If you were to deinterlace that video footage on your NLE, it would drop one field and use the remaining field to artificially create the missing field information to create one progressive frame. However, the output file would then be a PsF file because, even though the frames are now progressive, they are still being carried by an interlaced medium.
Likewise, when you use your progressive camera to create a live image, believe it or not, the video output is a PsF stream. That means the progressive frames are carried in two successive fields. The PC or Mac doesn't care that the information for each progressive frame arrives in two parts because, as mentioned earlier, the two parts are handled as one frame inside the NLE during editing. -
Remove header from output of pipeline
I am trying to get the update time of the most recent .vhd in a folder. I have:
get-childitem "*.vhd" | sort-object LastWriteTime | Select-Object LastWriteTime
My issue is I am trying to get rid of the header. How do I do that? I tried the option with format-table but was not able to set the result to a variable in a script.
$testme = get-childitem $dstPath\$guestName\*.vhd | sort-object LastWriteTime | Format-Table -HideTableHeaders LastWriteTime
writehost $testmeThis usually works, sometimes doesn't:
get-childitem "*.vhd" | sort-object LastWriteTime | Select-Object -ExpandProperty LastWriteTime
The 'ExpandProperty' parameter is supposed to be used for expanding properties that are collections, but if the property is a scalar value it will just print it out without the header. Odd, but works.
A more direct way is:
get-childitem "*.vhd" | sort-object LastWriteTime | ForEach-Object {$_.LastWriteTime} -
I am unable to a remove lines from a document originally done in 2004 using Mac Word 2004 while running it on Pages. Using Mac Mini with OSX 10.9.4.
Tried to delete lines. Delete is not highlighted in Pages.
Message was edited by: francinefromkent, 08/8/2014, 5p.m. EST. Edited to give more information.The version of Pages is the most useful extra information, it hardly matters what Mac you are using.
Menu > Pages > About Pages
The line could possibly be an underline or a paragraph border or a line which is a separate object underneath the rest of the text.
Probably it is a paragraph border.
Peter -
Regexp_replace to remove blank lines from multi lines in a single field
Gents. 10g R2.
with test_tab as
(select 'x'||chr(10)||'y'||chr(10)||chr(10)||'z' tester from dual)
select tester from test_tabproduces
x
y
zI require
x
y
zThere's a lot of examples on how to end up with xzy, but I need to maintain the carriage returns, just strip out blank lines.
I've been trying with posix [:cntrl:] but it doesn't seem to want to work. Question: how to get the desired output?
If this has been answered on another post, please point me in the right direction and accept my apologies!Hi,
The simplest thing might be to use LTRIM. (or TRIM, if you need to remove them from the end of the string, as well).
If you want a regular expression:
SELECT REGEXP_REPLACE ( tester
, '(^|' || CHR (10) || ')' || CHR (10) || '+'
, '\1'
FROM test_tab
;This might be easier to understand if you let x stand for CHR (10):
SELECT REGEXP_REPLACE ( tester
, '(^|x)x+'
, '\1'
FROM test_tab
;This is easier to understand: \1 is either the beginning of the string or x. When this is followed imeediately by 1 or more extra x's, then replace that whole pattern with \1 (that is, remove the extra x's). -
How to remove characters/lines from the beginning of an InputStream
Hi,
I have a program which receives several InputStreams. From each of these streams I have to remove 2 lines from the beginning. After the lines are removed, all the streams are combined to one with SequenceInputStream and read in one chunk. Is there an easy/simple way of doing this?
One option I thought would be to read the char by char until 2 end of line chars have been detected and then read the rest of the data to a buffer. And the create a ByteArrayInputStream out of this buffer. Problem with this approach is, that the amount of data can be large, so putting all the data in to memory might cause problems.
Another option is to use BufferredInputStream and use the readline() method twice to get rid of the lines that are not needed. After this I would write the data to some output stream, which is then converted back to input stream. Propably would work, but sound too much of work for a simple thing like this. There has to be better way.
To make it simple, what I need is a method that looks like the following, or something similar
* Removes n number of lines from the beginning of a InputStream.
* @param is InputStream where the lines are removed
* @param numberOfLines int value to indicate how many lines whould be removed
* @return InputStream where lines have been removed.
public InputStream removeLines(InputStream is, numberOfLines);Thanks.Here's the code, feel free to use it. Comments are also welcome.
public InputStream removeLinesFromTheBeginning(InputStream is, int numberOfLines) throws IOException
char c = 'c';
int i = 0;
for(int n = 0 ; n < numberOfLines ; n++)
do
c = (char)is.read();
System.out.print(c);
if(c == (char)-1) // end of stream reached before any newline characters were found.
return null;
i++;
while(c != '\n');
System.out.println();
System.out.println("Characters removed:" + i);
System.out.println("n: " + n);
i = 0;
return is;
}Edited by: dave_spaghetti on Jun 16, 2009 5:42 AM
Fixed a bug. -
How can I remove a line from a file?
how ca i remove one or more than one line from a text file?
Open the file for input.
Open another file for output.
Read each input line.
If you want to delete it, go get the next line
Otherwise, write the line to output, and go get the
next line.
Close both files. -
Hello All,
I have a problem I am trying to work thru and I need some assistance.
Here is the issue...
I have a report, in which I want to completely remove uneeded rows (depending on the contents of the row).
I have had a look thru the how-to papers on the TAble interface (so please don't post links to those, they are not what I am searching for as they only describe things like not displaying cell contents, and like I stated, I want to not show rows...ie, delete them from output.)
Does anyone have some code to show me how to accomplish this?
Here is my scenerio...
I have a query, from the 0IC_C03 infocube (I understand the IM scenerio, so don't post links to the SAP help for How-to on this subject), and in the query, I have storage location and material. As we all already know, the infocube does not give a good solution to provide values only on Storage location. But, to get around this, you can have a report with Material in the rows, and do a calculation (Price * Qty) to get the totals by storage location. But, I do not want to show the materials. (Yes, I know there is yet another how to paper on realizing inventory on storage location level, but that does not produce correct results).
The query is doing exactly what I want...here is the results.
STORLOC____MATERIAL_____VALUE
<b>LOC1________RESULT_______$200000</b>
LOC1________MATNR1_______$150000
LOC1________MATNR2_______$50000
<b>LOC2________RESULT_______$2500</b>
LOC2________MATNR3_______$1500
LOC2________MATNR4_______$1000
<b>LOC3________RESULT_______$500</b>
LOC3________MATNR5_______$500
You get the idea...
Anyway, I want to turn the above, into the following..
STORLOC____MATERIAL_____VALUE
<b>LOC1________RESULT_______$200000
LOC2________RESULT_______$2500
LOC3________RESULT_______$500</b>
Essentially, removing everything but the results rows...
Now, I have read a few other questions out here on something similiar (someone else was trying to accomplish the same thing) but nobody has ever posted a reasonable answer to the above question, so I am hoping, some of you have a solution, either via defining my own CL_RSR_WWW_MODIFY_TABLE solution or via Javascript.
If someone has accomplished this with the table interface, which method and how did you change the table?
If someone has accomplished this with javascript or something else, I would like the details of that as well.
Note: I was able to read the table, and was able to use a temp table, and remove the rows I did not want, but, I was not able to update the table passed by the interface.
This code works to get the right rows, but, it doesn't allow me to update the passing table.
DATA:wa_y_axis_data LIKE LINE OF
I_r_data_set->n_sx_version_20a_1-axis_data,
wa_cell_data LIKE LINE OF
I_r_data_set->n_sx_version_20a_1-cell_data,
set LIKE LINE OF wa_y_axis_data-set,
TUPLE_ORDINAL like set-TUPLE_ORDINAL,
l_counter TYPE i,
l_index TYPE sy-index,
l_trade_fvalue LIKE wa_cell_data-formatted_value.
* prerequesite in example: 1 key figure and 1 calc. key figure column
LOOP AT I_r_data_set->n_sx_version_20a_1-axis_data INTO wa_y_axis_data
WHERE AXIS = 1.
LOOP at wa_y_axis_data-set into set.
l_index = sy-index.
if set-chanm = 'A0MAT_PLT' AND set-chavl NE 'SUMME'.
delete wa_y_axis_data-set where tuple_ordinal = set-tuple_ordinal.
ENDIF.
ENDLOOP.
ENDLOOP.
Any similiar experiences or feedback is appreciated.
Cheers!
/smwHi Steve,
just want to know why the material has to be present in this report - when not shown in the end - just to have it in the column or why wonder?
regards, Johannes -
How to remove duplicates records from output ?
how to remove duplicates records from output ? i used delete adjacent but duplicates records are coming again ..suggest me
hi shruthi,
thanks for ur answer ..but duplicates records coming again
here is my code >> plz check it out
*& Report ZCRM_TROUBLE_TICKET
REPORT zcrm_trouble_ticket.
TYPES : BEGIN OF ty_qmih,
qmnum TYPE qmnum,
equnr TYPE equnr,
iloan TYPE iloan,
ausvn TYPE ausvn,
ausbs TYPE ausbs,
auztv TYPE auztv,
auztb TYPE auztb,
iwerk TYPE iwerk,
END OF ty_qmih,
BEGIN OF ty_qmel,
qmnum TYPE qmnum,
qmtxt TYPE qmtxt,
indtx TYPE indltx,
priok TYPE priok,
strmn TYPE strmn,
strur TYPE strur,
ltrmn TYPE ltrmn,
ltrur TYPE ltrur,
objnr TYPE qmobjnr,
arbpl TYPE lgwid,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
END OF ty_qmel,
BEGIN OF ty_ihpa,
parnr TYPE i_parnr,
parvw TYPE parvw,
objnr TYPE qmobjnr,
END OF ty_ihpa,
BEGIN OF ty_crhd,
arbpl TYPE arbpl,
objid TYPE cr_objid,
END OF ty_crhd,
BEGIN OF ty_crtx,
ktext TYPE cr_ktext,
objid TYPE cr_objid,
END OF ty_crtx,
BEGIN OF ty_qmfe,
fecod TYPE fecod,
fegrp TYPE fegrp,
qmnum TYPE qmnum,
END OF ty_qmfe,
BEGIN OF ty_qmur,
urcod TYPE urcod,
urgrp TYPE urgrp,
urtxt TYPE urstx,
qmnum TYPE qmnum,
END OF ty_qmur,
BEGIN OF ty_iloa,
tplnr TYPE tplnr,
iloan TYPE iloan,
END OF ty_iloa,
BEGIN OF ty_output,
qmnum TYPE qmnum,
equnr TYPE equnr,
iloan TYPE iloan,
ausvn TYPE ausvn,
ausbs TYPE ausbs,
auztv TYPE auztv,
auztb TYPE auztb,
iwerk TYPE iwerk,
qmtxt TYPE qmtxt,
indtx TYPE indltx,
priok TYPE priok,
strmn TYPE strmn,
strur TYPE strur,
ltrmn TYPE ltrmn,
ltrur TYPE ltrur,
objnr TYPE qmobjnr,
arbpl TYPE lgwid,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
parnr TYPE i_parnr,
parvw TYPE parvw,
arbpl TYPE arbpl,
objid TYPE cr_objid,
arbpl1 TYPE arbpl,
ktext TYPE cr_ktext,
fecod TYPE fecod,
fegrp TYPE fegrp,
urcod TYPE urcod,
urgrp TYPE urgrp,
urtxt TYPE urstx,
tplnr TYPE tplnr,
END OF ty_output.
DATA : it_qmih TYPE STANDARD TABLE OF ty_qmih,
it_qmel TYPE STANDARD TABLE OF ty_qmel,
it_ihpa TYPE STANDARD TABLE OF ty_ihpa,
it_crhd TYPE STANDARD TABLE OF ty_crhd,
it_crtx TYPE STANDARD TABLE OF ty_crtx,
it_qmfe TYPE STANDARD TABLE OF ty_qmfe,
it_qmur TYPE STANDARD TABLE OF ty_qmur,
it_iloa TYPE STANDARD TABLE OF ty_iloa,
it_output TYPE STANDARD TABLE OF ty_output,
wa_qmih TYPE ty_qmih,
wa_qmel TYPE ty_qmel,
wa_ihpa TYPE ty_ihpa,
wa_crhd TYPE ty_crhd,
wa_crtx TYPE ty_crtx,
wa_qmfe TYPE ty_qmfe,
wa_qmur TYPE ty_qmur,
wa_iloa TYPE ty_iloa,
wa_output TYPE ty_output.
INITIALIZATION.
REFRESH : it_qmih,
it_qmel,
it_ihpa,
it_crhd,
it_crtx,
it_qmfe,
it_qmur,
it_iloa,
it_output.
CLEAR: wa_qmih,
wa_qmel,
wa_ihpa,
wa_crhd,
wa_crtx,
wa_qmfe,
wa_qmur,
wa_iloa,
wa_output.
start-of-selection.
SELECT qmnum
equnr
iloan
ausvn
ausbs
auztv
auztb
iwerk
FROM qmih
INTO TABLE it_qmih.
SORT it_qmih BY qmnum .
DELETE ADJACENT DUPLICATES FROM it_qmih COMPARING qmnum equnr iloan ausvn ausbs auztv auztb iwerk.
SELECT qmnum
qmtxt
indtx
priok
strmn
strur
ltrmn
ltrur
objnr
arbpl
vkorg
vtweg
spart
FROM qmel
INTO TABLE it_qmel
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
SORT it_qmel BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmel COMPARING qmnum
qmtxt
indtx
strmn
strur
ltrmn
ltrur
objnr
arbpl
vkorg
vtweg
spart.
IF it_qmel IS NOT INITIAL.
SELECT parnr
parvw
objnr
FROM ihpa
INTO TABLE it_ihpa
FOR ALL ENTRIES IN it_qmel
WHERE objnr = it_qmel-objnr.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_ihpa COMPARING parnr
parvw
objnr.
IF it_qmel IS NOT INITIAL.
SELECT arbpl
objid
FROM crhd
INTO TABLE it_crhd
FOR ALL ENTRIES IN it_qmel
WHERE objid = it_qmel-arbpl.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_crhd COMPARING arbpl
objid.
IF it_qmel IS NOT INITIAL.
SELECT ktext
objid
FROM crtx
INTO TABLE it_crtx
FOR ALL ENTRIES IN it_crhd
WHERE objid = it_crhd-objid.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_crtx COMPARING ktext
objid.
IF it_qmih IS NOT INITIAL.
SELECT fecod
fegrp
qmnum
FROM qmfe
INTO TABLE it_qmfe
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
ENDIF.
SORT it_qmfe BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmfe COMPARING fecod
fegrp.
IF it_qmih IS NOT INITIAL.
SELECT urcod
urgrp
urtxt
qmnum
FROM qmur
INTO TABLE it_qmur
FOR ALL ENTRIES IN it_qmih
WHERE qmnum = it_qmih-qmnum.
ENDIF.
SORT it_qmur BY qmnum.
DELETE ADJACENT DUPLICATES FROM it_qmur COMPARING urcod
urgrp
urtxt.
IF it_qmih IS NOT INITIAL.
SELECT tplnr
iloan
FROM iloa
INTO TABLE it_iloa
FOR ALL ENTRIES IN it_qmih
WHERE iloan = it_qmih-iloan.
ENDIF.
DELETE ADJACENT DUPLICATES FROM it_iloa COMPARING tplnr
iloan.
LOOP AT it_qmih INTO wa_qmih.
wa_output-qmnum = wa_qmih-qmnum.
wa_output-equnr = wa_qmih-equnr.
wa_output-iloan = wa_qmih-iloan.
wa_output-ausvn = wa_qmih-ausvn.
wa_output-ausbs = wa_qmih-ausbs.
wa_output-auztv = wa_qmih-auztv.
wa_output-auztb = wa_qmih-auztb.
wa_output-iwerk = wa_qmih-iwerk.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmel INTO wa_qmel WITH KEY qmnum = wa_qmih-qmnum.
wa_output-qmtxt = wa_qmel-qmtxt.
wa_output-indtx = wa_qmel-indtx.
wa_output-priok = wa_qmel-priok.
wa_output-strmn = wa_qmel-strmn.
wa_output-strur = wa_qmel-strur.
wa_output-ltrmn = wa_qmel-ltrmn.
wa_output-ltrur = wa_qmel-ltrur.
wa_output-objnr = wa_qmel-objnr.
wa_output-arbpl = wa_qmel-arbpl.
wa_output-vkorg = wa_qmel-vkorg.
wa_output-vtweg = wa_qmel-vtweg.
wa_output-spart = wa_qmel-spart.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_ihpa INTO wa_ihpa WITH KEY objnr = wa_qmel-objnr.
wa_output-parnr = wa_ihpa-parnr.
wa_output-parvw = wa_ihpa-parvw.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_crhd INTO wa_crhd WITH KEY objid = wa_qmel-arbpl.
wa_output-arbpl = wa_crhd-arbpl.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_crtx INTO wa_crtx WITH KEY objid = wa_crhd-objid.
wa_output-ktext = wa_crtx-ktext.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmfe INTO wa_qmfe WITH KEY qmnum = wa_qmih-qmnum.
wa_output-fecod = wa_qmfe-fecod.
wa_output-fegrp = wa_qmfe-fegrp.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_qmur INTO wa_qmur WITH KEY qmnum = wa_qmih-qmnum.
wa_output-urcod = wa_qmur-urcod.
wa_output-urgrp = wa_qmur-urgrp.
wa_output-urtxt = wa_qmur-urtxt.
APPEND wa_output TO it_output.
CLEAR wa_output.
READ TABLE it_iloa INTO wa_iloa WITH KEY iloan = wa_qmih-iloan.
wa_output-tplnr = wa_iloa-tplnr.
APPEND wa_output TO it_output.
CLEAR wa_output.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM it_output COMPARING qmnum
equnr
ausvn
ausbs
auztv
auztb
iwerk
qmtxt
indtx
priok
strmn
strur
ltrmn
ltrur
vkorg
vtweg
spart
parnr
parvw
arbpl
ktext
fecod
fegrp
urcod
urgrp
urtxt
tplnr.
*CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
CLIENT = SY-MANDT
FLG_USER_STAT = ' '
objnr =
ONLY_ACTIVE = 'X'
spras = en
BYPASS_BUFFER = ' '
IMPORTING
ANW_STAT_EXISTING =
E_STSMA =
LINE =
USER_LINE =
STONR =
EXCEPTIONS
OBJECT_NOT_FOUND = 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.
*CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id =
language =
name =
object =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines =
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*LOOP AT IT_OUTPUT INTO WA_OUTPUT.
*WRITE : / WA_OUTPUT-qmnum,
WA_OUTPUT-equnr,
WA_OUTPUT-iloan,
WA_OUTPUT-ausvn,
WA_OUTPUT-ausbs,
WA_OUTPUT-auztv,
WA_OUTPUT-auztb,
WA_OUTPUT-qmtxt,
WA_OUTPUT-indtx,
WA_OUTPUT-strmn,
WA_OUTPUT-strur,
WA_OUTPUT-ltrmn,
WA_OUTPUT-ltrur,
WA_OUTPUT-objnr,
WA_OUTPUT-arbpl,
WA_OUTPUT-parnr,
WA_OUTPUT-parvw,
WA_OUTPUT-objid,
WA_OUTPUT-ktext,
WA_OUTPUT-fecod,
WA_OUTPUT-fegrp,
WA_OUTPUT-urcod,
WA_OUTPUT-urgrp,
WA_OUTPUT-urtxt,
WA_OUTPUT-tplnr.
*ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = 'E:\CRM1.TXT'
FILETYPE = 'ASC'
APPEND = ' '
write_field_separator = '|'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
IMPORTING
FILELENGTH =
TABLES
data_tab = it_output
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Maybe you are looking for
-
How can I stop an old iphone from getting text?
I just upgraded to a 4s and everytime I get a text, it comes in on both of my devices (only when in wifi for the old phone - no sim anymore obv). I'm using the same apple ID and the same iCloud for both devices. It doesn't seem there is a setting i
-
Is there a way to mass/multi delete photos in all messages without deleteing the message
i have iOS 7, iPhone 4s and Mavericks. i know i can tap and hold on the photo and the "more" option appears, then flip through the conversation and select individual messages to delete within that conversaion. but i have so many ongoing texts that i
-
Some reason my apps cannot download in my mac security question problem
securty questionn of apple id problem i tried my apple id method also but did`t work
-
OKEP - Maintain Default Cost Element (F-47)
Hi, In OKEP an entry is maintained with Controlling area. Even though getting message maintain default cost elements? In F-47 if document posted without Purchase Order it is posted. If trying to post document with PO then this message is appearing. I
-
Getting random errors of audienceURI must be specified in SamlSecurityToken
Getting this exception after login: Exception: ID1032: At least one 'audienceUri' must be specified in the SamlSecurityTokenRequirement when the AudienceUriMode is set to 'Always' or 'BearerKeyOnly'. Either add the valid URI values to the AudienceUri