Very Urgent::Compression of Cube affecting other Job in Batch
Hi All,
I have started compression of cube for 5 requests.But all the other jobs like delete overlapping requests, ODS activation, drop index, create index, roll up that started after compression job, are taking unusually more time in daily process chains. All are simultaneously active in SM37. There is no dump yet.
what can be done to resolve this ?"
Is Anybody face this issue before??..
Thanks in advance for help..
Naween Yadav
Naween,
What is the server utilization ? and it could be possible that this is happening due to high utilization of the CPU ?
Also please give details of records being compressed etc...
Arun
Hope it helps...
Similar Messages
-
Urgent::Compression Job taking long time???
Can anybody know regarding compression of cube that how much time it should take for around 15,000 records in cube.
For Us ,it is taking around 3-4 hrs?
How can we finish it early????
We have around 1900 request in Cube .And each request having around 10,000 records.
So if we go likewise ,than it will be very time consuming ,decrease performance of other loads and very boring???
pls give ur suggestions??
thanx in advance...Hi Sonika ,
Pls find my answer in front of ur q?
Please check the
1.all availability of the background processes in sm50. NO
Ans--only one job is running
2. please check st04 ->detail analysis menu -> oracle session ..check is there any locked memory thr.
Ans--No locked memory
3. check in sm12 that ur cube is locked
Ans- no locked
3. please check any back up is going on in db12 (if u r authorized)
Ans-No Back up is running
4. check table spaces in DB02
Ans-Which table space,i mean table name -
UPDATE ROUTINE --- CUBE --- ODS Very Very URGENT
Hi Collegues/Friends ,
First I need to thank for the intiators of this site , as I came to know that for many
problems we will get different best solutions ... Hoping the same I am posting a question
which is very very very urgent as the client is running after me for this .
My Requirement is as Follows. ..
I Moving the data from Cube to ODS . While i need to write a routine for an extra field in
ODS based on Billing Quantity in Base Unit of Measure . The Key Field in the ODS Is UNIQKEY
Transaction and It is a Characterstic in the Cube and we have MAterial as another
Characteristic and core element as navigational attribute .
In the Cube for every UNIQKEY transaction- there are more than One line items.
My data fields in the ODS are Billing Quantity in Base Unit of MEasure and and EXTRA FIELD
: No of Items in Transaction . But the thing is that I have only Billing Quantity in Base
Unit of Measure in cube as a key figure
BAsing on the UNIQKEY transcation and Billing Quantity In Base Unit Of Measure I need to
populate the No of Items in Transaction... For this i need to write a routine .
Let suppose say that for the Materials the core elements are as follows
Material Core element
10 1 -- fuel -- In liters
20 2 -- Cigar - in PAck
30 3 -- Coke - in Cans
Now Lets see how the records are there in InfoCUbe
Uniqkey / Material / Core element /Billin Quantiy
A / 10 / 1 / 22
B / 30 / 3 / 2
C / 10 / 1 / 15
C / 30 / 3 / 2
D / 20 / 2 / 10
D / 30 / 3 / 2
And IN the ODS -- I need to Populate the No OF items in Transaction.
the Logic behind this as follows .
1.if Materail is of type 1(Mean if the core element - 1)
I need to Populate the No of items in tnx = 1
2.If Material id of type 2 or 3 I need to populate the billing quantity to the no of
transcations.
3. If the Uniqkey tanscation contains two line items as suppose that you have 20 litres of
fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing
Quantity in BUoM 22
billing quantity in BUoM = 20 litres for the first line item and 2 for the second line
item...
then as the first line item is fuel, field No OF Items in the Transcation should be 1
(replacing the 20) + 2 = 3
so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the
Transcation = 3
For this I have Written a Rouinte like this for that field
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: /BI0/PMATERIAL.
DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
RETURNCODE LIKE SY-SUBRC "Do not use!
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
check not COMM_STRUCTURE-material is initial.
select SINGLE RPA_WGH1
INTO CORE_ELEMENT
from /BI0/PMATERIAL
where
material = COMM_STRUCTURE-material
and OBJVERS <>'D'.
IF CORE_ELEMENT EQ '1'.
TITEMS = '1'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = titems
IMPORTING
OUTPUT = titems
ELSE.
TITEMS = COMM_STRUCTURE-BILL_QTY.
ENDIF.
result value of the routine
RESULT = TITEMS..
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
Does it satisfy all the conditions ?? mentioned above if . As far As i know as the only key
field in the transcation it will satisfy the first two conditions .
I want to know or If possioble anybody pls take some pain for me to send the code or any
Ideas for satisfying all the conditions.
Hope I will get immediate replies....
Mail me to [email protected]Reddy,
Please do not post in all sections ... makes it hard to follow up on posts..
Arun -
Please help me in creating and scheduling jobs. Its very urgent.
RDBMS: Oracle 9.2.0.4
OS: win2k
OWB Client: 9.2.0.2.8
OWB Repository: 9.2.0.2.0
Hi,
I have created a "process workflow" using OWB and deployed it successfully. Now, I would like to schedule this process. I have installed management server and tried to schedule it but all in vain. I am not able to understand anything. I have read "oracle administrator pdf" and couldnt understand anything. Please dont advise me to read any notes or pdf's because I have tried a lot and was not able to figure out the configuration.
I have a target database named "TARGET". I would like to schedule the workflow process I have created. I am not able to understand preferred credentials and how to execute the XML script generated by the "process workflow". Please help me coz its very urgent.
-AdityaWhy dont you try this? I found it after few tries,
In the create job dialog box
under General
for Override Node Preferred Credentials for entire job
username and password should be the NT or Unix
login where your Runtime database Server reside.
under Parameter
for Override preferred credentials
username and password should be of your runtime
repository user
Regards,
Shree -
Background Job ..... VERY URGENT
Hi,
I have scheduled a report for Execute in background. When I am executing in the background the initial screen what I am getting is background print popup then I am getting the background job schedule. Now my requirement is I dont want background print it should straight away go to background job schedule. Could you please help me out. Its very urgent issue.
Thanks
Vikranth KhimavathHi
Have you written any code for the execution of the report in background? if so what code was written?
ARE YOU CALLING ANY PRINT SCREEN BEFORE THE job scheduling screen?
check where and how you are scheduling the job?
Reward points if useful
Regards
Anji -
BAPI's for remote Cube very urgent
Hi,
I want to activate the cube 0FIGL_R10 and 0TRCM_RC1. Can anyone guide me what needs to be done. I jave activated the cube from Business Content. When I try to execute the query it is not running .
please help as it is very urgent for me ..
Regards
Baljit SinghHve a look at this:
Need step by step process for creating remote cube
Regards -
Cube Compression - How it Affects Loading With Delete Overlapping Request
Hi guys,
Good day to all !!!
Our scenario is that we have a process chain that loads a data to infocube and that has delete overlapping step. I just want to ask how does the cube compression affects the loading with delete overlapping request. Is there any conflict/error that will raise? Kindly advice.
MarshanlouHi,
In the scenario you have mentioned:
First the info cube would be loaded.
Next when it goes to the step i.e delete overlapping request: in this particular step, it checks if the request is overlapping (with the same date or accd to the overlapping condition defined in the infopackage, if the data has been loaded).
If the request is overlapping, then only it deletes the request. Otherwise, no action would be taken. In this way,it checks that data is not loaded twice resulting in duplicasy.
It has nothing to do with compression and in no way affect compression/loading.
Sasi -
Please help me in creating jobs...very very urgent .
Hi,
I have created a "process workflow" using OWB and deployed it successfully. Now, I would like to schedule this process. I have installed management server and tried to schedule it but all in vain. I am not able to understand anything. I have read "oracle administrator pdf" and couldnt understand anything. Please dont advise me to read any notes or pdf's because I have tried a lot and was not able to figure out the configuration.
I have a target database named "TARGET". I would like to schedule the workflow process I have created. I am not able to understand preferred credentials and how to execute the XML script generated by the "process workflow". Please help me coz its very urgent.
-AdityaI think in this forum will be help more than in this forum regarding this topic.
Warehouse Builder
http://forums.oracle.com/forums/index.jsp?cat=16
Joel P�rez -
Write-back dimensions and how do they affect other users of the cube?
If write-back is enabled on a cell or dimension and a value is changed, will it affect other users of that data as well?
When the cube is rebuilt will those new values/updates be overwritten?Hi Shifrbit,
Writeback is implemented as ROLAP partition. Analysis Services creates a table in relational database where it stores writeback data. User do not need to worry about the mechanism Analysis Server is using to store writeback data. You can re-process your
cube without concern of loosing data. Writeback will not disappear after process the cube. For the detail information about it, please refer to the link below to see
Affect of Cube Changes section.
http://msdn.microsoft.com/en-us/library/ms145568.aspx
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Customer Service (CS) module integration with other modules VERY URGENT
Customer Service (CS) module integration with other modules like sd,mm,pm,fi
documentation very urgent please send to my mail id [email protected]This is with regards to Integration of CS module with other modules:
CS is in very close integration with Plant Maintenance(PM), Sales and Distribution(SD), FI, MM, Costing (CO) and also PP and HR.
Incase you want to have resource related billing using DIP profile (PM) you must have Cost element and Service Products defined in MM etc.
Itu2019s a very vast area needs to be explored based on the requirement in CS module. Any further assistance needed pls let me know.l. -
Update Routine ... Help me Please--VERY URGENT
Hi All ,
I Moving data from Cube to ODS . Let me explain abt the records in the cube .
There are 6 key figures in the cube as well as dimensions, UNIQKEY TRANSACTION is One Dimension and ARTICLE is another dimension which is having an Navigational attribute called CORE ELEMENT.
I am showing the data with those two dimension and the key figures which are to be used in the routine.
Charc----
Key Figures
UNIQKEY-ARTICLE-Coreelement--
billqty
in base unit
A00N----1006330--1--
10.5
A00M -
1006320----2--
2.5
A00P-----1006330--1--
10.5
A00P-----1006320--2--
2.5
A00Q-----1006320--2--
2.5
A00Q-----1006340--3--
10.5
Now Lets see what the core element numbers mean,
core element 1 means -- fuel .
Core elemnet other 1 -- food .
I need to move these data into ODS Which will have an extra field called No of items in the transaction --ITEMS.For this i need to write a routine .
The Logic is ...
1.if Materail is of type 1(Means if the core element - 1)
I need to Populate the No of items in tnx = 1 .--ITEMS.
2.If Material is of type(Means if the core element)2or 3 I need to populate the billing quantity to the no of transcations.--ITEMS
3. If the Uniqkey tanscation contains two line items as suppose that you have 20 litres of fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing Quantity in BUoM 22
billing quantity in BUoM = 20 litres for the first line item and 2 for the second line item...
then as the first line item is fuel, field No OF Items in the Transcation should be 1 (replacing the 20) + 2 = 3
so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the Transcation= 3
So the ODS Data should look like this.
UNIQKEY--billqty--
ITEMS
in base unit
A00N--10.5--
1
A00M--2.5--
2.5
A00P--13--
3.5
A00Q--13--
12.5
NOTE : IN the ODS only the UNIQKEY IS THE KEY FIELD and the rest are DATA FIELDS.
I Posted this one before also. But didnt get proper responses.
I am Pasting the piece of code which I have written . This code will work for the first two records in the cube , But it is failing for the UNIQKEY Transcation having Line items.
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: /BI0/PMATERIAL.
DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
RETURNCODE LIKE SY-SUBRC "Do not use!
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
check not COMM_STRUCTURE-material is initial.
select SINGLE RPA_WGH1
INTO CORE_ELEMENT
from /BI0/PMATERIAL
where
material = COMM_STRUCTURE-material
and OBJVERS <>'D'.
IF CORE_ELEMENT EQ '1'.
TITEMS = '1'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = titems
IMPORTING
OUTPUT = titems
ELSE.
TITEMS = COMM_STRUCTURE-BILL_QTY.
ENDIF.
result value of the routine
RESULT = TITEMS..
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
PLease give me ideas on how to acheive this . As I am not Aware of ABAP very well.. PLease try to give me the code. I hope one of you may got the same requirement before.
Its very urgent and I need to deliver it today itself.
Thanks in advance , you can mail me to [email protected]. If anybody intersted to discuss this Issue they can reach at +91 9845922955.Hi ,
While I am moving the data from cube to ods . I need to create the update rules with cube -- 8cube . WHen i am doing this the billqty is a key figure in cube so that is not a problem but the ITEMS is not there in the cube ,SO for that I need to write a routine to populate that one.
Its strange but the user what to analyse with the UNIQKEY transaction. And these objects will be added as navigational attributes to the Characteristic. as it acts as another dimension.
He wants to laod these from ODS to Master data -Characteristic.
to say for each transcation hpw many items are getting sold.
Message was edited by: Nagarjuna Reddy
ONce again thanks for the qucik replies
Message was edited by: Nagarjuna Reddy -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
Very urgent:To find IDOC list in RSMO(BI 7.0)
Hi all,
Its very urgent to know,for a particular load IDOCs used to run to process the data&dialogs,in 3.5 we used to get the IDOCs list in RSMO screen itself,but in 7.0 is not having that options,please tell me for a particular load where we can find list of IDOCs?
Regards,
GTR.Hi,
This info may be helpful.
Transact RFC error
tRFC Error - status running Yellow for long time (Transact RFC will be enabled in Status tab in RSMO).
Step 1: Goto Details, Status get the IDoc number,and go to BD87 in R/3,place the cursor in the RED IDoc entroes in tRFC
queue thats under outbound processing and click on display the IDOC which is on the menu bar.
Step 2: In the next screen click on Display tRFC calls (will take you to SM58 particular TRFC call)
place the cursor on the particular Transaction ID and go to EDIT in the menu bar --> press 'Execute LUW'
(Display tRFC calls (will take you to SM58 particular TRFC call) ---> select the TrasnID ---> EDIT ---> Execute LUW)
Rather than going to SM58 and executing LUW directly it is safer to go through BD87 giving the IDOC name as it will take you
to the particular TRFC request for that Idoc.
OR
Go into the JOB Overview of the Load there you should be able to find the Data Package ID.
(For this in RSMO Screen> Environment> there is a option for Job overview.)
This Data Package TID is Transaction ID in SM58.
OR
SM58 > Give * / user name or background (Aleremote) user name and execute.It will show you all the pending TRFC with
Transaction ID.
In the Status Text column you can see two status
Transation Recorded and Transaction Executing
Don't disturb, if the status is second one Transaction Executing. If the status is first one (Transation Recorded) manually
execute the "Execute LUWs"
OR
Directly go to SM58 > Give * / user name or background (Aleremote) user name and execute. It will show TRFCs to be executed
for that user. Find the particular TRFC (SM37 > Req name > TID from data packet with sysfail).select the TrasnID (SM58) --->
EDIT ---> Execute LUW
Also
Check Note 561880 - Requests hang because IDocs are not processed.
thanks,
JituK -
XML SQL utility ( Very Urgent)
Hi,
Running the Client side Front-End works for me....Thank you
very much. These are all my questions.
1. As far as my understanding goes XML Parsers are used to parse
the incoming XML documents before updating the database. But
when I used the Oraxle XML class(getXML option)I found one
command line option called -useDOMDoc( Use the DOM API to
generate the XML doc). I am not clear about it's functionality.
Why it's being used to create a XML document? Or explain me
clearly about the functionality of getXML option?
2.With the help of putXML command line option I could insert one
XML document into Oracle 8i ( I could insert one table only). My
question is if I have a XML document which contains elements
from two tables( emp and detail) and tags from the same two
table too. In that case how could I insert into two tables? what
I should do?
For example my DTD has columns for two tables emp and detail.
Here is my xml document, and the command which I am going to use
in the command line would be
java OracleXML putXML -user "scott/tiger" -filename xxxxx emp,
details
<?xml version="1.0"?>
<!DOCTYPE ROWSET [
<!ELEMENT ROWSET (ROW)*>
<!ELEMENT ROW (EMPNO, ENAME?, JOB?, MGR?, HIREDATE?, SAL?,
COMM?, DEPTNO?)>
<!ATTLIST ROW num CDATA #REQUIRED>
<!ELEMENT EMPNO (#PCDATA)>-----------To Table EMP
<!ELEMENT ENAME (#PCDATA)>-----------To Table EMP
<!ELEMENT JOB (#PCDATA)>-------------To Table EMP
<!ELEMENT MGR (#PCDATA)>-------------To Table EMP
<!ELEMENT HIREDATE (#PCDATA)>--------To Table EMP
<!ELEMENT SAL (#PCDATA)>-------------To Table EMP
<!ELEMENT COMM (#PCDATA)>------------To Table EMP
<!ELEMENT DEPTNO (#PCDATA)>----------To Table EMP
<!ELEMENT LOCATION (#PCDATA)>--------To Table DETAILS
<!ELEMENT ALLOWANCE (#PCDATA)>-------To Table DETAILS
]>
<ROWSET>
<ROW num="1">
<EMPNO>88</EMPNO>
<ENAME>cmos</ENAME>
<LOCATION>usa</LOCATION>
<ALLOWANCE>1000</ALLOWANCE>
</ROW>
</ROWSET>
Thanks,
Chan...
nullHi Chan,
Hello Mr. "very urgent" Chan,
1- The command line front end of the XSU, besides being useful
for you users, it is also a great tool for us to test the XSU.
Basically the -useDOMDoc makes the XSU use OracleXMLDocGenDOM to
generate the doc. When using the query API you can pass the
OracleXMLDocGenDom class to the getXML request and instead of a
string contining the xml document you will get back a DOM tree
(i.e. Document object).
2- This issue is visited at:
http://f2.dejanews.com/oracletechnet/members/index.cgi?do=showmsg
&conf=Oracl1.XML&msg=1431&show=all&depth=all
Chan (guest) wrote:
: Hi,
: Running the Client side Front-End works for me....Thank you
: very much. These are all my questions.
: 1. As far as my understanding goes XML Parsers are used to
parse
: the incoming XML documents before updating the database. But
: when I used the Oraxle XML class(getXML option)I found one
: command line option called -useDOMDoc( Use the DOM API to
: generate the XML doc). I am not clear about it's functionality.
: Why it's being used to create a XML document? Or explain me
: clearly about the functionality of getXML option?
: 2.With the help of putXML command line option I could insert
one
: XML document into Oracle 8i ( I could insert one table only).
My
: question is if I have a XML document which contains elements
: from two tables( emp and detail) and tags from the same two
: table too. In that case how could I insert into two tables?
what
: I should do?
: For example my DTD has columns for two tables emp and detail.
: Here is my xml document, and the command which I am going to
use
: in the command line would be
: java OracleXML putXML -user "scott/tiger" -filename xxxxx emp,
: details
: <?xml version="1.0"?>
: <!DOCTYPE ROWSET [
: <!ELEMENT ROWSET (ROW)*>
: <!ELEMENT ROW (EMPNO, ENAME?, JOB?, MGR?, HIREDATE?, SAL?,
: COMM?, DEPTNO?)>
: <!ATTLIST ROW num CDATA #REQUIRED>
: <!ELEMENT EMPNO (#PCDATA)>-----------To Table EMP
: <!ELEMENT ENAME (#PCDATA)>-----------To Table EMP
: <!ELEMENT JOB (#PCDATA)>-------------To Table EMP
: <!ELEMENT MGR (#PCDATA)>-------------To Table EMP
: <!ELEMENT HIREDATE (#PCDATA)>--------To Table EMP
: <!ELEMENT SAL (#PCDATA)>-------------To Table EMP
: <!ELEMENT COMM (#PCDATA)>------------To Table EMP
: <!ELEMENT DEPTNO (#PCDATA)>----------To Table EMP
: <!ELEMENT LOCATION (#PCDATA)>--------To Table DETAILS
: <!ELEMENT ALLOWANCE (#PCDATA)>-------To Table DETAILS
: ]>
: <ROWSET>
: <ROW num="1">
: <EMPNO>88</EMPNO>
: <ENAME>cmos</ENAME>
: <LOCATION>usa</LOCATION>
: <ALLOWANCE>1000</ALLOWANCE>
: </ROW>
: </ROWSET>
: Thanks,
: Chan...
Oracle Technology Network
http://technet.oracle.com
null -
CATS Issue VERY Urgent..
HI ALL,
BiW PROD is placing CATS data for 2007 in to week 52 2006. Can advise why?
Please advise what would be the error.
Cheers,
SriHi All,
We have a problem for 0CALWEEK in CATS.
FOR 0CALQUARTER
20061 means 1st quarter
20062 means 2ND quarter
20063 means 3RD quarter
20064 means 4TH quarter
FOR 0calweeK:
20061 means 1st WEEK
20062 means 2ND WEEK
20063 means 3RD WEEK
20064 means 4TH WEEK
0CALWEEK is giving problem IN CUBE.
It shows wrongly.
0CALQUARTER 0CAL WEEk
2007 1 2006 52 ( 52 week)
2007 1 2006 52
<b>0CAL WEEk should show 2007 1 instead of 2006 52.</b>
It should show :
0CALQUARTER 0CAL WEEk
2007 1 2007 1 (ist week in 2007)
2007 1 2007 1
we have a routine on 0CAL_week
=====
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
data: employee_md like /bi0/memployee,
employee_wa like /bi0/memployee,
person_md like /bi0/mperson,
PERSON_WA LIKE /BI0/MPERSON.
DATA: G_RECORD_NO LIKE SY-TABIX.
INCLUDE RS_BCT_HR_UPDATE_RULES_GENERAL.
INCLUDE RS_BCT_HR_PAPA_UPDATE_RULES.
$$ end of global - insert your declaration only before this line -
FORM compute_characteristics
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS0CATS_IS_1
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZCATST-CALWEEK
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
data: w_date type d.
data: w_date_check type d.
data: w_numberofdays type p decimals 2.
data: w_numberofweeks type i.
data: w_dayofweek type p.
data: w_first_day_of_sap_calendar type d value '19790101'.
data: check type i.
data: w_year(4) type c.
data: w_weekno(2) type c.
w_date_check = COMM_STRUCTURE-CALDAY.
w_date = w_date_check.
w_date+04(04) = '0101'. " beginning of the year
do.
w_dayofweek = ( ( w_date - w_first_day_of_sap_calendar ) mod 7 ) + 1.
if w_dayofweek = 7. " First sunday(7) of the Current year
exit.
endif.
add 01 to w_date+07(01).
enddo.
w_numberofdays = ( w_date_check - w_date ) + 1.
w_numberofweeks = ceil( w_numberofdays / 7 ).
w_year = w_date_check+0(4).
if w_numberofweeks = 53.
w_numberofweeks = 1.
w_year = w_date_check+0(4) + 1.
endif.
if w_numberofweeks = 0.
w_numberofweeks = 52.
w_year = w_date_check+0(4) - 1.
endif.
w_weekno = w_numberofweeks.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = w_weekno
importing
output = w_weekno.
concatenate w_year w_weekno into RESULT.
result value of the routine
RESULT = .
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
========
This is giving problem from 2007 year only.
We need to check with FI or HR teams , Is there any configuration settings in R/3 side for 0Calweek?
This is production ISSUE. Help me on very Urgent BASIS!!
Thanks & Regards,
Sri.
Maybe you are looking for
-
CS4 will not install on Mac OS 10.8.2, AIR Error Message HELP!
Brand new Macbook Pro. I pop in my CS4 and I get the error message about installing AIR. I install AIR with no issue. Open Set up for CS4, the installer runs for a hot minute then I get this error message: "This application requires a version of adob
-
Bridge 6.3 and Bridge CC incompatibility (bug?)
I've installed Photoshop CC and Bridge CC. I already have a licensed copy of CS6.3. I now find that, when I reboot and open Bridge 6.3, it crashes upon being closed (indicating that Bridge "unexpectedly quit," and it throws up a page of error messag
-
How can I see pictures not imported using iphoto within iphoto?
I just got a new iMac and am converting over from a Dell PC. I have thousands of pictures that I copied over. I then synced my ipad and all those pictures imported using iPhoto. I liked the ability to see Events and Faces and ws thinking I might l
-
Hello, I have built a application with Labview 8.2.0, NI DAQmx 8.3 and NI USI TDMS Plugin 1.0. My appli work very good on my developpement computer, but when I install the appli on computer with RunTime Engine 8.2.0, NI DACmx 8.3 and NI USI TDMS Plug
-
Upgrade Roadmap for Windows/Oracle/SAP from 32 bit to 64 bit
Hello, what steps do I have to perform when upgrading the following system: SOURCE: - OS Windows 2000 32 bit - Oracle 8.1.6 32 bit - SAP 46C 32 bit (46D Kernel) TARGET: - OS Windows 2003 64 bit - Oracle 10.2 64 bit - SAP ERP 2004 64 bit In which sequ