Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CALL FUNCTION 'RKD_CHECK_PACKED'

kiran_k8
Active Contributor
0 Likes
1,011

Hi Folks,

Can anyone here please let me know the functionality of the following function module:-

CALL FUNCTION 'RKD_CHECK_PACKED'

K.Kiran.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
966

Hi,

The given FM 'RKD_CHECK_PACKED' Checks a STRING for packed contents.

Reward if useful,

Lijo Joseph

9 REPLIES 9
Read only

Former Member
0 Likes
967

Hi,

The given FM 'RKD_CHECK_PACKED' Checks a STRING for packed contents.

Reward if useful,

Lijo Joseph

Read only

0 Likes
966

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

Read only

Former Member
0 Likes
966

FIELD-SYMBOLS: <field>.

CALL FUNCTION 'RKD_CHECK_PACKED'

EXPORTING

char = ld_value

decimals = '2'

decimal_punkt = space

IMPORTING

pack = <field>.

Read only

0 Likes
966

Prashant,

What it does?

K.Kiran.

Read only

0 Likes
966

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

Read only

Former Member
0 Likes
966

Please refer SAP NOTE:

Note 877328 - SE37: Error when generating the test frame

Read only

0 Likes
966

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.

Read only

Former Member
0 Likes
966

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.

Read only

0 Likes
966

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.