Adding Space Below a Line of Text
Is there a CSS rule to control and add space below a line of text? I know about line-height, but that adds space above and below, I just want to add space below the line of text.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style>
body {
width: 400px;
margin: auto;
p {
font-size: 12px;
line-height: 20px;
position: relative;
top: -2px;
</style>
</head>
<body>
<p>Duis aute irure dolor ut aliquip ex ea commodo consequat. Eu fugiat nulla pariatur. Sunt in culpa quis nostrud exercitation sed do eiusmod tempor incididunt. Mollit anim id est laborum.</p>
<p>Ut labore et dolore magna aliqua. Eu fugiat nulla pariatur. Ut enim ad minim veniam, cupidatat non proident, ut aliquip ex ea commodo consequat.</p>
</body>
</html>
Gramps
Similar Messages
-
Spooling a file adding spaces after each line
Hi
I am spooling a result of an sql in a csv file in linux os. But the file generates lot of blank lines after each row. How this can be eliminated while spooling
Thanks in advance
SasThanks a lot for your reply. Is there any way to supress the display of query result. I dont want to see the result. I want just the output file.
Thanks
Sas
Edited by: SasDutta on Mar 24, 2010 4:20 PM -
Some text in my smartform is not aligned or one space below
Hello Experts,
I am currently modifying a smartform wherein some of the text is
one space below its correct alignment. For example:
Particulars Quantity Price
50
Enervon Prime 1,000
The 50 must be aligned with the particular and price. When I checked the
form, it doesnt have anyspace and the variable is inserted immediately. No spaces
or indentions whatsoever. Help would be greatly appreciated guys as this is very urgent.
Thank you and take care!Hi Kishan,
Thank you for your reply. What do you mean check the length of the
variable? And Also, what about for others that instead of displaying
one space below, it shows one space above? like:
5000
Enervon 1,000
The quantity 5000 must be in line with Enervon and 1,000. Thank you again! -
How to remove space below text?
In the screenshot below, how to remove space below text? I simply added a text box using the type tool and I get that extra space bellow the letter "B" that I don't need. I want to remove that space to center the letter within the octogon.
Thanks!You might consider giving the letter a negative baseline shift and aligning it to centre.
That way you can adjust it so that its anchor point coincides with the centre of the hexagon.
Like this:
Another thing: You may find it easier working with type if you hide bounding boxes. -
How do I add space between lines of text in the same cell on Numbers 3.0.1
I just updated to Mavericks 10.9. In numbers, I used to be able to uncheck a box in the inspector that would make it so the Return key did not move to the next cell, but instead allowed me to add more space between lines of text in the same cell.
How can I do this in the new version of numbers?HI ilb,
Numbers 3 is a complete rewrite of the application. This preference option hasn't (yet) been included, but N3 is very much a 'work in progress. A word to Apple via Provide Numbers Feedback asking to have this option included in Numbers 3 might be a useful step. You'll find Provide Numbers Feedback in the Numbers menu in Numbers.
Regards,
Barry -
How to add an space for every line in a text file in 46.B?
Hi Friends!!
My problem is the following,
I need to add spaces in all lines of a text file
Ej.'ABC ' , I'm using GUI_DOWNLOAD to download the internal table, but the function truncates all spaces, as it is 46B doesn't have the option for allowing the spaces at the end of each line,
Do you know what can I do?? is there any other function module I could use?? I also tried with WS_DOWNLOAD but it didn't help!
Thanks so much in advance!!!
FrineeThis a short example:
data: begin of mytable occurs 0,
line(2),
lspace type x value '20',
lenter type x value '0D0A',
end of mytable.
mytable-line = '1'.
condense mytable-line.
append mytable.
mytable-line = '2'.
condense mytable-line.
append mytable.
mytable-line = '3'.
condense mytable-line.
append mytable.
call function 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = 50
FILENAME = 'C:\mybinfile.txt'
FILETYPE = 'BIN'
TABLES
DATA_TAB = mytable
EXCEPTIONS
others = 9. -
How to provide space and new line to the text in AI Script
how to provide space and new line to the text in AI Script
?? can you explain better, can you at least add another sentence?
space
var mySpace = " ";
new line
var newLine = "\n"; -
When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line). How can I avoid this?
Try validating your installed fonts and fixing any errors that show up. To do this see this article: http://reviews.cnet.com/8301-13727_7-20085570-263/safari-in-os-x-lion-replacing- text-with-block-a-characters/
-
Adding space at the end of a ritchEditableText line
Hi!
I found an interesting behaviour in my application. I have a RichEditableText component with a fixed width . If I add text till almost the end of the line and then insert spaces, the cursor get's stuck at the end of the line. My surprise was on retreiving the text from that line in the code, where all that spaces existed even if they were not visible in the app. So on screen you see let's say 3 spaces, but then you save the text you can get 10. If you keep inserting any letter the cursor will move itself to the next line, but this does not seem to be the case of " "(space).
I tested it useing the following code. I'm useing 4.1 sdk.
<s:RichEditableText id="richTxt" width="100" height="500" change="richTxt_changeHandler(event)" />
protected function richTxt_changeHandler(event:TextOperationEvent):void
var noOfLines:int = richTxt.textFlow.flowComposer.numLines;
for (var i:int = 0; i < noOfLines; i++)
var startIndex:int = richTxt.textFlow.flowComposer.getLineAt(i).absoluteStart;
var seqLength:int = richTxt.textFlow.flowComposer.getLineAt(i).textLength-1;
var textLine:String = richTxt.text.substr(startIndex, seqLength);
I try to set clipAndEnableScrolling=true; for richTxt but this thid not change anything.
How can I retrieve only the visible text( with the corect number of spaces at the end of the line) from the RET in order to save it ?
Thanks !Do you want to handle that space or just use the text value?
If you just want to use the text value (i.e 1word - space)...u simply say CONDENSE <UR TEXT VARIABLE>.
Else the other option is: Find the string length and then handle it the way u want.
Or if u r sure that every word has that extra space, and u dont want that u can even use SHIFT RIGHT BY 1 PLACE in thet text variable.
Hope this helps.
Thanks
Kiran -
Changing text within frames without adding space at bottom
Anyone know if there's a method for changing text within frames so that the successive text automatically flows into position without creating blank space at bottom of that current or a subsequent frame?
Peter,
You can combine the discussions if you want. I actually deleted a sentence beginning the second discussion explaining that it was related to the first. I thought it might impede the discussion.
Let me describe my problem more completely. I'm adjusting a book that was carefully crafted using frames for each page so that the text extended to the bottom of each page (frame). This often splits text within a paragraph between two pages. This was done so that the customer doesn't feel they are purchasing any blank space and for the aesthetic purpose of filling each page with text. The only exception is the beginning of new chapters or sections.
The problem is that I want to change a word here and there in preexisting paragraphs. When I do, space often one-third the page length is generated at the bottom of a page (frame). To fill that space and extend text to the bottom of the page again requires -given my current understanding of options- selecting the paragraph (beginning on one page and completed on the second) that has become interrupted by the blank space and performing a "keep lines together" option. Unfortunately, this usually generates new blank space on a subsequent page, requiring a new "keep lines together"; in a seemingly unending regress of this procedure.
What I require is a method enabling me to add text within a paragraph that will avoid the generation of the blank space by flowing the subsequent text (composing one or more paragraphs and splitting a paragraph between pages if required) to the end of the page; completely filling the page without requiring any use of "keep options" or whatever.
Richard -
Error when adding image in-line with text
When using some of my templates I have no problem in putting
a small graphic (a pdf icon) in-line with text. Yet with others the
insertion of the same small graphic forces a newline before and
after the graphic.
If the text and image is placed in an editable region of the
template, but not within a table cell all is ok.
If the text and image is place within a table cell within the
editable region the problem arises. I am sure there is something I
have specified incorrectly but cannot discover what it is.
An example of where it works fine is:
www.digitalfox.co.uk/parryassociates/products.htm
An example of where it doesn't work is:
www.bournemouthlittletheatre.co.uk/membership2.htm
I am using Dreamweaver 8 within Studio 8 and run under
Windows XP.
Can anyone help please?
Regards
Roger SansomHmm -
<style type="text/css">
<!--
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
@import url("nav-bar-top/nav-bar-top.css");
Is this the belt and bracers approach? 8)
Anyhow, your problem is in the very first line of one of
those (take your
pick) -
TD IMG {
DISPLAY: block
That causes images in table cells to behave as a block tag.
Block tags
force all adjacent content to the next line.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"RogerLS" <[email protected]> wrote in
message
news:[email protected]...
> When using some of my templates I have no problem in
putting a small
> graphic (a
> pdf icon) in-line with text. Yet with others the
insertion of the same
> small
> graphic forces a newline before and after the graphic.
>
> If the text and image is placed in an editable region of
the template,
> but
> not within a table cell all is ok.
>
> If the text and image is place within a table cell
within the editable
> region
> the problem arises. I am sure there is something I have
specified
> incorrectly
> but cannot discover what it is.
>
> An example of where it works fine is:
> www.digitalfox.co.uk/parryassociates/products.htm
>
> An example of where it doesn't work is:
> www.bournemouthlittletheatre.co.uk/membership2.htm
>
> I am using Dreamweaver 8 within Studio 8 and run under
Windows XP.
>
> Can anyone help please?
>
> Regards
> Roger Sansom
>
>
> -
Safari (and Firefox) rendering huge spaces between lines of text.
I have a Mac user (a designer, a PC guy outside of work) who has somehow managed to screw up the rendering of text in Safari.
On his Mac in both Safari and Firefox when a couple of lines of text from a website should render as:
1st line of text.
2nd line of text.
Instead render as:
1st line of text.
2nd line of text.
Has anyone else seen this? Considering he also gets to mess around with his fonts since he a) uses suitcase, and b) is a designer, I am thinking he has either messed up his browser fonts, or possibly corrupted some of his system fonts by importing some of the very broken font/type sets which Windows allows to be used.
Once he takes off for the day I'll be able to figure out for sure what he's done, but in the mean time while he's trying to customize his Porche with a Lada engine I'm searching for similar experiences and solutions.
Thanks.I'm having the same problem with the main apple home page with Safari --extra returns--and it's also happening with Complex HTML message in Entourage (Office 2004)--not all, just messages with tables. The html rendering engine for Entourage, I believe, is Safari. I've updated to the latest versions of Panther and Office and even changed fonts, thrown away preferences. I still have the extra returns.
Does anyone know if Safari is the html rendering engine for Entourage 2004? I know that Internet Explorer was the engine for Office X.
Does anyone have a suggestion to fix this?
Thanks, -
Urgent! How to display more than 1 line of text in SAPSCRIPT using tab
Hi, i would like to know how do i display all the text (which may consist of more than 1 line) that i have extracted using a READ_TEXT FM in my print program? Once the text has been extracted and displayed, i would like the proceeding lines of text (if there are more than 1 line) to begin at a certain margin (i have defined a paragraph format as 6.2cm in tab option).
Have a look at the part of the print program that has the READ_TEXT FM statements which is going to extract the text from the PR Document header:
LOOP AT ITAB.
CLEAR: PR_TXT, PR_TXT[].
L_NAME = ITAB-BANFN.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'B01'
LANGUAGE = SY-LANGU
NAME = L_NAME
OBJECT = 'EBANH'
ARCHIVE_HANDLE = 0
* LOCAL_CAT =
TABLES
LINES = PR_TXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT PR_TXT.
MOVE: ITAB-BANFN TO PTXT_TAB-BANFN,
SY-TABIX TO PTXT_TAB-POSNR,
PR_TXT-TDLINE TO PTXT_TAB-LINE.
APPEND PTXT_TAB.
ENDLOOP.
As for my SAPSCRIPT, i did the following:
* Purchase Request Header : &PTXT_TAB-LINE(C)&
I would like all of the proceeding lines of text to appear at the same margin as when the first line of &PTXT_TAB-LINE& started (which i have found out is 6.2cm, so i created a tab called HT for this)
Message was edited by: Bernard LohREPORT ZZZZANC9 .
tables mara.
data: i_mara like mara occurs 0 with header line.
select matnr from mara
up to 100 rows
into corresponding fields of table i_mara
where matnr ne space.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZZZZANC1'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
OTHERS = 11.
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 i_mara.
mara-matnr = i_mara-matnr.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MATERIAL'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Look through above code. Sapscript should contain a text element (/E control) as below
/E MATERIAL
&mara-matnr& -
Acrobat Pro 9, blank lines in text boxes vanish upon save
Folks,
Since I upgraded from Acrobat Pro 8 to 9, whenever I put blank lines in a text box, the blank lines disappear as soon as the PDF is saved.
Here's an example:
- Open a PDF file
- Click on text box tool in the toolbar (or from menu Comments->Comments and markup Tool->Text box tool
- Draw a box on the PDF page somewhere
- Enter "First line", then hit Return twice to add a blank line below, enter "Second line"
- Right now my text box contains two lines of text separated by a blank line
- Hit save
- Blank line vanishes in the text box. Now the two text lines are on adjacent rows.
This did not happen in either Acrobat Pro 7 or 8. I've been using textboxes consistently for years without this silly behavior.
Any suggestions? I've looked through forums and knowledge bases and such to no avail.
I have acrobat pro version 9.0.0 running on XPSP3.
Thanks!
PetrosHello Petros,
I figured out how to make this work, at least on my computer. Hold CTRL key and hit ENTER. This leaves the space. Hope this works for you.
Phillip -
How to write empty line in text file
hey
i want to insert one empty line in text file.
how to write this.
i declared
data: emptyrec(240) type c value space,
and used
TRANSFER emptyrec to e_file.
but its not inserting empty line in the record.
is there any special way have to do.
ambichan.hai anand,
I am posting the code snippet.
i have commented that transfer line in '----
' like this
pls refer below.
ambichan
DATA: PAGENO(4) TYPE N VALUE 1,
DATAKBN(2) TYPE N VALUE 1,
SUBNO(3) TYPE N VALUE 1,
VPAGENO(4) TYPE C,
VDATAKBN(2) TYPE C,
VSUBNO(3) TYPE C,
VREC(255) TYPE C,
VRECORD(255) TYPE C,
EMPTYREC(255) TYPE C VALUE SPACE,
VCODE(10) TYPE C,
VNAME2(35) TYPE C,
VPAYDAT(10) TYPE C,
VSGTXT(60) TYPE C VALUE SPACE,
VSGTXT1(10) TYPE C,
VKINGAKU(15) TYPE C VALUE SPACE,
VBIKKO(30) TYPE C VALUE SPACE,
VBELNR(10) TYPE C VALUE SPACE,
VDMBTR(15) TYPE C,
VGLT0-KSLVT(15) TYPE C,
VGLT0-TSL01(15) TYPE C,
VGLT0-TSL02(15) TYPE C,
VGLT0-TSL03(15) TYPE C,
VGLT0-TSL04(15) TYPE C,
VGLT0-TSL05(15) TYPE C,
VKIN(15) TYPE C,
VTEGA(15) TYPE C.
FORM FRM_OUTPUT_DATA.
SORT ITAB_OUTPUT_SUMMARY BY LIFNR DTYPE.
SORT ITAB_OUTPUT_ITEMS BY LIFNR DTYPE BELNR.
IF P_DISP = 'X'."checkボクスを選ぶ場合、ファイル作成処理へ行く
OPEN DATASET E_FILE FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC <> 0.
WRITE: 'error',SY-SUBRC.
EXIT.
ENDIF.
LOOP AT ITAB_LIFNR.
PERFORM LISTDATA.
PAGENO = PAGENO + 1.
SUBNO = 1.
ENDLOOP.
CLOSE DATASET E_FILE."ファイルクローズ
ENDFORM. " End of frm_output_data
FORM LISTDATA.
DATA:
WK_PAY_AMOUNT LIKE BSEG-DMBTR, " 純支払額算出用
VWK_PAY_AMOUNT(15) TYPE C,
GLT0-TSL05_VAL LIKE GLT0-TSL05.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 1.
BSIK-DMBTR = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
GLT0-TSL01 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 2. " 区分:2
GLT0-TSL02 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 3. " 区分:3
GLT0-TSL03 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 4. " 区分:4
GLT0-TSL04 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 5. " 区分:5
GLT0-TSL05 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
glt0-tsl05 = glt0-tsl05 + glt0-tsl04.
WK_PAY_AMOUNT = GLT0-TSL05 + GLT0-TSL04.
CHECK WK_SUBRC = 0.
BSEG-KOART = ' '. 情報不要
CLEAR: BSEG-SGTXT, BSEG-DMBTR, TGSBT-GTEXT, BKPF-BELNR.
BSEG-KOART = 'Y'. " フラグ:ヘッダに相殺額を出力
CLEAR: BSAK-DMBTR.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 6. " 区分:6
BSAK-DMBTR = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
WK_PAY_AMOUNT = WK_PAY_AMOUNT - BSAK-DMBTR.
WRITE : / PAGENO,
SUBNO,
DATAKBN,
ITAB_LIFNR-LIFNR,
ITAB_LIFNR-NAME2(25),
P_PAY_T,
GLT0-TSL01,
GLT0-TSL02,
GLT0-TSL03,
GLT0-TSL04,
GLT0-TSL05.
VPAGENO = PAGENO.
VSUBNO = SUBNO.
DATAKBN = 1.
VDATAKBN = DATAKBN.
VCODE = ITAB_LIFNR-LIFNR.
VNAME2 = ITAB_LIFNR-NAME2.
VPAYDAT = P_PAY_T.
VGLT0-TSL01 = GLT0-TSL01.
VGLT0-TSL02 = GLT0-TSL02.
VGLT0-TSL03 = GLT0-TSL03.
VGLT0-TSL04 = GLT0-TSL04.
VGLT0-TSL05 = GLT0-TSL05.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT VKINGAKU
VBIKKO VBELNR VGLT0-TSL01 VGLT0-TSL02 VGLT0-TSL03
VGLT0-TSL04 VGLT0-TSL05 INTO VREC SEPARATED BY ','.
CLEAR: BSAK-DMBTR, BSID-DMBTR, BSAD-DMBTR, BSEG-DMBTR, BSIK-DMBTR,
WK_10 , WK_11 , GLT0-TSL05.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 7. " 区分:7
BSID-DMBTR = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
WK_PAY_AMOUNT = WK_PAY_AMOUNT - BSID-DMBTR.
郵送料の出力処理
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 8. " 区分:8
BSAD-DMBTR = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
WK_PAY_AMOUNT = WK_PAY_AMOUNT - BSAD-DMBTR.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 9. " 区分:9
BSEG-DMBTR = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
WK_PAY_AMOUNT = WK_PAY_AMOUNT - BSEG-DMBTR.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 10.
WK_10 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
READ TABLE ITAB_OUTPUT_SUMMARY
WITH KEY LIFNR = ITAB_LIFNR-LIFNR DTYPE = 11.
WK_11 = ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
GLT0-TSL05 = WK_PAY_AMOUNT - WK_10 - WK_11.
WK_PAY_AMOUNT = WK_PAY_AMOUNT - GLT0-TSL05.
VWK_PAY_AMOUNT = WK_PAY_AMOUNT.
VKIN = WK_10.
VTEGA = WK_11.
CONCATENATE VREC VWK_PAY_AMOUNT VKIN VTEGA INTO
VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
WRITE :
VWK_PAY_AMOUNT,
WK_10,
WK_11.
WRITE:/.
BSEG-KOART = 'X'. " フラグ:請求金額を出力
LOOP AT ITAB_OUTPUT_ITEMS WHERE LIFNR = ITAB_LIFNR-LIFNR
AND DTYPE = 5. " 区分:5
BSEG-SGTXT = ITAB_OUTPUT_ITEMS-SGTXT. " 明細テキスト
GLT0-KSLVT = ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO. " 金額
TGSBT-GTEXT = ITAB_OUTPUT_ITEMS-GTEXT. BKPF-BELNR = ITAB_OUTPUT_ITEMS-BELNR.
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
DATAKBN = 2.
VDATAKBN = DATAKBN.
VGLT0-KSLVT = GLT0-KSLVT.
VBIKKO = TGSBT-GTEXT.
VBELNR = BKPF-BELNR.
VSGTXT1 ='請求金額:'.
CLEAR VRECORD.
CONCATENATE VSGTXT1 BSEG-SGTXT INTO VSGTXT.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VGLT0-KSLVT VBIKKO VBELNR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
WRITE :/ VPAGENO,VSUBNO,VDATAKBN,'請求金額:', VSGTXT, VGLT0-KSLVT,
VBIKKO,VBELNR.
ENDLOOP.
CLEAR: BSEG-SGTXT,GLT0-KSLVT,BKPF-BELNR.
LOOP AT ITAB_OUTPUT_ITEMS WHERE LIFNR = ITAB_LIFNR-LIFNR
AND DTYPE = 6. " 区分:6
BSEG-SGTXT = ITAB_OUTPUT_ITEMS-SGTXT. " 明細テキスト
IF ITAB_OUTPUT_ITEMS-SHKZG = CNS_CREDIT. " 金額
GLT0-KSLVT = ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO.
ELSEIF ITAB_OUTPUT_ITEMS-SHKZG = CNS_DEBIT.
GLT0-KSLVT = ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO * -1.
ENDIF.
TGSBT-GTEXT = ITAB_OUTPUT_ITEMS-GTEXT. " 事業領域テキスト
BKPF-BELNR = ITAB_OUTPUT_ITEMS-BELNR. " 伝票番号
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
DATAKBN = 3.
VDATAKBN = DATAKBN.
VGLT0-KSLVT = GLT0-KSLVT.
VBIKKO = TGSBT-GTEXT.
VBELNR = BKPF-BELNR.
VSGTXT1 ='相殺金額:'.
CLEAR VRECORD.
CONCATENATE VSGTXT1 BSEG-SGTXT INTO VSGTXT.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VGLT0-KSLVT VBIKKO VBELNR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
concatenate vpageno vsubno vdatakbn
WRITE :/ PAGENO,SUBNO,DATAKBN,'相殺金額',BSEG-SGTXT, GLT0-KSLVT,
TGSBT-GTEXT, BKPF-BELNR.
ENDLOOP.
CLEAR VRECORD.
*Insert empty line.
TRANSFER EMPTYREC TO E_FILE.
DATAKBN = 3.
VDATAKBN = DATAKBN.
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
VSGTXT ='源泉金額'.
VDMBTR = BSID-DMBTR.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VDMBTR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
WRITE :/ PAGENO, SUBNO,DATAKBN, ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
P_PAY_T,'源泉金額', BSID-DMBTR.
CLEAR: VDMBTR, VSGTXT, VRECORD.
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
VSGTXT = '郵送料'.
VDMBTR = BSAD-DMBTR.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VDMBTR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
WRITE :/ PAGENO, SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
P_PAY_T,'郵送料', BSAD-DMBTR.
CLEAR: VDMBTR, VSGTXT, VRECORD.
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
VSGTXT = '振込み手数料'.
VDMBTR = BSEG-DMBTR.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VDMBTR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
CLEAR: VDMBTR, VSGTXT, VRECORD.
WRITE :/ PAGENO,SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
P_PAY_T,'振込み手数料',BSEG-DMBTR.
*その他の支払いの処理
SUBNO = SUBNO + 1.
VSUBNO = SUBNO.
VSGTXT = 'その他の支払い'.
VDMBTR = GLT0-TSL05.
CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
VDMBTR INTO VRECORD SEPARATED BY ','.
TRANSFER VRECORD TO E_FILE.
WRITE :/ PAGENO,SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
P_PAY_T, 'その他の支払い',GLT0-TSL05.
glt0-tsl05.
ULINE.
CLEAR: VREC, VRECORD,VCODE,VNAME2,VPAYDAT,VSGTXT,VSGTXT1,VKINGAKU.
CLEAR: VBIKKO,VBELNR,VDMBTR,VGLT0-KSLVT,VGLT0-TSL01,VGLT0-TSL02.
CLEAR: VGLT0-TSL03,VGLT0-TSL04,VGLT0-TSL05,VKIN,VTEGA,VWK_PAY_AMOUNT.
ENDFORM.
Maybe you are looking for
-
HP Pavilion 17 Notebook PC (Windows 7 Ultimate x64) USB controller not working
I am having problems with my HP Pavilion 17 Notebook PC (Windows 7 Ultimate x64) Intially Windows 8 was installed but I got windows 7ultimate for it and now I'm missing the drivers for it. I don't know how to fix this problem, I have tried everything
-
C8: Click boxes don't show in Tab Order
Hi all. Using Captivate 8, I have pages that include both click boxes and nav buttons. The nav buttons show up in the Tab Order options, the click box interactions do not. I want my users to be able to click through all the interactions on the page.
-
How to instal WEB AS for ABAP Edition
HI, Can any body guide me how to instal SAP WEB AS ABAP edition. I want instal in my PC. I downloaded the 2 files. How to start installation. Wht is the file name?. In oder to work on WEB AS ABAP Editon is it required have SAP R/3 server? Thanks i
-
Hi friends, Please help me how to trigger the work flow in the MIGO for Goods Reciept Notify. please tell me what is the standard Business object i need to copy in to Custom(Z one) Thanks in Advance, Ganesh
-
I'm not able to send messages with messages app to my iPhone, registered with the salme ID Apple. Someone can help me? Thanks