cancel
Showing results for 
Search instead for 
Did you mean: 

write-optimized ADSO transformation rule type routine with unit

alejgs
Explorer
0 Kudos

Hi everyone,

I have a problem with an ADSO transformation routine with unit.

I wrote a simple code to map the source field number of units (NUNIDADE) with my infoObject 0Quantity, but I also gave a value to the infoObject Unit.

The code is:

When i verify the rule the result is correct, but when I charge the data to the ADSO the field Unit come empty.

Does anybody know what could be happening?

Thank you in advance!

Alejandro

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi;

Is there any start/end routine?

Regards

john_hawk
Active Contributor
0 Kudos

If the Unit is always 'ST' , consider making the field a Constant, rather that using ABAP code.

BW formulas work better and faster at the database level in HANA, where ABAP works at the application level.

Good luck,

John Hawk