2010 Feb 26 2:02 PM
Hi Guys,
field symbol: <new_entry> type standard table.
data: i_temp type table of BAPIXMSPOW .
I have created a field symbol which stores the table entries. When the user tries to maitain any table i am tracking the changes made into the filed symbol. The field symbol is a dynamic structure based on the table entered by the user.
I am passing the records in filed symbols to another table ( i_temp ) of type BAPIXMSPOW ( char 4096 ).
Dump occurs when a decimal value is encountered in the field symbol, the value for decimal field in the field symbol is taken as #.
For eg if the field in the field symbol is 2.12 then while assigning it to i_temp SAp CONVERTS IT TO ###, hence dump.
Can you please let me now if their is any other alternative.
I am passing this i_temp table to an RFC from the program. As this is a dynamic structure i cant define a constant table structure in the RFC hence declared i_temp with 4096 char ( which has a specific reason as well).
Also, RFC requires a refrence for any of the table mentioned in the input output paramenter which is not the case with the normal function module. hence had to declare a refrence i.e BAPIXMSPOW in our case.
Is their any alternative where we can dynamically refer the table entered by user directly in the RFC.
Regards
Litesh.
2010 Feb 26 2:40 PM
Hi,
uhmmm, in my system this is not a problem. Have you tried to define I_TEMP as of type STRING ??
Probably it is the decimal sign what is perturbing the data conversion. Perhaps you must transform '2.12' into '2,12' before moving values.
You should also work with a block TRY ... ENDTRY and CATCH for avoiding a short dump.
2010 Feb 26 2:47 PM
Jorge ,Thnks for your prompt response.
Again it depends on the user notation. however that would be the final solution where i need to track down the decimal or currency fields indvidually. and modiy the entry as i m refering the export table as character. But would appreciate if i can have a reference which would be a dynamic one in RFC ...
2010 Feb 26 2:55 PM
Hi Jorge,
Can you please let me know which system you are working on, as we are working on version 4.7.
Maybe it is because of the older version, we are currently upgrading to 6.0.
2010 Feb 28 7:06 AM