Wednesday, January 04, 2006
Drop down List function module
VRM_SET_VALUES can be used for drop down lists.
Regards,
Ankur Bhandari
SAP Consultant
Alv variants copy
Try using LVC_VARIANT_SELECT and LVC_VARIANT_SAVE fms.
First call LVC_VARIANT_SELECT to read variant from the first program and then call LVC_VARIANT_SAVE to save it for the second program.
Take a look at report BCALV_GRID_11 for reference
Refer to the follwoing SAP Tables and see if you have some luck.
==========================================================
LTDX --> Generic storage of display variants
LTDXD --> Default display variants
LTDXS --> SAP Default Display Variants
LTDXT --> Display variant texts
==========================================================
The idea is to try and manipulate the table entries for various users.
S_ALV_LAYO is the authorization which needs to be used.
Regards,
Ankur Bhandari
Thursday, December 29, 2005
Free Memory for resetting the selection screen parameters and select options.
Use Free memory in end-of-selection event to reset the selection screen.
Regards,
Ankur Bhandari
Tuesday, December 20, 2005
Fields of an internal table
Function module GET_COMPONENT_LIST can be used to find all the fields of the internal table.
POPUP_TO_DECIDE_LIST
POPUP_TO_DECIDE_LIST can be used to give multiple options in a popup.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Friday, December 02, 2005
Function modules for calculating dates in future or past
Use function Module DATE_IN_FUTURE to calculate the date in future or back
Input ANZAHL_TAGE = -180 ( days)
IMPORT_DATUM = 01/01/2005
Output = 07/05/2005
It calculated 180 days in past
Use function Module MONTH_PLUS_DETERMINE to calculate months in future or back
Input MONTHS = -18
OLDDATE = 01/01/2005
Output 07/01/2003
It calculated 18 months in past
Regards,
Ankur Bhandari
Wednesday, November 30, 2005
Nice one
Try this…. Its cool
http://www.crushcalculator.com/content/love/865625526
Regards,
Ankur Bhandari
SAP Consultant
Infosys Technologies Ltd , Pune
Tel 020 39828237
Cell 09326045208
Tuesday, November 29, 2005
Whose Time is right ?
WHOSE TIME IS RIGHT?
There was a man who works as a foreman at a factory.
Every morning on his way to work, he would pass a particular shop selling watches. He will stop in front of the shop and adjust the time on his wrist watch, and will then proceed to work. He will do this everyday.
The watch shop owner became very curious and one day stopped the man and asked him what he was doing. The man said that he was the foreman of the factory and everyday it was his duty to ring the bell to sound the alarm at 5.00pm to indicate that it was time to stop work for the day. He wanted to be accurate with the time and therefore everyday he would look at the big clock in the shop to adjust the time on his wrist watch. The shop owner started laughing! He said, “Everyday at 5.00pm when the factory bell sounds the alarm, I would quickly adjust the time on my clock”.
It is important for us to realize that to be successful we have to follow and copycat the right leaders. We should role model leaders with good characters, values and beliefs, otherwise we may find that we may reach the “top of our ladder”, but only to realize that we are on “top of the wrong ladder”.
Hope that you will find a role model who can assist and inspire you to greatness.
Have a great day ahead !!!
Regards,
Ankur Bhandari
SAP Consultant
Infosys Technologies Ltd , Pune
Tel 020 39828237
Cell 09326045208
Locating Badi's
Go to transaction SE80 in a client where you can experiment with the transaction that you are interested in.Go to class CL_EXITHANDLER. [Select Class / Interface from the drop-down, and put CL_EXITHANDLER for the class.]
Go to method get_instance. [Press RETURN to ensure that the contents of the Object Name frame are for CL_EXITHANDLER. Expand the Methods node. Double-click on GET_INSTANCE.]Insert a breakpoint just after = the call to the method cl_exithandler get_class_name_by_interface. Use the transaction in which you are BAdI-hunting.
Examine the contents of the field exit_name whenever the processing stops at the breakpoint.
I have found a case where exit_name was an unknown field. Then class_name gave a good clue to the name of the BAdI.
Regards,
Ankur Bhandari
Short dumps in variant selection
If you get short dumps while variant selections GO to tcode SE38 à GoTo/Variants/àVariants/Adjust
Regards,
Ankur Bhandari
Wednesday, November 16, 2005
Logical Filename Funda
A logical file name can be created either as clientspecific
(using transaction SF01) or as crossclient
(using transaction FILE). Remember that a
client-specific file name always overrides a crossclient
file name, so make sure you delete any
unnecessary or obsolete client-specific definitions
in all clients affected.
Also note that if there are two identical file names
that were created in both transaction FILE and
transaction SF01, the physical destination
associated with them may still be different. As the
client-specific definition always has priority over
the cross-client definition, a read program will try
to find the archive files under the path specified in
transaction SF01.
Regards,
Ankur Bhandari
Report to show relationships
RASHLO00 report can show relationship of a document with other documents.
Regards,
Ankur Bhandari
Thursday, November 10, 2005
Transaction to change user authorization
Transaction to change user authorization is PFCG…
Regards,
Ankur Bhandari
Monday, November 07, 2005
Transaction to upload a file on Application server
Transaction CG3Z can be used to upload files from Presentation Server to Application Server.
Transaction CG3Y for vice versa
Regards,
Ankur Bhandari