Sunday, June 27, 2021

27-6-2021 Vocabulary

1) 

innocuous -  Not harmful or offensive, harmless, insipid

People say seemingly innocuous comments all the time that inadvertently hurts the morale of everyone  around them.


2)

Jeopardize - To risk, threaten, endanger

You work so hard at your job. So, do you really want to jeopardize all that by saying something dumb.


3)

Veritable - Used for emphasis, to prove that a thing/place is not unreal, used to stress on the genuiness

Costa Rica (works on 100% renewable energy) is a veritable paradise.


4)

Prescience - Foresight, knowing something in advance, visionary, prophetic, predictive

The prescience of a skilled business man.

A prescient warning.


5)

Cartelization - Formal aggregation between group of companies to regulate supply or manipulate prices.

Manu Manek formed the bear cartel (a group of people that manipulate the stock market to earn profits are referred to as a cartel) in which the 3R's (Rakesh Jhunjhunwala, Radhakishan Damani, and Raju Chartist) were his famous associates. This bear cartel group followed the same ideology as Manu Manek







Sunday, June 13, 2021

Financial Ratios to analyze for a stock

 

  1. Profitability Ratio:

Shows whether the stock can give profit in the future.

Return on equity = Net profit / shareholder equity

Net profit we can get in the P/L statement & the latter one from balance sheet.

High ROE = Business constantly generating good profits and giving back to investors

It depends on Sector,  always check the average for the particular sector.

Ex: Infra stocks have lots of debt so ROE can be inflated, the

Manufacturing companies might have low EPS compare to an IT stock.

Manufacturing giants reinvest the profit, build a new plant and those new plants take few years to generate profits.

Whereas, IT stocks pay out hefty dividends so have high EPS.


  • Net Profit Margin

This is percentage of profit of a company produced from its total revenue.

Net profit after tax / total revenue

Ex: 100 is total revenue and after tax the profit is 10Rs.

Which means the profit margin is 10%. For every 100 revenue, profit is 10 rs.

Search for stocks with increasing net profit margin in comparison to the peers of that sector.


  • Operating Profit Margin

Kind of a performance ratio.

EBIDTA / total revenue 

The profit here is before EBITDA (Earning Before Interest, Tax, Depreciation and Amortization)

Tell us how much a company is spending in operating cost, raw materials, wages, etc.


  • Solvency Ratio
Used to measure whether a company can repay the loan back or not.
Means if the company is generating enough cashflow to pay the debts or not.

  • Debt to Equity Ratio:

Total Debt / total shareholders equity
Ex: if debt is more than equity, then slim chances of loan payback, avoid such stocks.
Lower the ratio, better it is.
In some exceptional cases, some organizations take loans to gain tax benefits/exemptions.
Little bit of debt is ok in some cases like Infra as they need huge money upfront.
Always compare the ratio within the same sector. 
For ex: IT firms have lower debt ratio as they don't need to take loans for starting a new project,
unlike Infra.

  • Interest Coverage Ratio:
A company with very large current earnings beyond the amount required to make interest payments on its debt has a larger financial cushion against a temporary downturn in revenues. A company barely able to meet its interest obligations with current earnings is in a very precarious financial position, as even a slight, temporary dip in revenue may render it financially insolvent.

EBIT/Interest Expense
EBIT = Earnings before Interest and Tax
Below 1 is considered bad. Higher the better.

Ex: EBIT = 100
Interest amount = 20
So, the ratio would be 100/20 = 5
It means that the company can pay its interest payments 5 times with its operating profit.


  • Price to Earning Ratio (P/E) 

: Price per share / Earning per share
 This is a Valuation ratio.
Talks about companies market value.
Ex: If stock price is 100 rs  and EPS is 10 Rs.
So, 100/10 = 10
Means people are ready to pay 10 times (premium) more for the stock.

Myth: That high PE ratio is bad and overvalued, its wrong.
Always compare the PE ratio with the industry (sector PE).
Ex: FMCG company like HUL has higher PE comparing to others.
Generally, MOAT companies have Higher PE ratio.





  • Price to Book Ratio (P/B)

: Price per share / Book value per share

Book value per share = Total shareholders equity / Total number of outstanding shares in the market.

If Book value = 100,  and Price = 100. 
Therefore, P/B ratio = 1
Why to look at this ?
This is important for Money lending companies like banking, etc.
Here, assets and liabilities comes into picture.

The P/B ratio draws a relationship between the market capitalisation of an organisation and the value of assets it possesses.

Conventionally, a PB ratio of below 1.0, is considered indicative of an undervalued stock. Some value investors and financial analysts also consider any value under 3.0 as a good PB ratio



Websites to check the above ratios / fundamental analysis:

https://www.tickertape.in/
https://trendlyne.com/
moneycontrol.com


Tuesday, March 9, 2021

Troubleshooting EOIO stuck messages

 Sometimes, we get multiple messages stuck in PO in ' To be Delivered' status. 

The culprit here is that one message which is in System error (or in some rare cases Delivering status)

We have to find out that faulty message and resolve the error or we should cancel that message itself only if its a genuine error.


Go to Monitoring -> Adapter engine -> Additional Data -> Queues 

Here, check for any entries in the queue.


 Sometimes, we get multiple messages stuck in PO in ' To be Delivered' status. 

The culprit here is that one message which is in System error (or in some rare cases Delivering status)

We have to find out that faulty message and resolve the error or we should cancel that message itself only if its a genuine error.


Go to Monitoring -> Adapter engine -> Additional Data -> Queues 

Here, check for any entries in the queue.





Check for any entries here, if the message stuck in the file adapter then check the Filesystem queue & for any entries. (likewise for different adapters)




If any entries in the queue, find out the oldest one & resolve/cancel that message.

We can also check via RWB.
http://host:port/rwb/index.jsp





Configure Table columns (the marked icon in the bottom-right)

Select the below-highlighted options:




Apply and then sort as per the sequence number in ascending order.


As per the latest update by SAP dated 25 feb, 2021 
SAP has released a feature to help in monitoring of EOIO queues.
Check out the below note:







http://host:port/MessagingSystem/monitor/sequenceMonitor.jsp





----------------------------------------------AMOR FATI---------------------------------------------------------













Common SFTP channel errors/issues

 

Dangling Meta character issue :


Solution for Dangling Meta character issue :

Follow the below SAPNote.   Basically this issue occurs due to filenaming convention scheme.

Like file adapter, in SFTP * does not mean that it will accept all files.

In SFTP,    .*  is equal to * (as in FTP)


Cannot create target directory: Limit operation failed



Resolution:

This issue too is related to file naming convention in the receiver channel.

By putting a Tilde operator (~) in the beginning we can resolve this issue.

~ operator represents the Home directory for the user used in the channel configuration.

Ideally, without ~ operator too it should work but in some cases, we get the limit operation error.

Faulty path:  /To_FM

Corrected path:  ~/To_FM



--------------------------------------------------AMOR FATI---------------------------------------------------------
























Tuesday, January 26, 2021

Delete Suppress

 Sometimes we get SUPPRESS entries which causes wrong results in the mapping.


Below UDF can be used to remove those entries:


for(int i=0; i<a.length; i++)

{

if(!a[i].equals(ResultList.SUPPRESS))

result.addValue(a[i]);

}









 
















------------------------------------------------AMOR FATI----------------------------------------------


Senderport + Idoc number in Filename

 Requirement is to place the file with the below naming convention:


"senderport" + ORDERS + "IDoc Number" + .eof


ex. PRDORDERS_1192934631.EOF


Here, the sender port is   SAPPRD


To achieve this:


Use a UDF 








Use FORMATNUMBER function to remove the leading zeroes.




















UDF Code:


String name = null;

name =  a + "ORDERS_" + b + ".EOF";


DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);


if(conf!=null)

{

DynamicConfigurationKey filename = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");

conf.put(filename, name);

}


return a;

 


--------------------------------------------------AMOR FATI---------------------------------------------------