‎2007 Sep 05 5:04 AM
Hi Folks,
Can anyone here please let me know the functionality of the following function module:-
CALL FUNCTION 'RKD_CHECK_PACKED'
K.Kiran.
‎2007 Sep 05 5:10 AM
Hi,
The given FM 'RKD_CHECK_PACKED' Checks a STRING for packed contents.
Reward if useful,
Lijo Joseph
‎2007 Sep 05 5:10 AM
Hi,
The given FM 'RKD_CHECK_PACKED' Checks a STRING for packed contents.
Reward if useful,
Lijo Joseph
‎2007 Sep 05 5:13 AM
Hi Lizo,
Can anyone please explain me by taking an example? I was not able to execute in SE37 as it is giving an message "error generating the test frame".
K.Kiran.
Message was edited by:
Kiran K
‎2007 Sep 05 5:26 AM
FIELD-SYMBOLS: <field>.
CALL FUNCTION 'RKD_CHECK_PACKED'
EXPORTING
char = ld_value
decimals = '2'
decimal_punkt = space
IMPORTING
pack = <field>.
‎2007 Sep 05 5:28 AM
‎2007 Sep 05 6:49 AM
Prashant,
CALL FUNCTION 'RKD_CHECK_PACKED'
EXPORTING
char = wa_itab-amt
decimals = 2
decimal_punkt = '.'
IMPORTING
char1 = wa_itab-amt
CHAR_WRITE =
FLOAT =
PACK =
SUBRC =
.
wa_prtab-amt = wa_itab-amt.
here if wa_itab-amt = 12345.678 then the above said function module will return the output as 12345.67.Thus outputs only two decimal places.Am I getting it right?
K.Kiran.
Message was edited by:
Kiran K
‎2007 Sep 05 5:37 AM
Please refer SAP NOTE:
Note 877328 - SE37: Error when generating the test frame
‎2007 Sep 05 5:50 AM
Prashanth,
I just want to know what is the input and output of the above said function module.
In what wasy is the NOTE given by you is related to this function module.
K.Kiran.
‎2007 Sep 05 7:03 AM
Yes that right.
The note is related bcz you are not able to execute that FM through SE37. Once you implement the note, you should be able to execute FM using SE37.
‎2007 Sep 05 7:08 AM
Prashanth,
1.If it is the output it is going to give,then is it not enough that if we declare that particular amount field as type p decmials 2.What is the need to go to the function module.
2.Fine,I will check the OSS notes for more info related to the Note Number given by you.
Thanks,
K.Kiran.