Wednesday, August 16, 2006

Add your own texts to the logon screen

You can add your own texts to the logon screen in different ways. For more information, see SAP Note 205487

 

 

 

Logo on screen...

You can attach an image such as your company logo to the right side of the screen. This image can be assigned throughout the system and is valid for all clients. Given that you have authorization to do so, you can find a detailed description of the settings that are required to do this by choosing Extras --> Administration information. Please note that the graphic is stored in the system and transported to the front-end every time SAP Easy Access is called. Although it is transported in compressed form, the graphic should not exceed 20 KB. You can also prevent the graphic from being called by choosing the setting Low Speed Connection in the SAP Logon program (see SAP Note 161053), or by choosing Extras --> Settings in the SAP Easy Access screen. See also "User Settings".

 

 

Wednesday, May 31, 2006

Useful exits

CUST1        MENUS000+C01            Customer option in the Office menu
CUST2        MENUS000+C02            Customer option in the Logistics menu
CUST3        MENUS000+C03            Customer option in the Accounting menu
CUST4        MENUS000+C04            Customer option in the Human Resources menu
CUST5        MENUS000+C05            Customer option in the Information Systems menu
CUST6        MENUS000+C06            Customer option in the Tools menu
CUST7        MENUS000+C07            Customer option in the System menu

ZXUSRU01    Exit_saplsusf_001   At login time
SAPMF02D    Exit_sapmf02d_001   When saving customer master data
SAPMF02K    Exit_sapmf02k_001   When saving vendor master data
M61X0001    Exit_saplm61c_001   When processing MRP planning
M61X0001    Exit_sapmm61x_001   When processing MRP planning
FYTX0001    Exit_saplv61a_001   Modifications in pricing procedures
MBCF0002    Exit_sapmm07m_001   Checks for materials documents
SDVFX002    Exit_saplv60b_002   Link between SD and FI documents
M06B0003    Exit_sapmm06b_001   When saving MM documents

Regards,
Ankur Bhandari
SAP Consultant.
+1 847 636 0883(c)
+1 847 578 2568(w)








 
 Cardinal Health -- Working together. For life. (sm) _________________________________________________  This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.  Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email 

Exit at logon time ...

EXIT_SAPLSUSF_001

Regards,
Ankur Bhandari
SAP Consultant.
+1 847 636 0883(c)
+1 847 578 2568(w)








 
 Cardinal Health -- Working together. For life. (sm) _________________________________________________  This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.  Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email 

Tuesday, May 30, 2006

Useful tables to find a transaction

Useful tables to find a transaction
 SMENSAPT and SMENSAP.

Regards,
Ankur Bhandari

 
 Cardinal Health -- Working together. For life. (sm) _________________________________________________  This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.  Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email 

Friday, May 19, 2006

To popup a message on a user in SAP

RSPOPUP is the program name which can be used,
Also TH_POPUP function module does the same thing

Regards,
Ankur Bhandari








 
 Cardinal Health -- Working together. For life. (sm) _________________________________________________  This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.  Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email 

Thursday, February 02, 2006

Setting Default values in Material Master

Hi,

 

You have following options for setting defaults, evaluate these and implement whichever suits (or in combination):

Option 1: On create material (MM01) screen from Menu path click on à Defaults à Settings

 

à Industry Sector

 

à Organizational Levels

\Here you defaults values for following fields.

Company Code                         

Plant                                

Storage Location                      

Valuation Type                       

Sales Org.             

Distr. Channel    

Warehouse No.                        

Storage Type       

 

Option 2: On a particular field (which you want to default) you can find out the parameter ID associated by clicking F1 (Help) and F9 (Note: F9 works if help is in model dialog box otherwise see Technical Info when you have help in performance assistance).

You can maintain default value for each parameter id in Systems à User Profiles à Own data. Transaction SU3 will be launched.

Click on Parameters tab and maintain the Parameter ID and value. (Be sure to enter Parameter ID all in caps).

This is available for selected fields only.

 

Option3: Use HOLD data SET Data method from System à User Profile à Hold data/Set data when user is running MM01 transaction and wants to save local and temporary defaults. Note that this is a temporary provision and specific to that logon session. It is useful when user needs to populate repeated data while creating material master one after another manually.

 

Option4: Use SHD0 transaction to make a screen variant/ Standard variant / transaction variant. This is very powerful solution, and it can default all in one go.

You can create multiple versions for specific variants so that specific defaults can be stored respective to ROH/ HALB/FERT etc. and use authorization to restrict use of the variant by identified users. (See more info on online help for transaction and screen variants)

 

Should you need more info, Contact.

 

Thanks & regards,

Manish

 

          

 


From: Anant Vasudeo Lokapur
Sent: Wednesday, January 18, 2006 4:29 PM
To: SAP Practice
Subject: Setting Default values in Material Master

 

Hello All

 

There is a client request for populating default values in select Material Master fields (in MM01, list attached)…

 

It would be very helpful if inputs on these, if any, could be mailed…

 

Best Regards

Anant

 

DC APAC – Logistics

China Rollout (MB Passenger CBU)

+91-9845730855

Friday, January 20, 2006

Transaction code authority check

Transaction code authority check

 

 
The following code demonstrates how to check that a user has the correct authority for a particular 
transaction code. Useful to check if a user has the correct authority before executing a transaction via 
BDC input.

 

 

 
authority-check object 'S_TCODE'
                id     'TCD' 
                field  'SM35'.
 
if sy-subrc ne 0.
*   User does not have authority for transaction SM35!!!
endif.

 

 

Regards,

Ankur Bhandari

Authorisation trace analysis 1. Open two sessions

Authorisation trace analysis

1. Open two sessions
2. Execute transaction ST01 in one of the sessions
3. Select the authorisation checkbox, note the other traces 
   you can perform (SQL, RFC, Table Buffer etc)  
4. Click the 'Trace On' button
5. Within your other session execte the transaction/report 
   you want to trace or get the user in question to do it
6. Return to the session where you turned the trace on and 
   click on 'Trace Off' otherwise it will continue to record 
   all athorisation checks
7. Click on the 'Analysis' button
8. Enter appropriate data into selection screen such as 
   Username, type of trace records (i.e. Authorization check)
9. Click on the Execute button. 
10. Report displaying trace results will now be displayed  
 

 

 

Regards,

Ankur Bhandari

Modify thru SE16

Debug SE16 to allow record changes

 

 
If you are not authorised to change table entries or the table has been create without table maintenance 
allowed (all SAP tables), you can still change entries via data browser (SE16) by means of debugging. The 
process is as follows:

 

 

 
1. Display record entries for desired table via SE16 or SE11.
2. Select record which requires updating by highlighting it and pressing the display icon (glasses, F7).
3. Type /h in command box and press enter. 
4. Now press enter again and you should enter debugging mode
5. Change the value of code from ‘SHOW’ to ‘EDIT’, remember to press the ‘change field contents’ 
    icon (pencil) in-order to store new value.
6. Press F8 (execute) to leave debug.
7. You should now have change access to the selected record. 
8. Hit ‘SAVE’ to save any changes. 
9. Remember there is a reason why you can’t do this without debugging it, one reason being that it could 
    introduce inconsistencies in the table data.

 

 

Regards,

Ankur Bhandari

Thursday, January 12, 2006

Tables for transport proposal

CTWFACTLOG                     Transport Proposal: Action Log          

CTWFNUMBER                     Transport Proposal: Number Assignment   

CTWFPROPOS                     Transport Proposal: Header              

CTWFREQUST                     Transport Proposal: Requests for Import 

CTWFTARGET                     Transport Proposal: Target Systems/Target

 

Regards,

Ankur Bhandari

Saturday, January 07, 2006

Transaction SU21 for finding any authorization objects.

Transaction SU21 for finding any authorization objects.

 

Regards,

Ankur Bhandari

 

Wednesday, January 04, 2006

List of commonly used function modules

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