02-03-2010 12:30 PM
Dear experts,
I am using BAPI -- 'HR_MAINTAIN_MASTERDATA' to maintain infotype 8(Basic pay).
I debugged the code. The data is coming in IT (that is of type PPROP) from my text file. But it gives runtime error in the FM saying --
"Runtime error CONVT_NO_NUMBER has occurred"
Please guide,
Sumit.
02-03-2010 12:42 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:34 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:35 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:36 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:36 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:37 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:37 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:38 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:38 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:38 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:40 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:40 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:40 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:40 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:40 PM
I'd look at the input....I think you have alpha character(s) in what should be a numeric field...compare your input layout and content to the BAPI input tables, structures.... The dump (transaction ST22) may also give you some guidance as to which field...
02-03-2010 12:42 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:42 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:42 PM
Hi
Did you ensure the right data (type) is passed to the input parameters of FM?
Can you post your code?
Regards
Raj
02-03-2010 12:42 PM
sorry, unintentional double post.
Edited by: Dave L on Feb 3, 2010 1:43 PM
02-03-2010 12:43 PM
A forum search for 'CONVT_NO_NUMBER' should give you some ideas...essentially, however, you have alpha characters in a numeric field...this could have occurred from overflow (SAP might have converted left digits to *), punctuation marks, like $,. in the input, or just an error in the input file. The dump (transaction ST22) may be useful for determining field content and fieldname at the time SAP determined whether or not the field was numeric...
02-03-2010 12:50 PM
hi,
I checked in ST22. It says unable to interpret 4B as a number. Now I went to transaction PA30 and checked it's possible values. There were only 2- 8A and 8B. so I changed it to 8B. But still gives same error, as unable to interpret 8B as a number.
This is my int table while debugging--
line infty(c4) fname(c132) fval(c255) seqnr(n2)
1 0008 P0008-PERNR 40083005 00
2 0008 P0008-BEGDA 01012010 00
3 0008 P0008-ENDDA 31129999 00
4 0008 P0008-TRFAR A1 00
5 0008 P0008-TRFGR ASST.GM 00
6 0008 P0008-TRFST MA 00
7 0008 P0008-BSGRD 8B 00 " here is my 8B
8 0008 P0008-TRFGB 10 00
9 0008 P0008-DIVGV 01 00
10 0008 P0008-ANSAL 192 00
11 0008 P0008-ANCUR 18437 00
12 0008 P0008-WAERS INR 00
13 0008 P0008-LGA01 INR 00
14 0008 P0008-BET01 4000 00
15 0008 P0008-LGA02 4657 00
if fval is of c255, why doen it interpret it's fields as a number?
02-03-2010 1:05 PM
Hi all,
I found the incosistency in the data. The user had given it wrong. Now my FM gets executed successfully. SY-SUBRC is also 0. But in PA 30, the data is not shown.
Sumit
02-04-2010 3:11 AM
Thanks all!!
Problem solved. Inconsistency in data was found. Now the data is being updated successfully.
Reagrds,
Sumit
02-04-2010 9:20 AM
Surely all you need to do is debug the code when it steps into the calling of the FM and once you're in, if you get that far, then just check all the data structures passed in. Is it not that simple?.
Jas
02-04-2010 9:21 AM
Surely all you need to do is debug the code when it steps into the calling of the FM and once you're in, if you get that far, then just check all the data structures passed in. Is it not that simple?.
Jas