AMAZON BEST DEALS

https://amzn.to/3Fq4ABu

Thursday 28 January 2016

SOME THOUGHTFUL QUOTES

1.       It is not what you do for your juniors/subordinates/children that are important. It is what you teach them to do for themselves.

2.      The world suffers a lot, not because of the violence of bad people, but because of the silence of good people.

3.       A successful man is he who can lay a firm foundation with the bricks that others throw at  him! Learn to accept criticism proactively and with grace.

4.      Your success is determined by what you are willing to sacrifice for it.

5.      No one will manufacture a lock without a key. Similarly the God does not give problems without solutions. Only we should have patience and courage to find them.. Success is not the key to happiness. But happiness is the key to success.
      Do not complain about others. Change yourself if you want peace. It is easier to protect our feet with shoes than to carpet the earth.

6.      Do not only be close with someone who makes you happy. Be close with someone who cannot be happy without you. It may make a lot difference to him at least.
       Bill Gates never did Laxmi  Pooja but he is the richest man. Einstein never did Saraswat i  Pooja but he was the cleverest man. So just believe in hard work.
       You can tell whether a man is intelligent by his answers. But you can tell a man is wise by his questions.

7.      Slow down and enjoy life. It is not only the scenery you miss by going fast but you also miss the sense of where you are going and why. The only thing I like about stones that come in my way is: once I pass them, they automatically become my milestones.

8.     Luck is not in your hands. But work is in your hands. Your works can make your luck but luck cannot make your works. So always trust yourself.. Love is a gift. If you receive it, open and appreciate it. If not, don not worry. Someone somewhere is still wrapping it for you.

9.      Birds that live in a lake will fly away when the lake dries. But the lotus that grows in the same lake will die with the lake. So recognize the birds in your life.
      Coincidence decides to whom you meet in life. Your heart and your mind decide with whom you want to stay in life. But only destiny decides who gets to stay in your life.

10.  Everything in life has a beautiful ending. And if it is not beautiful, then be sure, it is not the ending.

11.   MORNING means one more inning given by the god to play.. A person who surrenders when he is wrong is honest.

12.  A person, who surrenders when not sure, is wise.
       A person, who surrenders even if he is right, is a HUSBAND! :-). I cannot say whether things will get better if we change, what I can say is that if we want to get better, we need to change.

13.  Leave something for someone…never leave someone for something because in life something may leave you but someone will always live with you.

14.  Too often we underestimate the power a touch, a smile, a kind word, or the smallest act of caring, all of which have the power to build a lifelong relationship.

15.   God has deposited Love, Joys, Prosperity, Peace and Laughter plus all kind of Blessings in  your account. Use without limit. The PIN code is: PRAYER!
     Three best things:
     A little seed in good soil
     A few cows in good grass
     A few friends in tavern

16.  One meets his destiny often on the road he tried to avoid it.

17.   With lies you may go ahead in the world but you can never come back.

18.  The road to a friend’s house is never too long.

19.  When the heart is full, the eyes overflow.

20. There is none luckier than he who thinks himself so.

21.   The truth may walk around naked, but the lie has to be clothed.

22.  It is better to light a candle than to curse the darkness.

23. No one knows what he can do until he tries.

24. God gives every bird its food but does not always drop it into the nest.

25.  Do not choose for anyone what you do not choose for yourself.

26. It is better, in times of need, to have a friend than to have money.

27.  As you do to others, they will do to you.

28. Little children – little joys
bigger children – bigger sorrows

29. A good name keeps its brightness even in dark days.

30. An inch of gold will not buy an inch of time.

31.  A light heart lives long.

32. Personality has the power to open the doors, but it takes character to keep them open.

33. The person who likes you more will trouble you more. But when you drop a tear, they will fight the world to stop that tear.

34. Those people whom you miss in your happiness are the ones whom you love. But those people whom you miss in your sadness are the ones who love you. Do not forget them.

35.  Success is not a matter of being the best and winning the race, it is a matter of handling the worst and finishing the race. Be positive.

36. A man does not start turning old when his hair starts graying, but when his enthusiasm towards life and its joy start dropping. Just keep checking your age!!

37.  A honey bee visits 2 million flowers to collect 500 mg of honey. So our workload is nothing as compared to them. Be cheerful and keep working.

38. It is not that some people have will power and some do not. It is that some people are ready to change and others are not. Believe in yourself and change for betterment.

39. Everybody says that mistake is the first step to success. But it is not true. Actually it is the correction of mistake.

40. Winners recognize their limitations but focus on their strengths.
    Losers recognize their strengths but focus on their weaknesses.

41.  We choose our joys and sorrows long before we experience them.



SAP ABAP - Locking

What Is Locking ?
When two users simultaneously attempt to access the same data record, this is synchronised by a lock mechanism.

When dialog transactions are programmed, locks are set and released by calling certain function modules. These function modules are generated automatically from the definition of so-called lock objects in the ABAP/4 Dictionary.
To synchronize the access to a table by setting and removing locks, a Lock object has to be defined in the ABAP/4 Dictionary. Activating the lock object automatically creates function modules for setting and removing locks. These function modules must be included when programming interactive transactions.

Lock Mechanism :


To set locks, a lock object must be defined in the ABAP/4 Dictionary. In this lock object, those tables in which data records are to be locked by calling a lock are determined. All tables included in a lock object must be connected to each other via foreign keys. The key fields of the tables in a lock object form the Lock arguments for the tables. The lock arguments are the basis for formulating the logical condition for identifying the records to be locked.

SAP provides you with the ability to restrict access to data while the table is being updated. This is fairly simple to implement via the use of a lock object (Created in SE11). 



Step 2 - ABAP code to lock table entries
Add the following code in-order to create the table lock. This function module must be called 

before any update takes place. If a lock has already been taken out it will display the appropriate message. 


before any update takes place. If a lock has already been taken out it will display the appropriate message. 
  CALL FUNCTION 'ENQUEUE_EZ_ZTABLENAME'

      EXPORTING
           mode_ZTABLENAME = 'E'  "E = Write Lock, S = Read Lock, X = Exclusive not cumulative
           mandt              = sy-mandt
           KEYFIELD1           = "Value
           KEYFIELD2           = "Value
           KEYFIELD3           = "Value
                   ...
*         X_KEYFIELD1            = ' '
*         X_KEYFIELD2            = ' '
*         X_KEYFIELD3            = ' '
                   ...
*         _SCOPE             = '2'
*         _WAIT              = ' '
*         _COLLECT           = ' '
*   If exceptions are not used, message is displayed within FM
    EXCEPTIONS
         FOREIGN_LOCK       = 1
         SYSTEM_FAILURE     = 2
         OTHERS             = 3.

  IF sy-subrc <> 0.
*   Retrieve message displayed within Function Module
    message id     sy-msgid
              type   'I'
              number sy-msgno
              with   sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    EXIT.
  ENDIF.
Step 3 - ABAP code to Remove table lock(s)
The following code will remove the lock for the specific table entries. 
CALL FUNCTION 'DEQUEUE_EZ_ZTABLENAME'
    EXPORTING
         MODE_ZTABLENAME = 'E'
         MANDT              = SY-MANDT
           mandt              = sy-mandt
           KEYFIELD1           = "Value
           KEYFIELD2           = "Value
           KEYFIELD3           = "Value
                   ...
    *         X_KEYFIELD1            = ' '
    *         X_KEYFIELD2            = ' '
    *         X_KEYFIELD3            = ' '
                   ...
*         _SCOPE             = '3'
*         _SYNCHRON          = ' '
*         _COLLECT           = ' '



SAP ABAP (How to Get Foreighn Key and check Table Ralations For a Table)

How to Get Foreighn Key and check Table Ralations For a Table?
Steps to get foreign key and check table relations for a transparent tables.
Step 1 : GOTO-->SE11 (Open a table)
Step 2: Click on GRAPHICS button on application toolbar. 

Step 3 : Select the table and Click on 'CHECK TABLES' or 'FOREIGN KEY TABLES'. 

Steps 4: Select the tables and Click on Copy. 

Step 5: Graphical relationship will appear on the screen. 


EARN ONLINE BY VIEWING ADDS ( WORK FROM HOME )

 YOU CAN EARN ONLINE BY VIEWING ADDS EVERY DAY Every day you will get 20 adds,you have to view those adds. For viewing those adds the compan...