Skip to Content
author's profile photo Former Member
Former Member

Unable to interpret 20003000.2>0 as a number

Hi Experts,

I am uploading materials in the ECC system using a Z program by uploading a text file containg the maerials and details. These materials should be getting replicated to CRM. However, I saw that some materials are throwing an error "Unable to interpret 20003000.2>0 as a number" in the CRM system. However, I cannot see any such number in the text file. After debugging I could see that for one particular line in a variable , 20003000.2>00020002000.2000.0(gv_cursor-length) to pc_data. in this case, the GV_CURSOR-LENGTH is 12 and the value moved to pc_data becomes 20003000.2>0 is not recognised as a number.

The name of the runtime error is "CONVT_NO_NUMBER". The part of the code where the error appears in include LCXMP_UCF01 is:

form xml_r3a_map_packed using pi_tag type ty_xmltagopt
changing pc_data type p
value(po_status) like sy-subrc.
* IF ( pi_tag-length = 0 ).
move <gxml>(gv_cursor-length) to pc_data. ---------------->this is the point where the error occurs
clear po_status.
* ELSE.
* po_status = gc_status_len0.
* ENDIF.
endform.

Has anybody come across such a problem with the GXML data before?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 24, 2012 at 05:23 PM

    Hi Madhu,

    We have once encountered the same issue.

    Instead of IF ( pi_tag-length = 0 ) Use IF pi_tag-length is Initial.

    Hope it works.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.