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