Problem with PIPE as a field separator

Hi Gurus,
I am facing a problem in XI .The incoming file is PIPE as a field separator and a carriage return as end of each record.
The problem is that in trailer record if the last field has no value in the file then it is unable to identify it is a field.So all mapping which is there to check the empty filed is not working.
File format processed with status ok.
01|HEADER|F1
02|F1|F2|F3
03|COUNT1|F4
if the same file in the last record if the filed XX is blank then it is not able to trap in mapping.
01|HEADER|F1
02|F1|F2|F3
03|COUNT1|XX
If  i am giving a extra PIPE at end of each record then it is working ok and the mapping can able to check if a field is blank.
But without putting a PIPE at the end is it possible to trap error if any last field is contains blank.
it is little URGENT.Please reply.
Thanks,
Satya

Hi,
Suppose you called 03|COUNT1|F4 row as "trailer" in recordset structure.
Then you can use the following parameters:
trailer.missingLastfields = ignore - to get converted to XML only fileds that have been filled in
trailer.missingLastfields = add - to have last fileds filled with empty values
trailer.missingLastfields = error - to terminate FCC since file has not complete structure
Regards,
Jakub

Similar Messages

  • Problem with flow of expandable fields

    Hi everyone,
    I have important problem with flow of expandable fields in table in dynamic PDF form. The issue I am talking about you can see at the top of column 3 on page 2 in PDF in link below.
    Here is uploaded PDF form and sample XML data (form has import button and is ReaderExtended that you can easily test it and see my problem):
    http://www.speedyshare.com/718224676.html
    Generally I have created table with 3 columns using Table object (each field has allow multiple lines selected and expand to fit).  It is closed in FormBody subform which is flowed subform.
    Row in table is repeatable and has “is allow to break page” setting set on.
    Sometimes when there is a lot of text and row page break there is problem with flow.
    For example text from one rows overlaps on text from next row.
    I tried to solve this problem by changing row height, indents, font size, line spacing but always when I thought that I have fixed it  I got another data which generated the same flow problem.
    Did anyone met this problem earlier and found solution to this issue? This is really important for me and I am really in dead end so any hints would be really helpful.
    I am using Adobe Livecycle Designer 8.1 and PDF form target is 8.
    I really appreciate any help in this problem.
    Thanks,
    Kamil Dłutowski

    I posted link to my form in my first post.
    Here it is: http://www.speedyshare.com/718224676.html

  • Problem with Math In Calculated Fields

    I am calculating a group incident rate for data returned from
    a query. The formula is Number of cases multiplied by 200000
    divided by number of hours worked. Cases in my report is the
    calculated field: calc.CaseSum (the sum of cases for the group)
    Hours is calc.SumHours (the sum of hours for the group). The actual
    values for these variables (for the first group are 48 and 29427171
    respectively. When I create the following calculated field called
    rate using the formula: (calc.CaseSum * 200000) / calc.SumHours,
    Cold Fusion Generates a Runtime Error:
    Invalid ColdFusion expression in report. If the expression is
    a string, ensure that it is within quotes. Error: (calc.CaseSum *
    200000) / calc.SumHours is not a valid ColdFusion expression.
    If I use the constant value "29427171" as the divisor, the
    report works albeit only for the first group. Any ideas; is this a
    bug, or am I misusing the product?
    Addition: I forgot to mention I am using CF8. Also this
    formula worked fine as a Report Total before I introduced grouping
    and modified the calculated fields to reset on the change of a
    group.

    Sorry, I've been on another project for awhile. This problem
    will certainly be a "show stopper" for me if I cannot resolve it.
    As I mentioned in my original post, I used a constant in the
    formula in lieu of the variable and the calculation worked. This
    would suggest that CF does not have a problem with a large number.
    In spite of that reasoning, I tried Tony's suggested (thanks
    by the way!) with the identical outcome, only difference is the new
    formula is displayed in the error message.
    Tony, you also suggested that I set the variables using
    CFSET... How would I do this within the report writer environment.
    I had tried a similar approach: to perform half the calculation
    i.e. that within the parenthesis, and assign that value to a
    separate "calculated field: and then perform the rest of the
    calculation on that variable with the same outcome.
    I think that I may be dealing with a CF bug here, I'd like to
    find a workaround... I've noticed that CF8 has a new patch, perhaps
    after I apply it, I may be able to get this thing to work. I'm on
    another project right now so it will be a few days before I can
    test this theory, I report the result.
    Should this fail, and no one can come up with a workaround, I
    will report this to Adobe.

  • Adhoc query-Problem with Personnel no output field

    Hi Gurus,
    We are trying to run an adhoc query using a customized Info set(PNPCE logical database).
    While running the query,we had selected Personnel no(from Payroll status P0003 table) as output field and Company code(from Org assignment P0001) as input field in the selection.
    Problem is in the output field we are seeing the Personnel name details in place of Personnel no.Could anyone please suggest what could be the reason behind this and how to fix it.
    Your help will be highly appreciated.
    Warm Rgds
    Sushil

    Hi Sushil,
    The default output for fields with a text and a value (Name = text, PERNR = value) is the text.  You can change this by right clicking on the output box in Ad Hoc and selecting "Value".  If you want both name and number, select "Value and Text". 
    You can also change this default to Value from Text if in Ad Hoc, you go to Edit --> Settings.  On the last tab, change the radio buttion for output default to Value from Text.  This will change it for all fields so you would see the eight digit number rather than the name of the position or org unit.  Thus, you may want to keep it at Text and use the right click to change specific fields as needed.
    By the way, it is usually best to utilize the personnel number field from IT0000-Actions, although it can be obtained from any infotype if you include that field in the field group when creating your infoset. 
    Paul

  • Import Manager - Problem with 0..n field in Import Manager

    Iu2019m having problems with XMLs that contain multiple or single tags in MDIS process. For example: I did the map using a XML with multiple tags for Address:
    <address>
    <item>
    u2026
    </item>
    <item>
    u2026
    </item>
    </address>
    When I send two address or more Address, the Import Server work fine, but when I send only one Address, the address is not imported.
    <address>
    <item>
    </item>
    <item>
    </item>
    </address>
    Opening the xml file with only one Address in Import Manager, I saw that the fields isnu2019t mapped, but when I open a xml file with multiple Address itu2019s open correctly.
    The XSD cardinality for the Address\Item is 0..n

    Hi Evandro ,
    If it is processing the input file correctly through the Manul Import manager process then update your latest Map by using SAVE As option or else save this correct map with a new name altogether and use this new map in the port for automatic importing.
    If your file is able to process correctly through the Import manager without showing any errors till the Import step in the Import manager then this map must be correct and shoul automate the importing correctly.
    Provided you are using the similar file for automatic importing as well.The file name and the fields as well as the value mapping as saved in this corrected map must not differ with the input file else this saved map will not be able to import correctly.
    Check to see if you have made correct setting for automatic importing by refering the below link:
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm  (Automatic importing MDIS - Import manager ref guide>MDM import server(MDIS)>MDIS Consfiguration)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8973bcaf-0801-0010-b7a7-f6af6b1df00e(mdm import and syndication server)
    Also check the exception folders if your import is not taking place automatically:
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm (Exceptions- MDM Import Manager MDIS-Exception handling)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Problem with JPA @Embeddable class field in  @Embedded

    I have a Embeddable class and Embadded in all of my JPA Entities, the version(in DBUniqueId) field is mandatory for some JPA Entities and for others it should not be present.
    My DBUser.java JPA Entity shouldn't have version field(DBUser table doesn't have one) and so I didn't include it in @AttributeOverrides of DBUser.java. when I try to run the JPA query it results in exception
    Query:
    List<DBUser> userList = (List<DBUser>)entityManager.createQuery(SELECT u FROM DBUser u WHERE u.userId.root=?1 AND u.userId.extension=?2).setParameter(1,"root1").setParameter(2,"ext1").getResultList ();
    And The Exception is:
    ---- Begin backtrace for Nested Throwables
    java.sql.SQLException: ORA-00904: "T0"."VERSION": invalid identifier
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    How do I inform to JPA Entity to ignore only the version field of the Embeddable in my JPA Entity @Embedded place.
    So the above query can successful. Thank You!
    Please guide me to solve this problem.
    @Embeddable
    @MappedSuperclass
    public class DBUniqueId implements Serializable {
    * serialVersionUID.
    private static final long serialVersionUID = 8903598739796209331L;
    * root.
    private String root;
    * extension.
    private String extension;
    * version.
    private String version;
         //Getters & Setters
    @Entity
    @Table(name = "MyTable", schema = "MySchema")
    public class DBUser implements Serializable {
    * unique user id.
    private DBUniqueId uniqueUserId;
    * Get the unique user id.
    * @return <code>DBUniqueId</code> - unique person id
    @Embedded
    @AttributeOverrides( {
    @AttributeOverride(name = "root", column = @Column(name = "LUSR02_ID_ROOT", nullable = true, length = 50)),
    @AttributeOverride(name = "extension", column = @Column(name = "LUSR02_ID_EXT", nullable = true, length = 50))
    public DBUniqueId getUserId () {
    return uniqueUserId;
    * set user unique id.
    * @param uniqueId - unique id of the person
    public void setUserId (final DBUniqueId uniqueId) {
    this.uniqueUserId = uniqueId;
    }

    Sudeep Naidu wrote:
    Hello gimbal2,
    Thanks for your response...
    In my project I have created a class with name DBVersionUniqueId but my lead said no to it.
    Only DBUniqueId should be used and make it work with or with out version fields.
    I tried experimenting around, but didn't succeed.
    Please Suggest some solution to make it work with DBUniqueId class.
    Thank You.No, let your lead write the code. He/she seems to be the expert. I certainly have no clue how to do it and honestly I also cannot find any reason why it should be possible. Let me put what is required in other words:
    - you have an entity with three properties, all of which are not transient. This means these properties map to three columns in the database according to the JPA specs.
    - you have a table with only two properties
    - you must and you shall use the object with three properties but at the same time one of the fields must all of a sudden be ignored by the persistence provider
    It makes no sense to want to do that.
    Correct answer: create a new object with only the two fields so the database and the object model match exactly
    Wrong answer: try to create workarounds that in six months time nobody is going to understand why the hell it was done that way

  • Problem with update of BLOB field in a table with compound primary key

    Hi,
    I've been developing an application in Application Express 3.1.2.00.02 that includes processing of BLOB data in one of the tables (ZPRAVA). Unfortunately, I've come across a strange behaviour when I tried to update value in a BLOB field for an existing record via a DML form process. Insert of a new record including the BLOB value is OK (the binary file uploads upon submiting the form without any problems). I haven't changed the DML process in any way. The form update process used to work perfectly before I'd included the BLOB field. Since than, I keep on getting this error when trying to update the BLOB field:
    ORA-20505: Error in DML: p_rowid=3, p_alt_rowid=ID, p_rowid2=CZ000001, p_alt_rowid2=PR_ID. ORA-01008: not all variables bound
    Unable to process row of table ZPRAVA.
    OK
    Some time ago, I've already created another application where I used similar form that operated on a BLOB field without problems. The only, but maybe very important, difference between both the cases is that the first sucessfull one is based on a table with a standard one-column primary key whereas the second (problematic one) uses a table with compound (composite) two-column PK (two varchar2 fields: ID, PR_ID).
    In both cases, I've followed this tutorial: [http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm]).
    Can anybody confirm my suspicion that Automatic Row Processing (DML) can be used for updating BLOB fields within tables with only single-column primary keys?
    Thanks in advance.
    Zdenek

    Is there a chance that the bug will be included in the next patch?No, this fix will be in the next full version, 3.2.
    Scott

  • Problem with currency and quantity field

    Hi,
    I have done a couple of BDC and watched that if some currency or quantity field is there and i want to run the BDC the particular currency/quantity field will not populate the value inspite of i have declared the same table field that it refers to in the screen in the internal table.
        But, if i declare a character string in the internal field having same length as the screen field it will populate at run time. Why so?
    Regards
    Sandeep

    Hi,
    Even i have experienced the same problem many a times and use a character string as a work around to solve it.
    I guess one reason for it is for the currency and quantity fields, the actual defined length and the output length are different with output length being 3 or 4 bytes greater than that of actual lenght and also the fact that these fields are always right justified. hence some bytes of the field is getting truncated which the system does not allow and discards the whole value.
    regards,
    Mahesh

  • CreateTextField and _height: Problem with Placement of Text Fields

    I'm using createTextField to create several text fields
    dynamically. I'm also using an external XML file and a style sheet
    to populate the text fields.
    My problem is that I'm trying to position the various text
    fields on the page so that they are spaced evenly on the page
    (regardless of how much content they might contain). I'm trying to
    use _height of the prior text fields to place subsequent text
    fields, but I'm getting very inconsistent results. When I trace the
    value of _height, I get differing results, even if I don't actually
    change any of the parameters. So, the question is...is there a way
    for Flash to get the height of a dynamically created text field
    that's populated via an exteral XML file and using CSS? I know
    that's asking a lot, but I'm trying to avoid using scroll bars if
    at all possible.
    Thanks for any pointers.
    Bill

    i assume you're using multiline textifields with a fixed
    width and autoSize="left".
    flash will report the correct _height of your textfields IF
    you access the _height property after your htmlText has been
    assigned to your textfield. ie, you're probably seeing inconsistant
    results because you're not waiting until all data needed to
    populate your textfield has loaded.

  • SRM 7.0: problem with save BP customer fields

    Hi Experts,
    I've enhanced the Supplier data with customer fields in SRM 7.0 with help of OSS note 1386310.
    (it was mentioned in thread Enhance business partner in SRM 7.0)
    When I fill customer fields with data on BP overview screen and save, the message "Business Partner changed successfully." appears, but the customer fields data is not saving in database table BUT000.
    I've find out that customer data saves in FM BUPA_CENTRAL_EXTINCL_CHANGE. In this FM is a check if include CI_EEW_BUT000 exist in Structure INCL_EEW_BUT000. The check is unsuccessful and program leaves this FM.
    When I open INCL_EEW_BUT000, the include CI_EEW_BUT000 exist there, but when I double click on it, message "Structure not available" appears.
    Can somebody help with it? Maybe someone is already had this problem?
    Thanks,
    Ekaterina.

    Hi Jr. SRM , Amit  and other ,
    I'm also facing same problem . I don't want approval WF for timebing for testing in SRM7.0. I activated BC set  /SAPSRM/C_<BO>_600_000_SP04 and Ev Id as it is 3EV_SC_700_002.since suggeted ID '0EV999' didn;t worked , but still giving error "No active process levels have been found  ".
    In Config guide it is given that by applying BC Sets, you do not need to perform configuration steps below i.e. 1.Define technical configuration ,2.Define settings for Business Rule Framework (BRF) 3.Define business process configuration for process-controlled workflows....so why we need to perform Automatic Workflow Customizing and generalize the task group '40000003' and '40000007' ?
    Can you/anyone pls suggest on this please ?
    Regards
    NAP

  • Can Applescript fix this problem with no Reply-To field in mail rules.

    Hi I'm trying to sent up an automatic response email in mail rules, the problem is when I filter the email I want to respond to, I don't get the option to send a response to the "Reply-To" field, I can only reply to the "From" field which is no good to me. The mails I receive are booking inquiries generated by an online form so the "From" field is always the same email address not the guest address which is in the "Reply-To" field.
    Can any applescript genius out there help me out, it would save me so much time !!
    Thanks
    Jon

    Give this a shot. Change the text in the quotes in the property line to whatever you want for the body.
    property theBody : "This is the autoreply message"
    property theQuote : "You wrote:"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with aMessage in theMessages
    set theSubject to "Re: " & the subject of aMessage
    set theReplyTo to reply to of aMessage
    if theQuote is not "" then
    set theBody to theBody & return & return & theQuote & return & return & the content of aMessage
    end if
    set theReply to make new outgoing message with properties {subject:theSubject, content:theBody}
    tell theReply
    make new to recipient with properties {address:theReplyTo}
    end tell
    send theReply
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    If you set theQuote to "", then it won't quote the original. The quote is plain text, so not a great solution.
    There is an option in Applescript to reply to a message, but it does the same as the rule. I tried to edit that message, but it didn't let me. So, I went with the above method.
    You might try [the Applescript forum|http://discussions.apple.com/forum.jspa?forumID=724].

  • Problem with characters in text field

    hi all
    i am missing a few characters, once i load text into a dynamic text field. chars are not missing per say; they are being replaced with empty squares.
    characters like the euro sign and accentuated german a letter.
    whats is weird is that other accentuated german letters do appear. so only a few selected are missing.
    How ive set up the fla:
    1) i've added 4 text fields to the stage in the font im using, Arial, one for each font style: normal, italic, bold and bold italic, and in all 4 fields ive embedded all latin characters (to include the german accentuaded characters and im guessing it's in the punctuation group that holds the euro sign, so that one is also embedded), besides lowercase, uppercase, numerical, and all the default groupd to include basic text.
    2) i've got a dynamic text field, created with createTextField, and setup the following ActionScript (2):
    this.createTextField("T_text",1,0,10,Stage.width-60,50);
    var myFmt = new TextFormat();
    myFmt.size = 12;
    myFmt.leading = 3;
    myFmt.font = "Arial";
    T_text.html = true;
    T_text.autoSize = "left";
    T_text.multiline = true;
    T_text.wordWrap = true;
    T_text.selectable = false;
    T_text.embedFonts = false;
    T_text.textColor = "0x666666";
    T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
    T_text.setNewTextFormat(myFmt);
    now, im calling text from a database.
    when calling the text from the browser  url bar, there's no chars missing.
    its just when i make this call from flash and load the text into the dynamic text field, that characters go missing.
    below is a link to a print screen of the faulty text that is displayed in flash's dynamic text field.
    http://img210.imageshack.us/img210/340/utf8.png
    any ideas? i mean, it seems that the arial font is missing a few accentuated characters! because the code i have setup loads other accentuated characters.
    anyone has seen this issue before and know how to solve it?
    regards

    no.
    you assigned your embedFonts property to be false.
    look, you can test if you've embedded fonts correctly by using:
    T_text._rotation=3;
    if you see no text, you're not embedding fonts correctly.
    so, use:
    T_text.embedFonts=true;
    and then test.  if you see no text, use:
    click on the upper right of your library panel > new Font > select Arial and tick the symbols you need to embed > tick export for actionscript and assign a linkage id (eg, ArialID). click ok.  then use:
    this.createTextField("T_text",1,0,10,Stage.width-60,50);
    var myFmt = new TextFormat();
    myFmt.size = 12;
    myFmt.leading = 3;
    myFmt.font = "ArialID";
    T_text.html = true;
    T_text.autoSize = "left";
    T_text.multiline = true;
    T_text.wordWrap = true;
    T_text.selectable = false;
    T_text.embedFonts = true;
    T_text.textColor = 0x666666;  // no quotes here.  this is a number
    T_text.htmlText = _global.gallery_1_image_text_1; // this holds the text im displayed, called in from a database.
    T_text.setTextFormat(myFmt);  // to format the above text, use setTextFormat().  if you want to format text added after this line, use setNewTextFormat()

  • Problem with saving multi line field answers in forms.

    I made a form in Acrobat with several fields that have multiple lines + allow for scrolling. The client saved out their answers but whatever they did eliminated the fields and flattened the document. I can see they wrote a longer answer- the little plus box is there- but I cant see it. What happened here?
    How can I fix this?
    How can I prevent this?

    After having a closer look at metalink it seems to be obvious, that Forms 6i (8.0.6.) only supports user exits generated with the 8.0.6. precompiler.
    If this is the case new questions follow:
    Is there a way to get a 8.0.6. precompiler?
    Is it possible to connect to a 8.1.5. database with such a user exit? Does anybody have corresponding experiences?
    Our customer uses a 8.1.7. database. What about connecting to that database with the user exit?
    /Ralph

  • Problem With Insert statement using field symbols with unicode enabled

    I was writng a function module for dyanamic operations on the table. We are using the field symbols, function module is unicode enabled.
    Assign statements are working fine, with which we created work are <fs_wa_header> and internal table <fs_tb_item> dynamically based on the table name (IM_TB_HENAME) which we get as import parameter.
    we have query which is giving us dump.
    INSERT  (IM_TB_HENAME)  FROM <FS_WA_HEADER>.

    Hi
    INSERT (IM_TB_HENAME) FROM <FS_WA_HEADER> is good for inserting a line in the database, so IM_TB_HENAME has to have the name of dictionary table.
    U should write:
    INSERT  <FS_WA_HEADER> INTO (IM_TB_HENAME).
    But I believe you can't use the variable IM_TB_HENAME, you should use another field-symbols:
    ASSIGN (IM_TB_HNAME) TO <FS_TB_ITEM>.
    INSERT  <FS_WA_HEADER> INTO <FS_TB_ITEM>.
    Max

  • Problem with displaying a standard field in Personal Data iView

    Hi,
    I'm trying to display the field 'Nickname' from  infotype 0002 in the Personal Data iView.  I searched SDN and SAP Help and all of the replies/documentation refers to "Maintain V_T588MFPROPC".  I want to display this field in the Edit and the Review and Save screens.
    The steps given in this forum seem straightforward but in reality it's a nightmare.  I've spent days and nights debugging and testing, but still couldn't solve this.  I can see from my debugging that the field is filled in with the appropriate values in all the internal tables/structures but it is not shown at all in the iView.  What I got from maintaining V_T588MFPROPC is just the field's attributes.
    How do I actually display the field in the Review and Save screens of the Personal Data iView?  Does this involving modification to the iView Java program?  Can anyone help?
    Thanks in advance.

    V_T588MFPROPC is the table where you add the technical field name for the country version you are using
    like for USA it is 10
    Now the same field if supported should appear in all screens, it if it not then you would need java modification
    of the ess component
    http://wiki.sdn.sap.com/wiki/display/profile/ESSPersonalInformationUIenhancementwithoutmodification
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable

Maybe you are looking for

  • Oracle 9i Database for Linux

    Hello, I need to be able to test some software changes against an Oracle 9i database running under Linux as this is an environment used by one of my customers. I have tried downloading the zip files found at http://www.oracle.com/technology/software/

  • Translation of texts that where changed via configuration

    Hello, I have changed several OTR texts of webdynpro components via the component configuration. Is there a possibility to translate the new texts? Regards Sebastian

  • FIles of same RMAN backupset

    Hello all gurus, Sir, Version : ORACLE 9.2.0.1.0 O/S : Windows XP I wish to know how can I check which physical files are of same RMAN backupset. Thanks in Advance

  • GTA:V Character transfer

    Does anybody know whether it is possible to transfer a GTA V character from an Xbox One console onto a PS4 console? I know that it was possible to go from Xbox 360 to PS4 (or PS3 to Xbox One) but appreciate that this transfer was from previous Gen to

  • Family share purchase approval

    Son "A" wants to get an app.  I get the "approve or decline" message and when I approve I'm asked to enter son "B" iCloud password.  Both of my sons are under 13.  Why in the world would it be asking me this??