Application Development 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: 

data element : TYPE p decimal 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Rohit,

you can take any currency fields

DMBTR

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

Thanks everybody!

Rohit

murat_kaya
Participant
0 Kudos

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

0 Kudos

Thanks .