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

Convert input parameters to match target layout

Former Member
0 Likes
535

Hi Everybody,

i am fairly new to SAP BW and i am experiencing some issues regarding the following:

The BAPI parameter for the input record layout is a CHAR(250) field. This means that the data passed to the BAPI has to be passed using a fixed-length record layout CHAR(250).

There are 2 amount fields in the record (Amount & Balance) in the record layout. The amounts are passed as string fields because of the input parameter (Char250). These amounts however, are packed fields (P9.2) in BW.

Thereu2019s a method that is called in the BAPI to convert the input parameter (Char250) to match the target layout. The amount fields are passed to the target incorrectly because they are converted to hexadecimal values [e.g u2018258u2019 to 323538 (Hex)]can anyone assist in this regard. The function module used to convert the layout is 'RSDRI_DATA_UNWRAP'.

Thanks in advance,

Themba.

Hi Everybody,

i am fairly new to SAP BW and i am experiencing some issues regarding the following:

The BAPI parameter for the input record layout is a CHAR(250) field. This means that the data passed to the BAPI has to be passed using a fixed-length record layout CHAR(250).

There are 2 amount fields in the record (Amount & Balance) in the record layout. The amounts are passed as string fields because of the input parameter (Char250). These amounts however, are packed fields (P9.2) in BW.

Thereu2019s a method that is called in the BAPI to convert the input parameter (Char250) to match the target layout. The amount fields are passed to the target incorrectly because they are converted to hexadecimal values [e.g u2018258u2019 to 323538 (Hex)]can anyone assist in this regard. The function module used to convert the layout is 'RSDRI_DATA_UNWRAP'.

Thanks in advance,

Themba.

1 REPLY 1
Read only

Former Member
0 Likes
449

Hi everybody,

A follow up to question i just ask yesterday i just want to know if is there a function module in SAP BW to convert a HEX to DEC.

Thanks in advance.

Regards,

Themba.