Reg:FCC to ignore the last field name
Hi...
I am using FCC in the reciver file adapter.
the output structure is like
94,ESSAR,,,,,,,D,0000100226,10000,12/13/1 KURLA EAST,MUMBAI,,400025,006398765432,,2009-03-24 00:00:00.0,0000100226,20202789,,,,SUCCESS,,
/home/corpuser/Disbursement/DD
I am achieving the above structure. But in that i dont want the last field name "/home/corpuser/Disbursement/DD".
Can you please tell how to ignore the last field name in the receiver file adapter using FCC.
Thanks & Regards,
Leela
94,ESSAR,,,,,,,D,0000100226,10000,12/13/1 KURLA EAST,MUMBAI,,400025,006398765432,,2009-03-24 00:00:00.0,0000100226,20202789,,,,SUCCESS,,
/home/corpuser/Disbursement/DD
I am achieving the above structure. But in that i dont want the last field name "/home/corpuser/Disbursement/DD".
Can you please tell how to ignore the last field name in the receiver file adapter using FCC.
Completely with Jai on that.
Dont do that mapping itself. Handle such conditions in your mapping.
Is there any specific reason why you can do so?
Similar Messages
-
What are the corresponding field names
Hi,
What are the corresponding field names for the followings:
(1) Last post goods issue date
(2) No of finished goods movement days
(3) Unit price per carton
(4) Per carton quantity
Thanks.hello, friend.
you can find out the technical names (to include table and field names) by going to the fields themselves, and clicking on 'F1'. the "Performance Assistant" will appear. in this latter screen, go to the menu and click on the 'Technical Info' icon that looks like a hammer and wrench. you will find your info there.
regards. -
The contained field name "ADTAGR" does not exist in any of the database tab
hı all
how can l solved thıs problem
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
not caught in
procedure "PUT_QMFECAT" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An Open SQL clause was specified dynamically. The contained field name
"ADTAGR" does not exist in any of the database tables from the FROM clause.
Information on where terminated
Termination occurred in the ABAP program "SAPDBZQNQ" - in "PUT_QMFECAT".
The main program was "ZQMR_BILDIRIM ".
In the source code you have the termination point in line 732
of the (Include) program "SAPDBZQNQ".
Error occurred during batch input processing
The termination is caused because exception "CX_SY_DYNAMIC_OSQL_SEMANTICS"
occurred in
procedure "PUT_QMFECAT" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "SAPDBZQNQ "; its source code begins in line
715 of the (Include program "SAPDBZQNQ ".
FORM put_qmfecat.
DATA: l_tab_fields TYPE rsfs_tab_fields.
DATA: l_ds_clauses TYPE rsds_where.
Dynamische Feldselektion
MOVE 'QMFECAT_C' TO l_tab_fields-tablename.
READ TABLE select_fields WITH KEY l_tab_fields-tablename
INTO l_tab_fields.
IF sy-subrc <> c_rc00.
CLEAR l_tab_fields.
ENDIF.
Dynamische Selektionskriterien
MOVE 'QMFECAT' TO l_ds_clauses-tablename.
READ TABLE dyn_sel-clauses WITH KEY l_ds_clauses-tablename
INTO l_ds_clauses.
DB-Zugriff
>>>>> SELECT (l_tab_fields-fields) FROM qmfe
INTO CORRESPONDING FIELDS OF TABLE qmfecat_tab
WHERE qmnum = rqmqmel-qmnum
AND kzloesch = space
AND (l_ds_clauses-where_tab)
ORDER BY PRIMARY KEY.
regard sinan
Edited by: eyup_sinan on Jan 6, 2012 3:21 PM
Edited by: eyup_sinan on Jan 6, 2012 3:30 PMYou seem to have made a copy of the standard program. You'll have to make sure that you are handling this field correctly in your code.
Rob -
How to add a SPACE as suffix to the last field in the downloaded text file?
Hi Experts,
By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
fine.
example current record1 : 010001 354.999 26.000
here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
thanqSorry...Typo error...Too many in the last few days -:(
Wanted to say AFTER -:)
Do it like this...
FIELD1 TYPE XXX,
FIELD2 TYPE XXX,
FIELD3 TYPE XXX,
SPACE(1) TYPE C,
That way you should end with...
26.000+SPACE
Greetings,
Blag. -
How do I TRULY remove the CRLF (#) from the last field read in CSV dataset?
Good day, everyone!
PLEASE NOTE: I spent most of yesterday searching SDN and reading all kinds of threads on this topic. Yes, I know, there ARE other threads out there regarding this topic, but I spent all of yesterday afternoon trying every solution posted and nothing worked. So, to my knowledge, nobody has yet to post a definite solution to this problem.
I am reading a comma-delimited CSV file from our Application Server. It was originally in Microsoft Excel but saved as a CSV file. I open the file as follows:
OPEN DATASET p_fname FOR INPUT IN TEXT MODE ENCODING DEFAULT.
Here is my loop to read the entire file into an internal table, splitting it into individual fields:
READ DATASET p_fname INTO wa_unsplit.
WHILE sy-subrc EQ 0.
ADD 1 TO w_unsplit_tot.
SPLIT wa_unsplit AT w_comma INTO:
wa_split-massn
wa_split-massg
wa_split-curr
wa_split-persg
wa_split-pernr
wa_split-persid
wa_split-persk
wa_split-stat2
wa_split-fisc_year
wa_split-funds_center
wa_split-plans
wa_split-orgeh
wa_split-abkrs
wa_split-werks
wa_split-sem_posit
wa_split-ansal
wa_split-bsgrd
wa_split-adm_adj_amt
wa_split-hourly_rate.
APPEND wa_split TO it_split.
CLEAR: wa_unsplit,
wa_split.
READ DATASET p_fname INTO wa_unsplit.
ENDWHILE.
The problem is that the last field, wa_split-hourly_rate (defined as character length 17) gets a '#' appended to the end of it. This happens with each record, and it appears to be the CR/LF character (the value of it in hex is the same as cl_abap_char_utilities=>cr_lf).
I've tried everything previously recommended to strip this character from my hourly_rate field. I've tried another STRIP command. I've tried REPLACE and TRANSLATE and a whole slew of things. Despite all the threads that exist on SDN about this, I've yet to find something that truly works.
Certainly I can't be the first person reading a file from the Application Server and having this issue.
Please do NOT post links to solutions that DO NOT WORK! Full points will be awarded to anyone who can solve this challenge.
Thanks everyone!Success! Peluka and Naimesh, I had to combine your two recommendations, and I finally got it to work!
Thanks for the clarification, Rich. I ended up calling my "aux" field "junk" for lack of a better word, but in the end you confirmed what I thought it was.
For anyone else out there who has struggled finding a successful answer to this challenge, here's what worked for me:
CONSTANTS: c_comma(1) TYPE c VALUE ',',
c_crlf(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf.
DATA: w_junk TYPE string.
READ DATASET p_fname INTO wa_unsplit.
WHILE sy-subrc EQ 0.
ADD 1 TO w_unsplit_tot.
SPLIT wa_unsplit AT c_comma INTO:
wa_split-massn
wa_split-massg
wa_split-curr
wa_split-persg
wa_split-pernr
wa_split-persid
wa_split-persk
wa_split-stat2
wa_split-fisc_year
wa_split-funds_center
wa_split-plans
wa_split-orgeh
wa_split-abkrs
wa_split-werks
wa_split-sem_posit
wa_split-ansal
wa_split-bsgrd
wa_split-adm_adj_amt
wa_split-hourly_rate.
And here is the line that removes the CR/LF character from the end of the Hourly Rate field!
SPLIT wa_split-hourly_rate AT c_crlf INTO:
wa_split-hourly_rate w_junk.
APPEND wa_split TO it_split.
CLEAR: wa_unsplit,
wa_split.
READ DATASET p_fname INTO wa_unsplit.
ENDWHILE.
Thanks so much, everyone! Once again, SDN folks save the day. Points awarded! -
How can I modify the display field names on the output port of my bi query
Hello,
I integrate my bi query in the visual composer storyboard.
Then I click on my output port of the query and see the output fields.
The display field names are very strange.
For example:
ABZCNQMDOPWJGHS1Q5Q27090
I have never save such a field name while I create my query in the query designer.
Have somebody an idea, where I can modify my displayed field names??
Thanks.
ThomasHi Thomas,
the cryptical names are the technical names of your query components. If there is no decription available (depends also on your portal language) then the technical names are displayed. Check your portal language in your user settings and then check if you have entered a description in the query designer for this language.
Best Regards,
Marcel -
Javax.crypto.spec.SecretKeySpec seems to ignore the last bit in every byte
Hi All,
I am having a problem with the SecretKeySpec class in JCE 1.2.2. I am using DES as algorithm, and a 8 byte long key. I am passing a hex array of 16 characters (each 2 representing a byte) and create a byte array of length 8 from that hex array. For example, the following "A12C3D4E5F6A7B8E" is equivalent to a byte array, having the values of the bytes (in signed byte) [-95, 44, 61, 78, 95, 106, 123, -114]. It works perfectly but what I observed is, if one of the bytes looks like "5E" and I change it to "5F," the code still works, the encrypted text using the key created with "5E" key is decrypted correctly using the "5F" key. It doesn't work if the byte is "E5" and I change it to "F5," and this led me to think that the SecretKeySpec implementation ignores the last bit of every byte (uses just the high 7 bits.)
Anybody came accross this before? Any help appreciated.
THanks,
MariusAs I said, "every implementation I'm aware of ignores them". They're not used during en/decryption, they exist only to provide (marginal) evidence that the key might have been mangled in-transit. Many implementations just skip that step. Note that i'm not saying this is a good thing - it's just been my experience.
The 64-bit quntity you're playing with is NOT "the key" - the DES key is the 56 bits that do not include the parity bits. Ignoring the parity-bits doesn't yield more keys that will do the same decryption, since the parity bits aren't used by DES itself.
The net? Don't worry about it. It's the 56 bits that are the important ones.
Grant -
To Generate file with whitespaces for the last fields -Receiver file FCC
Hi Experts,
We need to create a file at receiver side having last field of 50 length.If value of last field is less than 50 length than we need to keep whitespaces on the right side.When we create file the whitespaces get trimmed and files are created without whitespaces.I am using fixed field length FCC.Please help me resolve this issue.
Thanks & Regards
Deepak JaiswalIf you like to have UDF ... here it is ..
public String appendWhiteSpaces(String var1, Container container) throws StreamTransformationException{
if(var1.length()< 50){
for(int count=0;var1.length()<50;count++){
var1 = var1 + " ";
return var1; -
Content Conversion - Ignore extra last fields
Hi There
My content conversion has the following:
STRUCTURE.fieldNames
STRUCTURE.fieldSeparator
STRUCTURE.additionalLastFields
STRUCTURE.endSeparator
My payload has 22 fields and I only specify 20 field names in my CC.. Due to the parameter additionalLastFields, I don't get an error because of the extra 2 fields.. These field is used in the file name and not in the file itself.. But it adds it to the end of each line regardless. I suppose adding fixed Field length would solve this problem but that I don't have.
Is there a way to ignore these 2 by NOT adding it to the file? Maybe some parameter I migth have over looked?
Thanks
JanHi,
Use the different structures for payload data and the fields to be used for file name.
Similar to STRUCTURE add one more structure as STRUCTURE1 and define those 2 fields over here.
The FCC parameters can also be dfefined accordingly.
STRUCTURE1.fieldNames= field1, field2
STRUCTURE1.fixedFieldLengths = 0,0
Thanks
Swarup
Edited by: Swarup Sawant on Sep 7, 2009 1:20 PM -
How to rename the column field names
hello guys,
i am retrieving my field names from the database and i view it thru HTML.
When i view it,the column names are those which are given while creating tables.
Ex..
fname,lname,phno,
i want it as First Name,Last Name,Phone Number etc ...<%
try {
stmt = con.createStatement();
sql="SELECT fname, lname, gender, email,phnum,sartweblink, sartaddress1, sartaddress2,sartcounty, country,sartpostcode,dob FROM Artist where artistid='" + sartid + "'";
rs=stmt.executeQuery(sql);
rsmd=rs.getMetaData();
int colcount=rsmd.getColumnCount();
for(i=1;i<=colcount;i++)
%>
<tr><td width="200"><FONT face=verdana size=2><%= rsmd.getColumnName(i)%>
<%
%> </FONT>
<font face=verdana size=2>
<% while(rs.next())
fname=rs.getString("fname");
lname=rs.getString("lname");
gender=rs.getString("gender");
email=rs.getString("email");
phnum=rs.getInt("phnum");
weblink=rs.getString("sartweblink");
address1=rs.getString("sartaddress1");
address2=rs.getString("sartaddress2");
county=rs.getString("sartcounty");
country=rs.getString("country");
postcode=rs.getString("sartpostcode");
dob=rs.getString("dob");
%>i make use of metadata..
can anyone tell me how to do this..
thanks in advancewhy not use alias:
your query is
SELECT fname, lname, gender, email
and will be:
SELECT fname FIRSTNAME, lname LASTNAME, gender GENDER, email EMAILADDRESS -
ITunes ignores "the" in song names, how do I disable?
iTunes seems to ignore the "the" prefix in song names.
However, when one of my songs for example is named "The World". I refuse to call it "World" just because iTunes has this ridicilous limitation.
So I wanted to ask, how do I disable this?iTunes intentionally ignores articles (a/an/the) at the beginning of text for the purposes of sorting. "The Beatles" get sorted under B not T. You can override the default behavior by putting the original non-sort values in the corresponding sort field. So if you want a song called "The World" to appear with other songs that begin with T (in a lists sorted on song name) then change the sort name to "The World", instead "World", or leaving it blank.
If you want to completely eliminate this auto-sorting feature you should be able to adjust a file called SortPrefixes.plist (location dependent on OS) and remove the entries you don't want. You will probably have to reapply this fix after each iTunes upgrade and I don't believe the effect carries through to your devices.
See this thread for more.
tt2 -
IPod stopped ignoring "The" in artist names
I don't think I'm going crazy, but I could have sworn my iPod went from ignoring "The" at the begging of artist names to recognizing it. For instance, The Clash used to be with the other "C" artists. But it's now with the "T"s. What gives?
I think the OP's problem is that the "The's" are currently not being ignored for sorting, but he would like them to be. A reset should fix this. Normally iTunes/iPod will auto-populate the sort fields to drop the leading articles *a, an* or the. If you want *The Clash* sorted under T instead of C then you need to manually set the sort artist field to *The Clash* instead of the greyed out Clash that would normally be displayed.
tt2 -
How to programmatically retrieve the real field name from a view object ?
Dear all,
when I map a business component (a database table) to a view, the fields are automatically converted by JDeveloper, for example, a field named 'user_id' in the oracle table definition, becomes 'userid' in the view.
The question: how can I retrieve the right table column name from within a backing bean ? Please explain also what should I bind and how; should I use an iterator ?
Another more: since we can change the label of a field on a view, how can then I get the mapping between the column name on the view and the column name on the table in the database ?
Thanks in advance,
Sergio.Hi Timo,
many thanks for your answer.
The rest of my question: you know we can drop a view from the DataControls onto a ADF page, with each field of the table having a label.
That label is initially set like the internal table field name, so for instance, if user_id is the real table field name, userid will be the (by JDeveloper) internal renamed table field name, and the label would be userid too.
If I then change the label text to, for example, "myUserid", the question is: how can I know which real table field does "myUserid" point to ?
In other words, when my form is submitted, I want to know which field name has been changed and prepare an update sql in a bean.
For this purpose I bind each view field to a validator function in the bean, and collect al the pairs "label_name + submitted value" in an hash table.
Now inorder to build up that update query, I need the mapping between the label_name ("myUserid") and the real table field name ("user_id"). The question: how to map the label to the real table field name ?
By the way, I'm using JDeveloper 11g rel. 2.
Regards,
Sergio. -
How do I stop the last persons name from showing up on my screen inside that circle?
WWhen I'm switching between apps, there is a small circle that shows the persons name that I last facetimed with. How do I get rid of that?
Settings app > Mail,Contacts,Calendar > [scroll down to CONTACTS section] > Show in App Switcher > Recents [turn OFF]
-
How to ignore the last recrod end separator
Hi Team,
I am creating a file like below
1,100,200&2,200,300&3,300,400&
In this file
First Record is--1,100,200
Second Record is--2,200,300
Third Record is--3,300,400
I am using the field separator is ,(comma) and end separator is &.
My requirement is last record does not contain the end separator(&).
My output file should be like this
1,100,200&2,200,300&3,300,400
Regards
SwathiHi Swathi,
U can use another mapping in ur scenario.
Just take input as field with string and read whole data and create output as a field with string den do the below mapping
field1
endswith--> if with out else> replace string--
>target Field
& space
field1
concat
first check source field is endswith & or not if it endswith & then concat & to field1 then replace && to space and map to target u will get ur scenario correctly.
Thanks,
Enivass
Edited by: enivas on Jan 12, 2012 10:57 AM
Maybe you are looking for
-
Clip Within Multiclip Has Out of Sync Audio
I'm editing a 45 minute multiclip with 3 synchronized camera angles and one of the angles started to slip out of sync about halfway through whenever I'd click on it in the timeline. It started out okay and it's only that one angle, the other two are
-
Question on Acrobat with InDesign CS4
I am about to upgrade from PageMaker7 to InDesign CS4. Does InDesign CS4 have the same capabilities to create a PDF from an InDesign file? I guess I am asking do you get Acrobat software with InDesign like you did with PageMaker? I think it was Acrob
-
Firefox displays warning message about an SSL site
When I connect to an SSL site, sometimes firefox displayes a warning message and I can select add exception. When I click on "I understand the risk" and then "view certificate", it says no need to add exception. It actually shows the EV SSL Cert gree
-
it gives me an error msg everytime i go to authorize or deauthorize my computer. It says its gonna delete my apps every time i click sync and it wont transfer my music to my iphone... what do i do..
-
I hope someone can help me with this. When saving my project with 6 .avi files, iDVD crashes and gives this report: Date/Time: 2008-06-04 01:29:57.862 +1000 OS Version: 10.4.11 (Build 8S165) Report Version: 4 Command: iDVD Path: /Applications/iDVD.ap