cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Config type conversion

Former Member
0 Kudos

have an issue taking in a non human readible nomenclature from the IPC interface into VC.

Problem

Java IPC converts 25 Fatory installed options into BASE32 and is represented by the last 8 digits of the Nomenclature. VC must decode the BASE32 and divide out the 25 FIOP values. VC takes in the last 8 digits in type CHAR. to Decode i need to convert CHAR into INT. I've tried setting the Variable of type CHAR equal to a variable of type NUMERIC but it wont pass syntax.

I.E

$SELF.X_1 = 0 IF FIOP_POS_11 = 0,

$SELF.X_1 = 1 IF FIOP_POS_11 = 1,

$SELF.X_1 = 2 IF FIOP_POS_11 = 2,

how will i do this in VC syntax or will i have to have an ABAP/4 and call the function?

regards

Brandon

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi

If you are a Functional Consultant , It is better to deal with ABAPer who works in Java coding for IPC.

They know it better how to decode it . They will do it very easily , just tell your requirement.

Thanks

Ankaiah

Former Member
0 Kudos

In VC syntax, Char formatted Char values should be maintained in quote marks.

i.e.,

$SELF.X_1 = 0 IF FIOP_POS_11 = '0',

$SELF.X_1 = 1 IF FIOP_POS_11 = '1',

$SELF.X_1 = 2 IF FIOP_POS_11 = '2',

Where X_!1 is numeric format and FIOP_POS_11 is Char format.

Regards

Praveen

Former Member
0 Kudos

Hi Brandon,

The only possible options you have are stated in the following link.

http://help.sap.com/saphelp_47x200/helpdata/en/92/58c505417011d189ec0000e81ddfac/frameset.htm

"Usin Arithmetic Operations"

Regards

Amber

SAP Support