Issue in MFL Transformation

Hi All,
I am trying to convert a NON-XML file to XML using MFL in OSB, but I am facing issue in doing so.
The file which I read is in the below format
Group of header and details (Can have multiple header-details group)
11/28/2012|01|3
50|1|001|045775401|001|05/15/2012|05/27/2012|04/07/2012|05/06/2012|47.10
60|2|001|045772801|001|05/15/2012|05/27/2012|04/08/2012|05/07/2012|119.98
30|3|001|045769501|001|05/15/2012|05/27/2012|04/07/2012|05/06/2012|136.80
11/25/2012|02|4
55|4|001|045761101|001|05/15/2012|05/27/2012|04/08/2012|05/07/2012|278.38
30|5|001|045684102|001|05/15/2012|05/27/2012|04/09/2012|05/08/2012|35.99
60|6|001|045683401|001|05/15/2012|99/99/9999|04/09/2012|05/08/2012|734.86
61|7|001|045673701|001|05/15/2012|99/99/9999|04/09/2012|05/08/2012|284.52
The XSD I created using Native file format builder for this file is as follows
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://twc.com/ReadDetailFile"
xmlns:tns="http://twc.com/ReadDetailFile"
elementFormDefault="qualified" attributeFormDefault="unqualified"
nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
<xsd:element name="Header">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="TransmissionDate" type="xsd:date"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="SequenceNumber" type="xsd:string"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="NoofStatements" type="xsd:string"
nxsd:style="terminated" nxsd:terminatedBy="${eol}"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="StatementDetail">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DivisionId" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="CorpSubCorp" type="xsd:string"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="SiteId" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="AccountNo" type="xsd:string" nxsd:style="terminated"
nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="StatementCode" type="xsd:string"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="StatementDate" type="xsd:date"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="StatementDueDate" type="xsd:date"
nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="PeriodFrom" type="xsd:date" nxsd:style="terminated"
nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="PeriodTo" type="xsd:date" nxsd:style="terminated"
nxsd:terminatedBy="|"></xsd:element>
<xsd:element name="Due" type="xsd:decimal" nxsd:style="terminated"
nxsd:terminatedBy="${eol}"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Detail">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded" minOccurs="1">
<xsd:element ref="tns:Header" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="tns:StatementDetail" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
But this is not working for me. Any help is highly appreciated in solving this issues.
Thanks in Advance!!
Thanks,
Anju

Hi Dibya,
Can you try configuring OSB Proxy Service (Message Type - binary) and test your service. Let me know the process how you have created MFL file using cobol copybook. I mean, have you imported cobol copybook using import option available in MFL editior?

Similar Messages

  • ALSB 3.0 : java.lang.NullPointerException with MFL Transform on runtime

    Hi,
    I try to insert an action "MFL Transform" in a message flow in a proxy service. (ASLB 3.0 Linux)
    The configuration of the message flow and proxy works well.
    When I try to test the proxy I get a java.lang.NullPointerException on stages.transform.runtime.MFLTransformRuntimeStep.
    Any ideas ?

    How are you sure of the MFL configuration when this is the component that is causing the issue. The MFL configuration could be 100% but if the variable that is writing to the MFL is not the right datatype or not initilised then this could cause a NullPointerException error.
    This is common and usually seen when the conversion is set to be binary to xml (default) when infact you want it to be xml to binary. Which way are you converting and what is the data type of the variable writing to the MFL?
    cheers
    James

  • Issue with XSL transformation in Java Stored Procedure

    Hi,
    Am having issue applying XSL transformation in Java Stored procedure. I have loaded the java class as well as .XSL files through loadjava uility and their status in DB is VALID.
    Below is the code in the java stored procedure:
    public static String tranform(String strInputXML ){
    URL url = ClassLoader.getSystemClassLoader().getResource(first.xsl);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new ByteArrayInputStream (strInputXML.getBytes("UTF-8")));
    TransformerFactory tFactory = TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(url.openStream());
    Transformer transformer = tFactory.newTransformer(stylesource);
    When I run this procedure, am getting following errors:
    {color:#ff0000}*ERROR: 'No such file or directory'*
    FATAL ERROR: 'Could not compile stylesheet'{color}
    My first.xsl file has reference to other excel file (Ex: &lt;xsl:include href="second.xsl"/&gt;) which seems to be causing this error. When I remove the reference, procedure is working fine.
    Pls let me know how to resolve this and read the .XSL file with references.
    Thanks,

    Hello,
    Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
    So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
    Thanks
    Srikanth
    Edited by: user12050615 on Jan 16, 2012 12:17 AM

  • Issue with migrated transformation rule after transport

    Hello all,
    We have migrated couple of update rules and transfer rules to transformation rules. All the transformation rules are active in development environment.
    The issue is when we transport these transformation rules to QA, one of the fields of datapacket dimension "RECORD" becomes &R1& in the global structure of start routine and therefore, transport fails in QA. Along with this we had another issue that if we add any additional fields in the cube or ODS structure, the global structure in start routine doesn't change after transport in QA. Basically, it seems like it doesn't do anything when we do transport.
    We tried couple of things by transporting entire flow inclding target and source objects, we also tried transporting only transformation with overwrite mode. But none of the things worked. We also have logged the message with SAP.
    SAP suggested us to open the QA environment and perform the change manually. We did it and obviously we could activate the transformation rules. But when we tried to re-transport the transformation, it is keep failing with the error "Syntax Error". My assumption has after the transport, the field has become &R1& again.
    Has anybody faced such issue? We are on Ehp1 SP7.
    - Danny

    Thanks Murali,
    Yes as I mentioned SAP suggested us to open the box and do it manually, but once we are done with the manual changes, we tried transporting the same transformation rule again, which I guess going to be the case in case of any future enhancement. Transport failed and it says "Syntax Error".
    The transformations we activated manually in the target system are active, but when we try to load the data, it throws the exception error.
    Any clue ?? Is it working fine in your system after you did manual changes? Did all future transport go well ?
    - Danny

  • MFL transformation is not working

    Hi All,
    I need to transform non-xml(binary)to xml using mfl tranformation and then using it in osb message flow to replace body with xquery.
    My input txt message:0059 CHGACTPRC TF08512305245874 0000319000000000001200000299000003588012000002990000035880EUR 00000000000000000000000000000000000000000000000N
    I dont know whether my mfl is right or not.It is very difficult to find seperator for this type to input.
    I am getting error:
    com.bea.wli.sb.pipeline.PipelineException: OSB Assign action failed updating variable "input": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0005: expected exactly one item, got 0 items
    Could you guys help it regarding this.
    Regard,
    Souvik
    Edited by: Souvik Pal on Apr 29, 2012 6:44 PM

    looks like your MFL is returing an empty result
    my advice is to use nXSD instead, using the FileAdapter ti pick up the file... nXSD is a bit more structured and easy to troubleshoot than MFL...
    could you post the MFL you are using? also, before you assign to body, log the result of the tranformation

  • BI Load issue in the transformation/DTP after SP 17

    Hello,
    After SP 17 applied in our BI system, we are having load issue in one particular transformation/DTP.
    See below the errors:
    u2022 Messages for 101 data records saved; request is red acc. to
    configuration
    u2022 Thee is no active nametab in the system, although an active ABAP/4
    Dictionary object was expected. Reactivate the ABAP/4 Dictionary object.
    Also I have activated the DSO, transformation and DTP. Also I went to SE14 and try to adjust my DSO, SE11 and activate the table but still having the issue.
    Can someone advise me on how to resolve this issue?
    Thanks a lot.
    Cesar

    Hi,
    Do the following: In BI, run transaction SE38 >> RSDG_CUBE_ACTIVATE to recreate the Metadata information
    for the Info-provider.
    Then execute another program via SE38: RSDD_RSTMPLWIDTP_GEN_ALL
    See Note 1161940 and 1152453 for more details.
    Regards,

  • Issue with the Transformation in ESB

    Hi,
    I am using 10.1.3.1 version of JDev. I developed a simple ESB process that uses a Routing service to invoke a BPEL process (Defined as a SOAP service in ESB). When I try to define a transformation that is required to convert ESB's input type to BPEL's input type, the JDev throws an error saying that "Failed to save the xsl" and I cannot do anything with that xsl later. Even when I try to invoke the Routing service from the Web Services Manager in SOA, it throws back a message saying that "No response obtained" where as if I directly invoke the SOAP service, it works fine. Not sure if I am missing any patch here or is there any setting in JDev that I need to enable or do you think I might be doing something wrong?
    Please help.
    Thanks
    Ravi

    Hi.
    Please check if ll the data is rolled up in the aggregates. Also check the consistency of aggregates from RSRV.
    Hope this helps.
    Thanks,
    Mayuri

  • Xsl:message issue in xsl transformation while throwing an error.

    Hi,
    Below is error handling logic which im using to handle the DVM value not found error if the user input value is not found in dvm. This termiates the xslt processing and throws subLanguageExecutionFault. The issue is im unable to get the customized message which i have coded in <xsl:message> GGGGGGGG.dvm no value found!!! </xsl:message>.
    The audit trail shows XML-22060: (Fatal Error) TERMINATE PROCESSING. with no other customized message given in the xsl:message tag.
    <xsl:when test='dvm:lookupValue("oramds:/apps/AIAMetaData/dvm/GGGGGG.dvm",$DVMSourceCol,/seblabo:SiebelMessage/seblabo:XXXXtoYYYY/seblabo:YYYYY/seblabo:TypeCalc,$DVMTargetCol,"DVMValueNotFound") = "DVMValueNotFound" ' >
    <xsl:message terminate="yes">
    GGGGGGGG.dvm no value found!!!
    </xsl:message>
    </xsl:when>
    Let me know how to populate the customized in xsl:message tag to audit trail or in the fault message.
    Thanks in advance,
    -Rahul

    Hi Rahul,
    I faced the similiar issue. Still I am struggling with that. BTW did u check the soa logs to see if those reflect there? Did you find any workaround/solution?
    Regards,
    Susmit
    Edited by: Susmit_Dey on 8 Aug, 2011 9:29 PM

  • Issue with xslt transform

    I'm having a problem with xslt transformations.
    I'm sending a DOMDocument to be transformed into a varchar2. The transformation was into html and I was then printing the returning varchar2 to a web page, along the lines of...
    htp.prn(Xslt.transform(domdoc, xslt.stylesheet( l_stylesheet_bfile)));
    I subsequently broke the varchar2 32k limit so I started playing with transforming into a dom instead of a varchar, then writing the dom to a clob and the printing the clob to the web page in 32k chunks.
    I noticed this produced different results than the first method. Now I'm assuming that this is not because xslt is doing the transformations differently but because it's trying to put my html into a well-formed DOMdocument. I have noticed, though, that things like & #160; seemed to have disappeared.
    Just wondering if I'm doing something wrong, and also any reason why the transform functionality doesn't have an output option of CLOB?
    Thanks
    Jason

    What is the DB version?

  • CS4 issue - Crop, Free Transform functions hanging up iMac

    A short time ago I posted a request for help because I could not see my Crop outline after the selection was made.  The reply was to reset the tool (didn't work) or dump the Preferences at start up of CS4 (opt+comd+shift) and let the program rebuild them.  This worked for the first time I tried the Crop tool but thereafter it was back to not seeing the outline after selecting the crop.  The same thing is happening with the free trasform tool.  These tools also take a very long time to complete the task (not related to file size or number of layers, BTW).  If I jump to Bridge or another program and come back to CS4 the program completes the task pronto.  Two nights ago I uninstalled CS4 and reinstalled CS4.  Same result.  I'm a long time user of PS and have never seen this. My version of CS3 is working fine and I'm about convinced I've got a bum CD of CS4 (wonder if I can download it directly from Adobe and use my serial number?).  I'm running the latest OS and I've got 4 GB internal memory with 80% committed to PS.  No other programs are running.  Any suggestions to rectify this problem are appreciated.

    I Have the same problem, and I solved it partially. My selectiontools were totally dysfunctioning, causing very weird graphic problems and freezing my iMAC late 2006, Leopard. I did a clean installation of my operating system and all the other stuff, but that didn't help. So don't do that, it isn't necessary.
    To make the bugs go away: start your iMAC in safe mode. See for info and details:
    http://support.apple.com/kb/HT1564?viewlocale=en_US
    Then start PHSH. The crop and transformtools in PHSH will work well then.
    Go to photoshop/preferences/performance/GPUsettings and check if the "enable open GL drawing" box is disabled. Yes, the box must be disabled.
    Then restart your computer. After this, Photoshop will work without the problems you mentioned.
    Sadly, the open GL features of PHSH CS4 don't function well when you're not having the right videocard. I have a Nvidia Geforce 7600 GT 256 mb grahics card, that doesn't work with open GL features. When you have  the "enable open GL drawing" box disabled, you won't have the problems you mentioned. Nor will you be able to benefit these new open GL based features.
    Unfortunately you will have to buy a new graphicscard that does support open GL features for OSX. See for a complete list of cards:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb405711
    The website of Nvidia offers updates for Windows only. Not for OSX.
    For the short future I will do without these new open GL features, hoping there will be an update for OSX.
    If not, I will replace my graphics card.
    Hope your system will be functioning again,
    Tineke, NL

  • OSB MFL UTF-8 Issue

    I'm having a similar issue as in the discussion linked below:
    https://community.oracle.com/thread/3554623
    I have a Binary to XML MFL setup, with UTF-8 codepage set for each field and as Default MFL Encoding (File->Properties in Format Builder) set to UTF-8 as well.
    However when I pass UTF-8 characters as the input to Transform to XML, they all get changed to '?'

    For my future self that will read this, I got it working by creating a proxy service as Messaging Type - Text Request Message Type and MFL Response Message Type.
    Use this as a Service Callout instead of MFL Transform within the main Proxy.

  • Transformation - Fields Missing!!

    Hello Experts,
    I am facing a strange issue in the transformation beteen DSO to Cube.
    My DSO Contains 148 fields while in the transformation I can see only 131 fields.
    IN thedevelopment Box the transformation appears fine but in the Acceptace box the mentioned problem
    occurs.I tried regenerating the export datasource, activated & transported the DSO but all in vain.
    PLease help.
    Thanks,
    Suyog

    Hi,
    Go to RSA1--> Data sources Choose source system as BI and find for data source with 8<DSO name>. Once you get the data source ,select change from context menu --> go to Fields tab and check under column Transfer (5th Column) for all fields . If any field is unchecked then check and activate data source to see all fields in Cube transformations.
    hope it helps...
    regards,
    Raju

  • Syntax Error in Routine while Activating Transformation

    Dear All,
    I am activating whole scenario for 0SD_C03. we have made transformation for 2lis_11_vaitm, during installation we get below errors:
    - Rule (target: 0SUBTOT_1S, group: 01 Standard Group): Syntax error in routine
    -Rule (target: 0NET_VAL_S, group: 01 Standard Group): Syntax error in routine
    -Rule (target: 0PROD_CATEG, group: 01 Standard Group): Syntax error in routine
    I really appreciate your any input for this.
    Thanks & Regards,
    Darshan

    Hi,
    I hope there is inbalance in between SOURCE Datapackage and Target Datapackage. So in the start routines pls check it and it not found then add in DATA_PACKAGE...
    Check with ABAPer
    under ,
    TYPES:
          BEGIN OF tys_TG_1_full,
            SUBTOT_1S           TYPE /BI0/OISUBTOT_1S,
    and also you can fin dsimilar kind of threads in SDN.
    Re: Syntax Error in Routine while Activating Transformation
    Re: Issue while creating Transformation from Update rule.
    Re: 0IC_C03 activation of Transformation rule ends with ERROR
    Re: Error in activation of transformation
    Thanks
    Reddy

  • Transformation After Import RC12 Method GET_T_TRANSFORM

    Hi,
    we are on BI 7.0 SP11 (this intermediate SP between SPS10 and SPS11).
    We now twice had the problem that a transport of a transformation (with start-routine, look-up-routines and formulas) from DEV- to Q-System failed with RC 12 with the following informations in the job protocol of RDDEXECL:
        "OBJECTS_OBJREF_NOT_ASSIGNED" " "
        "CL_RSBK_DTP_V=================CP" bzw.
    "CL_RSBK_DTP_V=================CM02F"
        "GET_T_TRANSFORM"
    Haven't been able to find any sapnote with any of the (for me ...) thinkable key words in this case. [ST22 (dump analysis) offers the component BW-WHM-DST.]
    The situation in Q after the aborted import is the following:
    Browsing the start- and lookup-routines causes short-dumps.
    Browsing the formula and other field-rules is fine.
    We then opened up the Q-System for changing repository objects and, guess what, editing of start- and look-up-routines was just fine. Checking brought no syntax error and without changing anything at all we simply saved and activated the routines and the transformation and the following import in our P-System gave us no trouble at all.
    However, the situation isn't quite satisfying. The above mentioned short-dump while trying to browse the start-routine mentions the programme name  CL_RSTRAN_STEP_ROUT===========CP. This led me to
    SAPNOTE 1024333 (SP13!).
    But I'm not sure weather it really fits our problem.
    Has anybody of you experienced the same problem and could give us some advice? Would be great!
    Many thanks in advance and regards,
    Iris

    Hi Iris,
    Did you ever figure out how to resolve this issue?
    I just ran in to the exact same issue with a transformation with 2 field routines.
    In my case I'm not able to go to change mode in Q system so I have get the transport issue fixed.
    Any help would be great.
    Thanks

  • Debugging a  XML Transformation Program

    Hi,
    We are converting incoming XML into ABAP structure and checking if the data has any future effective changes. If there is a future effective update, then it is converted back to XML string and stored in a custom table as a XML string. A job which runs picks up the record on the given date and process the changes that are to be applied. We are facing issues during the transformation which happens on this day(effective date. Though the XML string has data when the transformation is called, there is no ABAP output after transformation. Interesting things to note are:
    .  No Transformation error is thrown
        When the same scenario with same XMLs is repeated in other regions(Dev & Quality), there are no issues at all
       What I would like to know is
          >> Is there any file encoding & xml string conversions issues?
          >> is it possible to debug within the transfomation(ie transformation program) We tried STRANS, but were not able?
    Any help is this regard is appreciated.
    Thanks
    Ganesh

    Rich,
    I tried to do what you suggested but it didn't allow me to stop at the break-point.
    Here is why I need to debug the program.  Our sales orders just crossed over the number range for ITOs (inter company transfer orders).  Where we are including the header text of the sales order it is pulling the header info of the ITO that has the same order number (from the numbers crossing).  I need to figure out where/how to pull the header information based on the order type.  The Order Confirmation is pulling the correct header text but I am unsure how it is doing that.  I need to determine what the text name is from the Order Confirmation.  On the Picklist the text name is the sales order number.
    I hope that made sense. 
    Davis

Maybe you are looking for

  • Limit displayed users when creating substitution role in Portal-UWL

    Hi all! We are trying to customize the UWL in our Portal (NW7, SPS12) the following way: When users define a substitution role, they shell only be allowed to see (and chose) certain users. Any ideas? We already tried to solve this using "companies" i

  • 30 Second Audio Render problem in Adobe Media Encoder?

    I've been trying a few things out to fix this, but no luck. Ok, so I export videos with a audio spectrums where audio would be necessary. Now I want to do this all in After Effects without editing the Audio in in Premiere Pro. After Effects does not

  • Messages stuck in QRFC inbound and outbound queues by system error

    Hi Experts, We faced a big problem in our PI server which stopped all the traffic in the iDoc to File interface. Both the QRFC queues (inbound - SMQ1 as outbound - SMQ2) where stuck by a system error. In IDX5 of PI we saw two inbound iDocs on exact t

  • Can't import MapInfo TrueType fonts into MapBuilder

    Hi forum I am trying to import TrueType fonts from MapInfo, that we used to use in the MapInfo application, that we are migrating from. I try to use the "Import TrueType font" function in MapBuilder, but when I want to view the font afterwards, I jus

  • [N95] Music player stopped adding mp3s

    It just happened, I normally add mp3s via mass storage and then rescan collection. Now I tried to delete "private" folder, reformatting memory card, but music player is not picking up music anymore. I don't want to format it again - are there any oth