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

Passing data to external system

Former Member
0 Likes
945

Hi all,

Please let me know if anyone faced this type of problem. Here i explined what is the issue exactly.

1)i am getting unit of measurement "c (degree celsius) in the result character structure in BAPI function module.

2) when ever passing these values(Unit of measurement) to external system(like some screen) in that it is displaying as "GC"

but "c( degree celcius as stored in t006 table(in sap) as GC).

3) how can i show this GC as "c(degree celsius) in external system.

Please assist me if anyone across this type of problem.

Thanks

Raju

Hi all,

Please let me know if anyone faced this type of problem. Here i explined what is the issue exactly.

1)i am getting unit of measurement "c (degree celsius) in the result character structure in BAPI function module.

2) when ever passing these values(Unit of measurement) to external system(like some screen) in that it is displaying as "GC"

but "c( degree celcius as stored in t006 table(in sap) as GC).

3) how can i show this GC as "c(degree celsius) in external system.

Please assist me if anyone across this type of problem.

Thanks

Raju

4 REPLIES 4
Read only

Former Member
0 Likes
746

Hi Raju,

Since you are using a BAPI, you can not do much. But if it is an ABAP program, I can try <b>"WRITE UOM to EXT_FIELD"</b> to convert it.

Cheers,

Sanjeev

Read only

Former Member
0 Likes
746

You could clone the function module and add your conversion to Celsius at the base of the cloned function module.

Read only

Vinod_Chandran
Active Contributor
0 Likes
746

Hi Raju,

This is due to conversion exit. You can check the domain of the unit field. There is a field for conversion exit.

You can copy this and check in SE37 for the corresponding function module. There will be two function modules with the following pattern.

CONVERTION_EXIT_ABCD_INPUT

CONVERTION_EXIT_ABCD_OUTPUT

Where ABCD is the name of the convertion exit.

Using this function modules you can convert the unit of measure from 'C' to 'GC' and vice versa.

Kindly reward points if your question is answered.

Thanks

Vinod

Read only

Former Member
0 Likes
746

Are you using a standard BAPI or is it just your custom RFC function module?

How is your external system connecting to SAP?