FM to get dates of week
hi,
i required to find first and last date of the week,
i have year(2008) and week(22) as input '200822'
i know this function modules:
DATE_GET_WEEK
WEEK_GET_FIRST_DAY
GET_WEEK_INFO_BASED_ON_DATE
LAST_WEEK
NEXT_WEEK
but my requirement, to get week's first and last date.
regards,
rajyalaxmi.
hi,
try these fm
FM LIST WITH RESPECT TO DAY, WEEK, AND MONTH.
CALCULATE_DATE : Calculates the future date based on the input .
DATE_TO_DAY : Returns the Day for the entered date.
DATE_COMPUTE_DAY : Returns weekday for a date
DATE_GET_WEEK : Returns week for a date
RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
MONTH_NAMES_GET : Get the names of the month
WEEK_GET_FIRST_DAY : Get the first day of the week
HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
LAST_DAY_OF_MONTHS : Returns the last day of the month
DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
reward points if useful,
siri
Similar Messages
-
Getting date using week number and year
hi!
how can i get the date for a given year using a given week number?
assuming that the first day will be sunday?
for example..
the input year is 2006,
then the week number is 30
the result should be july 23 2006...
please help.. Thanks!play a little with the Calendar class. You might need some setters and maybe the add method to scroll to the previous Sunday.
-
Function Module to get date wise weekly offday of employee
Hi all,
Is there any standard function module which imports PERNR and DATE and returns the weekly off dates on the basis of
the work schedule (IT0007)?
If there is no such Fn Mo, please let me know what tables to look for to do this.
<<Text removed by moderator>>
For your information I have already found function module HRPERSONAL_WORK_SCHEDULE.But it is not returning for entire period (say 01.10.2010-31.10.2010)._
I have also found table relationship but it is not serving my purpose. Table T552A for monthly work schedule.
Thanks
SouravHi Anand,
Thanks for your reply.
This fn mo is returning the first three days(01.10.2010,02.10.2010,03.10.2010).
Rest days of the month (Oct 2010) are not coming.
According to display work schedule(transaction PT03) this func module is returning the first row bcoz first row contains
01.10.2010,02.10.2010,03.10.2010.
Here is my code snippet.
DATA: it_ptpsp TYPE STANDARD TABLE OF ptpsp INITIAL SIZE 0,
wa_ptpsp TYPE ptpsp.
DATA : gd_warning LIKE sy-subrc.
CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE'
EXPORTING
pernr = '00100007'
begda = '20101001'
endda = '20101031'
* KUG =
* REFRESH = 'X'
* WORKING_HOURS = 'X'
* SWITCH_ACTIV =
* MODIFY_ENTRIES = 'X'
* I0001_I0007_ERROR = '0'
* READ_CLUSTER =
IMPORTING
warning_occured = gd_warning
TABLES
* I0000 =
* I0001 =
* I0002 =
* I0007 =
* I0049 =
* I2001 =
* I2002 =
* I2003 =
perws = it_ptpsp "Stores employees work schedule
* I0003 =
EXCEPTIONS
error_occured = 1
abort_occured = 2
OTHERS = 3. -
How to get data for current week and previous week using customer exit in Bex.
Hi everyone,
I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
Thanks in Advance,
G S Ramanjaneyulu.Hi krishna,
Thanks for your quick reply, can you have a look at my code,
case i_vnam.
WHEN 'ZPWK_CWK'.
ranges : pre_week for sy-datum.
data : start_date type DATS,
end_date TYPE dats .
************FM TO GET FIRST DATE OF CURRENT WEEK ************************
CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
EXPORTING
DATE_IN = sy-datum
IMPORTING
DATE_OUT = start_date. " WEEK FIRST DATE
end_date = START_DATE + 6. " WEEK LAST DATE
END_DATE = START_DATE - 1. " PREVIOUS WEEK END DATE
START_DATE = START_DATE - 7. " PREVIOUS WEEK START DATE
**********PREVIOUS WEEK DATES IN PRE_WEEK******************
pre_week-SIGN = 'I'.
pre_week-option = 'BT'.
pre_week-LOW = START_DATE.
pre_week-HIGH = END_DATE.
APPEND pre_week.
CLEAR : START_DATE,END_DATE.
endcase.
Regards,
G S Ramanjaneyulu. -
Report to get data for current_week+1 till 13th week
Hi Friends,
I have two tables
BACKLOG_WEEK_AFTER_ATP (LE)
BACKLOG_ATP_GT_CW (RE)
** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
columns in table BACKLOG_WEEK_AFTER_ATP are:
ITEM_NUMBER QUANTITY
1N5418 20
1N5614 30
1N5806SM 10
1N5811 0
2PFF6 60columns in table BACKLOG_ATP_GT_CW are:
ITEM_NUMBER QUANTITY YEAR_WEEK
1N5418 30 2011-WK30
1N5418 5 2011-WK31
1N5614 30 2011-WK32
1N5806SM 30 2011-WK33
1N5811 20 2011-WK32
3EX473K1 20 2011-WK30My report should look like
ITEM_NUMBER 2011-WK30 2011-WK31 2011-WK32 2011-WK33 ...............till 13th week
1N5418 10 -5 -5 -5 ...............till 13t week
1N5614 30 30 0 0 ................till 13th week
1N5806SM 10 10 10 20 ................till 13th week
1N5811 0 0 20 20 ................till 13th week
2PFF6 60 60 60 60 ................till 13th week
3EX473K1 20 20 20 20 ................till 13th weekTo get this report i have these conditions to keep in mind.
1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_number
Thanks in advance.
RegardsUser_Apex wrote:
Hi Friends,
I have two tables
BACKLOG_WEEK_AFTER_ATP (LE)
BACKLOG_ATP_GT_CW (RE)
** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
columns in table BACKLOG_WEEK_AFTER_ATP are:
ITEM_NUMBER QUANTITY
1N5418 20
1N5614 30
1N5806SM 10
1N5811 0
2PFF6 60columns in table BACKLOG_ATP_GT_CW are:
ITEM_NUMBER QUANTITY YEAR_WEEK
1N5418 30 2011-WK30
1N5418 5 2011-WK31
1N5614 30 2011-WK32
1N5806SM 30 2011-WK33
1N5811 20 2011-WK32
3EX473K1 20 2011-WK30My report should look like
ITEM_NUMBER 2011-WK30 2011-WK31 2011-WK32 2011-WK33 ------ till 13th week
1N5418 10 -5 -5 -5 ...............till 13t week
1N5614 30 30 0 0 ................till 13th week
1N5806SM 10 10 10 20 ................till 13th week
1N5811 0 0 20 20 ................till 13th week
2PFF6 60 60 60 60 ................till 13th week
3EX473K1 20 20 20 20 ................till 13th weekTo get this report i have these conditions to keep in mind.
1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_numberNot an APEX question: use {forum:id=75} forum.
Query to get data for current week+13 -
Any Function Module to get date by passing week and year
Hi,
Is there any Function Module available to get date by passing week and year. For example, Week 24, Year 2005 and you get the date.
Regards,
MiraWEEK_GET_FIRST_DAY
pass 'YYYYWW' (200524) to WEEK parameter it will give you the week start date
Raja -
Get dates of last week - Please Help !
Hi All,
I have to make a query for retrieving the data for the last one week from a table say "Orderdata".
So can anybody please tell me how to retrieve date of last weak from the current date. I mean if current date is 12/08/2004 (mm/dd/yyyy) then I would be needing date as :--
12/01/2004 (mm/dd/yyyy) to 12/07/2004 (mm/dd/yyyy).
To more clear, here is the query that am using :
select * from orderdata where orderdate between 12/01/2004 AND 12/07/2004
I know I would be needing java.sql.timestamp class to set date . but it is the last thing to do .
First I have to get date of last weak...........
Here is the code----------that i have just start to write ..
Calendar cal;
TimeZone tz;
String estTimezone="GMT-05:00";
tz=TimeZone.getTimeZone(estTimezone);
cal=new GregorianCalendar(tz);
cal.setTimeZone(tz);
String currentdate=String.valueOf(cal.get(Calendar.MONTH)+1);
currentdate+="/"+String.valueOf(cal.get(Calendar.DAY_OF_MONTH)-1);
currentdate+="/"+String.valueOf(cal.get(Calendar.YEAR));
out.println(currentdate);And assume if current date is 12/1/2004 (mm/dd/yyyy) then subtracting -1 form the current date will give 12/00/2004 so not getting the correct result .
Hope it is clear to all................
Please Help !
amitindiaHi All,
Thanks chirag813 for your coding. and thanks to all.
By the way I have to change time in EST and also required start date and end date of last weak. So my final coding is as:
Please have a look into the code and tell me whether the code is correct / fine or not.
Do I need to call the getInstance() method in my code as you (chirag813) have put in your code
Calendar calendar = Calendar.getInstance();
Is my code fine ?
Please Answer..................
String startdate;
String enddate;
Calendar cal;
TimeZone tz;
String estTimezone="GMT-05:00";
// is this line correct to get startdate
SimpleDateFormat sdfStartdate= new SimpleDateFormat("yyyy-MM-dd 00:00:00");
// is this line correct to get enddate
SimpleDateFormat sdfEnddate= new SimpleDateFormat("yyyy-MM-dd 23:59:59");
tz=TimeZone.getTimeZone(estTimezone);
cal=new GregorianCalendar(tz);
cal.setTimeZone(tz);
cal.add(Calendar.DATE,-7);
startdate=sdfStartdate.format(cal.getTime());
cal.add(Calendar.DATE,6);
enddate=sdfEnddate.format(cal.getTime());
Timestamp t1=Timestamp.valueOf(startdate);
Timestamp t2=Timestamp.valueOf(enddate);
out.println(t1);
out.println("<br>"+t2);
And finally I have used Timestamp class to change the date (String) to Timestampt.
Thanks !
amitindia
SCJP 1.2 -
Query to get date range in Week
Hello all,
I wanted the get the results in terms of week like, if sysdate is 26/7/2007 Then
I have to get previous 7 weeks including the week where sysdate exists.
Results should come in this manner
23rd to 27th 1 week
16 - 20th July 2007 as 2nd week like this till 7 weeks
I have a query but it is not giving in the above manner
So please anybody can make a query as mentioned above.
Query:
SELECT TO_DATE(TO_CHAR(SYSDATE,'DD-MON-YYYY')) + ( ROWNUM - 6)+(ROWNUM+2)D,TO_DATE(TO_CHAR(SYSDATE,'DD-MON-YYYY')) + ( ROWNUM - 6)+(ROWNUM+2) R FROM DUAL CONNECT BY LEVEL < 6What do you want?
-- A week
select sysdate, sysdate+7 from dual;
--A week from monday to sunday
select nexT_DAY(SYSDATE, 'MONDAY'), NEXT_day(sysdate-7, 'SUNDAY') FROM DUAL
BE CAREFUL MONDAY AND SUNDAY IF YOUR DDBB IS IN ENGLISH
select
nexT_DAY(SYSDATE, 'MONDAY'), NEXT_day(sysdate-7, 'SUNDAY'), TO_char(sysdate,'d'),
(sysdate -TO_char(sysdate,'d')) as firstone,
(sysdate + 7-TO_char(sysdate,'d') )as lastone
FROM DUAL
Message was edited by:
cth -
DATE functions - Weekly report
Please take a look at this loop that sort of plays with dates.
The values returned are as follows
lv_wreport_end_date = 04-APR-04
lv_wreport_start_date = 03-APR-04
I was expecting to get the first week of April ie, 01APR04 to 04Apr04.
IF (To_Char(lv_process_date, 'FMDAY')='SUNDAY') OR (TRUNC(lv_process_date) = TRUNC(LAST_DAY(lv_process_date))) THEN
lv_wreport_end_date := trunc(lv_process_date);
FOR i in 0..6 LOOP
lv_wreport_start_date:=lv_wreport_end_date-1; -- day stepping back
exit when to_char(lv_wreport_start_date,'FMDAY') = 'MONDAY' ; -- not beyond monday
exit when to_char(lv_wreport_start_date,'DD' ) = '01' ; -- not beyond day 1 of month
END LOOP;
-- Produce weekly billable report
Pck_Reports.weekly_billable_trans(TRUNC(lv_wreport_start_date), TRUNC(lv_wreport_end_date), lv_invoice_quarter);
END IF;thanks FOR your helpalter session set nls_date_language=american;
with c as
(select to_date('03-APR-04','DD-MON-YY') lv_wreport_start_date
, to_date('04-APR-04','DD-MON-YY') lv_wreport_end_date
from dual
select dt, to_char(dt,'Day') Week_name
from
(select next_day(lv_wreport_start_date - 7,'monday')-1 /* start is monday */
+rownum dt
from c
connect by rownum <=
next_day(lv_wreport_end_date - 1,'sunday') /* end is sunday */
next_day(lv_wreport_start_date - 7,'monday') /* start is monday */
+1
order by dt
Examples (monday->sunday)
DT TO_CHAR(DT,'D
29/03/04 Monday
30/03/04 Tuesday
31/03/04 Wednesday
01/04/04 Thursday
02/04/04 Friday
03/04/04 Saturday
04/04/04 Sunday
7 rows selected.
Examples (sunday->saturday)
DT TO_CHAR(DT,'D
28/03/04 Sunday
29/03/04 Monday
30/03/04 Tuesday
31/03/04 Wednesday
01/04/04 Thursday
02/04/04 Friday
03/04/04 Saturday
04/04/04 Sunday
05/04/04 Monday
06/04/04 Tuesday
07/04/04 Wednesday
08/04/04 Thursday
09/04/04 Friday
10/04/04 Saturday
14 rows selected. -
Any function module for getting fiscal year week numbers
can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
Thanks!
Lakshmikandhhi,
Use FM <b>'DATE_GET_WEEK'</b>...
parameter D1 LIKE SCAL-DATE.
Data w like scal-week.
CALL FUNCTION <b>'DATE_GET_WEEK'</b>
EXPORTING
date = D1
IMPORTING
WEEK = W
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write W+4(2).
Regards,
Santosh -
Need to show a data in weeks for stacked column
I need to show the data broken down in weeks if you choose the start date and end date. I have to show in a stacked column chart. I am trying to show the values if you choose for example last month i need to show it by weeks for example
week user name total approved first approved last aprovedDate totalitemsAdded
week 1 XYZ 3 10/01/2012 10/05/2012 5
week2 XYZ 5 etc etc
etc
week 3
Below is the code and the result i am getting now .
Current Results
UserName TotalApproved
FirstApprovedDate LastApprovedDate
TotalItemsAdded
XYZ 9
2011-11-19 16:56:49.960
2011-11-19 18:18:20.783
2
DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME
SET @StartDate = '10/1/2012 '
SET @EndDate = '10/31/2012'
;with Items as(
SELECT
UserName = Profile.Description,
TotalItems = COUNT(TransactionID),
FirstAddedDate = MIN(UTCDate),
LastAddedDate = MAX(UTCDate)
FROM Transactiondatabase.dbo.transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%ItemAdded%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Approved as
SELECT
UserName = Profile.Description,
TotalApproved = COUNT(TransactionID),
FirstApprovedDate = MIN(UTCDate),--Demo
LastApprovedDate = MAX(UTCDate)
FROM Transactiondatabase..transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%Approved%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Select Distinct Approved.*, TotalItemssAdded = sum(distinct Items.TotalItems)
from Items, Approved
Group by Approved.UserName, Approved.FirstApprovedDate, Approved.LastApprovedDate, Approved.TotalApproved
using ssrs 2005Hi Sunny04,
If I understand correctly, you want to display the data by weeks in a stacked column chart. If in this case, we can add a calculated field named week to display the week name, and then group it. For more details, please see the following steps:
Right-click the dataset to add a calculated field with the values below:
Name: Week
Calculated field: =DatePart(DateInterval.WeekOfYear,Fields!FirstApprovedDate.Value,0,0)
Add Week field to category group area in a stacked column chart.
Right-click Week field to open the Properties dialog box, modify the expression of Label to like this:
="week"&Fields!Week.Value
Add TotalApproved or TotalItemsAdded field to data area in the chart.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Function module to get last fiscal week
Hi Gurus,
Can anybody give me the function module to go back to few fiscal weeks.
For example ,
if the current fiscal week is 2008030,
I need to get the value 2008024.
This can be done with ABAP code. But I am looking for function module.
Thanks,
Rajani.
Points will be assigned.Hi Rajani,
Please try this:
REPORT Z_CAL_WEEK .
DATA: Z_DATE TYPE SY-DATUM.
DATA: Z_WEEK TYPE SCAL-WEEK.
Z_DATE = SY-DATUM
Z_DATE = Z_DATE - 42. "CORRESPONDING DATE 6 WEEKS in the past
CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
DATE = Z_DATE
IMPORTING
WEEK = Z_WEEK.
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE :Z_WEEK.
Regards
Joe -
How do I sort a bunch of date by week number and year? I have a bunch of date in the format IW-YYYY such as
45-2010
46-2010
47-2010
48-2010
49-2010
50-2010
51-2010
52-2010
01-2011
02-2011
If I sort by week, I get the following which is not what I want. I want the above.
01-2011
02-2011
45-2010
46-2010
47-2010
48-2010
49-2010
50-2010
51-2010
52-2010
Thanks,
SMdo you happen to have the underlying dates as well as the iw-yyyy format? If so, then it's just a matter of:
order by trunc(actual_date_col, 'iw')If not, then you're going to have to do:
order by to_number(substr(date_in_iw_format_col, 4)), to_number(substr(date_in_iw_format_col, 1, 2))eg:
with sample_data as (select '45-2010' date_in_iw_format_col from dual union all
select '46-2010' date_in_iw_format_col from dual union all
select '47-2010' date_in_iw_format_col from dual union all
select '48-2010' date_in_iw_format_col from dual union all
select '49-2010' date_in_iw_format_col from dual union all
select '50-2010' date_in_iw_format_col from dual union all
select '51-2010' date_in_iw_format_col from dual union all
select '52-2010' date_in_iw_format_col from dual union all
select '01-2011' date_in_iw_format_col from dual union all
select '02-2011' date_in_iw_format_col from dual)
select *
from sample_data
order by to_number(substr(date_in_iw_format_col, 4)),
to_number(substr(date_in_iw_format_col, 1, 2));
DATE_IN_IW_FORMAT_COL
45-2010
46-2010
47-2010
48-2010
49-2010
50-2010
51-2010
52-2010
01-2011
02-2011 -
How to get a proper week number and MATCHING year number
Java classes such as SimpleDateFormat offer convenient means to find out the correct week number of a given date. Week numbering is locale specific and not always intuitive. For example, Dec 31, 2001 is in week 1 of 2002 in locales where a week starts with Monday or Sunday. Now, if one formats the date using a method such as:
new SimpleDateFormat("'week: 'ww', year: 'yyyy").format(theDate);
this produces result
week: 1, year: 2001
when the typically anticipated value would be "week: 1, year: 2002".
Is there any means to find out the year number, which matches to the given week number for a date? Or do I have to create a kludge myself?
I would be suprised if this feature is not part of Java API, since it seems like a quite common need. Then again, I'm not suprised by surprises in Java API anymore ;)Well, the real problem is just that the rules determining which year the week belongs to are complicated. In some locales, weeks start with Monday, in some Sunday. In some locales year that has 4 or more days of the week "owns" the week, in some locales there might be different rules.
All this complex logic is already implemented in Calendar / SimpleDateFormat / etc classes, so it would be clearly valuable thing to be able to use that code. For example, Calendar.get(YEAR_OF_WEEK_OF_YEAR) or similar. But, it does not seem to be possible.
As I mentioned originally, I can implement my own "kludge" to do this if I have to. This is not nice, since I will be duplicating the functionality already implemented in the calendar classes. Of course, solution is neither as simple as "set calendar to the weeks end" or "set calendar to the weeks start"... -
How to get day from Week Number
Hi all,
how to get date from the week number when the day is MONDAY.
like : week num =33
how get the date of the day MONDAY from this..SQL> select
to_char(d,'YYYY') y,
w,
trunc((trunc(d,'Y')+w*7-date '1000-01-01')/7)*7+date '1000-01-01' monday
from
(select sysdate d, 33 w from dual);
Y W MONDAY
2005 33 15.08.2005Message was edited by:
Laurent Schneider
I wrote an article which may help you to get out of the mess with weeks that start on friday, saturday, sunday, monday
http://laurentschneider.blogspot.com/2005/07/tochar-d.html
Maybe you are looking for
-
Why did I lose my Bookmarks?
-
Page background refresh, can I stop it?
I have what might be 2 questions. I'm using the apycom jqmenu on my web pages and when I select a menu item and go to another page, the menu highlight just goes back to home and does not stay on the selected menu item and I suspect that part of my p
-
HT1695 how do i know what generation my ipad is
How do i know what generation my ipad is? ipad wi-fi cellular 32gb version
-
Now i have tryied everything i need help getting premier pro trial real help pls!
now i have tryied everything i need help getting premier pro trial real help pls!
-
Error: Name and password incorrect.
hi all i am doing the file to idoc scenario. everything is success bt in the sxmb_moni i am getting the error as name and password is incorrect please retry. so for which port and which rfc destination it is failed. anyone can send the details abot t