How to join lines
I've just started using illustrator to design a few templates. I'm struggling with the lines, typically where I've deleted a portion of line I find that the two adjacent lines don't fully connect. how do I rectify it? see picture.
mdk,
The end points seem to at least almost coincide. If not, averaging may change the adjacent segments visibly.
Normally, you may find and correct a lack of coinciding by using the Direct Selection Tool together with the Smart Guides (with the right settings). You may:
1) Click each of the path segments adjacent to the end point and then follow the path with the mouse hovering all the way;
If the end Anchor Points coincide, Smart Guides will say path until you reach the end, then anchor, for the topmost path, and they will end saying intersect for the bottommost path.
If they say anchor for both (maybe after saying intersect first for the bottommost path) you have a mismatch;
If you have a mismatch, you may:
2) ShiftClickDrag the end Anchor Point(s) in question to coincide with the other path/Anchor Point.
Similar Messages
-
How to join line within ellipse
I have the following shape:
Which is an ellipse which I happened to draw a line inside of. My goal is to be able to join the line with the ellipse so I can make it part of the shape, then I'd like to chop off the top of the ellipse (the part on top of the line).
Any help would be appreciated.
Thanks.Kiss,
If I understand it in the right way, you can just extend the line past the the boundary of the ellipse, than Object>Path>Divide Onjects Below, then delete the cap.
You can etxend the line by adding something to the W value (or multiply it by something) in the Transform palette/panel. -
How to join GRPO with AP invoice thru query ?
hi all,
How to join GRPO with AP invoice in sql query ?
JeyakanthanHi Jeyakanthan
Are you using query in SAP Business One or outside the system? If you select the tables in SAP Business One as OPCH and OPDN then no inner join will appear, as the links sit on the line level. You will need PCH1 and PDN1. The link can be found in both directions, but bear in mind that 1 AP Invoice could be based on more than 1 Goods Receipt PO. For this reason the best approach is to start at the AP Invoice line level and use the BaseType and BaseRef fields to view which lines were pulled from which Goods Receipt PO's.
Kind regards
Peter Juby -
Hi,
I am working on a line art project and trying to figure out how to join an endpoint on one path to another path. Here is pic of what I am trying to do:
http://imageshack.us/photo/my-images/862/screenshot20111215at150.png/
Is there a way to join a line to the middle of another line and keep the line styles? Right now some of my paths end abruptly in a square end, but how do I joint them together? I tried using the "join" command, but that requires 2 endpoints.Spinky,
It seems that in this case you may give the chin/cheek paths white fills and extend the troublesome paths, keeping them underneath the others; if that is not too cheeky. -
Joining lines & saving co-ordinates!
Well, I did manage to do something with my problem (posted last night) but here's another question.
I'll start again for those new to this...
I'm writing a 'sketch pad' program where the user draws 3 seperate lines (not touching) and then I have to extend them to make a decent looking triangle! Well, for now I've managed to get a canvas up and allow the user to draw lines.
Anyone got any ideas/tips on how to join the lines up, or just to save the co-ordinates (startx, starty, endx & endy) of each line in an array (so that I can repaint the canvas when it is put behind another window!)?
Here's the code I've done so far;
Sketcher.java
import java.awt.*;
import java.awt.event.*;
public class Sketcher extends Frame {
private Canvas canvas;
public Sketcher() {
setSize(500, 500);
setTitle("Sketch Pad");
canvas = new Canvas();
add(canvas, "Center");
public static void main(String[] args) {
Sketcher f = new Sketcher();
MouseWatcher mw = new MouseWatcher();
f.canvas.addMouseListener(mw);
f.canvas.addMouseMotionListener(mw);
f.show();
MouseWatcher.java
import java.awt.*;
import java.awt.event.*;
public class MouseWatcher extends MouseAdapter implements MouseMotionListener {
private Point p, oldp;
public void mousePressed(MouseEvent e) {
oldp = e.getPoint();
public void mouseReleased(MouseEvent e) {
p = e.getPoint();
Graphics g = ((Canvas)e.getSource()).getGraphics();
g.drawLine(oldp.x, oldp.y, p.x, p.y);
oldp = p;
g.dispose();
public void mouseDragged(MouseEvent e) {
public void mouseMoved(MouseEvent e) {
}Any help greatly appreciated... duke dollars available too, heh!Was bored......
Havnt tried this but see if it works
private Point p, oldp;
private Point[] pts = new Point[6];
int ctr = 0;
int x1[] = new int[3];
int y1[] = new int[3];
int x2[] = new int[3];
int y2[] = new int[3];
public void mousePressed(MouseEvent e) {
oldp = e.getPoint();
x1[ctr] = (int)oldp.getX();
y1[ctr] = (int)oldp.getY();
public void mouseReleased(MouseEvent e) {
p = e.getPoint();
Graphics g = ( (Canvas) e.getSource()).getGraphics();
g.drawLine(oldp.x, oldp.y, p.x, p.y);
x2[ctr] = (int)oldp.getX();
y2[ctr] = (int)oldp.getY();
ctr++;
oldp = p;
if (ctr == 3) {
drawTriangle(e);
g.dispose();
private void drawTriangle(MouseEvent e) {
Graphics g = ( (Canvas) e.getSource()).getGraphics();
Canvas c = (Canvas) e.getSource();
g.setColor(Color.white);
g.fillRect(0, 0, c.getWidth(), c.getHeight());
g.setColor(Color.black);
Point[] pointi = new Point[x1.length];
for(int z1=0; z1<x1.length; z1++) {
// Work out b
int b1 = (y2[z1]-y1[z1]) / (x2[z1]-x1[z1]);
// work out a
int a1 = y1[z1] - (b1 * x1[z1]);
// now the other point
int z2 = z1 + 1;
if (z2 >= x1.length) z2=0;
int b2 = (y2[z2]-y1[z2]) / (x2[z2]-x1[z2]);
// work out a
int a2 = y1[z2] - (b1 * x1[z2]);
// Get the intersection
int xi = (a1-a2) / (b2-b1);
int yi = a1 + (b1*xi);
// store this point
pointi[z1] = new Point(xi, yi);
for(int i1=0; i1<pointi.length; i1++) {
int i2 = i1 + 1;
if (i2 >= pointi.length) i2 = 0;
g.drawLine(pointi[i1].getX(),
pointi[i1].getY(),
pointi[i2].getX(),
pointi[i2].getY());
ctr = 0;
}Rob. -
Hi all,
Please Clarify.
How to join OE_ORDER_HEADERS_ALL and HZ_PARTY_SITES,HZ_PARTIES in R12how can i make a join to get the Customer_Name and Customer_Number from RA_Customer table and oe_order_headers_all and oe_order_lines_all......thanks in advancePlease see these docs for examples on how to join those three tables.
Multiple Language Request For Sales Order Acknowledgment Has Performance Issue [ID 1275133.1]
Shipment History Data Are Not Populated In Dp [ID 889057.1]
Disc0unt Did Not Apply To Sales Order Line With Volume Offer As Modifier [ID 1415593.1]
Thanks,
Hussein -
hi
how to join two tables using inner join if the first table has two primary keys and second table has 3 primary keysWould describe type of joins in ABAP, which might differ with other joins.
The join syntax represents a recursively nestable join expression. A join expression consists of a left-hand and a right- hand side, which are joined either by means of INNER JOIN or LEFT OUTER JOIN. Depending on the type of join, a join expression can be either an inner (INNER) or an outer (LEFT OUTER) join. Every join expression can be enclosed in round brackets. If a join expression is used, the SELECT command circumvents SAP buffering.
On the left-hand side, either a single database table, a view dbtab_left, or a join expression join can be specified. On the right-hand side, a single database table or a view dbtab_right as well as join conditions join_cond can be specified after ON. In this way, a maximum of 24 join expressions that join 25 database tables or views with each other can be specified after FROM.
AS can be used to specify an alternative table name tabalias for each of the specified database table names or for every view. A database table or a view can occur multiple times within a join expression and, in this case, have various alternative names.
The syntax of the join conditions join_cond is the same as that of the sql_cond conditions after the addition WHERE, with the following differences:
At least one comparison must be specified after ON.
Individual comparisons may be joined using AND only.
All comparisons must contain a column in the database table or the view dbtab_right on the right-hand side as an operand.
The following additions not be used: NOT, LIKE, IN.
No sub-queries may be used.
For outer joins, only equality comparisons (=, EQ) are possible.
If an outer join occurs after FROM, the join condition of every join expression must contain at least one comparison between columns on the left-hand and the right-hand side.
In outer joins, all comparisons that contain columns as operands in the database table or the view dbtab_right on the right-hand side must be specified in the corresponding join condition. In the WHERE condition of the same SELECT command, these columns are not allowed as operands.
Resulting set for inner join
The inner join joins the columns of every selected line on the left- hand side with the columns of all lines on the right-hand side that jointly fulfil the join_cond condition. A line in the resulting set is created for every such line on the right-hand side. The content of the column on the left-hand side may be duplicated in this case. If none of the lines on the right-hand side fulfils the join_cond condition, no line is created in the resulting set.
Resulting set for outer join
The outer join basically creates the same resulting set as the inner join, with the difference that at least one line is created in the resulting set for every selected line on the left-hand side, even if no line on the right-hand side fulfils the join_cond condition. The columns on the right-hand side that do not fulfil the join_cond condition are filled with null values.
Note
If the same column name occurs in several database tables in a join expression, they have to be identified in all remaining additions of the SELECT statement by using the column selector ~.
Example
Join the columns carrname, connid, fldate of the database tables scarr, spfli and sflight by means of two inner joins. A list is created of the flights from p_cityfr to p_cityto. Alternative names are used for every table.
PARAMETERS: p_cityfr TYPE spfli-cityfrom,
p_cityto TYPE spfli-cityto.
DATA: BEGIN OF wa,
fldate TYPE sflight-fldate,
carrname TYPE scarr-carrname,
connid TYPE spfli-connid,
END OF wa.
DATA itab LIKE SORTED TABLE OF wa
WITH UNIQUE KEY fldate carrname connid.
SELECT ccarrname pconnid f~fldate
INTO CORRESPONDING FIELDS OF TABLE itab
FROM ( ( scarr AS c
INNER JOIN spfli AS p ON pcarrid = ccarrid
AND p~cityfrom = p_cityfr
AND p~cityto = p_cityto )
INNER JOIN sflight AS f ON fcarrid = pcarrid
AND fconnid = pconnid ).
LOOP AT itab INTO wa.
WRITE: / wa-fldate, wa-carrname, wa-connid.
ENDLOOP.
Example
Join the columns carrid, carrname and connid of the database tables scarr and spfli using an outer join. The column connid is set to the null value for all flights that do not fly from p_cityfr. This null value is then converted to the appropriate initial value when it is transferred to the assigned data object. The LOOP returns all airlines that do not fly from p_cityfr.
PARAMETERS p_cityfr TYPE spfli-cityfrom.
DATA: BEGIN OF wa,
carrid TYPE scarr-carrid,
carrname TYPE scarr-carrname,
connid TYPE spfli-connid,
END OF wa,
itab LIKE SORTED TABLE OF wa
WITH NON-UNIQUE KEY carrid.
SELECT scarrid scarrname p~connid
INTO CORRESPONDING FIELDS OF TABLE itab
FROM scarr AS s
LEFT OUTER JOIN spfli AS p ON scarrid = pcarrid
AND p~cityfrom = p_cityfr.
LOOP AT itab INTO wa.
IF wa-connid = '0000'.
WRITE: / wa-carrid, wa-carrname.
ENDIF.
ENDLOOP. -
How to join cluster table?
How to join the cluster table with the transparent table?In specific ,can you pls tell me how can i join bkpf and bseg?
Hi Aravind,
Check this code,
tables : bkpf,
bseg.
INTERNAL TABLE AND WORK AREA FOR THE FIELDS IN BKPF TABLE *
data : begin of itab_bkpf occurs 0,
bukrs like bkpf-bukrs, "Company Code.
gjahr like bkpf-gjahr, "Fiscal Year.
budat like bkpf-budat, "Posting Date in the Document.
belnr like bkpf-belnr, "Accounting document number.
blart like bkpf-blart, "Document Type.
end of itab_bkpf.
data : wa_bkpf like line of itab_bkpf.
INTERNAL TABLE AND WORK AREA FOR THE FIEDLS IN BSEG TABLE *
data : begin of itab_bseg_debit occurs 0,
bukrs like bseg-bukrs, "Company Code.
gjahr like bseg-gjahr, "Fiscal Year.
belnr like bseg-belnr, "Accounting Document Number.
buzei like bseg-buzei, "Line Item.
hkont like bseg-hkont, "General Leadger Account.
shkzg like bseg-shkzg, "Credit/Debit Indicator.
wrbtr like bseg-wrbtr, "Amount in Document Currency.
pswsl like bseg-pswsl, "Update Currency for Gen.Ledger
dmbtr like bseg-dmbtr, "Amount in local currency.
sgtxt like bseg-sgtxt, "Item Text.
zuonr like bseg-zuonr, "Assignment Number.
end of itab_bseg_debit.
data : itab_bseg_credit like standard table of itab_bseg_debit with
header line.
FINAL OUTPUT INTERNAL TABLE *
data : begin of itab_output occurs 0,
belnr(08) ,
bukrs(04) ,
budat like bkpf-budat,
buzei(03) ,
hkont(07) ,
blart(02) ,
shkzg(01) ,
wrbtr(08) ,
pswsl(05) ,
dmbtr(10) ,
sgtxt(19) ,
zuonr(10) ,
end of itab_output.
constants : c_debit type c value 'S',
c_credit type c value 'H'.
SELECT-OPTIONS *
selection-screen begin of block input with frame title text-t01.
select-options : s_bukrs for bkpf-bukrs.
parameters : p_year like bkpf-gjahr visible length 2.
select-options : s_budat for bkpf-budat,
s_dbacct for bseg-hkont,
s_cracct for bseg-hkont,
s_amt for bseg-dmbtr.
selection-screen end of block input.
SELECTING RECORDS FROM BKPF TABLE BASED ON THE CONDITION *
select bukrs gjahr budat belnr blart
from bkpf into table itab_bkpf
where bukrs in s_bukrs and
gjahr eq p_year and
budat in s_budat.
SELECTING DEBIT LINE ITEMITEMS FROM BSEG FOR THE DOCUMENT *
NUMBER SELECTED FROM BKPF *
if not itab_bkpf[] is initial.
select bukrs gjahr belnr buzei
hkont shkzg wrbtr pswsl
dmbtr sgtxt zuonr
from bseg into table itab_bseg_debit
for all entries in itab_bkpf
where bukrs eq itab_bkpf-bukrs and
belnr eq itab_bkpf-belnr and
gjahr eq itab_bkpf-gjahr and
hkont in s_dbacct and
shkzg eq c_debit and
dmbtr in s_amt.
SELECTING CREDIT LINE ITEMITEMS FROM BSEG FOR THE DOCUMENT *
NUMBER SELECTED FROM BKPF *
select bukrs gjahr belnr buzei
hkont shkzg wrbtr pswsl
dmbtr sgtxt zuonr
from bseg into table itab_bseg_credit
for all entries in itab_bkpf
where bukrs eq itab_bkpf-bukrs and
belnr eq itab_bkpf-belnr and
gjahr eq itab_bkpf-gjahr and
hkont in s_cracct and
shkzg eq c_credit and
dmbtr in s_amt.
endif.
sort itab_bkpf by bukrs gjahr belnr.
sort itab_bseg_credit by bukrs gjahr belnr.
LOOPING THE DEBIT ENTRIES *
loop at itab_bseg_debit.
READING THE CREDIT ENTRIES WHICH MATCHES WITH HE CURRENT DOC. NUMBER *
read table itab_bseg_credit with key
bukrs = itab_bseg_debit-bukrs
gjahr = itab_bseg_debit-gjahr
belnr = itab_bseg_debit-belnr binary search.
if sy-subrc eq 0.
*READING THE POSTING DATE AND DOCUMENT TYPE FOR THE CURRENT DOUCMENT *
AND APPENDING THE DEBIT AND CREDIT ENTRIES *
read table itab_bkpf into wa_bkpf with key
bukrs = itab_bseg_debit-bukrs
gjahr = itab_bseg_debit-gjahr
belnr = itab_bseg_debit-belnr binary search.
itab_output-belnr = itab_bseg_debit-belnr.
itab_output-bukrs = itab_bseg_debit-bukrs.
itab_output-budat = wa_bkpf-budat.
itab_output-buzei = itab_bseg_debit-buzei.
itab_output-hkont = itab_bseg_debit-hkont.
itab_output-blart = wa_bkpf-blart.
itab_output-shkzg = itab_bseg_debit-shkzg.
itab_output-wrbtr = itab_bseg_debit-wrbtr.
itab_output-pswsl = itab_bseg_debit-pswsl.
itab_output-dmbtr = itab_bseg_debit-dmbtr.
itab_output-sgtxt = itab_bseg_debit-sgtxt.
itab_output-zuonr = itab_bseg_debit-zuonr.
append itab_output.
itab_output-belnr = itab_bseg_credit-belnr.
itab_output-bukrs = itab_bseg_credit-bukrs.
itab_output-budat = wa_bkpf-budat.
itab_output-buzei = itab_bseg_credit-buzei.
itab_output-hkont = itab_bseg_credit-hkont.
itab_output-blart = wa_bkpf-blart.
itab_output-shkzg = itab_bseg_credit-shkzg.
itab_output-wrbtr = itab_bseg_credit-wrbtr.
itab_output-pswsl = itab_bseg_credit-pswsl.
itab_output-dmbtr = itab_bseg_credit-dmbtr.
itab_output-sgtxt = itab_bseg_credit-sgtxt.
itab_output-zuonr = itab_bseg_credit-zuonr.
append itab_output.
endif.
endloop.
sort itab_output by belnr budat shkzg.
LOOPING OUTPUT INTERNAL TABLE *
*FORMAT INTENSIFIED INPUT.
*FORMAT INVERSE ON.
loop at itab_output.
format hotspot on.
format color 5 inverse.
write :/ sy-vline,
000 itab_output-belnr, 12 sy-vline,
013 itab_output-bukrs, 17 sy-vline,
019 itab_output-budat, sy-vline,
034 itab_output-buzei, 40 sy-vline,
042 itab_output-hkont, sy-vline,
054 itab_output-blart, 60 sy-vline,
065 itab_output-shkzg, 70 sy-vline,
072 itab_output-wrbtr, sy-vline,
085 itab_output-pswsl, sy-vline,
093 itab_output-dmbtr, sy-vline,
106 itab_output-sgtxt, sy-vline,
itab_output-zuonr, sy-vline.
format hotspot off.
endloop.
uline 0(139).
<b>Regards,
Jackie.</b> -
How to insert line number into APPLIED_CUSTOMER_TRX_LINE_ID?
Hi All,
I am working on the table of receivable AR_RECEIVABLE_APPLICATIONS_ALL.
I get some information about APPLIED_CUSTOMER_TRX_LINE_ID form TRM.
APPLIED_CUSTOMER_TRX_LINE_ID NUMBER (15)
The line number of the debit item or credit memo to which a payment or credit memo is applied
So, I want to use APPLIED_CUSTOMER_TRX_LINE_ID to join with transaction's line (RA_CUSTOMER_TRX_LINES_ALL).
But after applied the credit memo, the APPLIED_CUSTOMER_TRX_LINE_ID is NULL.
How to insert line number into APPLIED_CUSTOMER_TRX_LINE_ID?Hi Eric,
The application is already at the AR Invoice (header) level. Oracle doesn't give you privilege to apply the invoice at invoice line or distribution level. You need to match the applied_customer_trx_id to customer_trx_id of ra_customer_trx_all to get the applied invoice/debit memo number. Hope my comments are helpful to you.
KG -
Draw non-joined lines from endpoint of existing lines
I asked on the general AI forum how to draw lines from existing line endpoints without the two being joined, and I got the answer that you can't. So I think this calls for a feature request: give the user the possibility to draw a line at the endpoint of a pre-existing line without joining the two. Up till now the current functionality has two drawbacks for me:
1. It makes creating the following pulse diagram a PITA:
When I draw a line starting from the arrowhead the arrowhead moves to the new endpoint. Here I had to draw the new line elsewhere on my page and drag it over the arrow.
2. If you draw a line to the end of an existing line in a group it gets automatically joined to it, and thus becomes part of that group, even when you're not working in isolation mode. Again I have to draw my line at another place on the page and drag it to the grouped object afterwards.
So, feature request: allow lines sharing a common end- and start point without being joined.This is not the ability of usual flex classes. You should explore on how the 3D coordinates system of Flex works, and learn some classes usability, such as Matrix3D, for example.
-
Is it possible to use a IF statement (i.e. CASE, DECODE) in the Join Line?
I need create a query that depending on the value of a column it will determine if I use a column A or column B in my join statement. I was thinking something like the following:
Select a.Value1, a.Value2, b.ColumnA, b.ColumnB
FROM Table1 a
INNER JOIN Table2 b ON a.Value2 = (if b.ColumnZ='Dept' then b.ColumnA else b.ColumnB END)
Oracle Version 10g
OS Windows XP
Thanks in advance!Hi,
Remember what a CASE expression does: it returns a single value in one of the SQL data types (such as VARCHAR2, NUMBER or DATE).
Each THEN (or ELSE) clause of a CASE expression references something that the CASE expression might return, so after each THEN (or ELSE) keyword there must be a single value in one of the SQL data types.
So you can't say:
case tdsi.level_code
when 'L' then tdsid.privilege_code = tdlm.location_code
when 'R' then tdsid.privilege_code = tdlm.region_code
when 'C' then tdsid.privilege_code = tdlm.country_code
endWhat is the data type being returned? "tdsid.privilege_code = tdlm.location_code" is not a single value in any of the SQL data types.
If location_code, region_code, country_code and privilege_code all have the same data type, then you can do something like this:
join dirpipe.dirpipe_location_map tdlm on case tdsi.level_code
when 'L' then tdlm.location_code
when 'R' then tdlm.region_code
when 'C' then tdlm.country_code
end = tdsid.privilege_code -
Urjent-how to add line items in tcode-FBL3N
Hi Experts,
How to add line items customer, customer name, vendor and vendor name in FBL3N.
Thanks in advance.
mahe
Moderator message - Please do not use words like "urjent". Please ask a specific question. Please search the forum. This question has been asked and answered before. Post locked
Edited by: Rob Burbank on Apr 29, 2009 11:27 AM
Edited by: Rob Burbank on Apr 29, 2009 11:28 AMHi,
Check the BTE's:
00001020 POST DOCUMENT: Prior to final checks SAMPLE_INTERFACE_00001020
00001025 POST DOCUMENT: Final checks completed SAMPLE_INTERFACE_00001025
00001030 POST DOCUMENT: Posting of standard data SAMPLE_INTERFACE_00001030
00001050 POST DOCUMENT: Accounting interface SAMPLE_INTERFACE_00001050
Thanks & Regards,
Harish -
Hi
How to transfer Line Items from One GL account to another GL account.
We, at the time of changing Non Open Item Manged account to Open Item Manged account, how can we transfer Line items to make this GL account Zero, If suppose line items are more than 200.
Satish
Points assured.If you are attempting to change the account from Non Open Item managed, you need to make the account balance zero. The change will be be effective only for future transactions. You need not transfer all line items, find the balance and make an entry to debit or credit to make it zero, to a temporary account. Later, once you have activated, you can reverse that transaction.
The OSS 606977 refered may be helpful if you are looking for reverse activation. i.e from Open to Non Open. Here is a brief:
Symptom
In the G/L account master record, you can activate/deactivate the 'Open item management' indicator if the balance of the account is zero. In this case, the system does not check whether postings exist on the account.
If postings exist, this could lead to problems, for example, if the clearing is reversed after the change to the indicator is made.
Other terms
FS00, FS02, FSS0, FS02, FH190, XOPVW
Reason and Prerequisites
The transactions for the maintenance of the G/L account master record did not check whether postings exist on the account. Now the program checks whether postings exist in the current year or previous two fiscal years.
Solution
Implement the attached correction or import the corresponding Support Package. Since it could make sense to change an account with balance zero from open item managed to non-open item managed (and vice versa) - despite postings to the account - the message is delivered as customizable (with error as a default setting).
The check is also carried out, when open-item management is activated, is postings exist on the account.
If you implement the note you must also carry out the following:
Use Transaction SE91 to create message 190 in message class FH with the following text:
Account balance = 0; however, postings exist on the account
Use Transaction SM30 to insert the following entry into view T100S:
Application area FH
MsgNo 190
Allowed EW
Standard E
Afterwards, the message can be customized in View V_T100C. To do this, you can use Transaction OBA5. -
File adapter-How to set line break in text file-split record into two lines
Dear Guru's,
I have to solve following problem with XML (with mulitiple records) to TEXT file scenario using file adapter. I have to output for ever ONE data record in XML always two identical lines in text file. Second line should have a little bit different mapping in few fields like date,... So I did duplicate fileds in my output structure in mapping and need to know how to set line break in the middle and see half of structure in first line and next structure half in second line
My output structure in mapping is:
CASHFLOW
- INTERFACE
- GESELLSCHAFT
- ANWENDUNG
- PRODUKT
- VERTRAG
- BETRAG
- WAEHRUNG
- DIRECTION
- BEWEGUNGSTYP
- FAELLIGKEIT
- ZINSFESTSTELLUNG
- ZAHLUNGSTAG
- RENDITE
- INTERFACE2
- GESELLSCHAFT2
- ANWENDUNG2
- PRODUKT2
- VERTRAG2
- BETRAG2
- WAEHRUNG2
- DIRECTION2
- BEWEGUNGSTYP2
- FAELLIGKEIT2
- ZINSFESTSTELLUNG2
- ZAHLUNGSTAG2
- RENDITE2
Question is how can I set on receiving file adapter in Content Conversion Parameters that fields from first structure half INTERFACE...RENDITE should be outputed in one line and fields from second half of structure INTERFACE2...RENDITE2 should start on second line in final text file.
I'm getting at the moment one line only and I need to know how can set line break so that second line starting with INTERFACE2(CA)...RENDITE2 will start in new line.
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000",CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
This should be final output:
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000"
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
My file adapter settings:
RecordsetStructure=CASHFLOW
CASHFLOW.fieldNames=INTERFACE,GESELLSCHAFT,ANWENDUNG,PRODUKT,VERTRAG,BETRAG,WAEHRUNG,DIRECTION,BEWEGUNGSTYP,FAELLIGKEIT,ZINSFESTSTELLUNG,ZAHLUNGSTAG,RENDITE
CASHFLOW.fieldSeparator=,
CASHFLOW.endSeparator='nl'
CASHFLOW.fieldNames=INTERFACE2,GESELLSCHAFT2,ANWENDUNG2,PRODUKT2,VERTRAG2,BETRAG2,WAEHRUNG2,DIRECTION2,BEWEGUNGSTYP2,FAELLIGKEIT2,ZINSFESTSTELLUNG2,ZAHLUNGSTAG2,RENDITE2
CASHFLOW.fieldSeparator=,
It wont help if I add two identical structures in mapping because in output i would see for multiple entries section with first lines only and after that section with second lines only. And CASHFLOW is one part of more complex mapping ...
(This is final output structure RecordsetStructure=HEADER,CASHFLOW,CONDITION,REFERENCE,CONTRACT - more sections with different data and all these should have duplicate lines at the end)
Thanks a lot for any help
Cheers
Marian
Edited by: Marian Luscon on Jul 14, 2009 11:44 AMHi Ivan,
right, I did test just for sure.
Putting constant 'nl' into field CASHFLOW-INTERFACE1 didnt help - still getting one line instead two lines.
CA ,"0100" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,2 ,12 ,2009-01-28 ,2009-01-27 ,2009-01-28 ,"0.0000000" ,'nl' ,"GTP1" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,1 ,10 ,2009-01-27 ,2009-01-27 ,2009-01-27 ,"0.0000000"
So there is still question. Is there any way (mapping,...) how to output always 2 lines in text file for one record in XML. It always does 1 record in mapping structure = 1 line but we need 2 lines ...
Example:
Input: 4 records in XML
Output: 8 lines in final text file ...
Thanks to you all guys
Marian -
How to avoid line break ( br ) while exporting Interactive report in Excel
Hi,
I have a Interative report and I am using Apex download format as CSV.
I have defined some of the column heading in multiple line using break < br >
when I export this into the excel sheet..the column heading contains break also..
- Any idea how to avoid line break while exporting in excel.
- also how to put the columns heading in BOLD when exported in excel.
Thanks,
DeepakHi Jari,
I tried this but still getting the
<br>Interactive Report
Column Attributes Heading - Employee<br>Detail AddressWhen I download the Report in CSV Format
I am getting the heading with <br>.
I am looking for heading as - Employee Detail Address // with no <br> tagThanks,
Deepak
Maybe you are looking for
-
HT3819 Can you home share with two libraries on the same computer?
Can home share be used with two libraries on the same computer?
-
I have two ipod touch. When trying to join game the second keeps "searching wifi games", we have connected with a friend before here. can't seem to connect HELP
-
Java Card 2.2.2 draft is out for public review
A draft for the upcoming release of the Java Card Specification is available for public review. The Java Card 2.2.2 Specification will provide numerous enhancements to the award-winning Java Card platform. In particular it will include specific suppo
-
Problem with LR5.2 upgrade
After upgrading from LR5 to LR5.2 none of my nef and dng files are supported, any clue?
-
Since yesterday the listener of a 10g Oracle db died mysteriously after few hours of service. Once I restart the computer, everythink works fine again. But few hours later, it died again. The listener log is as below: 13-MAR-2007 23:32:14 * service_u