Wednesday, October 6, 2010

how to make workflow running immediately when you dont know which module!

Goto SM37

In the field
Job Name = *
User Name = *
ticked on the "released" only
Then CLICK EXECUTE

In the next screen.

Tick one of workflow starting with sw*

Goto Menu Job - > repeat schdeduling
untick periodic
click on "immediate"
Then
SAve...

Then continue with the next with the same process above

Wait a moment then walla!

Monday, August 23, 2010

SELECT-OPTIONS : tips on how to use them

SELECT-OPTIONS EXCEPT For PA0002-PERNR."PERNR-PERNR.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The statement above is to get the drop down list in your seletion screen make sure you put a pa table
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LOOP AT EXCEPT.
IF PERNR-PERNR in EXCEPT. "<=============COMPARE THE EXCEPTION CASES
EXCEPTIONCASE = 'Y'.
EXIT.
ENDIF. " EXCEPTION CASES
ENDLOOP.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
in order to get all the selection do the statement above and you will be able to access what ever range or single value
make sure you put the "in"

Thank you Siti Sarah my colleague for teaching me!

Friday, August 6, 2010

How to assign a supervisor to a staff



To assign Supervisor to a user

Goto
tcode - pa20

get both user and supervisor "organization assgment"
user  aka staff
62311887 <-example the user's org assg

supervisor id
62423005 <-example the user's supervisor

tcode - pp01

insert
Plan version  - Current plan
Object type - Position
Object ID - 62311887 <<enter the user id we just obtain like the example above>>


Select and maintain (pencil with spec -edit mode)
Select "Relationship" and edit (pencil - edit infotype)

look for the first record or line with

[[Relationship type/relationship     A  002  Reports (line) ]]

then enter the field "ID of related obJECT" with the supervisor org assigment"

62423005

Click save.

Monday, August 2, 2010

How to create a request from a local object?

Goto SE80
- Repository Browser
- Local object (key in your user id)
- Browse through your changes and right click on your changes
- choose other functions
- choose Change package assigment
- Follow through all the option and walla!

What is the differences between workbench and customizing request?

Workbench requests hold the changes made in repository changes while Customizing requests hold the changes made in customizing table entries
source

Workbench request carries whatever development we are doing like creation of infoobjects and DSOs etc.
On the contraty Customizing request carries all the customizations we are doing in the system for example adding a new currency to the currency table, defining factory calendar etc.


The Transport Organiser maintains Change Requests.These requests record the changes made to the repository and customizing objects.Based on that objects changed they are
1)WorkBench Request & 2) Customizing Request.

Workbench Requests are those that involve changes to cross-client Customising and Repository Objects. The objects are independent of the client.Hence the requests are used for transferring and transporting changed Repository objects and changed system settings from cross-client tables.

Customizing Requests involve changes recorded to client-specific Customizing objects .These client specific requests are used for copying and transporting changed system settings from client-specific tables.

Refer this links http://www.allinterview.com/showanswers/57910.html
https://www.sdn.sap.com/irj/scn/thread?messageID=1816341
https://www.sdn.sap.com/irj/scn/thread?messageID=226306
and many more threads available on this.


On a more general note, Workbench requests are client independent, i.e., the changes made will be reflected across all clients.
Customizing requests are client specific.


source

Thursday, July 29, 2010

PMS Template disabling header access and controlling pms dates

How to disable the header for the template so that user cant change:-
1. supervisor
2. validity date

goto se19
-> HRHAP00_ACC_HEADER (make a new badi base on this ie zhrap00_acc_header)
double click on GET_HEADER_ACCESS
S_HEADER_CUST_DISPLAY-APPRAISER = ' '. " to prevent user from changing the supervisor
S_HEADER_CUST_DISPLAY-VALIDITY_PERIOD = ' '. "to disable user from changing the dates


-> HRHAP00_DOC_DEF_DV (make a new badi base on this ie zHRHAP00_DOC_DEF_DV)
double click on DEFAULT_PERIOD

* changing default date to appraisal period
DATA: BEGDA TYPE DATUM,
ENDDA TYPE DATUM.
BEGDA = SY-DATUM.
BEGDA+4(4) = '0201'."february 01
ENDDA+4(4) = '0630'."june 30
ENDDA+0(4) = SY-DATUM+0(4) + 1. "adding current year

* set exporting data
S_PERIOD_VALIDITY-AP_START_DATE = BEGDA.
S_PERIOD_VALIDITY-AP_END_DATE = ENDDA.
NO_STANDARD_DEFAULTING = C_TRUE.



* note do remember you need to add the badi into sm34 so that the badi is shown under further template behaviour.

Wednesday, July 14, 2010

Customizing BSP application MVC model

Model View Controller for BSP

Summary = Difficulties in making a customizing BSP those with controllers and views

Program (se80) - BSP_CUSTOMIZE
Steps
1. using the above programs copy the preferred BSP app and select the views inside.
2. Goto the customized BSP from the above copied BSP app and manually copy the controllers one by one.
3. Activate the BSP. The program will update the table below

Reffered Table - bsp_applc
This table takes the standard BSP and tricking the system to use the customized BSP

source sites discovered by Ilman Reza

PS:/ This is a layman way of explaining there could be mistakes. For more technical understanding or further understanding please refer to the link provided by my colleague.

Thursday, July 8, 2010

How to delete an object in transport SE10 - transport organizer

SE10 - transport organizer
SE03 - transport organizer tools

Ever included a wrong object into a wrong transport number.
Have no fear there is a solution.

When ever you tried to delete the transport object inside it will shows that the object is locked.
Solution : -
Goto SE03
select unlock objects ( expert tools ) 
keyin the "Request/Task"
select Unlock object list (though not recommended)
or
select transport of copies (recommended)

Well the guides or help as below
RSWBO099

Short text


Unlock Objects (Expert Tool)


Description


Use this program to unlock a request or task.


Normally, all objects in the request are unlocked, and its status is set to
Modifiable. If the request has already been released, it keeps the
status Released.


Use the function Create versions of the objects to create versions of
all the objects when you unlock a change request, so that you can document their
current version.


Use the function Set to 'Released' to set the request to
Released automatically when you unlock it. You can then no longer use
this request.


Use the function Create transport of copies to create a new transport
of copies when you unlock change requests, and copy the object list of the
request to the transport.


Requirements


To unlock a request, you need the administration authorization in the
Transport Organizer. To display the log, you only need display
authorization.


Notes


Unlock requests/tasks in exceptional cases only. This activity is logged. To
display the log, choose Log.



PHAP_ADMiND_PA : How to populate the "further template behaviour"

sap further template behaviour not showing any descriptions.
Recently we were given a task to make a BaDi and use inside the template however we encountered the question how to "CONFIG" to link it.
So this is the steps
1. Create BaDi(tcode se19) (make sure you copy the enhancement name"
2. OOHAP_CATEGORY - populate the enhancement name
3. OOHAP_BASIC - populate the enhancement name

As simple as that.

PS: do forgive me for my short entry due to work and time restriction

Monday, July 5, 2010

su01 - all access

Additional notes :
You can have a portal user to access r/3
by giving it access SAPALL

sm04 - user list

With this transaction you can kill user.
As i ending their session. http or r/3.

Tuesday, June 22, 2010

SAP Portal - how to restore iview ('remove from page' problem)

how to clean up 'remove from page' problem

Problem : User remove iview "remove from page".

Solution :
1. Log into portal as admin.
2. Goto - System Administration - Support Desk - Portal Content Directory.
3. Click on Personalization cleanup.
4. Click on the radio button Principal.
5. Select the user login id.
6. Click Show.
7. Click into the "Logon ID"
8. Select the PCD URL on the users personalization
9. Click Remove.
Done

Graphical solution is below





* Remember if you want to disable the user from doing the removing part.
remember to set in property of the page and select no option
"remove iview" option.

Monday, June 14, 2010

SAP : Resetting ID and password

Log into your client with the power id ( normally with access to change password )
Transaction Code Su01.

Click on the change password icon as in the diagram.

Then select the client where the id is located and reset as per request.
If you are getting the error on not authorized to use the su01 please do contact your admin or use a more powerful id.

Monday, May 24, 2010

System Trace st01, st05

The girl who i met 6 years ago. Huhu sweet one. Taught me this system trace to check the front end communicating with the backend R/3we can use this to detect which program it is talking to..

= ST01
= system trace
= http://saplab.org/2009/03/how-to-do-a-system-trace/

= use ST05 better
= http://anu-sapdiary.blogspot.com/2008/02/st05-performance-trace-overview.html
= remember to put ur userid as filter
= else, oth user tat access the web will be tracked
= i think u can choose RFC trace
= then click activate trace with filter
= filter with ur user id and put the program name if u know

Transaction Code POWL_QUERY

source
How i can define and configure POWL layouts for the users .

1.) requirement is like...Client wants me to configure 2 POWL layouts so that they can decide which one is ok and also let me know what is the use of report POWL_WLOAD also.

2.) Where i can see and maintain POWL queries and if i want to change any field then how i can do this.?

Explore SPRO path SRM => SRM Server => Cross application basic settings => POWL and advanced search

The use of the report POWL_WLOAD is to refresh the POWL active Queries in the system and to see the available POWL queries in the system execute the tcode POWL_QUERY.

we need to goto layout part and do config in UI Browser.

PS How to create POWL Application ?  

Thursday, May 20, 2010


http://hrmspdev.maybank.com.my:50000/irj/portal

Monday, May 17, 2010

How to delete variant

Deleting Variants

Procedure

Open the appropriate variant as described in Creating a Variant.
On the initial screen, choose Variants ® Delete.
The ABAP: Delete Variants dialog box appears.
Choose whether you want to delete the variant in all clients, or only in the current client.
Confirm your choice.


Result

The system displays an appropriate message in the status bar.



You can delete several variants at once from the variant catalog. Choose Delete variants, select the relevant variants in the selection dialog box, and choose Delete.
source = http://help.sap.com/saphelp_46c/helpdata/en/c0/980392e58611d194cc00a0c94260a5/content.htm

Tuesday, May 4, 2010

Changing appraisal header


Assignment was to control the validity of the calender header of the appraisal template
Badi notes :

Calender BADI : - HRHAP00_DOC_DEF_DV

tcode :-
se19 (BADI)

Cluster Table :- VC_T77HAP_CATEGORY (enter the Badi into this table first then OOAM)

tcode : sm34 to access the table

tcode :- OOAM (Enter into the template under "Layout")

Friday, March 26, 2010

SAP fine tune and understanding basics of SAP

http://sapabap.iespana.es/sap/info/hr_overview.htm?0&weborama=17 <- prodvided by sarah
Version:1.0 StartHTML:0000000105 EndHTML:0000000619 StartFragment:0000000127 EndFragment:0000000599



http://help.sap.com/saphelp_40b/helpdata/EN/60/d8bc17576311d189270000e8322f96/content.htm




for those select statement like select single..probably u can tune d pgm to read like ie. SELECT SINGLE stext FROM hrp1000 INTO ws_stext
WHERE otype EQ 'S'
AND plvar EQ '01'
AND objid EQ p0001-plans
AND begda LE cdate
AND endda GE cdate. 

Wednesday, February 3, 2010

Sap portal : Navigation link not appearing

Recently problem occurred where the navigation links seems to be missing

workaround:
my-career area appeared after removing setting in roles and workset; 


1.login as admin; goto 

Portal content
content provided y sap
end user content
employee self service
custom content
my career

workset mycareer ->  select properties -> goto leaf folder and click no;


2. .login as admin; goto 

Portal content
content provided y sap
end user content
employee self service
custom content
roles->  ESS -> click on the workset my career inside roles and select properties ->

goto leaf folder and click no


Conclusion make sure both are sync-ed
Last and not least if you want fast results
goto system administrator
-> navigation -> navigation cached and clear everything

Portal Graphic Rendering problem

Recently we got an error on the mss giving suer slow respond
and in MSS - Overview - workoverview [attandance overview]
it shows this error 


This problem is normally got to do with the
IGS - internet graphic service


please do refer to the link it will teach you step by step to fix or pin point the error.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/f15ed044c741b2e10000000a11466f/content.htm


in r3 use the transaction code "sigs" to check on it.
you can even see the process in rz20..

Well if all this while there wasnt any error and suddenly it gave out this error. The quickest way is to reboot th whole SAP system.