ABAP : To check numeric or aplhabate value only
8:36 PM
"""""""""
if TEXT_VALUE CO '0123456789.'. "PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif. """""""""
"""""""""
if TEXT_VALUE CO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
"PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif.
"""""""""
if TEXT_VALUE CO '0123456789.'. "PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif. """""""""
"""""""""
if TEXT_VALUE CO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
"PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif.
"""""""""
Adobe livecycle designer COMMON crash Problem
12:41 AM
Ever had that problem after so many years and months of using Adobe livecycle and SFP code all of the sudden it went haywired!
Crashed and OLE error!
Frustrated and tried reninstalling
Adobe reader
SAP Gui
Ms SQL server 2008
And livecycle itself.
But no solution
No matter what version.
No matter what problem i believe that the problem lies in the initial folder where the livecycle created the folder under
C:\Documents and Settings\your_user_name\Application Data\Adobe\Designer
your_user_name = this is your username used by your windows.
Solution:-
Just rename your Designer
to Designer_backup
or
you can choose to delete it.
TaDA! problem solved and please do comment if you think my solution works
Crashed and OLE error!
Frustrated and tried reninstalling
Adobe reader
SAP Gui
Ms SQL server 2008
And livecycle itself.
But no solution
No matter what version.
No matter what problem i believe that the problem lies in the initial folder where the livecycle created the folder under
C:\Documents and Settings\your_user_name\Application Data\Adobe\Designer
your_user_name = this is your username used by your windows.
Solution:-
Just rename your Designer
to Designer_backup
or
you can choose to delete it.
TaDA! problem solved and please do comment if you think my solution works
How to delete or kill workflow item!
4:22 AM
Goto transaction code
SWI1 -> get the WIID
Then transaction code
SE11 -> SWWWIHEAD
- DELETE the WIID entry
or
- WI STAT = COMPLETED
or
- WI STAT = DELETED
This is great to kill them off from your freaking tray
SWI1 -> get the WIID
Then transaction code
SE11 -> SWWWIHEAD
- DELETE the WIID entry
or
- WI STAT = COMPLETED
or
- WI STAT = DELETED
This is great to kill them off from your freaking tray
SAP : How to create or attach supervisor to a staff using info type pp01
1:43 AM
staff
supervisor
PA20 to above two pf
- info type 1
staff
-click on the ORG. Unit and click on the BUTTON "OrgStructure"
- once the tree shown RIGHT CLICK on the postion and select (OBject Description)
- make sure you are in editing mode click on the pencil icon
- click on the Relationships and click on the overview button
- choose the latest record
- Paste the Boss id position to the (id of related object)
( boss pa 20 action and select his position )
- then save
go to pp01
- plan version = current plan
- object type = position
- object id = boss
-CHOOSE authorities/Resources
-then create
-coose subtype supervisor flag
-then value 001
supervisor
PA20 to above two pf
- info type 1
staff
-click on the ORG. Unit and click on the BUTTON "OrgStructure"
- once the tree shown RIGHT CLICK on the postion and select (OBject Description)
- make sure you are in editing mode click on the pencil icon
- click on the Relationships and click on the overview button
- choose the latest record
- Paste the Boss id position to the (id of related object)
( boss pa 20 action and select his position )
- then save
go to pp01
- plan version = current plan
- object type = position
- object id = boss
-CHOOSE authorities/Resources
-then create
-coose subtype supervisor flag
-then value 001
Notes : Reading Text
6:09 PM
Ever wonder where to hard code your text ? I mean not within your program but in another place where you can call them? useful for pdf/email and etc
Recently found out from my colleague that we could use transaction
so10 (standard text) where we could create the text and import them using function call
"Retrieve email template in ITF format
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = SY-LANGU
NAME = I_TEMPLATE_NAME
OBJECT = 'TEXT'
IMPORTING
HEADER = LS_HEADER
TABLES
LINES = LT_EMAIL_TEMPLATE_RAW
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
EXIT. "No email to be sent
ENDIF.
Thanks to Mohd Khairil B Markom
Recently found out from my colleague that we could use transaction
so10 (standard text) where we could create the text and import them using function call
"Retrieve email template in ITF format
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = SY-LANGU
NAME = I_TEMPLATE_NAME
OBJECT = 'TEXT'
IMPORTING
HEADER = LS_HEADER
TABLES
LINES = LT_EMAIL_TEMPLATE_RAW
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
EXIT. "No email to be sent
ENDIF.
Thanks to Mohd Khairil B Markom
Assigning Supervisor to a staff
12:04 AM
staff
supervisor
PA20 to above two pf
- info type 1
staff
-click on the ORG. Unit and click on the BUTTON "OrgStructure"
- once the tree shown RIGHT CLICK on the postion and select (OBject Description)
- make sure you are in editing mode click on the pencil icon
- click on the Relationships and click on the overview button
- choose the latest record
- Paste the Boss id position to the (id of related object)
( boss pa 20 action and select his position )
- then save
go to pp01
- plan version = current plan
- object type = position
- object id = boss
-CHOOSE authorities/Resources
-then create
-coose subtype supervisor flag
-then value 001
supervisor
PA20 to above two pf
- info type 1
staff
-click on the ORG. Unit and click on the BUTTON "OrgStructure"
- once the tree shown RIGHT CLICK on the postion and select (OBject Description)
- make sure you are in editing mode click on the pencil icon
- click on the Relationships and click on the overview button
- choose the latest record
- Paste the Boss id position to the (id of related object)
( boss pa 20 action and select his position )
- then save
go to pp01
- plan version = current plan
- object type = position
- object id = boss
-CHOOSE authorities/Resources
-then create
-coose subtype supervisor flag
-then value 001
How to unlock user object or take over the object Portal
11:55 PMHow to unlock user object or take over the object Portal
From portal log in as system admin,
then navigate from
System Administration ->Monitoring -> Object Locking
Search for the locked object or the username.
Then the rest please do explore :)