Problem doing ASSING.....CASTING TYPE (dbtype)

Hi everybody, i have a problem with a dinamic movement. I explain it below.
I want to copy HR Data with a Function Module with Destination parameter.
I build a table type PRELP with all the personal data with all the infotypes (PA)
In my Target System i do this:
**DECLARATIONS
field-symbols: <fs>    type any.
LOOP        at PRELP_T into PRELP_WA.
ASSING PRELP_WA to <fs> CASTING TYPE (PRELP_WA-infty)
"PRELP_WA-infty is like 'PA0001' For example.
MODIFY (PRELP_WA-infty) from <fs>
ENDLOOP.
If the <fs> contains fields like type DEC, when i move data with ASSING, this fields are fill like:
<0.0, or <0.3, or <3........rare characters.
In MODIFY sentences, programa return me a DUMP, I supose is becose this characters.
PS: if i modify in debug mode this DEC fields, and change <0.0 with 2 (For Example) it runs correctly.
I hope yo could help me
cheers
Edited by: Miguel Ortega on Jun 16, 2009 12:00 PM

Hi,
Did you create your destinations in your application server? It seems that the destinations such as topics and queues are not created. First you should create them and then start using them.
For example, in here, it says that jndi/Topic is not valid. To check if the destinations are valid or not; you can do it either through the graphical user interface or the command line console.

Similar Messages

  • Problem Assing Message Type to RFQ

    Hello.
    When I create an RFQ, and then I assing Output type NEU to print, the system create the RFQ without the Output type. 
    Basically create the RFQ without Output type, like if a never tried before.
    I reviewed my configuration and Output Type NEU is assigned to RFQ.   I think is maybe I miss some security parameter.
    Please I appreciate any help.
    Regards,
    Hector

    check the following config
    SPRO-MM-Purchasing--Messages-Form-Assign for and output program for RFQ,
    SPRO-MM-Purchasing--Messages-output comtrol-message type-define message type for RFQ
    Messate determination schema for RFQ
    and MN01
    the above config and MN01 has to be maintained to have this for RFQ.
    Than check security (authorization) using tcode SU53 in ME41 tcode

  • Wht does it mean - "ASSIGN it_DB_TBL_name TO fs1 CASTING TYPE x"?

    Hi Experts,
    Just curious,
    Pls. let me know that, Wht is the functionality of the following statement:
    ASSIGN it_DB_TBL_name TO <fs1> CASTING TYPE x
    thanq

    ASSIGN feld TO <fs> CASTING TYPE type.
    ASSIGN feld TO <fs> CASTING TYPE (typename).
    ASSIGN feld TO <fs> CASTING LIKE fld.
    ASSIGN feld TO <fs> CASTING DECIMALS dec.
    You can use ASSIGN ... CASTING to treat the contents of a field as a value of another type using a field symbol. One application for this statement would be to provide different views on a structure with casts on different types.
    One wide-spread ABAP technique is to use C fields or structures as containers for storing structures of different types that are frequently only known at runtime. The components of the structure are selected with offset/length accesses to the container. Since this technique no longer works with Unicode, you can also look upon an existing memory area as a container with the suitable type definition using a field symbol with the ASSIGN ... CASTING statement. In the next example, a certain field of database table X031L is read, whereby the field and table names are only defined at runtime.
    Example:
    * Read a field of table X031L
    PARAMETERS:
      TAB_NAME    LIKE SY-TNAME,             "Table name
      TAB_COMP    LIKE X031L-FIELDNAME,      "Field name
      ANZAHL      TYPE I DEFAULT 10.         "Number of lines
    DATA:
      BEGIN OF BUFFER,
        ALIGNMENT TYPE F,                    "Alignment
        C(8000)   TYPE C,                    "Table contents
      END OF BUFFER.
    FIELD-SYMBOLS:
      <WA>   TYPE ANY,
       TYPE ANY.
    * Set field symbol with suitable to buffer area
    ASSIGN BUFFER TO <WA> CASTING TYPE (TAB_NAME).
    SELECT * FROM (TAB_NAME) INTO <WA>.
      CHECK SY-DBCNT < ANZAHL.
      ASSIGN COMPONENT TAB_COMP OF STRUCTURE <WA> TO .
      WRITE: / TAB_COMP, .
    ENDSELECT.
    Until now, in the ASSIGN feld TO <f> CASTING ... statement, the system checked to ensure that the field was at least as long as the type that was assigned to the field symbol, <f>. (Field symbols can either be typed at declaration or the type specified in an ASSIGN statement using CASTING TYPE). The syntax check is now more thorough. Now, you can only assign the field field (in either a Unicode or non-Unicode program)
    provided it is at least as long as the type assigned to the field symbol <f>. Otherwise, the system returns a syntax error. At runtime, the system only checks to see whether or not the lengths are compatible in the current system (as before).
    If the field type or field symbol type is a deep structure, the system also checks that the offset and type of all the reference components match in the area of field that is covered by <f>. The syntax check is now more thorough. Now, the system checks that these components must be compatible with all systems, whether they have a one-byte, double-byte, or four-byte character length. At runtime, the system only checks to see whether or not the reference components are compatible in the current system
    In Unicode systems, in the ASSIGN str TO <f> TYPE C/N and ASSIGN str TO <f> CASTING TYPE C/N statements, the length of str may not always be a multiple of the character length, in which case the program terminates at runtime.

  • ERROR ITMS-9000: "File given does not match type JPEG ... Image is likely corrupt

    Hi ALl,
    On compliing my book  get these errors with ITunes producer...I've resaved the files out with photoshop and they seems fine?
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/Umran/Music/iTunes Producer/Playlists/9780957408654.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780957408654.itmsp
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1cf629f[userString=An unknown error occured while parsing. Image is likely corrupt.  Exception message: null]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1801285[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@1e056e9[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@11d58e0[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues: ; Error=com.apple.jingle.leghorn.fileformat.ValidationError@127c00e[userString=We reached the end of the file before we expected. Image is likely corrupt]" at Book (MZItmspBookPackage)
                        ERROR ITMS-5107: "VirtualLandscapesTheModernEra20002012.epub: Fixed-layout books must supply a text or bodymatter starting location in the guide." at Book (MZItmspBookPackage)
    Any advice??? Hope someone can help!

    iBookstore Publisher Support send me a fast response email which included some helpful info:
    Please make sure that all image files inside the ePub end with one of the following: ".tif", ".jpg", or ".png" and that the file itself matches the file extension type. To check if the image file matches the file extension type, please right click on the image then select "Get Info". Once the info tab appears, please make sure that the file extension type of the image file matches the "Kind" found under "General".
    For further information regarding embedded images, please refer to the iBookstore Asset Guide, which is available for download in the Deliver Your Content module in iTunes Connect.
    And they INCLUDED THE TRANSPORTER LOG (!), the log generated by iTunes Producer as it tries to upload a book. We were able to search for the Validation Error # within the log and find out which image Producer was trying to upload when it encountered an error. Turns out the problem was a corrupted screenshot jpeg.
    Grateful!

  • Acrobat Reader 9 does not display Type 3 fonts correctly

    Acrobat Reader 9 does not display Type 3 fonts correctly for quite a few of our older, PDF version 1.2 PDF files in our products, where normal Acrobat or Digital Editions show no such problem. It only shows the bottom part of the glyphs but then shifted to the top of the glyph area.
    Files available for test/reference upon request.
    Rob van Fucht
    Elsevier

    Hmm, this cannot be, as this is legacy material from 1997. There is no way that this can be changed using Type 1 or OTF fonts other than retypesetting everything from scratch, I fear, and that will be just too much expensive work. Interestingly, Acrobat Reader 8 and the latest Adobe Digital Editions display these PDFs correctly, so I have no alternative other than assume that the changes in the font rendering mechanism in Reader 9 are responsible for this. I am checking these files with Acrobat 9 Professional shortly...
    Rob

  • Error: Sequence does not match type xs:string

    I am using BDB XML 2.5.16 to store and query my XML  documents in Java. The documents are IMDB xml documents containing actors information
    obtained from INEX website https://inex.mmci.uni-saarland.de/login.jsp.  One of  the document I stored in the database is the following
        <?xml version="1.0" encoding="UTF-8"?>
         <persons>
          <person>
              <name>jason angeles
              </name>
              <filmography>
                 <act>
                    <movie>
                       <title>prison planet 3 the revenge 1998
                        </title>
                      <year>1998
                      </year>
                     <character>evil ninja
                      </character>
                   </movie>
                 </act>
              </filmography>
             </person>
             </persons>
    I want to  search using XQuery  for filmography element whose title element contains ANY of the following keywords ('planet', 'revenge', '1998'). Below is the query I used
                  // declaring function functx:contains-any-of
                String qryRk = "declare namespace functx = 'http://www.functx.com'; " 
                      + "declare function functx:contains-any-of "
                     + "( $arg as xs:string?" + " , "  + " $searchStrings as xs:string* )  as xs:boolean { "
                     + "some $searchString in $searchStrings "
                    +  " satisfies contains($arg,$searchString)} ; ";
                 String myQuery101 = qryRk + "for $entity in collection('simpleExampleData2.dbxml')//filmography "
                      + "where functx:contains-any-of ( $entity/act/movie/title ,  ('planet', 'revenge', '1998'))"
                      + "return $entity";
    When I  execute the query  i  expect to get at least get the following element as mu output
                           Document : person_31000.xml:
                        <filmography>
                               <act>
                                     <movie>
                                     <title>prison planet 3 the revenge 1998
                                    </title>
                                    <year>1998
                                    </year>
                                   <character>evil ninja
                                   </character>
                                  </movie>
                               </act>
                             </filmography>
    However instead of the above element i got the  following Error
                                 Exception in thread "main" com.sleepycat.dbxml.XmlException: Error: Sequence does not match type xs:string? - the sequence contains more than one item [err:XPTY0004], <query>:1:343, errcode =               
                                  QUERY_EVALUATION_ERROR
                                      at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_query__SWIG_0(Native Method)
                                      at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:544)
                                     at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:320)
                                     at xmlirsystemstruxplus.XQueryEngine.queryEngine(XQueryEngine.java:269)
                                     at xmlirsystemstruxplus.XMLIRSystemStruXplus.main(XMLIRSystemStruXplus.java:109)
                                     Java Result: 1
        Note that i used  contains-any-of() function because the contains () function does not work with  'planet revenge 1998' string may be because the keywords do not appear in the order they appear in the element content.
       Please  can any body help me to find out  (1) why i have the  above error ? and solution  (2)  why  the condition contains  ( $entity/act/movie/title ,  'planet revenge 1998') is not working ? how do i use contains() function w.r.t this
    Thank you in advance
    Message was edited by: RokoA 19/01/2015  by RokoA

    Using the shell dbxml in both 2.5 and 6.0 I created a container and put the document example you gave into it.  Then I executed the following query:
    [code]
    declare namespace functx = 'http://www.functx.com';
    declare function functx:contains-any-of ( $arg as xs:string?, $searchStrings as xs:string* )  as xs:boolean {
    some $searchString in $searchStrings
    satisfies contains($arg,$searchString)
    for $entity in collection('simpleExampleData2.dbxml')//filmography
    where functx:contains-any-of ( $entity/act/movie/title ,  ('planet', 'revenge', '1998'))
    return $entity
    [/code]
    And got the results you expected instead of an error.
    Since you are using the Java API it is possible the problem is in how you configured and executed the query, instead of in the query itself.  If you could post an example program or code section that produces the error, then I can continue you help you with this.
    Lauren Foutz

  • ERROR ITMS-9000 "File given does not match type JPEG....

    I'm trying to upload our iBook. I first did an export outside of publish, then did publish and reloaded everything under the .itmsp file publish created. About 10 minutes into the upload, I received a message that read:
    1 Apple's web service operation was not successful.
    2 Unable to authenticate the package ISBN#...:itmsp
    3: ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@387eb9b2[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    4 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@6bad662[userString=Thi s file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    5 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@450fcee3[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    6 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@69c736ea[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    7 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@15e672e7[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    8 ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@4c812a6ec[userString=T his file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    9ERROR ITMS-9000: "File given does not match type JPEG Image because of these validation issues:
    Error=com.apple.jingle.leghorn.fileformat.ValidationError@54180fd6[userString=Th is file does not start with a start of image marker.] at Book (MZitmspBookPackage)
    Any suggestions would be greatly appreciated.

    I had done screen shots on the iPad and then emailed them to my Mac. I then worked to cut the black bar off the top, but some how Photoshop wasn't saving them correctly. I couldn't even reopen them in PS. So, I downloaded them again, went back in, saved them as .jpegs and then reuploaded.  That solved it.  It was quite bizarre. 
    Now trying to get the description listing right in the iBookstore.
    I wrote the piece out, I thought in TextEdit.  Then pasted it into the box in iTunesProducer. When I was getting the error message above, it also was saying that there's a 4,000-character limit. So, I copied it into Pages and did a character count and saw 3,887.  I still had to cut about 500 chactacters out.  Support responded and said I was still very close to the limit, so I don't know what it was they were counting. My Pages counter said it was close to 3,300....
    My problem now is that they have bullet points on lines with no text now.  They've fixed it from how it was first diplaying.  So, I'm trying to get that cleaned up.  It's their fault, but it looks like me, the publisher, is the one who is clueless......
    Here's the link to our iBook!
    http://itunes.apple.com/us/book/2012-science-prophecy-ancient/id555557425?mt=11

  • In condition records section Search help problem at one data type

    hi there,
    we are upgrading 4.6c version to ecc 6.0 past january. but in
    vk11/vk12/vk13 condition master records sections, we have a problem for
    one data type search help. when we want to join sales deal code to sales
    detarmination condition, at one tables rows type price list (data type =
    pltyp_d) does not allow f4 (search help).
    thanks your interesting.
    Sinan Alt&#305;ner
    Betek Boya ve Kimya Sanayi A.&#350;.
    SAP CONSULTANT / ABAP Developer

    Hi surya,
    I per your suggestion i did like this ,
    data : date1 like sy-datum.
    types : w_date1 type sy-datum.
    date1 = w_date1(ztable-date1). "ztable-date1 - is screen field.
    but it is giving error "The field "W_DATE1" is unknown, but there is a field with the similar name "DATE1" . . . ."
    actually that value is coming after triggering PBO event but i want that value in at time of calling F4 help at that screen filed
    suppose on screen the fields like
    date : 30.08.2008.
    matnr : ( .............F4 )  '".....on this field when i m pressing F4 that time only that above date materials should come as per my first query see my first thread.
    thanks,
    Sanket.

  • Problem with ENTITY FX TYPE in Currency Conversion

    Hi Experts,
    I have a problem regarding currency translation. I tried to use the property FX_TYPE so as to use the value in this as filter in the ENTITY FX TYPE field of the currency conversion table. I want some rules to apply only to specific entities so I used this filter but what seems to be happening is that I doesn't seem to filter it. It still applies to other entities as well thus I get wrong translation. I validated it by removing all other rules except for the ones that's being used by the entity I am analyzing and my values translation is OK but when I put the other rules again, which I have already filtered to run on specific entities only using the FX_TYPE property, my translations are wrong again. Does ENTITY FX TYPE really work or I'm just missing some set up?
    Thanks,
    Marvin

    Hello Martin,
    Could you solve this issue, Im having the same problem.
    Im trying to use this functionality but it seems that it does not apply the filter. When I run the currency convertion it stills run the business rule I have configure for all the other entities.
    Best regards,
    Aldrin Liendo

  • Why narrow casting is must before doing wide casting

    Hi everyone,
    I know the concept of wide casting ( assign/pass super class instances to subclass instances). So then why we need to do narrow casting before doing wide casting in our logic. I am just struggling into this concept from last 3 days. I have read many thread and blog but did not get satisfactory answer.
    Regards,
    Seth

    Hello Seth
    You do not need to do narrow casting. But, if you assign an instance of a super class to variable of subclass and try to run a subclass' method on that instance (of superclass) you will get an exception. Because super class does not have a mentioned method.
    Example:
    CLASS lcl_vehicle DEFINITION.
    ENDCLASS.
    CLASS lcl_car DEFINITION INHERITING FROM lcl_vehicle.
      DATA engine TYPE string VALUE 'has_engine'.
    ENDCLASS.
    DATA:
      lo_vehicle TYPE lcl_vehicle,
      lo_car TYPE lcl_car.
    CREATE OBJECT lo_vehicle.
    CREATE OBJECT lo_car.
    WRITE lo_car->engine.
    lo_car ?= lo_vehicle.
    WRITE lo_car->engine.
    regards

  • Does IVI Step Type support NI PXIe-4112?

    Hello, Guys
    I have a PXIe-4112 and four of PXI-4130. When I try to configure my PXIe-4112 with the PowerSupply IVI Step Type, an error occurred.
    An error occurred calling 'RunStep' in 'ISubstep' of 'zNI TestStand Ivi Step Types'
    An error occurred while executing the step.
    Component Works IVI Control Error: The IVI Configure operation failed for logical name '4112'.
    Details: Attribute or property not supported. Attribute: NIDCPOWER_ATTR_OVP_ENABLED, Channel: 0 [IVI Error Code:  BFFA0012]
    Source: TSIviStepTypes
    Surely I disabled the 'OVP Enabled' check box at the Edit IVI Power Supply Step Dialog. My system configuration is,
    IVI Compliance Package 4.6
    NI-DCPower 1.8.6
    NI TestStand 2012 SP1
    My PXI-4130s are working well with the IVI Step type. Does IVI Step Type support NI PXIe-4112? Or am I doing something wrong about it?
    Regards,
    Joonam
    CTA, CLA
    SuninCNS
    Solved!
    Go to Solution.
    Attachments:
    4112.png ‏17 KB

    Hi Joonam,
    The PowerSupply IVI step will not currently work with the 4112.  
    The 4112 does not support OVP.  If the NIDCPOWER_ATTR_OVP_ENABLED attribute is set to True, the error that you described is expected.  If it is set to False, no error should be generated.  However, an error is generated when it is set to false.  This is incorrect behavior in the driver and has already been documented under Corrective Action Report (CAR) #437105.  This issue will likely be rectified in a future version of NI-DCPower.
    The PowerSupply IVI step is hard-coded to set the attribute to true or false, based on the value of the check box in the Limit tab.  The workaround to this problem is to replace your PowerSupply IVI step with a step based on a code module that doesn't try to set the OVP_ENABLED attribute at all.
    I apologize for any trouble that this has caused you.  Let me know if you would like any further clarification.
    Regards,
    Jared R.
    Precision DC Product Support Engineer
    National Instruments

  • Type Tool does not select type by double clicking or click and drag. (Windows CS 5 V15.1)

    Hi,
    My Type Tool does not select type by double clicking or click and drag. (Windows CS 5 V15.1). This is what I have tried so far and the problem still exists.
    Check preferences for "Text": "Select text-object by path only" should be off. Checked. It was off. Didn't fix it.
    Check the toggle for Show/Hide Edges in the View menu. Cmd(Ctrl)-H. Checked. Edges Showing. Didn't fix it.
    Trashed my Prefeerences. Didn't fix it.
    Any other suggestions out there?
    Thank you!!!

    I figured it out! I feel pretty silly, but I will share this in hopes of helping the next person :/ Here goes. Don;t laugh to hard!
    It was the leading! The space between the two lines of text was less than half of the point size of the actual text. So it looked like two lines but there was actually 3.
    Geeze, I'm embarrassed! Thank you for suggesting that I may not need to recreate the entire document, but start with the text, input manually again (even on a new layer, to match the original), which lead to a fix!
    Thank you!!!

  • I am looking to make the switch from pc to mac and have been eyeing the MBP 13". I would like to know whether it is fine to add RAM and SSD myself? any compatibility or warranty problems? what brand/type of RAM and SSD is the best fit? thank you.

    i am looking to make the switch from pc to mac and have been eyeing the MBP 13". I would like to know whether it is fine to add RAM and SSD myself? any compatibility or warranty problems? what brand/type of RAM and SSD is the best fit? thank you.

    Chamar wrote:
    I'm possibly wrong here but I suspect opening a brand new MBP to add parts yourself will void the warranty.  It is probably in the small print.  I certainly would not risk it for an expensive Apple product.
    Some (Windows) laptops have easy access to memory and disk slots that do not necessitate taking the complete back cover off.  However, Apple does not make life easy for you.
    However, if you are going for a 'used' machine it is probably worth a try.
    Not possibly, definitely wrong, Ram and Hard Drive are considered user replaceable and will not void the warranty if changed.

  • Problem doing a chart

    hi!
    I have a problem doing a chart, I have three columns: I have dimension department in X Axis and I have two measure columns.
    I have a view selector with each measure so...I have two charts. My problem is that I have to apply a filter and I need to show only departments that has a value more than 0. How can I apply this filter?
    If I apply a filter in answers two charts has the same departments and isn't true because each measure has different departments...
    Can you help me??
    Thanks!!!

    Hello!
    I know this type of filter.
    In my fx formula I have this code:
    FILTER(IFNULL("- Actual".Value, 0) USING ("Dim Concept".Concept = 'Number of Ships'))
    Then I have another column (Department) and I have to do a chart.
    I want to see only departments that has my first column > 0, but I have to apply this filter inside of my column because I have another columns with another concept...
    I mean, If I choose on my view selector Measure 1 I can see for example: 10 departments on X AXIS of my chart and If I choose Measure 2 in my view selector...I should see for example only 7 because another has 0 value...
    Is possible to get this???
    Thanks!!

  • Language-dependent text does not exist: TYPE=REP KEY1=SAPLRRSV KEY2=757 LAN

    Hi all,
    We have just installed and configuired the EP . I have craeted one user id in EP with roles bi . But when iam trying to go to Bex Web Analyser Iam getting
    Language-dependent text does not exist: TYPE=REP KEY1=SAPLRRSV KEY2=757 LANG=
    Could any me in this regard.
    Thanks in Advcne..

    Hi Niyati,
    The problem might be due to the support stacks for ABAP and for Java being out of sync i.e. they have to be on the same patch level. If you run program RSPOR_SETUP (via SE38) and enter the relevant details for checking the portal setup, this will detail all the errors.
    Regards,
    Vinoth.M

Maybe you are looking for