Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Re: APD Negative sign behind value, Excel Problem

$
0
0

Hi Armin,

 

Here is the solution .

 

Steps

 

In Field definition

 

1 Add ramount (result amount) under "Field" and 0TXTLG under "InfoObject Template"

 

In transformation goto ramount individual routine write below logic.

 

data : lv_amt(60) type c.

 

clear: lv_amt.

 

if source_package-amount LT 0.

 

if source_package-amount is not initial.

 

lv_amt = source_package-amount.

 

CONCATENATE '-' lv_amt into result.


CONDENSE resultNO-GAPS.


else


result = ''.


endif.


else.


result = source_package-amount.


CONDENSE resultNO-GAPS.


endif.


 

and execute DTP, you can -ve front of amount value.

 

 

Pls try this.

 

Thank you,

Nanda


Viewing all articles
Browse latest Browse all 3366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>