Showing posts with label Basis. Show all posts
Showing posts with label Basis. Show all posts

Wednesday, December 11, 2019

SAPUI5 Manual tasks after Transports

Task No 
Person Responsible 
Object 
Task description 
1 
BASIS 
SICF 
Check SICF to see if following services are active under path '/default_host/sap/bc/ui5_ui5/sap/' 
Z******
2 
BASIS 

SICF 
Check SICF to see if following services are active under path '/default_host/sap/opu/odata/sap/' 
Z** 
3 
BASIS 
Cache clear - SMICM  
http plug in -> Clear local and global server cache  
4 
BASIS 
Cache clear - SE38  
/UI2/DELETE_CACHE_AFTER_IMP  
5 
BASIS 
Cache clear - SE38  
/UI2/INVALIDATE_GLOBAL_CACHES -> Execution mode  
6 
BASIS 
Cache clear - SE38  

/UI5/APP_INDEX_CALCULATE -> Single SAPUI5 Repository Only Run for each App project: 
Z**** 

Wednesday, August 2, 2017

FM to add object to Transport

FM to add object to Transport from ABAP program

FM:   TR_APPEND_TO_COMM_OBJS_KEYS


Wednesday, November 30, 2016

How to send a TEST email from SAP??

How to send a TEST email from SAP?

In ECC – Go to SOST -> Select any email (which is already sent) -> Click on ‘Send Request’ in tool bar -> click on ‘Repeat Send’ -> Then choose ‘Change Recipient’ and give your email id.



In higher versions of Netweaver (like in CRM in our company), we can send a Test email in a simpler eay from SCOT
Go to ‘Utilities’ -> ‘Send Test email’ -> Then give your email id.


Updating statistics - Index regenerate

Updating statistics
DB02 – Space – Single Table Analysis


Enter the parent table name for the index and press Index Analysis


Select the indexes one at a time and select UPDATE STATISTICS


Thursday, November 10, 2016

TAANA table analysis

There is a transaction TAANA that does table analysis.

To set it up:  Transaction TAANA -> Table Analysis Menu -> Perform -> Enter Table Name e.g. CDCLS

Now go into the advance selection options for Analysis Variant.
Then select the "Ad Hoc Variant" button at the bottom.
Next move the OBJECTCLAS column from the right to left pane and select the green tick.

Make sure the ad hoc variant is ticked and use the green tick to leave this screen.

You should now be back at the first screen. Make sure "In the Background" is selected and use the green tick. Schedule whenever suits.
Once it has finished running you can go back to TAANA and select the CDCLS node and double click the green line - this will display all the
entry counts per object type.  

In our example we could see the majority of records by far were object type COND_A (PRICING CONDITIONS)

Table TCDOB - will tell you which tables are covered by which object and a description for each object

Wednesday, June 29, 2016

SNC error

We got this error intermittently.  It works if I deactivated ‘SNC’ in properties, and use userid/pwd instead. 

Basis team deactivated ‘rdisp/keepalive’ to resolve this.

In another instance, it was an issue with time zones – difference between SAP and local system.    

Tuesday, June 28, 2016

SAP history lost

History is SAP tcodes

If the History is lost or missing, follow below steps


  • Turn off history
  • Log off and completely close SAP (no process running)



  • Navigate to history folder
  • Delete all the files/sub folder
  • Launch SAP GUI Config again
  • Enable history

Monday, June 13, 2016

Configuring new Printer Device type

Configuring new Printer Device type :
Check the note below.
SAP note 1135036

If you don’t find correct device type – You can check related device types – it work most of the times – Or you can setup new devicetype (pls see below)

Setting up new device type:
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8075b32f-d7c9-2b10-db84-97015a3a23f4?QuickLink=printing&overridelayout=true&44577465592523

Wednesday, April 13, 2016

Short Dumps - understanding values



Your 3 rows are, top to bottom: Human readable*, Hexidecimal high value, Hexidecimal low value. 

So for character values you can already read them. 

* Now for the tricky part. Numeric values are often 'packed' so they use less memory. Each number that is printed has hex values 30 - 39 (ASCII, for EBCDIC F0 - F9). A packed number of length 13 will have a length in your dump of 7, ( (13 + 1) / 2 ). The number 1234567890123 will have hex format: 
1357913 
246802x 

The part hex value 'x' is an sign indicator, (no sign, posative, negative). Sorry I do not know the ASCII vaues, EBCDIC values were F, C, D.

------------------------------------------

To read numeric values from ABAP Short dumps:

The value is saved in ASCII and Hexadecimal

Check Hexadecimal – In below screen shot – highlighted part
This value is split into 2 lines. You need to read highlighted below as 00025052517D – This value is actually equal to 250525.17- (negative – may be last ‘D’ represent –ve)




Monday, April 4, 2016

Transport User Roles PFCG

To Transport Roles – Go to PFCG tcode -> Give role -> Select Utilities -> Go to ‘Mass Transport’


Friday, April 1, 2016

Post Upgrade - Unicode characters not printing

After Upgrade to EHP7- unicode  (from ECC 6 EHP5), we found that Unicode characters were not working when we print invoices. 

Solution:  Output device (Printer) need to be changed in SPAD tcode.  Go to Unicode Printer settings and select a Unicode device type. This will solve the problem

Upgrade project steps


In our project we upgraded from ECC 6 EHP5 to EHP7 (unicode), we did in this sequence:
a) SPDD - done by Basis team at the time of basis changes for upgrade
b) SPAU - Mostly modified using Modification assistant. Some times we had to correct manually. Use Modif assistant - you can Insert/Replace code when needed. It's simple.
c) UCCHECK - done after Unicode installation by Basis -  We had to correct some programs and then tick 'Unicode enabled' for the programs and Acivate them.

Also, check below for steps (found in internet) - https://scn.sap.com/thread/3542865

   1. Unicode: This is done via UCCHECK transaction. You need to make all the programs (custom) unicode enable. For this you need to goto program attributes and check the box for unicode. Sometimes, after you enable unicode checking, some errors might occur, so you need to eliminate those.
     2. Obsolete FM: There might be some obsolete FMs in existing code (eg. WS_UPLOAD). So you need to replace those by new one (eg. GUI_UPLOAD)..
     3. Open dataset: Unfortunately I didn't get any chance to work upon these. Sorry.
     4. SPAU & SPDD: SPAU allows you to process Repository objects needing adjustment. But generally, ABAPers don't get chance to work upon these. PMs or TLs are preffered.     5. Conversion of script to smartforms: This totally depends on your customer, whether they want to convert all scripts to smartforms. Hope, you'll get some lists of scripts to convert. Just goto smartforms->utilities->migration->import sap script form. Might be you need to do some changes in program too for triggering this smartform properly.
     6. Enhancements: Depends on customer requirement. Might need to implement exits or BADIs as per requirement raised. Hope there will be hell lot of enhancements (I had to do a lot).

Friday, March 4, 2016

Reset user buffer - Authorization SU56 or PFUD

Some times, though you changed user authorizations, they will not be immediately effective (You get error in SU53 saying ‘Available in the master data, but not in the user buffer’).
To fix this, you need to reset user buffer. This can be done in 2 ways.
 1)  SU56 : transaction SU56, and changing to the user that was having the issue and from the menu Authorization Values >  "Reset User Buffer".
 
2) PFUD :  Run for all roles, to regenerate all profiles

 

Wednesday, February 3, 2016

Performance issue - Sequential Reads on Table ATP_RESB

Check this good link:
http://www.basisondemand.com/index.php?option=com_content&view=article&id=1338:performance-issue-sequential-reads-on-table-atpresb&catid=109:performance-tuning&Itemid=612

Sometimes after a monthly maintenance, when creating PO’s and maintaining purchase orders, we had performance issues in the R/3 system. Further we could see too many work processes running for a long time and they were doing fetch operation on table ATP_RESB.

Our end users used to create/modify the POs just in 2 seconds, but in the above mentioned situations, it was taking more than 3 minutes.

We took the query at SAP level which was causing this issue and tried to execute the same at the DB level.  From SAP level it was taking the primary index RESB~0 (key fields) with an index scan and was taking more than a couple of minutes. Whereas from DB level it was completing inside 1 or 2 seconds using the index RESB~M (index on MATNR, WERKS) by doing an index seek and not an index scan.  So in theory for some reason after the restart  because SAP started using the wrong index at the first attempt, this got cached and the same was being used every time.

Solution : We tried to rebuild the index and immediately SAP started using the correct index ( RESB~M)  and the performance issue was resolved

Check below link to know - How to rebuild index for  RESB
http://sapist.blogspot.co.uk/2016/08/updating-statistics-index-regenerate.html


Monday, February 1, 2016

Friday, October 9, 2015

Tuesday, September 8, 2015

USR41_MLD - Multiple Logins details for user

 
Table: USR41_MLD  -  You can see users who logged in multiple times simultaneously (by clicking second option given at Logon screen)
 
 
Table USR41 gives Terminal id details
 

 

Monday, September 7, 2015

USMM (tcode) – User Data Analysis

USMM (tcode) – User Data Analysis is quite useful – eg: We know how many users use multiple logons