Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Purpose: Making data available from BW system to another system is common and regular activity.
When extracting data from report or any other sources we may have negative values like 100.00- , while updating same data to flat files , you might need to prefix sign instead at the end of value. (Ex -100.00
Here is the solution.
Drag the report
Add ROUTINE transformation
Connect report to ROUTINE transformation
Double click on ROUTINE transformation add required fields from Field List to Source Flds
In TargetFlds Tab add one extra column along with normal amount filed. Here SIGN_AMT type 0txtlg
Write code as like below in ROUTINE tab of ROUTINE transformation.
DATA:
ls_source TYPE y_source_fields,
ls_target TYPE y_target_fields,