Need help in message transformation.

I need help to resolve following error during message transformation.
........ BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BankCheckRecon_Request_MT/Header. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start.............
<b>Note –</b> Message Map and Interface map are working correctly when tested separately in the Repository.
<b>Mapping Rules:</b>
/ns0:BankCheckRecon_Request_MT=/ns0:ComericaCheckRecon_Request_MT=
/ns0:BankCheckRecon_Request_MT/Header=/ns0:ComericaCheckRecon_Request_MT/Header=
/ns0:BankCheckRecon_Request_MT/Header/RecordID=const()
/ns0:BankCheckRecon_Request_MT/Header/HdrNumber=const()
/ns0:BankCheckRecon_Request_MT/Header/SenderBank=const()
/ns0:BankCheckRecon_Request_MT/Header/ReceiverBank=const()
/ns0:BankCheckRecon_Request_MT/Header/AcctNumber=/ns0:ComericaCheckRecon_Request_MT/Header/AcctNumber=
/ns0:BankCheckRecon_Request_MT/Header/PymtType=const()
/ns0:BankCheckRecon_Request_MT/Header/TapeDate=const()
/ns0:BankCheckRecon_Request_MT/Header/ISOCurr=const()
/ns0:BankCheckRecon_Request_MT/Item=ifWithoutElse(stringEquals(/ns0:ComericaCheckRecon_Request_MT/Detail/RecordID=, const()), /ns0:ComericaCheckRecon_Request_MT/Detail=)
/ns0:BankCheckRecon_Request_MT/Item/RecordID=const()
/ns0:BankCheckRecon_Request_MT/Item/ValueDate=currentDate()
/ns0:BankCheckRecon_Request_MT/Item/ChkNumber=/ns0:ComericaCheckRecon_Request_MT/Detail/ChkNumber=
/ns0:BankCheckRecon_Request_MT/Item/ChkAmount=/ns0:ComericaCheckRecon_Request_MT/Detail/ChkAmount=
/ns0:BankCheckRecon_Request_MT/Item/ReceiverBank=const()
/ns0:BankCheckRecon_Request_MT/Item/AcctNumber=const()
/ns0:BankCheckRecon_Request_MT/Item/EncashDate=TransformDate(/ns0:ComericaCheckRecon_Request_MT/Detail/ChkPaidDate=)
/ns0:BankCheckRecon_Request_MT/Item/TransCode=const()
/ns0:BankCheckRecon_Request_MT/Item/AcctNumber_1=/ns0:ComericaCheckRecon_Request_MT/Detail/AcctNumber=
<b>Test Data -</b>
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ComericaCheckRecon_Request_MT xmlns:ns0="http://mazdausa.com/sapr3/fi/transdata/bankcheckrecon">
   <Header>
      <AcctNumber>2176975528</AcctNumber>
      <Filler1> </Filler1>
      <ReconDate>123105</ReconDate>
      <Filler2> </Filler2>
      <RecordID>H</RecordID>
      <Filler3> </Filler3>
   </Header>
   <Detail>
      <AcctNumber>2176975528</AcctNumber>
      <Filler1> </Filler1>
      <ChkNumber>0000200001</ChkNumber>
      <Filler2> </Filler2>
      <ChkPaidDate>121905</ChkPaidDate>
      <Filler3> </Filler3>
      <ChkAmount>0001020000</ChkAmount>
      <RecordID>D</RecordID>
      <Filler4> </Filler4>
   </Detail>
   <Detail>
      <AcctNumber>2176975528</AcctNumber>
      <Filler1> </Filler1>
      <ChkNumber>0000200002</ChkNumber>
      <Filler2> </Filler2>
      <ChkPaidDate>121405</ChkPaidDate>
      <Filler3> </Filler3>
      <ChkAmount>0164840000</ChkAmount>
      <RecordID>D</RecordID>
      <Filler4> </Filler4>
   </Detail>
   <Trailer>
      <AcctNumber>2176975528</AcctNumber>
      <Filler1> </Filler1>
      <ChksCount>0000000493</ChksCount>
      <Filler2> </Filler2>
      <TotalAmount>0766945400</TotalAmount>
      <Filler3> </Filler3>
      <RecordID>T</RecordID>
      <Filler4> </Filler4>
   </Trailer>
</ns0:ComericaCheckRecon_Request_MT>
Thanks
Rajesh

Thanks Mohan for your quick response. I am working with File Adapter and here are <b>Message Structures:</b>
ComericaCheckRecon_Request_MT     
Header     
AcctNumber     10
Filler1     1
ReconDate     6
Filler2     22
RecordID     1
Filler3     40
Detail     
AcctNumber     10
Filler1     1
ChkNumber     10
Filler2     1
ChkPaidDate     6
Filler3     1
ChkAmount     10
RecordID     1
Filler4     40
Trailer     
AcctNumber     10
Filler1     1
ChksCount     10
Filler2     1
TotalAmount     10
Filler3     7
RecordID     1
Filler4     40
BankCheckRecon_Request_MT     
Header     
RecordID     1
HdrNumber     3
SenderBank     15
ReceiverBank     15
AcctNumber     18
PymtType     3
TapeDate     8
ISOCurr     3
Item     
RecordID     1
ValueDate     8
ChkNumber     13
ChkAmount     11
ReceiverBank     15
AcctNumber     10
EncashDate     8
TransCode     3
AcctNumber     18

Similar Messages

  • Need help correcting message error number

    Hello, i need help correcting message number for running archiving test runs.
    05.08.2011 08:31:42 Message number 999999 reached. Log is full                                BL           252          E
    05.08.2011 08:31:42 Job cancelled after system exception ERROR_MESSAGE                        00           564          A
    Any help wopuld be appreciated.
    Regards.

    Summary
    Symptom
    One or several database tables of the application log contain too many entries.
    The following database tables belong to the application log:
    - BALHDR (all releases)
    - BALHDRP(< 4.6C)
    - BALM   (< 4.6C)
    - BALMP  (< 4.6C)
    - BALC   (< 4.6C)
    - BALDAT  (>= 4.6C)
    - BAL_INDX (all releases)
    Other terms
    RSSLG200,
    RSSLGK90,
    SLG2,
    application log,
    log
    delete,
    performance
    Reason and Prerequisites
    The application log is a tool to collect, save and display logs.
    Many different applications collect messages in the application log which contain information or messages for the end user. The application automatically log serves as a temporary storage for messages. The logs are written on the database but they are not automatically deleted.
    There is no general procedure for switching the application log on or off. Some applications provide this option or they offer the option of reducing the number of entries created. (See Notes 91519, 183960, 141244).
    The expiration date of application logs
    A log usually has an expiration date, which is set by the application, that calls the 'Application log' tool. If the application log does not set an expiration date, the 'Application log' tool sets the expiration date as 12/31/2098 or 12/31/9999,depending on the release, which allows the logs to stay in the system for as long as possible. The end user cannot set the expiration date. The expiration date does not mean that logs which have reached that date will automatically be deleted. It is used to control the deletion of logs when you call the Deletion report. The DEL_BEFORE flag in the BALHDR table determines whether or not the log can be deleted even before the expiration date is reached.
    DEL_BEFORE= SPACE means that the log can be deleted before the expiration date is reached. (Default value)
    DEL_BEFORE='X' means that the log can only be deleted after the expiration date.
    Solution
    Deleting the logs of the application log.
    Releases >= 4.6A:
    =====================================================================
    In Releases >= 4.6A, use Transaction SLG2.
    On the selection screen you can restrict the amount of logs to be deleted:
    The 'Object' and 'Subobject' fields specify the application area in which the logs were written (see F4 Help).
    The 'External Identification' field specifies the number which was          provided for this log by the application.
    o  If you also want to delete logs which have not reached the expiration date you must set the option "Also logs which can be deleted before the expiration date".
    Select 'Help with application' in Transaction SLG2 for further explanation of the procedure for deleting.
    SLG2 is a report transaction. The corresponding report is SBAL_DELETE. At regular intervals, this can be scheduled as a background job.
    Releases < 4.6A:
    =====================================================================
    For Releases < 4.6A, note the following instructions:
    In general, the deletion of application logs can be carried out in two steps:
    1. Report RSSLG200: Deletion of all logs which expired:
    Use report RSSLG200 to delete all logs whose expiration date is reached or exceeded. (This report is not yet available in the standard in Release 3.0F. In this case, the report can be installed in advance; see corrections attached to this note).
    As of Release 3.1H, Report RSSLG210 is also available. This report allows the definition of a job that runs regularly and deletes such logs.
    2. Report RSSLGK90: Deleting all logs for which a deletion is allowed before expiration:
    Sometimes, step 1 does not delete enough logs. The reason for this might be that the expiration date of the logs is too far in the future or that no expiration date has been defined at all (in this case, depending
    on the release, the assumed expiration date is 12/31/2098 or 12/31/9999)
    Use report RSSLGK90 for these logs.
    When you execute this report, you can restrict the logs to be deleted in a selection screen:
    The fields 'Object' and 'Subobject' specify the application area which wrote the logs (see F4 help).
    The field 'External number' indicates the number which was assigned by the application for this log.
    Field 'Log class' indicates the importance of the log.
    NOTE: By default, this field contains the value '4', this means only logs with additional information. If you want to delete all logs, enter the value '1' in this field. All logs with log class '1' or higher will then be deleted.
    The fields 'To date' and 'Until time' refer to the creation date of a log.
    If you enter 12/31/1998 and 23:59:59, you get all logs created in and before 1998
    NOTES:
    Client-dependency:
    Note that the application log tables are client-dependent. Therefore, you must delete data in each client.
    Which applications create entires in the application log:
    To determine which applications create the logs, look in Table BALHDR to see which objects the logs were created for ( Transaction SE16, Table BALHDR, Field OBJECT). You can find the text description for the object in Table BALOBJT. The application is usually derived from the name and text of the object. The log is displayed in Transaction SL61. The display is restricted to certain objects, among other things.
    Database error:
    If very many data exists on the DB, Report RSSLGK90 might cause problems. In this case, implement Note 138715.
    In very rare cases a dump is created even after Note 138715 was implemented:
        ABAP/4 runtime error  DBIF_RSQL_SQL_ERROR
        SQL error 1555 occurred accessing table "BALHDR "
        Database error text...: "ORA-01555: snapshot too old
    If you cannot correct the error by means of database utilities, Note 368700 provides a way to bypass this error.
    Report RSSLG200 can also run into problems. In this case, use the correction for Report RSSLG200 attached to this Note.
    Expiration date in Report RSSLGK90:
    There are logs on the database which may only be deleted explicitly after the expiration date (flag DEL_BEFORE = 'X' in table BALHDR). These logs are not deleted in advance by report RSSLGK90. Since, however, this flag is used very rarely, you can ignore this data.
    Restriction of the quantity of log data by the application:
    To avoid large quantities of logs from different applications, also refer to the following notes:
    - 91519
    - 183960
    - 141244
    Archiving logs:
    As of Release 6.20, it has been possible to archive logs.
    The logs are archived via archiving object BC_SBAL.
    The archiving programs are started via Transaction SARA (archive administration).
    Via Support Packages, the archiving of application logs has been made available for Releases 4.6C (SAPKB46C27), 4.6D (SAPKB46D17), and 6.10 (SAPKB61011) as well.
    Header Data
    Release Status: Released for Customer
    Released on: 04.08.2005  13:55:45
    Master Language: German
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-SRV-BAL Basis Application Log
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 30 30F 31I  
    SAP_APPL 40 40A 40B  
    SAP_APPL 45 45A 45B  
    SAP_BASIS 46 46A 46D X
    SAP_BASIS 60 610 640 X
    Corrections Instructions
    Correction
    Instruction Valid
    from Valid
    to Software
    Component Last
    Modifcation
    158903 30F 30F SAP_APPL 16.05.2000  07:13:08
    162069 31H 45B SAP_APPL 16.05.2000  07:16:07
    Related Notes
    1009281 - LAW: Runtime error CONNE_IMPORT_WRONG_COMP_TYPE
    856006 - Mass processing saves unnecessary logs
    737696 - Add. info on upgrade to SAP R/3 Enterprise 4.70 Ext. 2 SR1
    706478 - Preventing Basis tables from increasing considerably
    637683 - Add info about upgrade to SAP R/3 Enterprise Core 4.70 Ext 2
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    540019 - Report RJBTPRLO does not work correctly
    400687 - Delete application log: DBIF_RSQL_INVALID_CURSOR
    390062 - Additional information about upgrading to 4.6C SR2
    370601 - Composite SAP note: APO 3.0 and 3.1 performance
    365602 - M/AM: Sales agent determination log - perf.
    327285 - Additions to upgrade to 4.6C SR1
    183960 - ALE: Deactivating application logs for data transfers
    141244 - Deactivating the application log during data transfer
    138715 - RSSLGK90: Too many lock entries in the database
    118314 - Installing the interface to a separate EH&S
    91519 - Deleting logs of the application log
    Print Selected Notes (PDF) 
    Attributes
    Attribute Value
    Transaction codes BALC
    Transaction codes BALM
    Transaction codes CLEAR
    Transaction codes HIER
    Transaction codes SARA
    Transaction codes

  • Need help with XML transformation

    I am not sure this is the right place for this. But i will try it here. I am very troubled with my XSLT. Trying to transform a text Coupon which has the following html for it. So,
    _1. INPUT is:_
    <html>
    <head>
    </head>
    <body>
    <p>
    This coupon is for a good guy whose first name is :
    </p>
    <p>
    </p>
    <p align="center">
    Sadd
    </p>
    <p align="center">
    </p>
    <p align="right">
    <b>also</b> whose <var>full_name</var> is Sadd Hossain
    </p>
    <p align="left">
    </p>
    <p align="left">
    He is a <font size="3">software </font><font size="4">engineer for</font><font size="5">
    S&H</font>
    </p>
    </body>
    </html>
    *2. output needed  is:*
    <?xml version="1.0" encoding="UTF-8"?>
    <POSMESSAGE>
    <TextMSG >
    This coupon is for a good guy whose first name is :
    </TextMSG>
    <TextMSG >
    </TextMSG>
    <TextMSG align="center">
    <emph>SADD</emph>
    </TextMSG>
    <TextMSG >
    </TextMSG>
    <TextMSG align="right" >
    also whose full_name is Sadd Hossain
    </TextMSG>
    <TextMSG>
    </TextMSG>
    <TextMSG align="left" >
    He is a software engineer
    for S&H
    </TextMSG>
    </POSMESSAGE>
    *3. XSLT for this*
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml"/>
    <xsl:template match="body">
    <POSMESSAGE>
    <xsl:for-each select="p">
    <TextMSG>
    <!--xsl:if test="not[@align='']"-->
    <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute>
    <!--/xsl:if-->
    <xsl:attribute name="font"><xsl:value-of select="@size"/></xsl:attribute>
    <xsl:value-of select="."/>
    </TextMSG>
    <xsl:for-each select="b">
    <emph>
    <xsl:value-of select="."/>
    </emph>
    </xsl:for-each>
    </xsl:for-each>
    </POSMESSAGE>
    </xsl:template>
    </xsl:stylesheet>
    *4: the above xslt generating this output*
    <?xml version="1.0" encoding="UTF-8"?>
    <POSMESSAGE><TextMSG align="" font="">
    This coupon is for a good guy whose first name is :
    </TextMSG><TextMSG align="" font="">
    </TextMSG><TextMSG align="center" font="">
    SADD
    </TextMSG><TextMSG align="center" font="">
    </TextMSG><TextMSG align="right" font="">
    also whose full_name is Sadd Hossain
    </TextMSG><TextMSG align="left" font="">
    </TextMSG><TextMSG align="left" font="">
    He is a software engineer
    for S&H
    </
    *5: Need help with this. what should my xslt look like to get the desired output???????????????*
    any help or direction will be very much appreciated. Thank you_

    I have below suggestions:
    1. Please use code option given in message editor toolbar for posting any formatted content like XML, Java code snippet etc.
    2. replace & in your source XML with _& a m p ;_ (Without spaces, I have put spaces to make it visible here).
    3. I have modified your XSLT according output XML you have given. I am not sure what you want to do with some elements like <b>, <font>, <var> etc. change below XSLT as you require for these elements.
    Modified XSLT:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
            <xsl:output method="xml"/>
         <xsl:template match="body">
              <POSMESSAGE>
                   <xsl:for-each select="p">
                        <TextMSG>
                             <xsl:if test=". != ''">
                                  <xsl:for-each select="@align">
                                       <xsl:attribute name="align">
                                            <xsl:value-of select="."></xsl:value-of>
                                       </xsl:attribute>
                                  </xsl:for-each>
                                  <xsl:value-of select="."/>
                             </xsl:if>
                        </TextMSG>
                   </xsl:for-each>
              </POSMESSAGE>
         </xsl:template>
    </xsl:stylesheet>
    OUTPUT:
    <?xml version="1.0"?>
    <POSMESSAGE>
         <TextMSG>This coupon is for a good guy whose first name is :</TextMSG>
         <TextMSG/>
         <TextMSG align="center">Sadd</TextMSG>
         <TextMSG/>
         <TextMSG align="right">alsowhose full_name is Sadd Hossain</TextMSG>
         <TextMSG/>
         <TextMSG align="left">He is a softwareengineer forS&H</TextMSG>
    </POSMESSAGE>

  • Please, I need help- video messages

    Please, I need help. I can not play video messages which send me friends. When I click the message error occur ,and tell me: "Oops, something went wrong. Please try again, or get in touch if you need help." I do not know what I should do. I tried many times to play video message. I updated skype, but nothing has changed. Does anyone know how to help me?
    PS. I am sorry for my bad English. I am still learning English.

    See your other post asking the same question:
    help.... ¡¡¡¡

  • NEED HELP - Text Messages showing up hours later and no more notifications

    Up until about 3 weeks ago, I was very in love with my S3 as it worked perfectly.  Then about 3 weeks ago (March 12 or so) I started receiving my text messages hours or days after they were sent.  We then went to Canada for a week and I had no mobile data.  The issue with my messaging continued, except now I rarely get a notification when I get them.  I have been back a week and it has gotten worse.  The messages seem to come all at one time once or twice a day, there is no notification when they come, and I am occasionally missing messages.  It does not matter who the messages are from.  I have rebooted the phone multiple times.  I have tried using Handcent SMS instead of the default messaging application to no avail.
    Is there something going on with Verizon Text messages?
    Is there another place to go besides the following to set notifications?
    Messaging
    Menu
    Settings
    Notifications
    Check everything, Default Ringtone, and Alert Once
    Since this started before we went to Canada, I do not think that was the cause.  Although, there were several times that I got the message Updating Sim Card information when we were there and I had the wrong time a lot of the time.
    Please Help!!

    So today I go to send a text and get one from last night.  Don't get the sound but it did show up on my notification bar.  I sent the text and realized my clock was off by an hour.  I went into settings, Date/Time and both are set to Automatic, but for some reason it is showing Central Time Zone.  I uncheck Automatic Time Zone and set it to Mountain Time Zone, exit Settings, and perform a Shut-Down.  Pull the battery, Sim Card, and SD Card and reboot the phone.  Go back into Date/Time and reset it Automatic.  This time it stays in the Mountain Time Zone.
    Could I possibly need a new Sim Card?
    Please Help.  I really do not have time to go wait in line for an hour at the Verizon store for them to tell me that they will have to look into it and then not get back to me for a few weeks, if at all.
    Thank you.

  • Need help in XSL transformation

    Hi, I have a requirement where a message is recieved on the BPEL service. The message is basically a list of 200 or less productids.
    The requirement is to break the incoming message into smaller messages having a list of 50 productids each and then depending on the number of smaller messages call in parrallel a Proxy service in OSB.
    I am not sure how to write an XSL transfor which could split the message into smaller messages.
    I would highly appreciate if somebody could help or give any pointers.

    Hi,
    By passing parameters you can solve your problem.
    write an xsd like below.
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:p="http://schemas.oracle.com/service/bpel/common"
    xmlns="http://schemas.oracle.com/service/bpel/common"
    targetNamespace="http://schemas.oracle.com/service/bpel/common"
    elementFormDefault="qualified">
    <xsd:element name="parameters">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="item" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="value" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    create an element say pramsVar of type parameters (Root element in above xsd)
    Now take an assign activity and in copy select XML fragmentand do like below
    In From
    <parameters xmlns="http://schemas.oracle.com/service/bpel/common">
    <item>
    <name>beginIndex</name>
    <value/>
    </item>
    <item>
    <name>endIndex</name>
    <value/>
    </item>
    </parameters>
    assgn the above to paramsVar.
    Now assign proper values to begin and endIndexes (In your case 0 and 50)
    Now pass paramsVar to XSLT and create two paramters in XSLT say beginIndex and endIndex
    You need to use position function in XSLT like below
    *<xsl:if test="(position() > $beginIndex ) and (position() <= $endIndex)">*
    In BPEL you need to increment the beginIndex and EndIndex in a while loop till you reached the last record(In your case 4 times bcoz 200 recs)
    Regards
    PavanKumar.M

  • Need Help with Message Mapping in PI 7.1 - JDBC to IDOC

    I have an outgoing SQL function that sends multiple rows of data for use in creating an IDOC in ECC. I am trying to key the creation of new IDOCs (already did the maxOccurs trick to the IDOC definition) based on a field in the JDBC return data...
    JDBC Message Format...
    SEGNAM - TRANS_ID - MATERIAL - VKORG...ETC
    MARA -  00001 - 1234 - <space> - ...
    MARC -  00001 - 1234 - VK01 - ...
    MARA - 00002 - 9876 - <space> - ...
    MAKT - 00002 - 9876 - <space> - material description - ...
    Each time there is a new TRANS_ID, I need to indicate a new IDOC in the message mapping. I have tried all kinds of combinations of TRANS_ID --> dropContext --> splitValue and TRANS_ID --> collapseContext --> splitValue, but nothing has worked.
    Has anyone done this kind of message map (without any BPM please)?
    Thanks,
    Nathan

    Hello Nathan,
    For this one, you have to play with contexts.
    row 1 SEGNAM = MARA, TRANS_ID = 1, MATNR = 123...
    row 2 SEGNAM = MARC, TRANS_ID = 1, MATNR = 123, WERKS = PL01...
    row 3 SEGNAM = MARA, TRANS_ID = 2, MATNR = 987
    This also depends on the occurrence of the parent node. example, if I want MATNR to be populated, the logic would be like
    ex:
    IDOC1..unbounded) (The logic is the already provided in an earlier response)
    -->MATNR (1..1)
    MATNR --------> removeContext ----------------> FormatByExample --> MATNR
    TRANS_ID --> removeContext --> splitByValue:ValueChange --> /
    If the rows are not in order of trans_id, then you need to incorporate sorting into the logic above.
    Hope this helps,
    Mark

  • Need help on message mapping screen

    Hi folks,
    I am working on file to idoc scenario.   I Imported the IDOC to my scenario. In Messaga Mapping IDOC structure displaying fields as a documention. but i need techincal names of those fields.
    for Example:   In my IDOC 1 field is showing companycode but I want to see that field as a BUKRS.
    How to see the technical names of IDOC fields in Message Mapping.
    Your help is highly apprecia

    Hi,
    I dont think we would be able to see the data element names of the IDOC in XI. Even the imported XSD of Idoc doesnot contain data element name.
    We would be only dealing with the field names/ structure of the IDOC for field message mappings. The field names are internally mapped to the data element names in SAP R3 system.
    To view the internal mapping between field names and data element names of the Idoc fields, you can go to the transaction 'WE30'. Give the basic type of the Idoc and go to the segment editor. You can find the data element names for each field name  there.
    Thank you.
    Regards,
    Subbu

  • NEED HELP error messages - cannot install iTunes upgrade

    I'm running Windows Vista.
    I've been using iTunes for about a year, no problem.
    When I went to download the iTunes latest version I have had nothing but problems. I keep getting this error message on trying to install the upgrade for iTunes, and now I cannot even use iTunes:
    iTunes could not be installed because Visual Basic Script (VBscript) is not installed or has been disabled. Make sure VBscript is installed, turn off script blocking in anti-virus and personal firewall software, re-register VBscript, and then install iTunes.
    I have no idea what that message means and I need step by step directions on how to find out of perform whatever that message means.
    Your help would be GREATLY appreciated.
    Dell Optiplex   Windows Vista   VISTA for Business

    even though the following document refers to XP rather than Vista, it's still worth a crack on a Vista box:
    iTunes and QuickTime for Windows cannot be installed without Visual Basic Script (VBScript)

  • Need help in XSLT transformation

    Hi,
    I need to transform below input XML to output XML. Can you please provide any ideas for this
    Input XML :
    <?xml version="1.0" encoding="UTF-8" ?>
    <GenericCollection ParamValue="ParamValue1" xmlns="http://www.example.org">
    <Generic>
    <store>Store1</store>
    <metricName>Metric1</metricName>
    <metricValue>1</metricValue>
    </Generic>
    <Generic>
    <store>Store1</store>
    <metricName>Metric2</metricName>
    <metricValue>1</metricValue>
    </Generic>
    <Generic>
    <store>Store2</store>
    <metricName>Metric1</metricName>
    <metricValue>1</metricValue>
    </Generic>
    <Generic>
    <store>Store2</store>
    <metricName>Metric1</metricName>
    <metricValue>2</metricValue>
    </Generic>
    <Generic>
    <store>Store2</store>
    <metricName>Metric2</metricName>
    <metricValue>1</metricValue>
    </Generic>
    <Generic>
    <store>Store3</store>
    <metricName>Metric1</metricName>
    <metricValue>1</metricValue>
    </Generic>
    <Generic>
    <store>Store3</store>
    <metricName>Metric1</metricName>
    <metricValue>2</metricValue>
    </Generic>
    </GenericCollection>
    Output XML :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ns4:EnterpriseDocument>
    <ns4:DataSet>
    <ns4:Dimension ref_name="bu_code" value="Store1">
    <ns4:Metric ref_name="Metric1">
    <ns4:Data value="1"/>
    </ns4:Metric>
    <ns4:Metric ref_name="Metric2">
    <ns4:Data value="1"/>
    </ns4:Metric>
    </ns4:Dimension>
    <ns4:Dimension ref_name="bu_code" value="Store2">
    <ns4:Metric ref_name="Metric1">
    <ns4:Data value="1"/>
    <ns4:Data value="2"/>
    </ns4:Metric>
    <ns4:Metric ref_name="Metric2">
    <ns4:Data value="1"/>
    </ns4:Metric>
    </ns4:Dimension>
    <ns4:Dimension ref_name="bu_code" value="Store3">
    <ns4:Metric ref_name="Metric1">
    <ns4:Data value="1"/>
    <ns4:Data value="2"/>
    </ns4:Metric>
    </ns4:Dimension>
    </ns4:DataSet>
    </ns4:EnterpriseDocument>
    Thanks,
    Ramesh

    Hello Ramesh,
    Nice puzzle
    For this you need a transformation with XSLT 2.0. Use a two level grouping. First group on the store elements and the second on the metricName elements.
    Transformation looks like this:
    <?xml version="1.0"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
             <EnterpriseDocument>
                 <DataSet>
                     <!-- First group on the store elements
                          Each store will be grouped based on the element value
                     -->
                     <xsl:for-each-group select="/*[local-name() = 'GenericCollection']/*[local-name() = 'Generic']" group-by="./*[local-name() = 'store']">
                         <!-- For each store a Dimension element is needed -->
                         <Dimension ref_name="bu_code" value="{./*[local-name() = 'store']}">
                             <!-- Within a Dimension we need to group by metricName -->
                             <xsl:for-each-group select="current-group()" group-by="./*[local-name() = 'metricName']">
                                 <Metric ref_name="{./*[local-name() = 'metricName']}">
                                     <!-- Iterate over the metricName nodes and create a Data element -->
                                     <xsl:for-each select="current-group()/*[local-name() = 'metricValue']">
                                         <Data value="{.}"/>
                                     </xsl:for-each>
                                 </Metric>
                             </xsl:for-each-group>
                         </Dimension>
                     </xsl:for-each-group>
                 </DataSet>
             </EnterpriseDocument>
         </xsl:template>
    </xsl:stylesheet>
    Good luck!
    Regards,
    Melvin

  • Need help in Message Mapping

    Hi Folks,
    I have below Query. Can you please suggest how do i solve below case.
    My source system has 4 fileds A , B, C, D and the target system has 1 Filed TOTAL.
    I have to concatenate all the 4 source fields by using slash(/) and placed in TOTAL target field.
    i need output has A/B/C/D.
    but here is my Query?  if any one of the field is not present in source field i.e. if source B filed is empty then I have to print Output has  A/C/D.
    NOTE:  there is no empty slashes for B.
    Please help me on this issue.
    Thanks,
    Enivass

    Hi Supriya,
    Actually I didnot get ur mapping shot
    Can u tell me some more briefly plzzz
    I tried blow
    A
             concat  -
    >    trim -
    > then what i have to use.       
    Thanks,
    Enivass
    Edited by: enivas on Oct 20, 2010 9:47 AM

  • Need help on message mapping

    Hi,
    Need ur help on below situation.
    I have input file structure as
    - <G_SPO1>
    - <S_PO1>
      <D_350>0001</D_350>
      <D_330>6</D_330>
      <D_355>EA</D_355>
      <D_212>151</D_212>
      <D_235>VC</D_235>
      <D_234>40421-821/1920-02</D_234>
      <D_235_2>SK</D_235_2>
      <D_234_2>427Y73226</D_234_2>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325940</D_127>
      </S_REF>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325957</D_127>
      </S_REF>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325964</D_127>
      </S_REF>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325971</D_127>
      </S_REF>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325988</D_127>
      </S_REF>
    - <S_REF>
      <D_128>SU</D_128>
      <D_127>0060325995</D_127>
      </S_REF>
    - <S_REF>
      <D_128>CR</D_128>
      <D_127>WHITEHOUSE,RYAN</D_127>
      </S_REF>
    </S_PO1>
    </G_SPO1>
    I need to map D_127 elements to target field.
    here i need to check conditions.
    IF D_128 = SU then only i need to map D_127 to target field. otherwise ignore that record.
    Plzz let me know how would i map thid field to target field.
    Thanks,
    Singh.

    Lakshmi,
    for PO1 first element is 0001 i need output as
    0060325940
    0060325957
    0060325964
    0060325971
    0060325988
    0060325995
    for next PO1 first element is 0002 then i need output as
    0070325940
    0070325957
    0070325964
    These below fields are present in input file. the above file i mentioned only for PO1 first element D_350 = 0001.
    Presnetly i am geting output as
    0060325940
    0060325957
    0060325964
    0060325971
    0060325988
    0060325995
    0070325940
    0070325957
    0070325964
    but i need to differentiate this output as separate based on D_350 = 0001.
    finally required output is
    if PO1 1st element D-350 = 0001
    then output is
    0060325940
    0060325957
    0060325964
    0060325971
    0060325988
    0060325995
    if PO1 1st element D_350 = 0002
    then
    0070325940
    0070325957
    0070325964
    Plzzzz let me know.
    Thanks,
    Singh.

  • Need help creating message in HTML Standard Editor Item

    Hi,
    I have a requirement in which from page 1 using javascript I have to create a message with link into the HTML Editor Item on the different page on different application.
    everything works fine except when i compose a message which has a link eg. http://www.yahoo.com, it cuts off at http .
    please help me creating and passing link using javascript.
    Thanks,
    --K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This is a problem with passing a colon, see here for some solutions:
    problems when copying item from a page to another one
    passing string with a colon in it via a url

  • Need help on xslt transformation

    Hi ,
    I am working on a xslt transformation and  I am finding it difficult to implement the transformation. The scenario is as below.
    Input format :-
    A
    B
    B
    B
    4
    5
    A
    B
    B
    A
    B
    B
    B
    Output format :-
    A
    B
    B
    B (since after A there were 3 B’s before the next A)
    A
    B
    B(since after A there were two B’s before the next A)
    A
    B
    B
    B
    I don't need type 4,5 records in the output xml,output should have repetition of (A followed by B’s(till the next occurrences of A)).
    if some one encountered a similar transformation kindly let me know.

    Hi,
    You can use "Call" and "Apply" template.
    1st thing to do:
    e.g.
    <xsl:template name="Check_Decimal">
        <xsl:param name="Xpath"/>
        <xsl:choose>
          <xsl:when test="($Xpath) and ($Xpath)!='4'">
            <xsl:value-of select="$Xpath"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="' ' '"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
                <xml_Target_Element_1>
                  <xsl:call-template name="Check_Decimal">
                    <xsl:with-param name="Xpath"
                                    select="/x/y/z/xml_Target_Element_1"/>
                  </xsl:call-template>
                </xml_Target_Element_1>
    This means, it will display the value in xpath if value is not equal to 4. And if it is equal to 4, it displays nothing.
    2nd thing to do:
    Apply for-each to xpath till the String element reaches to "A".
    Regards,
    Richa

  • Need help with XML TRANSFORMATION dump

    HI Experts ,
    I want to parse this XML file to abap internal table ,i use the ST below and i get  dump .
    The file is like that :
    <Containers>
         <Container workitemid="0000001" IsParent="X">
              <Element name="__INITIATO" value="U295"/>
              <Element name="_W_PRITY" value="5"/>
              <Element name="_F_VERSION" value="0000"/>
    </Container>
    <Container workitemid="0000001">
              <Element name="EXTENDED" value="X"/>
              <Element name="NOTE_REFERENCE" value=""/>
         </Container>
    </Containers>
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_ST_MATCH_ELEMENT', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    XML matching error
    Expected was element-end: "Containers" [ ] Read was element-start: "Container"
    this is the ciode that i put on the call transformation
    <Containers>
        <Container>
            <tt:loop name="a" ref=".XML_TAB">
            <Element >
              <tt:attribute name="name" value-ref="$a.name"/>
              <tt:attribute name="value" value-ref="$a.value"/>
              </Element>
              </tt:loop>
            </Container>
        </Containers> ->**the dump in the debugger is here .**
      </tt:template>
    </tt:transform>
    the dump is because i don't refer to the </Container> in the middle
    and when i try to add the tag container in the middle i get warning during complition
    any idea please im stuck
    Best Regards
    Chris
    Edited by: Chris Teb on Aug 14, 2009 6:25 PM

    I guess you'll better understand with the solution I found:
    Simple transformation:
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="XML_TAB"/>
      <tt:template>
        <Containers>
          <tt:loop name="b" ref=".XML_TAB">
            <Container>
              <tt:loop name="a" ref="$b.T_DATA">
                <Element>
                  <tt:attribute name="name" value-ref="$a.name"/>
                  <tt:attribute name="value" value-ref="$a.value"/>
                </Element>
              </tt:loop>
            </Container>
          </tt:loop>
        </Containers>
      </tt:template>
    </tt:transform>
    Program :
    data itab1 type string.
    concatenate '<Containers>'
    '       <Container workitemid="0000001" IsParent="X">'
    '   <Element name="__INITIATO" value="U295"/>'
    '   <Element name="_W_PRITY" value="5"/>'
    '   <Element name="_F_VERSION" value="0000"/>'
    '</Container>'
    '<Container workitemid="0000001">'
    '   <Element name="EXTENDED" value="X"/>'
    '   <Element name="NOTE_REFERENCE" value=""/>'
    '       </Container>'
    '</Containers>'
    into itab1.
    TYPES: BEGIN OF ty_data,
         name TYPE string,
         value TYPE string,
    END OF ty_data.
    DATA: lt_data TYPE TABLE OF ty_data.
    TYPES: BEGIN OF ty_data2,
         workitemid TYPE n LENGTH 7,
         isparent   TYPE flag,
         t_data     TYPE TABLE OF ty_data WITH DEFAULT KEY,
    END OF ty_data2.
    DATA: lt_data2 TYPE TABLE OF ty_data2.
    DATA lo_st_error TYPE REF TO cx_st_error.
    DATA message TYPE string.
    TRY.
    CALL TRANSFORMATION zext_file
            SOURCE XML itab1
            RESULT xml_tab = lt_data2.
      CATCH cx_sy_conversion_data_loss .
    * do something
      CATCH cx_st_error INTO lo_st_error.
        message = lo_st_error->get_text( ).
        WRITE:/ message .
    ENDTRY.
    By the way, I don't know what ITAB1 is in your case, it was more simple in my case to define it as a string. Anyway, if it's something else, it should work the same.

Maybe you are looking for