Transformation routine problem - changing 2 infoobjects in 1 routine
Dear all,
i have coded a transformation routine which gets data from 4 infoobjects and writes into 1 infoobject.
routine is like that:
startdate-starttime-enddate-endtime
routine converts data into : time difference / 0calmonth
however i need to update also 0calmonth with that routine? how can i do that?
when i define a rule, i guess it always update only one infoobject?
thanks in advance.
Hi John,
sure you can. It is the same procedure as in update rules, but a start routine will only work if all your required fields are contained in the communication structure and so in the infosource. Otherwise you need to stay with the second routine.
regards
Siggi
Similar Messages
-
Problem in the update rule routine in BIW production
hi,
I have encountered a problem in the update rule, the problem is, there is a routine to calculate the age of a person, age is a key figure,
The problem is that the key figure is not being calculated.
we had encountered the same problem in the bw developent, we reinstaled the update rule, and the age was calculated correctly. Where as in production we cannot instal from business cotent, should we transport the perticular update rule once again?
if there is any other solution, please let me know.
Thanks in advance.
regards chetana.I think retransporting is the only option available to you. You cannot modify anything in your production system.
IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
hope this helps.
Praveen -
Problem in execution of start routine
Hi gurus,
I have written the following start routine in BW 3.5.
I want this code to be executed when i move data from ODS1: ZCC_LOAN to ODS2: ZCORPLNS.
The problem is that the start routine is not executed.
I used breakpoints (break-point.) both above and below the loop (loop at DATA_PACKAGE.) and scheduled the infopackage to do a transfer, but data was scheduled without entering the debug screen.
Do you think there might be wrong with the declarations of the DATA_PACKAGE? Any suggestions?
Thank you for your help,
Giorgos
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: /BIC/AZCORPLNS00.
TABLES: /BIC/AZCC_LOAN00.
DATA: lrate like /BIC/AZCORPLNS00-/BIC/ZBASERATE.
DATA: lspread like /BIC/AZCORPLNS00-/BIC/ZREPRSPRD.
DATA: lmonth like /BIC/AZCORPLNS00-fiscper3.
DATA: basedays type i,
year(4) type c,
month(2) type c,
lrmonth(2) type c,
lmonthi type i,
monthi type i,
lyear(4) type c,
lyeari type i,
fileyearmonth(6) type c,
lrdyearmonth(6) type c,
yeari type i.
$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS8ZCC_LOAN.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
to make monitor entries
loop at DATA_PACKAGE.
fileyearmonth = DATA_PACKAGE-/BIC/ZFILEDATE(6).
lrdyearmonth = DATA_PACKAGE-/BIC/ZLASTREPR(6).
if fileyearmonth = lrdyearmonth.
month = DATA_PACKAGE-/BIC/ZFILEDATE+4(2).
monthi = month.
year = DATA_PACKAGE-/BIC/ZFILEDATE(4).
yeari = year.
if month = '01'.
lyeari = yeari - 1.
lmonthi = 12.
else.
lyeari = yeari.
lmonthi = monthi - 1.
endif.
lyear = lyeari.
lmonth = lmonthi.
clear lrate.
clear lspread.
select single /BIC/ZBASERATE /BIC/ZREPRSPRD
from /BIC/AZCORPLNS00 into (lrate, lspread)
where FISCPER3 = lmonth and FISCYEAR = lyear
and /BIC/ZACCNUMB = DATA_PACKAGE-/BIC/ZACCNUMB.
DATA_PACKAGE-/BIC/ZBASERATE = lrate.
DATA_PACKAGE-/BIC/ZREPRSPRD = lspread.
modify DATA_PACKAGE.
endif.
endloop.Hi Giorgos
You need to use work area(l_s_datapak_line) of DATA_PACKAGE instead of DATA_PACKAGE.
Following are the changes should be required in your code
DATA: l_s_datapak_line TYPE DATA_PACKAGE_STRUCTURE.
loop at DATA_PACKAGE into l_s_datapak_line.
fileyearmonth = l_s_datapak_line-/BIC/ZFILEDATE(6).
lrdyearmonth = l_s_datapak_line-/BIC/ZLASTREPR(6).
if fileyearmonth = lrdyearmonth.
month = l_s_datapak_line-/BIC/ZFILEDATE+4(2).
monthi = month.
year = l_s_datapak_line-/BIC/ZFILEDATE(4).
yeari = year.
if month = '01'.
lyeari = yeari - 1.
lmonthi = 12.
else.
lyeari = yeari.
lmonthi = monthi - 1.
endif.
lyear = lyeari.
lmonth = lmonthi.
clear lrate.
clear lspread.
select single /BIC/ZBASERATE /BIC/ZREPRSPRD
from /BIC/AZCORPLNS00 into (lrate, lspread)
where FISCPER3 = lmonth and FISCYEAR = lyear
and /BIC/ZACCNUMB = l_s_datapak_line-/BIC/ZACCNUMB.
l_s_datapak_line-/BIC/ZBASERATE = lrate.
l_s_datapak_line-/BIC/ZREPRSPRD = lspread.
MODIFY DATA_PACKAGE FROM l_s_datapak_line.
endif.
endloop. -
Changes is special conversion routine not taking effect
I changed a special conversion routine specified in a conversion rule(BD79) with a rule type copy sender field.
I made the required changes to the function module CONVERSION_EXIT_&_OUTPUT and activated it but still the outbound Idoc suggests that the changes are not taking effect.
Can someone suggest what may be the reason for this?The issue got resolved
-
Hi All,
i have a requirement where i need to put a check on the date eneterd in the database table
to be greater than present in the table . for this i have created Zxxxxx event routine and
written logic inside. that routine type as 1 that is before saving . now when saving it is giving dump saying
perform not found while debugging i am seeing that it is not able to read the event program written by me .
Please suggest any ideas
Regards
Arun .Hi All,
i have a requirement where i need to put a check on the date eneterd in the database table
to be greater than present in the table . for this i have created Zxxxxx event routine and
written logic inside. that routine type as 1 that is before saving . now when saving it is giving dump saying
perform not found while debugging i am seeing that it is not able to read the event program written by me .
Please suggest any ideas
Regards
Arun . -
Change InfoObject value in flat file for Hierarchy load
Hi Guys,
I am loading hierarchy for an infoobject from flat file. I have the field InfoObject (IOBJNM) whose value needs to be changed before loading into the hierarchy. Can somebody tell me how can I do that through formula or routine.
The InfoObject loads 0HIER_NODE and a leaf infoobject values from flat file.
The hierarchy transfer rules does not contain IOBJNM field., though the Hier Structure under Transfer Structure tab contains IOBJNM.
In transfer structure I see only NodeName, Date From, Date To, and eaf infoobject.
Any help would be appreciated.Hi,
Try using the IDOC method while loading the hierarchy and make sure you have this IOBJNM in the external charactersitics for the Infoobect to which you are loading this hier.
Thanks,
Peter -
I can't convert my 3.x start routine to BI 7.0 start routine...
Hi All,
Can anyone help me to convert the below coding from 3.x start routine to BI 7.0 start routine.
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CSCOIS_GMAS.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
to make monitor entries
DATA : BEGIN OF t_yjepum OCCURS 0.
INCLUDE STRUCTURE /bic/pyjepum.
DATA : END OF t_yjepum.
DATA : T_VER LIKE ZTCO_VERCK OCCURS 10 WITH HEADER LINE.
SELECT * INTO CORRESPONDING FIELDS OF t_yjepum
FROM /bic/pyjepum
WHERE /bic/yopc IN ('AP', 'AS' ,'AR') .
APPEND t_yjepum.
CLEAR t_yjepum.
ENDSELECT.
SELECT * INTO CORRESPONDING FIELDS OF T_VER
FROM ZTCO_VERCK.
APPEND T_VER.
CLEAR T_VER.
ENDSELECT.
LOOP AT DATA_PACKAGE.
IF DATA_PACKAGE-/BIC/YJOBGUBUN = '3'.
DATA_PACKAGE-/BIC/YAVERSI = '0'.
ELSE.
READ TABLE T_VER WITH KEY
CALMONTH = DATA_PACKAGE-CALMONTH
YJOBGUBUN = DATA_PACKAGE-/BIC/YJOBGUBUN.
DATA_PACKAGE-/BIC/YAVERSI = T_VER-YAVERSI.
ENDIF.
IF DATA_PACKAGE-/BIC/YJOBGUBUN = '3'
and DATA_PACKAGE-/BIC/YCOM = 'C4C0'.
IF DATA_PACKAGE-/BIC/YACHAR+18(4) = 'C4CV' OR
DATA_PACKAGE-/BIC/YACHAR+18(4) = 'C4CX' OR
DATA_PACKAGE-/BIC/YACHAR+18(4) = 'C4CW'.
DATA_PACKAGE-/BIC/YCOM = DATA_PACKAGE-/BIC/YACHAR+18(4).
ENDIF.
ENDIF.
MODIFY DATA_PACKAGE.
CLEAR : DATA_PACKAGE.
ENDLOOP.
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.There are a few basic rules you're not keeping to here. Can't use header lines on your internal tables. Also you can't use the 'into corresponding fields of table' in a select loop. So you don't need the append or the endselect statements.
Try this:
$$ begin of global - insert your declaration only below this line -
types:
begin of tp_yjepum,
include type /bic/pyjepm,
end of tp_yjepum.
*declare tables based on types without header lines
data:
t_yjepum type standard table of tp_yjepum,
s_vjepum type tp_yjepum. "work area for t_vjepum,
*if you need a work area to use with the table use the same typing as your internal table
t_ver type standard table of ztco_verck.
$$ end of global - insert your declaration only before this line -
$$ begin of routine - insert your code only below this line -
... "insert your code here
*-- fill table "MONITOR" with values of structure "MONITOR_REC"
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
select * into corresponding fields of table t_yjepum from /bic/pyjepum
where /bic/yopc IN ('AP', 'AS' ,'AR') .
no append or endselect required
if sy-subrc ne 0.
a message to the log if there was nothing in the table?
endif.
select * into corresponding fields of table t_ver from ztco_verck.
if sy-subrc ne 0.
a message to the log if there was nothing in the table?
endif. -
[svn:fx-trunk] 10229: Fixes for some transform effects problems.
Revision: 10229
Author: [email protected]
Date: 2009-09-14 08:43:43 -0700 (Mon, 14 Sep 2009)
Log Message:
Fixes for some transform effects problems.
- We were not animating the postLayout properties in some cases where we should have, effectively pinning the object in place. We now animate those properties whenever applyChangesPostLayout is true.
- A copy/paste error meant that we did not animate the scaleZ property in cases where we should have.
- A problem in the transform code means that using a null transform center is not the same as a transform center which uses the transformX/Y/Z properties of the target object. We now force the creation/use of a transform center in all cases to avoid that problem.
QE notes: This breaks about a dozen tests in the transform effects area, but I believe the new results are correct and the tests/bitmaps should be changed.
Doc notes: None
Bugs: sdk-23177
Reviewer: Hans
Tests run: checkintests, Mustella transform effects
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/sdk-23177
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as -
Probleme changing the value of a variable in movieclip from my scene
Hello,
i have a probleme changing the value of a variable in movieclip from my scene. i explain: I have combobox on my scene containing categories, and in the scene i load an xml file containing links to php files that work with the combobox.
Also on the scene i have a movieclip "filmstrip", inside this movieclip on the first frame i have a script loading the php file selected in the scene . i use a load() function with a variable "theUrl" inside like this : T.load(theUrl);.
In my scene i want to change the value of "theUrl" inside the movieClip filmstrip. I tried filmstrip.theUrl = url; But it doesnt work
the xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<slideshow>
<area title1="10 Last updated" link1="link1.php"/>
<area title1="special" link1="link2.php"/>
</slideshow>
here is the code on my scene:
var link1:Array = new Array();
var LINK:String;
var url:String;
var whoOn:Number;
whoOn=0;
var x:XML = new XML();
x.ignoreWhite = true;
x.onLoad = function(success) {
var photos:Array = this.firstChild.childNodes;
for (i=0; i<photos.length; i++) {
_root.link1.push(photos[i].attributes.link1);
url=link1[whoOn];
filmstrip.theUrl=url;//<<--HERE
x.load("category.xml");
var cbListener:Object = new Object();
cbListener.change = function(event_obj:Object) {
trace(select.selectedItem.label);
if (select.selectedItem.label == "Last updated") {
whoOn=0;
} else if (select.selectedItem.label == "Special") {
whoOn=1;
url=link1[whoOn];
filmstrip.theUrl=url; //<<-----HERE
select.addEventListener("change",cbListener);
here is the code inside the movie clip "filmstrip"
var T:XML = new XML();
T.ignoreWhite = true;
T.onLoad = function(xml) {
etc etc etc }
T.load(theUrl); //<<---HERE it still undefinedYESSSS . Thanks you very much Kglad it wotk i put all in a function inside the filmstrip function Tload(theUrl){etc ect}and in the root i call it like this filmstrip.Tload(theUrl); and it works
code in the root var link1:Array = new Array();
var LINK:String;
var url:String;
var whoOn:Number;
whoOn=0;
var x:XML = new XML();
x.ignoreWhite = true;
x.onLoad = function(success) {
var photos:Array = this.firstChild.childNodes;
for (i=0; i<photos.length; i++) {
_root.link1.push(photos[i].attributes.link1);
url=link1[whoOn];
theUrl=url;
filmstrip.Tload(theUrl);//<<--HERE
x.load("category.xml");
var cbListener:Object = new Object();
cbListener.change = function(event_obj:Object) {
trace(select.selectedItem.label);
if (select.selectedItem.label == "Last updated") {
whoOn=0;
} else if (select.selectedItem.label == "Special") {
whoOn=1;
url=link1[whoOn];
theUrl=url;
filmstrip.Tload(theUrl);//<<-----HERE
select.addEventListener("change",cbListener); -
In iTunes I'm having problems changing the "Media Kind" in the OPTIONS menu from "Music" to "Audiobook". After going through the steps, the next time I check, the items have reverted back to "Music". What must I do to save it as an "Audiobook"?
After more digging in the Support section here and some Google work, I turned off iTunes Match and lo and behold! I can change the media kind to Audiobook! So, it looks like iTunes Match locked the files up somehow and for some reason.
I went into iTunes Store > iTunes Match > "No, Thanks" to disable it on the local PC. -
Having problems changing my verizon prepaid to a new device
I'm having problems changing my Verizon prepaid phone number to a new device.
Anita65,
Oh no, sorry to hear you are having so many issues changing your device. However, get some assistance changing your device by contacting Prepaid Support at 888-294-6804.
KarenC_VZW
Follow us on Twitter @VZWSupport -
Hello,
I am having problems changing my AppleID name. On Apple ID summary, it shows my moms name. Before I was 18 the billing information was under her name. Now I have changed it to my information. When I go to "Account Details" it shows my information, but when I go back to Apple ID summary, it still showers her name. How do i fix this or who can I talk to, to get this changed?
thanksThere is no an easier solution?
Thank you ! -
Problem changing default key bindings using Oracle Terminal
Hello,
I'm facing a problem changing default key bindings using Oracle Terminal. I changed
some bindings, saved them in forms60/fmrusw.res, started the generation and saved again.
I thought that's it but it wasn't. It took no effect at all in Forms (even after recompilation) although reopening the file in Terminal showed the changes. I'm using Forms in German, which means that even the key bindings displayed in Forms are translated i.e. STRG+F1 instead if CTRL+F1,
but I can't find a german version of this resource file, so i think it's the same resource file for all supported languages. But what is needed for the changes to take effect ?
Thanks in advance
STD
nullHi,
is it client/server you are working?
if so you should not be using the fmrusw.res file because I guess your NLS_LANG is German_Germany.WE8ISO8859P1 or something like that. This means the terminal that is being opened is fmrdw.res instead of fmrusw.res and this file should be edited using Oracle Terminal.
if you are working via the web implementation than you can open the file fmrweb.res in a text editor and change the keybindings in there. If you need to have the PC like key bindings on the web just open the fmrpcweb.res and see if it contains the German texts. If so you can either copy this file over the frmweb.res file or you can specify term=fmrpcweb.res in the serverargs parameter.
Hope this helps.
Kind regards,
Frank van der Borden
Oracle Support Services
Netherlands -
I am having a problem changing a color in a selected area. Using the Quick Selection tool I am able to select the area I wish to change. Using the Brush tool, color, color mode and click drag in my selected area, nothing happens, no color changes. I have viewed some videos and read numerous articles but haven't found the one to help me. Please point me in the best direction. Thank you Vincent TC
For the sake of clarity and to save people time, Todd is asking about the behaviour of the Patch tool when using it to repair the area next to the young lad's head. Todd gets a blurred dark tone pretty much regardless of the options he uses.
IMO that's what I would expect to happen because of the close proximity of the other image elements i.e. the lad's neck and the strong lines of his shirt. I would not choose to use the Patch tool in this situation. Content Aware Fill makes a better stab at it. -
I was hacked and had to change my yahoo passwrd. I cannot get my iPhone or iPad to accept my new password so I cannot receive messages on either. I had not problem changing my password on my apple computer. Please help! What is the secret?
Delete the account on your phone & iPad. Then set them up again.
Maybe you are looking for
-
BI-IP: Formula FOX - Debug & Break-Point
Hello, BI-IP compiles the command "BREAK-POINT" in the Formula FOX source code. But it does not debug when the planning function is "executed with trace" (sequences). Is there any possibility in BI-IP to debug the FOX code? regards Eckhard Lewin
-
Change the PO amount to PO value
HI ABAP expert, Sorry because i'm not expert in ABAP. I got this ABAP program for Open PO in SDN, can anyone help me to change the > PO Amount change to PO Value > GR/SE Amount Change to GR Value > IR AMount Change to IR Value > Outstanding change to
-
Remittance challan in ECC 6.0
Dear All, In ECC 6.0, there is a problom in printing Rimittance challan, when i am trying to create Business place, it takes me to create Section code, eventhough i created business place in Cross-apllication comphonent, but still there is a prob
-
Has anyone seen this behaviour of AccessHW In Port?
Yesterday I was trying to check the operation of a plug-in PCMCIA parallel port, specifically I wanted to know if there were any timing issues with this device on an XP machine, so I thought I would try the AccessHW In and Out functions in Labview. I
-
Sun Ray 1 with remote desktop on windows 7 ultimate
I have a windows 7 ultimate box. I have an unopened Sun Ray 1. Before I open the box, I want to know if I can use the Sun Ray 1 to connect to my windows 7 ultimate box. If I can, how do I do it? Is it easy? Thanks