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

data element : TYPE p decimal 2

Former Member
0 Likes
11,689

I need a declare a variable in export parameter of a RFC.

The data definition of the variable should be TYPE p decimal 2.

Could anybody suggest us any data element for the same. Or how to declare this variable in export parameter?

7 REPLIES 7
Read only

Former Member
0 Likes
5,099

hi you can create a data element for p as your requirement in se11 ..

Read only

Former Member
0 Likes
5,099

Hi Rohit,

you can take any currency fields

DMBTR

Read only

Former Member
0 Likes
5,099

Hi,

Use KBETR or KWERT or any other data element which represent Currency values.

On the other hand you can also create your own.

Regards

Karthik D

Read only

Former Member
0 Likes
5,099

Hi,

Create your own dataelement or take the one of sap defined currency data element.

export parameter in RFC please check the pass by value check box.

Regards,

Suresh.

Read only

0 Likes
5,099

Thanks everybody!

Rohit

Read only

murat_kaya
Participant
0 Likes
5,099

Hi,

Create a domain through SE11 starting with z or y. Make this domain TYPE p decimal 2, then in your FM declare your parameter with this type.

regards,

Murat Kaya

Read only

0 Likes
5,099

Thanks .