Sender FCC , problem with Repeating Field under a Sub-structure

Hi,
I have an Input File as
D,TH_ ,10/31/2008,ABC,pieces
PF, 10/31/2008,11/2/2008,11/3/2008,11/4/2008
P,mat,CS,100,120,130,125,150,170,120
P,mat,CS,100,120,100,110,140,120,110
I need to Implement an FCC to convert this to
a Structure like this
  Recorset
    Header           1....1
        Unique Id
        date Time
        CustomerCode
        Code
        Unit
    Dates         1
     date          1....n
    Products       1....n
      product      1
      unit         1
      quantity     1.....n
This this is a Variable recordset type ( i.e each ROW has a Different Structure) the following keys D,PF,P  are defined, for the header, dates, and Product Information.
The Following FCC parameters are applied
Document Name :  MT_FILE_INPUt
Document NameSpace = http://xyz.com
Recordset Name = "Recordset"
Recordset structure = Header,1,Dates,1,Products,*
keyname              = Key
Keytype               = String
Header.FieldSeprator = ,
Header.FieldName = Unique Id,date Time,CustomerCode,Code,unit
Header.keyValue = 'H'
Dates.FieldSeprator = ,
Dates.Fieldname   = 'date'
Date.keyValue    = 'PF'
Products.FieldSeprator = ,
Product.FieldName =  product,unit,quantity
Product.KeyValue  = 'P'
Now the Problem is as Follows:
1) I have a Repeating Field Quantity under the Product and Date under the Dates Sub-structure,  This is not getting Repeated at all.
Is there a Way to achieve the same
2) Another Point is That, i do not want to take the key Value in the XML structure after converion, is there a way to avoid it
Please let me know if any blogs are available
Any help would be appreciated.
Thanks,
Best Regards
Abhishek

can u try.. i haven't tired this.
quantity is occuring multiple times, but if that is fixed no# of occurance,, you can can try with this?
P,mat,CS,100,120,130,125,150,170,120
Product.FieldName = product,unit,quantity,quantity,quantity,quantity,quantity,quantity
let me try ..
As long as the quanitfy defined under Product.FieldName are more than the input msg quantity values (100,120..), you will be safe...
Edited by: Anand on Oct 31, 2008 3:54 PM

Similar Messages

  • Problem with currency  field in smart form

    hi
    friends ..
    i had problem with currency field in smartform iam printing 5 currecny
    fields after the main window .But not getting printed on right way gets printed down from the given mesaurement and i get lot of gap betwen the
    each fields for ex.
    33,260.00
    120.00
    0.00
    0.00
    0.00
    i thought the the problem is with space .so iwanted to condense it but cannot as it is currency field so move into character fields .but the user want out put in currency format like 22,60.20 if i  get the value in char variable i get 2260.20 which i dont want .
    so pls help me how to condense or shift left and print the currency field on right place.
    regards
    answers will be rewarded points.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Problem with a field set to refresh after insert at Row level

    hello all,
    i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    newRow.setAttribute("mandatoryAttribute1",value1);
    newRow.setAttribute("mandatoryAttribute2",value2);
    <more init here but not the serial since it will be set by the DB trigger>
    insertVO.insertRow(newRow);
    but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
    One way to get the serial is to commit after each insert but i don't want to commit between inserts.
    i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
    How can i get the value back properly ?
    thanks
    -regards

    The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
    If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
    Long next = (Long)seq.getData();
    newRow.setAttribute("primaryAttribute", new Number(next));
    ...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want.

  • Problem with inifile.fp under Linux

    Hello all,
    I noticed a problem with inifile.fp under Linux: I can't write the updated
    ini file !
    hConfigFile = Ini_New(0);
    if (Ini_ReadFromFile (hConfigFile, ConfigPath));
    Ini_GetInt(hConfigFile, "Client", "ChartsRefreshRate", &ChartsRefreshRate);
    Ini_GetInt(hConfigFile, "Client", "ChartsDuration", &ChartsDuration);
    .... Change the values ...
    Ini_PutInt(hConfigFile, "Client", "ChartsRefreshRate", ChartsRefreshRate);
    Ini_PutInt(hConfigFile, "Client", "ChartsDuration", ChartsDuration);
    if (0!=(Err=Ini_WriteToFile (hConfigFile, ConfigPath)))
    fprintf(stderr, "\nWarning: problem writing %s configuration files: %s",
    ConfigPath, GetUILErrorString(Err));
    This fails and displays:
    Warning: problem writing Config.ini configuration files: File not found
    But not only that, it also deletes the ConfigPath file !!!
    Which is rather unacceptable !
    I see that the inifile.fp I have on the PC (CVI 8.5) is different than the
    one I have on the Linux install (cvicc 8.0). Can I copy all the inifile.*
    files to Linux or is it more complicated than that ?
    Guillaume Dargaud
    http://www.gdargaud.net/

    Hello Luis,
    I came here to check if a new version of CVI (cvicc, not the real-time
    module) for Linux had come out and, sadly, it appears that's still not the
    case...
    But I saw your followup to our original discussion.
    The ini file has grown tremendously since then, but I think I had the
    problem with even the most basic file: simple name (same directory, no
    path), but maybe it was on an NFS directory (that's no longer the case).
    Also the fact that instead of writting _in_ the file (where permission was
    allowed) you wrote to a temp file (that may not have had permission) and
    then renamed accordingly...
    I'll start a new project soon that will require ini files, so I'll test it
    again.
    > (I realize it has been a while, but I thought I'd ask anyway, in case you
    > still remember this). &nbsp;
    > I was investigating this bug today, but so far I haven't been able to
    > reproduce it. I tried it in both Windows and Linux, with both a
    > writeable location for the test .ini file and a non-writeable location,
    > but so far the behavior is as expected. Ini_WriteToFile does return an
    > error when the location isn't writeable, but it doesn't delete the file.
    > &nbsp; So I was wondering whether this might be related to the specific
    > path you were using, or maybe even with the content of the .ini file
    > itself. I don't suppose you would remember whether there was anything
    > unusual about the path, would you? Also, do you happen to still have this
    > .ini file lying around somewhere and wouldn't mind sharing it with me?
    > &nbsp; Luis
    Guillaume Dargaud
    http://www.gdargaud.net/

  • Problems sending an email with a field attached.

    Hi everyone,
    I’m having problems with sending an e-mail (with a field attached) to an external e-mail address.
    I’m using the followings functions:
    <b>'SO_DOCUMENT_INSERT'
    'SO_OBJECT_UPLOAD'
    'SO_ATTACHMENT_INSERT'
    'SO_OBJECT_SEND'</b>
    Everything goes well (the functions are executed well), but the message stacks and it isn’t be sent.
    I can see it with the transaction SBWP, it is in the folder Exit/Documents with status: “Waiting communication service” .
    Then I can send it from there clicking at the button send. And then it is sent.
    Have anyone any clue about what I’ve missed to do.
    I really appreciate your help; I need to solve this problem as soon as possible.
    Kind regards.

    Hai
    report zemail no standard page heading line-size 220.
    data: message_content like soli occurs 10 with header line,
            receiver_list like soos1 occurs 5 with header line,
            w_object_hd_change like sood1.
    start-of-selection.
    Receivers
    receiver_list-recextnam = '[email protected]'.
    receiver_list-recesc = 'E'.
    receiver_list-sndart = 'INT'
    receiver_list-sndpri = '1'.
    append receiver_list.
    General data
    w_object_hd_change-objla = sy-langu.
    w_object_hd_change-objnam = 'Object name'.
    w_object_hd_change-objsns = 'P'.
    w_object_hd_change-file_ext = 'HTM'. "<--this is important
    Mail subject
    w_object_hd_change-objdes = 'HTML from SAP/ABAP'.
    Mail body
    append 'Message content' to message_content.
    append '<b>How''s this for sending HTML E-mail from SAP?</b>' to
    message_content.
    append '<p>New paragraph</p>' to message_content.
    append '<p>Apostrophe&#8217s</p>' to message_content.
    Call function to send email - SAPConnect needs to be configured
    call function 'SO_OBJECT_SEND'
      exporting
          object_hd_change = w_object_hd_change
          object_type = 'RAW'
          owner = sy-uname
      tables
          objcont = message_content
          receivers = receiver_list.
    2)
    ABAP CODE
    Email ITAB structure
    DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
            INCLUDE STRUCTURE SOLI.
    DATA: END OF EMAIL_ITAB.
    DATA: T_EMAIL LIKE SOOS1-RECEXTNAM.  "EMail distribution list
    CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
               ‘[email protected],[email protected]’.
    Initialization
    REFRESH EMAIL_ITAB.
    Populate data
    EMAIL_ITAB-LINE = ‘Email body text 1’.
    APPEND EMAIL_ITAB.
    EMAIL_ITAB-LINE = ‘Email body text 2’.
    APPEND EMAIL_ITAB.
    T_EMAIL = C_EMAIL_DISTRIBUTION.
    --- EMAIL FUNCTION ---------------------------------------------------
    REQUIRMENTS:
    1) The user running the program needs a valid email address in their
       address portion of tx SU01 under external comms -> SMTP -> internet
       address.
    2) A job called SAP_EMAIL is running with the following parameters:
       Program: RSCONN01  Variant: INT   User: XXX
       This program moves mail from the outbox to the mail server using
       RFC destination: SAP_INTERNET_GATEWAY_SERVER
    INTERFACE:
    1) APPLICATION: Anything
    2) EMAILTITLE:  EMail subject
    3) RECEXTNAM:   EMail distribution lists separated by commas
    4) TEXTTAB:     Internal table for lines of the email message
    EXCEPTIONS:
    Send OK = 0 otherwise there was a problem with the send.
        CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
             EXPORTING
                  APPLICATION = 'EMAIL'
                  EMAILTITLE  = 'Email Subject'
                  RECEXTNAM   = T_EMAIL
             TABLES
                  TEXTTAB     = EMAIL_ITAB
             EXCEPTIONS
                  OTHERS      = 1.
    Function Z_SEND_EMAIL_ITAB
    ""Local interface:
    *"       IMPORTING
    *"             VALUE(APPLICATION) LIKE  SOOD1-OBJNAM
    *"             VALUE(EMAILTITLE) LIKE  SOOD1-OBJDES
    *"             VALUE(RECEXTNAM) LIKE  SOOS1-RECEXTNAM
    *"       TABLES
    *"              TEXTTAB STRUCTURE  SOLI
    *- local data declaration
      DATA: OHD    LIKE SOOD1,
            OID    LIKE SOODK,
            TO_ALL LIKE SONV-FLAG,
            OKEY   LIKE SWOTOBJID-OBJKEY.
      DATA: BEGIN OF RECEIVERS OCCURS 0.
              INCLUDE STRUCTURE SOOS1.
      DATA: END OF RECEIVERS.
    *- fill odh
      CLEAR OHD.
      OHD-OBJLA    = SY-LANGU.
      OHD-OBJNAM   = APPLICATION.
      OHD-OBJDES   = EMAILTITLE.
      OHD-OBJPRI   = 3.
      OHD-OBJSNS   = 'F'.
      OHD-OWNNAM   = SY-UNAME.
    *- send Email
      CONDENSE RECEXTNAM NO-GAPS.
      CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
    *- for every individual recipient send an Email
    (see OSS message 0120050409/0000362105/1999)
      WHILE RECEXTNAM CS ','.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
        ADD 1 TO SY-FDPOS.
        SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDWHILE.
    *- check last recipient in recipient list
      IF RECEXTNAM <> SPACE.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDIF.
    ENDFUNCTION.
          FORM SO_OBJECT_SEND_REC                                       *
    FORM  SO_OBJECT_SEND_REC
    TABLES  OBJCONT      STRUCTURE SOLI
            RECEIVERS    STRUCTURE SOOS1
    USING   OBJECT_HD    STRUCTURE SOOD1.
      DATA:   OID     LIKE SOODK,
              TO_ALL  LIKE SONV-FLAG,
              OKEY    LIKE SWOTOBJID-OBJKEY.
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                EXTERN_ADDRESS             = 'X'
                OBJECT_HD_CHANGE           = OBJECT_HD
                OBJECT_TYPE                = 'RAW'
                OUTBOX_FLAG                = 'X'
                SENDER                     = SY-UNAME
           IMPORTING
                OBJECT_ID_NEW              = OID
                SENT_TO_ALL                = TO_ALL
                OFFICE_OBJECT_KEY          = OKEY
           TABLES
                OBJCONT                    = OBJCONT
                RECEIVERS                  = RECEIVERS
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                X_ERROR                    = 20
                OTHERS                     = 21.
      IF SY-SUBRC <> 0.
        RAISE OTHERS.
      ENDIF.
    ENDFORM.
          FORM INIT_REC                                                 *
    FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
      CLEAR RECEIVERS.
      REFRESH RECEIVERS.
      MOVE SY-DATUM  TO RECEIVERS-RCDAT .
      MOVE SY-UZEIT  TO RECEIVERS-RCTIM.
      MOVE '1'       TO RECEIVERS-SNDPRI.
      MOVE 'X'       TO RECEIVERS-SNDEX.
      MOVE 'U-'      TO RECEIVERS-RECNAM.
      MOVE 'U'       TO RECEIVERS-RECESC.
      MOVE 'INT'     TO RECEIVERS-SNDART.
      MOVE '5'       TO RECEIVERS-SORTCLASS.
      APPEND RECEIVERS.
    ENDFORM.
    3)
    DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
      DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
      DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
      DATA: DOC_CHNG  LIKE SODOCCHGI1.
      DATA: TAB_LINES LIKE SY-TABIX.
      DATA L_NUM(3).
    Creation of the document to be sent
    File Name
      DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
      DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
    Mail Contents
      OBJTXT = 'Object text'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
    Creation of the document attachment
      LOOP AT ITAB_DATA.
        CONCATENATE ITAB_DATA-PRODUCTOR
                    ITAB_DATA-VBELN
                    ITAB_DATA-POSNR
                    ITAB_DATA-MATNR INTO OBJBIN.
        APPEND OBJBIN.
      ENDLOOP.
      DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'ORDERS'.
      APPEND OBJHEAD.
    Creation of the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'TXT'.
      OBJPACK-OBJ_NAME   = 'WEBSITE'.
      OBJPACK-OBJ_DESCR  = 'ORDERS.TXT'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK.
    Completing the recipient list
    target recipent
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
    copy recipents
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-COPY     = 'X'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    ENDFORM.                    " SEND_MAIL
    Thanks & Regards
    Sreeni

  • Problems with Adding Fields/Columns to Crosstab in XI

    Post Author: ph03nix
    CA Forum: General
    I am having problems with formatting a crosstab report in CRXI and am hoping that someone has a solution. 
    The crosstab report is a subreport, and requires the following columns, grouped by Firm (also not working optimally, but at least working):
    Evaluator,   Factor1Rate,&#91;Factor2Rate, .., FactorNRate&#93;, Summary, UpdateDate, UpdatedBy
    Where:
    Evaluator is the person that did the evaluation that resulted in each rating (formula field)
    Factor1Rate, etc, may have one, many, or all of these be applicable - there can be up to 15 of these.  Each FactorRate column is to  display the "rating" given by the Evaluator in the corresponding row/column (this much works).  The table heading is a formula, but the corresponding rate is not.
    Summary should display "Complete"  if and only if there is a Comment field (not displayed) filled out for each FactorNRate that has a value of 0, 1 or 5 - otherwise it is blank
    DateEntered is one of 2 fields ("last_updated" , or "creation_date" if  last_updated is null - a formula field)
    UpdatedBy is the last name of the person who last touched the ratings (formula field)
    I have gotten the FactorRates to display in the headers, and gotten the corresponding rates to display underneath them, but I cannot seem to add any other columns to the report - they are either added as headers with the factor_rating columns repeated as subgroups (with incorrect data), or are added under existing headers with duplicates of the ratings.  I just want to add one column for each field as if it were a normal (non-crosstab) table. 
    TIA!

    the 3 last files
    Attachments:
    Z1&Z2.vi ‏19 KB
    tau_inn (SubVI).vi ‏16 KB
    tau_ut (SubVI).vi ‏10 KB

  • Problem with Date-Field

    Hi,
    I have a problem with a date-field. Maybe I must describe the problem more detailled, but first I just want to ask you, if you know the following error-message: "21.10.2010 kommt nicht in der Menge der erlaubten Werte vor". I don't know the correct translation but it must be something like this: "21.10.2010 does not occur in the quantity of the permitted values". I don't find the position in the sourcecode of this message. And I know, that this message isn't thrown by a functionblock from SAP. So what is the describtion of this message?

    Yes I have a date field in my form. Ok I must describe it more detailled. I have an employee searchfield. After select an employee you see a form. After filling the form you click on "Send". It creates a ticket and sends the data to the Backend and jumps back to the employee search field. Untill this point everything works fine. There is no problem with the datefield. Now I want to create the form. I choose an employee and fill the form. But now it comes this message. But not after clicking the "send" button. The message comes after changing some data (e.g. change a radio button). So it looks like a validationproblem, but only at the second creationprocess. Maybe the first date is in some cache? I don't know...

  • Creation of HR infotype with repeated fields

    Hi,
       We have a requirement in our project where in we need to implement the repeat field screen structure.
    We have to create an info type with ‘96’ fields in which some of the fields are repeated more than once.
    We have tried to create a table control to represent the repeated fields, for this we have a standard way which SAP follows. We have done the same way but we are not able to get the table control in the info type screen.
    We have done the following steps using this link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/4f/d52552575e11d189270000e8322f96/frameset.htm
    1) I have created a structure with the repeated fields of the info type
    2) created the entries in Mapping for Conversion of Repeat Structure/Tables (table T588AUTO_MAP) with the repeated fields
    3) For each type LINE screen structure to be used, a corresponding entry was defined in Mapping for Conversion of Repeat Structure/Tables (table T588AUTO_TABLE).
    4) I have created an info type with all these fields where in I should get the repeated fields in the table control format, but this was not happening.
    Is there any task to be done to link all these transactions before going for creation of the info type?
    Can any one suggest me how to get the table format on the screen with all these repeated fields.
    with regards,
    ramu mullapudi

    Hi Choudhury,
    Thanks for your reply. The infotype that you suggested solved my problem.
    Regards,
    RSS.

  • FCC: Problems with content conversion

    Dear all,
    I have a receiver FTP adapter with content conversion. In RWB I'm facing following error message:
    Adapter Framework caught exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'FCOTUPI')', probably configuration error in file adapter (XML parser error)'
    The field with value FCOTUPI could be found in POS recordset. I double check the length of columns but couldn't find
    an error.
    CC configuration:
    Recordset structure: HEADER,POS,SUBPOS
    HEADER.fieldFixedLengths = 8,4,8
    POS.fieldFixedLengths = 8,20,15,3
    SUBPOS.fieldFixedLengths = 5,5
    HEADER.fixedLengthTooShortHandling = Cut
    POS.fixedLengthTooShortHandling = Cut
    SUBPOS.fixedLengthTooShortHandling = Cut
    As you can see by the names, I am using as XML to convert a structure with subnodes. In documentation it said
    that it is not allowed, but in some threads I found the information that structure could be processed.
    Any ideas how to solve this problem?
    Thanks
    Chris

    Dear Amit,
    thanks for your answer. I already checked this blog, but hoped for other solutions.
    My problem: I tried to map my hierarchical structure to a flat structure.
    Source
    Struc1 (0..unbounded)
    -Item1.1
    -Struc2 (0..unbounded)
    --Item 2.1
    --Struc3 (0..unbounded)
    ---Item3.1
    Target:
    Struc1 (0..unbounded)
    -Item1.1
    Struc2 (0..unbounded)
    -Item 2.1
    Struc3 (0..unbounded)
    -Item3.1
    But if e.g. the Struc2 appears two time it will be created two time in target structure before
    the Struc3 is created. But ths Struc3 belongs to Struc2 and should be created in flat file under
    Struc2 directly.
    How can we created a flat structure like this
    Struc1
    Struc2
    Struc3
    Struc3
    Struc2
    Struc3
    Thanks
    Chris

  • Problem with number field

    Hi,
    I'm using ADO (Oracle Provider for OLEDB) to connect Oracle 9. If the type of any field in table is Number(9) and I open query with this field, all negative values are displayed as positive values. For example: If I write -1 value to this field and then post the dataSet (Delphi7 - TADOQuery) value is refreshed to 1. Real value in database is -1.
    Could anybody help me with this problem?
    Regards Jan.

    Once again :)
    I finally foud out that Deplhi does support (varDecimal), but delphi TCustomADODataSet (ADO recordSet wrapper) component incorrecltly treats such field type. It regards Decimal(<9,0) as integer (TIntegerField) but when it gets value from underlying ADO recordset it expects integer variant. So it's delphi problem. I hat to fix this problem in source code of this component.
    Regards Jan.

  • Send Mail Problem with .Mac

    I cand send mail successfully from other accounts configured on the phone(both POP and IMAP), but I get errors when sending from my .Mac account.
    I found this article:
    http://www.wireless.att.com/support/knowledgeBase.do?content=KB72769.html
    ...but .Mac account config pages on the iPhone don't provide a field for Outgoing Server to change. Actually, this article fixed the problem with my other accounts.

    Thanks for the reply, Nathan.
    I had already found that article. Snip below...
    iPhone includes preset configurations for many of the
    popular providers such as Yahoo! Mail, Gmail, .Mac,
    and AOL, and in most cases sending mail will just
    work.
    However if you are using a different provider
    than above...
    Unfortunately, if you select ".Mac" for type of
    account, the configuration screen does not provide a
    field at all for Outgoing Server. This suggestion
    only works if you are not using one of the providers
    listed. It is apparently hardcoded by Apple when you
    choose ".Mac". I also tried to fool it by creating a
    generic IMAP account, but providing my .Mac info.
    This didn't work either.
    then don't select .mac, just select "Other", then select POP (or IMAP).
    incoming mail server: mail.mac.com
    outgoing mail server: smtp.mac.com:587
    enter in your username and password
    i set up my .Mac email manually by selecting "Other" and choosing POP and it is working fine.

  • Outlook 2003 & NOKIA 6630 problem with some fields...

    Dear All,
    I'm having a wierd problem, I do the PC SYNC between my NOKIA 6630 and the outlook 2003, everything is working fine except for some numbers under certain names.
    I realized that the number that do not go from the phone to the outlook are the ones with a field in the mobile, where this field s not available on the outlook,
    For Example:
    First Name:John
    Last Name:fdfdf
    Mobile:01010101010
    Mobile (home):93848484
    Tel(home) :49834574
    The outlook will take all info except the Mobile(home) firled as it is not available in the outlook.
    Does anybody know how to fix this problem?

    The only way is not to use double mobile numbers in phone because Outlook has the limitation that it thinks that a person can only have one mobile number.
    It is about trial and error, use the default fields in Outlook and check that those sync to phone and then use only those fields inphone if you add a contact to phone.

  • Problem with Date fields in Search panel

    Hi all,
    I use TP2 and in my jspx page I have a search panel with two date fields and table where the results is displayed. But there is a problem with these date fields, because when I search dates the results is nothing even I retype the date from table. Also I have other pages where this problem exist with same structure.
    Could somebody help me with some advice?
    Thanks in advance!

    Hi Frank,
    Thanks for the answer.
    I use the standart method to make search panel with drag and drop the data control to the page. The other search panel fileds work fine, only the date fileds are problem. Maybe something in view object doesn't work properly.
    Here I post the code from my page.
    <table border="1" style="margin:5px;">
    <tr>
    <td>
    <af:showDetailHeader text="ТЪРСЕНЕ" disclosed="true"
    inlineStyle="width:780px;">
    <table cellspacing="2" cellpadding="3" border="0">
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.EGN.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.EGN.inputValue}"
    label="#{bindings.EGN.hints.label}"
    columns="#{bindings.EGN.hints.displayWidth}"
    maximumLength="#{bindings.EGN.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.LNC.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.LNC.inputValue}"
    label="#{bindings.LNC.hints.label}"
    columns="#{bindings.LNC.hints.displayWidth}"
    maximumLength="#{bindings.LNC.hints.precision}"
    simple="true"/>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.AccPersonID.hints.label}"/>
    </td>
    <td align="left">
    <af:inputText value="#{bindings.AccPersonID.inputValue}"
    label="#{bindings.AccPersonID.hints.label}"
    columns="#{bindings.AccPersonID.hints.displayWidth}"
    maximumLength="#{bindings.AccPersonID.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.PersonName.hints.label}"/>
    </td>
    <td align="left" colspan="5">
    <af:inputText value="#{bindings.PersonName.inputValue}"
    label="#{bindings.PersonName.hints.label}"
    columns="#{bindings.PersonName.hints.displayWidth}"
    maximumLength="#{bindings.PersonName.hints.precision}"
    simple="true"/>
    </td>
    </tr>
    <tr align="left">
    <td align="right">
    <af:outputLabel value="#{bindings.DateFrom.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateFrom.inputValue}"
    label="#{bindings.DateFrom.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateFrom.format}"/>
    </af:inputDate>
    </td>
    <td align="right">
    <af:outputLabel value="#{bindings.DateTo.hints.label}"/>
    </td>
    <td align="left">
    <af:inputDate value="#{bindings.DateTo.inputValue}"
    label="#{bindings.DateTo.hints.label}"
    simple="true">
    <af:convertDateTime pattern="#{bindings.DateTo.format}"/>
    </af:inputDate>
    </td>
    </tr>
    <tr>
    <td align="right">
    <af:commandButton actionListener="{bindings.Execute.execute}"
    text="#{bundle.FindBtn_LABEL}"
    disabled="#{!bindings.Execute.enabled}"
    icon="/images/find.png"/>
    </td>
    <td align="left">
    <af:commandButton text="#{bundle.FindClearBtn_LABEL}"
    icon="/images/find_clear.png"
    action="#{PeopleBean.onClearVCBtn}"/>
    </td>
    </tr>
    </table>
    </af:showDetailHeader>
    </td>
    </tr>
    </table>
    Also I have a result table for the search panel, but I don't believe the problem can be there because it works fine when I search in fields different by inputDate.
    Do you have any suggestions?

  • Problems with Repeating Events on Palm and iCal

    Hi,
    I'm having a problem with daily-repeating events entered into either my Palm or iCal. When I put events in my palm and sync them to iCal, the iCal calendars look right, but then the Palm events become truncated,i.e. only the first day of daily event will be visible. If I do nothing but just sync again, the events in iCal become weirdly duplicated, i.e. if an event had two repeats, the "original" occurrance will be there, along with a second, starting on next day of the series, lasting for the same number of repeats. Is there any way to make one calendar the overwriting calendar while using iSync? Or do you know of some other fix? This problem doesn't seem to affect other repeating events, either monthly or yearly.
    Thanks
    20" iMac with Intel   Mac OS X (10.4.10)   500 GB HD, 2GB RAM 60GB Video iPod

    As I just posted in another thread, there are a whole series of 'representation disconnects' between the Palm calendaring application and iCal.
    While this article— iSync: About Syncing Recurrent Events Between iCal and Palm OS Based Devices—would lead to you believe that iSync is primarily the issue, it's not: this behavior occurs primarily because of the differences between the calendaring programs in each environment, and only secondarily because of the manner in which records are pushed and pulled by the synchronization framework.
    iSync itself is simply another compliant sync client, and there is unfortunately no workaround for the issues delineated in the article.

  • Problem with different calendars under Mountain Lion

    I upgraded recently from Snow Leopard to Mountain Lion and experiencing an annoying problem with the calendars "On My Mac" (I am using a MacBook Pro from mid 2009). With iCal under Snow Leopard I had seven calendars - Meetings, Performances, Family, etc. with different colors. After the switch to Mountain Lion these categories aren't maintained properly. Four of them have been seemingly merged into two, so that for example an event can't be categorized as "Family" but gets shifted automatically to "Meetings" (both calendars stay checked in the editing panel, but only one "sticks"). So I have three  calendars I can use and a four I can't.
    If I try to add a new calendar it appears in the list, but no event can be assigned to it.
    Is there a limit to the number of calendars one can have?
    I don't use iCloud, so there is no issue there.
    I have one Google calendar (a work schedule I have subscribed to ) which also works with no problems.
    Any ideas?

    Same problem when reseted  the PRAM.
    I read some Chinese Web , Many people got the same problem after upgrade to mountain lion
    you can see the locked icon show in the bottom left conner even my card is unlock
    I can read but can not delete any Photos
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23227AM .png
    you can see the locked icon show in the bottom left conner
    But I can edit everything in my Harddisk
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23235AM .png
    External Hard Disk no locked icon show in the bottom left conner
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23220AM .png

Maybe you are looking for

  • Why do I have white horizontal lines on my Macbook Pro Retina?

    When I am using my 15" Macbook Pro, there are often white horizontal lines that run across the screen. It usually happens when I am watching a video, typing, scrolling or just sitting on the desktop. There are days where the screen is perfect and the

  • No. of sales order with open quantity in a month

    Hello experts, I have a requirement to calculate open sales order quantity and the number of sales order with open quantity for current month. Please advise which tables can give this logic. I have the idea of calculating open SO quantity from VBAP a

  • Acrobat Pro X - Hyperlinked PDF's not displaying correctly

    After installing Acrobat Pro X we are having issues when clicking hyperlinks to PDF files from webpages. If we click a link to a Multi paged document it opens everytime to the top of page 2. If it is a one page document it opens at the bottom of page

  • Getting Error in BI Answers with Essbase as Data source

    Hi We are on OBIEE version 11.1.1.6.0.I am trying to develop a report in BI answers with Essbase cube as data source, I am getting the below error Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSErro

  • De-install Reader?

    How do I de-install a reader on my Mac which is not performing and re install later.  It wont allow me to install a 'fresh' version because it says it is already installed?