'*' in the recordset structure resulting no val's for fieldFixedLengths

'*' in one of the recordset structure resulting no values for fieldFixedLengths
Dear All, I have a strange (at least, strange to me) problem in file content conversion in sender file adapter. 
I have Data type with following structures
DT_FLAT_IN
-Struc1  (0..1)
--FKEY
--FVAL
-Struc2  (0..1)
--FKEY
--FVAL
-Struc3  (0..1)
--FKEY
--FVAL
-Struc4  (0..Unbounded)
--FKEY
--FLD1
--FLD2
--FLD3
Flat File i get is like this
KEY1    1234567
KEY2    2343434
KEY345  XVD
102003171979SS^^
in the content conversion, i have 2 sets of parameters (this is FTP and ContentConv)
ignoreRecordsetName -> true
Struc1.fieldFixedLengths -> 8,12
Struc1.fieldNames -> FKEY,FVAL
Struc1.processConfiguration ->FromConfiguration
Struc1.keyFieldValue -> KEY1
Struc1.lastFieldsOptional -> YES
Struc1.keyFieldInStructure ->ignore
Struc1.endSeparator ->'nl'
Pretty much same for Struc2 and Struc3 but the struc4 has different set of parameters as this
has the separator instead of fixed length.
Struc4.fieldSeparator -> ^
Struc4.fieldNames -> FKEY,FLD1,FLD2,FLD3
Struc4.processConfiguration ->FromConfiguration
Struc4.keyFieldValue -> 1020
Struc4.lastFieldsOptional -> YES
Struc4.keyFieldInStructure ->ignore
Struc4.endSeparator ->'nl'
The problem is if I specify * in recordset structure field then i don't see any of the
Struc1, Struc2, Struc3 values in inbound message payload.
for example: Struc1,1,Struc2,1,Struc3,1,Struc4,*
or
Struc1,1,Struc2,*,Struc3,1,Struc4,1
If i change it to 1 then i see the values in inbound payload for everything in the file.
For example: Struc1,1,Struc2,1,Struc3,1,Struc4,1
I have gone through the blogs,SDN forum, SAP Help for parameters as well as google but i couldnt find
anything that solves this problem.
Please let me know what i am missing or is there any order in Parameter specifications?
I have added/removed parameters (Trial and error) but couldnt figured it out on my own.
Any help regarding this is appreciated.
Thanks in advance.

Dear All,
Thanks for sharing your thoughts. After a long struggle, i was able to figure it out the problem and the solution may not be appropriate but at least working for me.
fixedFieldLengths was 8,12 but i have changed it to the length of the value... in my scenario, for example, the value is 'YES' - though the length will be 8 including spaces, i have changed it to 3 from 8.
Somehow, this worked and i am, now, able to use * for other structures.
Just in case, if anyone has the problem.

Similar Messages

  • What is the payload structure has to be used for AQ to process XML messages.

    Hi Experts,
    We have an IBM MQ and Oracle AQ has to be be linked to that.
    MQ always contains XML messages and same message will come to AQ.
    Now I want to create AQ. What is the payload structure(object) has to be used for AQ to process XML messages.
    Please help me.
    Thanks.

    Hello,
    using XML type data in AQ you have to define a special AQ payload type
    (corresponding to MQ):  QUEUE_PAYLOAD_TYPE = 'SYS.MGW_BASIC_MSG_T'.
    An example template for enqueueing looks like (you have to transform
    from XMLTYPE to the MGW payload type):
    DECLARE    
       queue_options      DBMS_AQ.ENQUEUE_OPTIONS_T; 
       message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;  
       message_id         RAW(16);  
       v_message          SYS.XMLType;   
       v_clob             CLOB;
       v_payload          SYS.MGW_BASIC_MSG_T;
       v_text_body       
    SYS.MGW_TEXT_VALUE_T;
    BEGIN
       v_message      := SYS.XMLType.createXML('<SAMPLE>hello world</SAMPLE>'); 
       v_clob         := v_message.GETCLOBVAL();
       v_text_body    := SYS.MGW_TEXT_VALUE_T( NULL, v_clob );
       v_payload      := SYS.MGW_BASIC_MSG_T( v_header, v_text_body, NULL );
       DBMS_AQ.ENQUEUE( queue_name         => 'my_queue',
                        enqueue_options    => queue_options,
                        message_properties => message_properties,
                        payload            => v_payload,
                        msgid              => message_id);
    END;
    Kind regards,
    WoG

  • FCC  Recordset structure question.

    Hi,
    I have completed the config for scenarion File>XI>IDOC(R/3)
    After activating the File comm channel, the message coming out of XI (in sxmb_moni) has the following error
    'Parsing an empty source. Root element expected'
    I want to know:
    1> Does the Recordset-structure field names (defined in .fieldNames) need to match exactly with the Data_type structure defined in IR. Currently my Data_type in IR does not have a key field, which I have introduced in the FCC keyField parameter.
    2>I have generated all my ID config by importing 'Integration Scenario' from IR and this has resulted in Automatic Creation of HTTP, RFC, IDOC,XI Receiver channels. ( GeneratedReceiverChannel_HTTP, GeneratedReceiverChannel_RFC, GeneratedReceiverChannel_IDOC, GeneratedReceiverChannel_XI ). Do I require all of these to be active?
    Thanks and Regards
    Shirin

    HI
    FCC Paremeters:
    nameA.fieldSeparator =~
    nameA.endSeparator ='nl'
    nameA.fieldNames =text1,text2,text3,text4
    nameA.processFieldNames fromConfiguration
    nameA.lastFieldsOptional Yes
    nameA.missingLastFields Add
    nameA.additionalLastFields ignore
    ignoreRecordsetName: true
    if endSeparator = newline, then
    nameA.endSeparator = 'nl'
    nameA.fieldSeparator =~
    nameA.fieldNames = field1,field2,field3,field4
    if endSeparator = #, then
    nameA.endSeparator = #
    nameA.fieldSeparator =~
    nameA.fieldNames = field1,field2,field3,field4
    1.     NameA.missingLastfields
    If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
    ○ ignore
    Outbound structure only contains the fields in the inbound structure
    ○ add
    Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
    ○ error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
    2. NameA.additionalLastFields
    If the inbound structure has more fields than specified in the configuration then the XML outbound structure is created as follows:
    ○ ignore
    Outbound structure only contains the fields in the inbound structure
    ○ error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
    The default value is ignore. If you have defined the NameA.fieldFixedLengths parameter, the default value is error.
    If you have defined the NameA.fieldFixedLengths parameter and do not set either of the parameters described above, apart from the default values, the conversion routine works the same as described under Handling Structure Deviations.
    Only once you set one of the two parameters will the other parameter be evaluated with its default value.
    To ensure a well-defined runtime behavior for variable inbound structures, we recommend that you always set both parameters.
    cheers

  • Recordset structure in receiver communication channel

    Hi gurus!
    I have a problem with my receiver communication channel it says "Unknown structure 'Headers' found in document', probably configuration error in file adapter (XML parser error)'"
    It's for sure that the problem is in the configuration of the adapter.
    My scenario is from iDoc to File and i need to write only one header and many Lines, i made the data type like:
    Headers
    ---Header
    Lines
    ---Line
    And the problem is in the configurarion of the recordset structure and the lines below.
    If you know another way better to make the data type to acommplish what i've to do, just tell me I just made it that way because i thought it could work.
    If something is not clear just let me know, what i more need is the config. of the receiver adapter.
    Thanx in advance.
        Juan

    Hi Juan
    If i understand correctly .. you are doing FCC on your receiver communication channel...and the following is your Target Data type
    Headers
    ---Header
    Lines
    ---Line
    and FCC parameters you created are as below
    Recordset structure: Headers,Header,Lines,Line
    Header.fieldSeparator \r\n
    Header.endSeparator \r\n
    Line.fieldSeparator \r\n
    Line.endSeparator \r\n
      If the above data is correct, then I would like you try out the FCC parameters in my previous post. Because in the FCC parameters, you used only substructures(Header and Line) and you did not mention the lists ( Headers and Lines). That's why i think it is errored out.
    If my interpretation is wrong, please let me know where i went wrong, i will try to look at again.

  • File Content Conversion - Recordset Structure required??

    Hi,
    I have a File Sender Communication Channel (CC) to convert very simple csv format to XI data type (XML).
    The contect of csv file will look something like this and will always have one line per file.
    111,222,333,444,555
    And I have defined the Data Type/Message Type with 5 fields as follows:
    Sender_DT
    ---F1
    ---F2
    ---F3
    ---F4
    ---F5
    Assuming that I'll always get one line of data in a csv file, I don't really need to set Recordset Structure in Content Conversion Paramters of File Sender CC but it is required parameter so you can't save it without populating this parameter.
    I understand that I can add a recordset to my DT so that it will look like below and type in Recordset in the Recordset Structure parameter but wanted to see if there is any other way to go around this without adding Recordset to DT.
    Sender_DT
    ---Recordset
    F1
    F2
    F3
    F4
    F5
    Thanks,
    Jay

    Hi Jay,
    You are correct. You can't have a struct like
    DT_SOURCE
    --F1
    --F2
    --F3
    You need another node with in DT_SOURCE like recordset
    DT_SOURCE
    -Recordset
    --F1
    --F2
    --F3
    If you don't get multiple lines in source file, you can simpl set the Recordset occurance to 1..1 but it is mandatory.
    Regards,
    Jai Shankar

  • ERROR consistency check in recordset structure

    Hello All,
    Below is my input file format looks like:
    HEADER
    REC_1
    REC_1
    REC_1
    REC_2
    FOOTER
    And I have defined the Recordset structure as HEADER,1,REC_1,*,REC_2,*,FOOTER,1.But the occurence of REC_2 is optional (0 to Unbounded).
    Conversion of file content to XML failed at
    position 0: java.lang.Exception: ERROR consistency check in recordset structure
    validation (line no. 4: missing structure(s) before type 'HEADER'
    It looks like the error is due to missing REC_2 segment in the input file.
    Can you please tell me how to handle this in FCC
    Thanks,

    Hi Naresh
    IMHO, I don't think that the error is due to missing REC_2 in the input file.
    From SAP library, * includes also 0 occurence.
    Converting Text Format in the Sender File/FTP Adapter to XML - Configuring the File/FTP Adapter in Integration Directory…
    Under Recordset Structure, enter the sequence and the number of substructures as follows:<NameA,nA,NameB,nB,...>, where nA=1,2,3,... or * (for a variable, unlimited number, including 0).
    Please provide screenshot of your FCC configuration and also sample input file that is causing the error so that it can be analysed further.
    Rgds
    Eng Swee

  • Recordset Structure value

    Hi !
    I need to enter a value for the number of records in the Recordset Structure in the Content Conversion Parameters of the File Adapter. The records should be atleast one with a possibility of more than one records ....... in other words - one or more than one records. I do not want to enter 'fieldName, ' as '' could also equal zero records. What would be the correct syntax ?
    Cheers,
    Ashok.

    File adapter or <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm">Sender</a> or <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm">receiver</a> ?
    If it is of type sender, you have to put the name of the recordset  and ",*"
    Regards,
    Sandro

  • FileToIDoc-Scenario: Additional level in recordset structure

    Hello,
    can I configure the content conversions of the Fileadapter in a way, that an additional level will be inserted (e.g. group1 or group2) ?
    I want to get the following structure:
    ==========================
    <recordset>
    ....<header>   
    ....</header>   
    ....<group1>
    ........<NameA>
    ............<field1>....</field1>
    ........</NameA>
    ........<NameB>
    ............<field2>....</field2>
    ........</NameB>
    ....</group1>
    ....<group2>
    ........<NameC>
    ............<field3>....</field3>
    ........</NameC>
    ....</group2>
    </recordset>
    At the "Recordset Structure" I would have expected a structure like:
    =>  header,1,group1(NameA,,NameB,),group2(NameC,*)
    Does such a kind of notation exist?
    Thanks in advance for any hints...
    Cheers,
    Juergen
    Edited by: Juergen Grallert on Feb 23, 2009 2:09 PM

    Hi Juergen,
    I've been making 2 level heirarchies from flat files using node functions. This blog post might help you.
    /people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
    Also this:
    http://www.riyaz.net/blog/xipi-convert-flat-file-to-deeply-nested-xml-structures-using-only-graphical-mapping/
    Regards,
    Aaron
    Edited by: Aaron Myers on Apr 9, 2009 3:25 PM

  • Recordset Structure Help

    Hi.
    I'm new to XI and I'm currently trying to build a simple File to File scenario. I have a flat file that looks like:
    name,address,id,age,....
    name....
    so each element is comma seperated and each record is on a new line.
    I have a DT that looks like:
    DT_Flat_File
    -name
    -address
    -id
    etc
    I am currently building the Comunication Channel for the pickup and i dont know what to put into the "Recordset Structure" field.
    Any help would be appreciated, and maybe a summary of what can go into this field also.
    Thanks
    Gareth

    make the DT as
    DT_Flat_File
    -Root
    name
    address
    id
    etc
    so that name, id etc comes under root
    Now your recordset is root.
    In the other case;
    DT_Flat_File
    -name
    -address
    -id
    you will not be able to provide a recordset and it wudnt be possible to read the file using content conversion.

  • Error while enhancing the Extract structure in LBWE

    Hi All,
    When I am trying to change the extract structure os logistic extractors in LBWE, it is giving me an error saying "Entries for application 11 still exist in the extraction queue".
    Below is my scenario:
    I have 3 clients in the same R/3 system, Client 010, 020 and 030.
    Clients 020 and 030 are connected to my BW system. Client 010 will be used for all development while test loads can be done from clients either 020 or 030. Till now, I have tested my data flows only from client 030. Now, I have to add some extra field to the structure in LBWE but facing the above mentioned error.
    I went into LBWQ in both the client 020 and 030 and deleted the queue and then tried to change the extract structure in client 010 but still the same error.
    What else do I need to do to resolve this?
    Thanks,
    RPK.

    Hi Raki,
    We are still in development phase. I did all my developments(R/3) in client 010. Till now I did only full loads to BW from client 030 and haven't done any loads from client 020. My BW system is also connected to another sandbox client 100 but I haven't done any loads from that client aswell.
    As I have to add some extra fields to the extractor from LBWE, I did the follwing steps in R/3:
    1) I have deleted the setup tables from client 010, 020 and 030.
    2) Deleted the data from LBWQ from clients 010, 020 and 030.
    3) Trying to change the extract structure by clicking on "Maintenance" for the extractor in Client 010.
    At this point it is throwing an error.
    I thought that the client 100 might be a problem as I have transfer rules created in my BW system from this source system as well. As I do not need this source system anymore, I have deleted it from BW and tried changing the structure in LBWE but still the same problem.
    Any ideas would be highly appreciated.
    Thanks,
    RPK.

  • Changing the directory Structure of Jsp and web.xml files

    Hi,
    I am using the JDeveloper 11g preview. Can any one tell me how to change the Jsp and web.xml files ( not in WEB-INF directory of the application) to another directory.
    Thanks in Advance
    Gopal

    Hi Frank,
    Is it possible for me to change the folder structure which JDeveloper is providing for web project?
    By default JDeveloper is giving the following folder structure.
    In the project's root folder there is a public_html and src folder along with .jpr file.
    In public_html folder thre is an WEB-INF folder and a jsp file
    In WEB-INF folder there is an classes folder along with web.xml file.
    I need to have the following folder structure :
    The WEB-INF folder should be in root folder of project not in public_html folder
    src folder must be in WEB-INF folder.
    Thanks in Advance
    Anil Golla

  • Exporting the Document structure from CDESK

    Hi,
    I have a requirement to export the Document structure coming in Tcode CDESK for assemblies to Excel format with the fields like MM#, Description,ECM#, User etc.... How to get it ?
    Thanks,
    Suresh HP

    Hi Suresh,
    The structures can be brought to screens as a view only with enhancement and you need tio cinsult with abap'r and ask to make a view for the structure in respective screen like MM# ,ECM#. The views can resolve your requirement.
    I hope this will help.
    Regards,
    Ravindra

  • Error while creating the Organization structure.

    Hi,
    I am trying to create an Organization structure in SRM 5 sytem, I have created a Root for the structure and when i try to click on the Attribute Inheritance or the Check tab below i am getting an error "Start program BBP_LOCATIONS_GET_ALL first (see note 563180 and long text)" but i have replicated one plant from the R/3 system using BBP_LOCATIONS_GET_SELECTED and the material groups and all the other relevant datas from R/3. I can see in the table BBP_LOCMAP the plant been associated with the relevant company code. I am now struck in creating the organization structure. I am not sure where i am going wrong while creating the Org model.Please give me your valuable inputs to overcome this error.
    Regards
    GGL

    Go to transaction SM30, table T77S0
    Add an X to the following entry:
    Group = EBP          
    Sem abbr. = LMIGR        
    Val. Abbr. = X       
    Description = Locations Successfully Migrated
    This tell the system that the locations have been replicated and the error indicating location get all needs be executed will go away.
    thanks,
    justin
    Edited by: Justin Farley on Feb 25, 2009 7:16 PM

  • Problems assigning BP to a position in the organizational structure

    I tried to assign a bp to a position in the organizational structure,
    but I receive this message "Object cannot be assigned to object CliC
    Agent in the period 21.12.2006 - 31.12.9999".
    Also, I notice that in the screen, the checkbox where i can select for
    the business partner is missing.
    However, I can assign a user to the org structure.
    Before upgrading, it was working. This is the support packages that it was in.
    SAP_ABAP: Level 9
    SAP_BASIS: Level 9
    PI_BASIS: Level 9
    SAP_AP: Level 6
    BBPCRM: Level 6
    After the upgrade to the following,
    SAP_ABAP: Level 10
    SAP_BASIS: Level 10
    PI_BASIS: Level 10
    SAP_AP: Level 7
    BBPCRM: Level 7
    The assigning of business partner to a position no longer works.

    Hi,
    we're facing exactly the same problem, it was all going well until we went on production.... we applied note 997009 which results in a different error... did you manage to find a solution yet ?
    Regards,
    Jacob.

  • The case structure is not working well on comaring two strings using true or false string matching VI

    I need an execution of commands after the reply from the instrument matches with the string I provided for that i used true or false string match VI on which the true string the matching command and the string is the reply from the instrument. And I put the further executionable commands in frame after frame of sequence loop in the true of the case structure. Amd finally I given all the output strings to the concatenate string to get all the replies as one loop. But when I execute the program the desired result is not available. So kindly please help me to overcome this problem.  
    Attachments:
    basic serial with changes.vi ‏24 KB

    You VI makes absolutely no sense and I would recommend you start with a few simple LabVIEW tutorials before trying to tackle this.
    What is the point of the FOR loop with 1 iteration, it might as well not even be there, same difference.
    Why is there an abort primitive in the FOR loop, this mean the program will unconditionally stop abort before any downstream code will ever go into action. The program will never get past the FOR loop.
    You created a circular data dependency and LabVIEW inserted a feedback node automatically, making things even worse. (see also)
    You need to learn about dataflow, execution order, and data dependency.
    You need to learn about the various types of tunnels (plain, autoindexing, etc.)
    There is a tremendous amount of duplicate code. Large code sections are the same, differeing only by a string. You should only have one copy of that code inside a proper state machine. Have a look at the design templates and examples that ship with LabVIEW.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • 3GS randomly reboots after 5.0.1 (WDT timeout)

    Hi all, I have since a few months a 3GS which was in 4.x, and never had any problem of any kind. I upgraded to 5.0.0 when this released was issued, no problems while upgrading, and although I noticed my battery lasted less, I had no major issue. When

  • SOS: Display data in Web DynPro table from database via EJB.

    i build two views : queryView and displayView! displayView: is used to display all query result in the table;these data is bind to a commandBean model(javaBean imported). queryView:   is used to full in different query conditions,then u can pressed a

  • Airplay screen mirroring on 4:3 projector, resolution problems.

    Hi! I have an iPad 3, an ATV3 and a NEC NP400 projector which I'm trying to get to work together. I'm not sure about the projectors resolution, but i know it has a 4:3 aspect ratio. I've tried to use screen mirroring with both the ATV 3 and a VGA ada

  • How to disable icloud drive?

    I enabled icloud Drive when updating my iphone to ios 8, but Yosemite (wich is required on my mac to make my documents work with Drive) is not released in Norway until late october or later. My Q: How do I disable icloud drive now?

  • R3AC1- Object Bus_Trans_Msg source and target sites missing

    Hi, In the Txn code: R3AC1 for the object Bus_Trans_Msg we need to enter the source- CRM and target site-R/3 under the tab Initial flow settings which is not editable. when we do initial download of this object in txn:R3AS if throws an error. Please