Tuesday, November 17, 2009

List of all SAP Workflows

We will get all Workflow details from table - HRSOBJECT

Tuesday, November 10, 2009

Function module to split a string

RKD_WORD_WRAP - I have used it today, the requirement was to split one string of length 255 into 3 and move it to an internal table, I tried lot of other ways, finally one of my vfriend told me about this function module, its so simple, just pass the string and length in which you want to split, and take internal table as output, that table will have the required values, it's so simple.

Monday, November 9, 2009

Some T codes

SBWB- The Business Work place
SU53 - Getting the Missing authorization log
PFCG - Creating the Roles
ST22 - Viewing ABAP Dumbs
SWELS - Switch the event trace on for the Workflow
SWEL - Display Event trace,for using this, we have to switch on the trace using SWELS
SWEC - Changing the event linkage for Workflow
SWE3 - Instance linkage for Workflow

Sunday, May 3, 2009

Function Module to get Month Begin date and End Date

Data: IV_DATE type d value '20090503',
begin_date type d,
end_dat type d.
CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
EXPORTING
iv_date = IV_DATE
IMPORTING
EV_MONTH_BEGIN_DATE = begin_date
EV_MONTH_END_DATE = end_dat.

write : 'Begin Date', begin_date, 'End Date', end_dat.