Suggestion for Mapping logic needed
Hi
I have a condition were in if a field value is A1 i should pass it as 01 to target and if its A2 i should pass it as 02 to target side..
We can do it using fixed valued fn..But if the field value is anything othet than A1 or A2 what ever comes it has to be passed over unchanged..
How to get it..Do we need a UDF or standrd fns can do it?
Hi Prabhas,
If you select the FixValues function from Convesion and double click on it, the following options should be visible:
1.Default Value: (not required in your scenario)
2.Behaviour if Lookup Fails: (Options in round check button are)
a) Use Key - - - select this option
b) Use Default Value (picks value from point 1) - - - not required in your scenario
c) Throw Exception - - - not required in your scenario
3. Value to be entered with + addition and - deletion button for entries
key value
A1 01
A2 02
Hope this helps.
Regards,
Souvik
Similar Messages
-
Hi frnds,
i am doing an idoc-file scneario...below are teh strcuturess
Idoc:
---ZTXT(NOde)
---ZLine1(Subnode) [0:10 occurance]
Name(Attribute)
Value(Attribute)
File:
---TXT(NOde)
--Cost
--rate
--excValue
The Logic is if Name Attribute is equal to "Cost"(name of the field in target) then value should be mapped to "Cost" fieldOr if Name attribute is equal to "rate"(name of the field in target) then the value should be mapped to "rate"
I tried with using "if then" fn but when the Zline1 node is repeated with different its generating only one value on the target side . its not generating multiplpe values..(Ex say if we have values as cost and rate being repeated in Idoc its generating only one field cost in file no value is entered for rate )
Can you help me where i am going wrong..Hi,
Similar to this
<@Name> --------------> <@value>-->
<equalsS> ------------------> <if then else> -----> <Cost>
<Constant = cost> -----> <constant = blank> --->
Have you done the mapping for Rates as well?
<@Name> --------------> <@value>-->
<equalsS> ------------------> <if then else> -----> <Rate>
<Constant = rates> -----> <constant = blank> --->
Regards,
Aravind -
Looking for a little help mapping the following tables. It looks a little like aggregate mapping would work, but I need 1-many, not 1-1.
Group:
id name
1 Group1
2 Group2
GroupJobStatus
group_id status month job
1 Complete 1/03 1
1 Complete 1/03 2
1 Open 2/03 1
1 Open 2/03 2
Job
id name
1 Job1
2 Job2
Now I would like to map these to the following java classes
Class:Group
id
name
groupPeriods
has: (1-n)
Class:GroupPeriod
month
jobStatuses
has: (1-n)
Class:JobStatus
job
status
I have omitted any attributes which seemed unnecesary.
Thanks,
craigLooks like your object model and data models are very different. This easiest and best solution is to make them match each other.
i.e. in your data model Group has a 1-n to JobStatus which has a job, month and status. You should either change you object model to match this (i.e. remove the GroupPeriod class), or change your data model to match your object model, (i.e. add a GROUP_PERIOD table).
If you do not wish to change either model, then you could either wrap the data model with complex views that construct the GROUP_PERIOD from the existing GroupJobStatus table, or have special get/set methods in your object model for the GroupPeriods which construct the objects from the JobStatuses. -
Suggestion for a much needed app
I am a volunteer firefighter. I am dispatched to calls via a Motorola Monitor voice pager. Since approximately 84% of firefighters in the U.S. are volunteers, and the vast majority of them use the same system that my department does, an app that would work just like my pager would be REALLY handy. Not to mention it would be cost effective to my department. I believe that there would be a large demand for an app like this.
Message was edited by: C BouquetContact the manufacturers of the company/organisation that sends out the call despatch alerts and suggest it to them.
Or, find a developer on the AppStore that does something similar and suggest it to them. -
Need new PC - Suggestions for system requirements needed!
Hello!
I am taking a class in CS4 Design Premium and will be purchasing the software as soon as I buy a new computer. I've been looking into an Acer or HP Desktop PC (<$700) with the following minimum requirements:
4GB RAM
2.0GHz processing speed
500GB hard drive
I've read the Sticky posted on this site regarding graphics cards compatible with CS4, but I'd really appreciate suggestions from the users. What do you feel is the best system to purchase for a new web designer? Are there other components I should be concerned about?
I truly appreciate any and all input
LynnYou could buy a used printer on ebay, the models here support the HP 02 cartridges:
Compatible printers (released since July 2005)
» HP Photosmart 8200 Printer series
» HP Photosmart D7100 Printer series
» HP Photosmart D7200 Printer series
» HP Photosmart D7300 Printer series
» HP Photosmart D7400 Printer series
» HP Photosmart 3100 All-in-One series
» HP Photosmart 3200 All-in-One series
» HP Photosmart 3300 All-in-One series
» HP Photosmart C5100 All-in-One series
» HP Photosmart C6100 All-in-One series
» HP Photosmart C6200 All-in-One series
» HP Photosmart C7100 All-in-One series
» HP Photosmart C7200 All-in-One series
» HP Photosmart C8100 All-in-One series
With a page printing volume of only fifty pages a week a CIS system may be overkill. I print about that on my Officejet 8600 Plus and have only replaced the cartridges once in eighteen months.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
Need Mapping logic for the following scenario
Hi everyone,
I need a mapping logic for the following scenario.
For the same order no with same material no, the quantity should be summed and only one idoc should be created.
For the same order no with different material no, no need to sum the quantity and only one idoc should be created.
For example:
Source Structure:
Ord No Mat No QTY
12 1 2
13 1 3
13 2 1
12 2 4
15 1 5
14 3 7
12 1 6
Target Structure:
Ord No Mat No QTY
12 1 8
12 2 4
13 1 3
13 2 1
14 3 7
15 1 5
Thanks in AdvanceTry the graphical mapping as shown below using concat with a space as delimite and UDF to split the value again by space.
1. Idoc node
(RootContext)
OrdNo
|concat[ ] -> sort[asending] -> SplitByValue -> collapseContexts -> Idoc
MatNo case sensitive [ValueChange]
(RootContext)
2. OrdNo
OrdNo(RC)
|concat[ ] -> sort[asending] ->SplitByValue->collapseContexts->SplitByVale-> UDF to fetch ordno -> OrdNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[0];)
3. MatNo
OrdNo(RC)
|concat[ ] -> sort[asending] -> SplitByValue ->collapseContexts->SplitByVale-> UDF to fetch ordno -> MatNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[1];)
4. Qty
[asending,case sensitive]
-- sortByKey -----> formatByExample -> sum ->Qty
OrdNo(RC) | | ^
|concat[ ] -> | Qty(RC) |
MatNo(RC) | |
--sort[asending]-> SplitByValue
case sensitive [ValueChange]
Regards,
Sunil Chandra -
Need suggestion for designing a BEx report
Hi,
I need suggestions for designing a BEx report.
Iu2019ve a DSO with below structure:
1. Functional Location u2013 Key
2. Maintenance Plan u2013 Key
3. Maintenance Item u2013 Key
4. Call # - Key
5. Cycle u2013 Data Field
6. Planned Date u2013 Data Field
7. Completion Date u2013 Data Field
This DSO contains data like:
Functional -
Plan --- Item -
Call# --- Cycle -
Planned Dt -
Completion Dt
Location
11177 -
134 -
20 -
1 -
T1 -
02-Jan-2011 -
10-Jan-2011
11177 -
134 -
20 -
2 -
T2 -
15-Feb-2011 -
11177 -
134 -
20 -
3 -
T1 -
15-Mar-2011 -
11177 -
134 -
20 -
4 -
M1 -
30-Mar-2011 -
25000 -
170 -
145 -
1 -
T1 -
19-Jan-2011 -
19-Jan-2011
25000 -
134 -
145 -
2 -
T2 -
20-Feb-2011 -
25-Feb-2011
25000 -
134 -
145 -
3 -
T1 -
14-Mar-2011 -
Now Iu2019ve to create a report which will be executed at the end of every month and should display the list of Functional Locations whose Cycles were planned in that particular month, along with the last completed Cycle/Date.
Thus based upon above data, if I execute report at the end of (say) March then report must display:
Functional --- Curr. Cycle --- Planned Date --- Prev. completed Cycle --- Prev Completed Date
Location
11177 -
T1 -
15-Mar-2011 -
--- T1 -
-- 10-Jan-2011
11177 -
M1 -
30-Mar-2011 -
--- T1 -
-- 10-Jan-2011
25000 -
T1 -
14-Mar-2011 -
--- T2 -
-- 25-Feb-2011
Any idea how can I display Previous Completed Cycle and Completion Date (i.e. the last two columns)?
Regards,
Vikrant.hi vikrant,
You can a Cube at the reporting layer which gets data from DSO and which has these 2 extra characteristics completion date and previous cycle along with other chars and keyfigures from DSO.
You can populate these based on your logic in the field routine.
Hope it helps.
Regards
Dev -
Hi all,
In mapping i need to mapp like this
Idoc--file scenario, sending delivery document to file system
in header of file structure, i have a field called Total Units, the logic for this field shld be
Sum up the field ZCONV_QUAN for each delivery.
How to do this please help me
RegardsHi satish,
I have to do some thing more in this.
As you said i mapped the field to sum and to target field.its fine
Now this field is there at header level and comes only ones, i should repeat this field as many number of times the line item repeats.
Now iam using the ligic like this
ZCONV_QUAN--UseOneAsMany-Sum--Target Field
to UseOnaAsMany function i mapped ZCONV_QUAN as first argument and changed the context to Idoc and the second argument as line Item segment changed the context to Idoc, third argument as line itme segment.
its giving the error as
Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue
Regards -
How can i find the tablename for that field and suggest the report logic
Hi experts
The concept of BOM for finished components are defined in terms of semi finished goods. Hence, routing of a component from raw materials can not be seen directly in system through standard report.
But users need to have the details of a routing of a component from raw material in one report. To provide the details in single report, development is required.
With this report users can see the routing from raw material till component in one single report.
Assumption
BOM is maintained for a component with all related semi finished components till raw material properly.
Material Number: MARA MATNR - Multiple selection option should be there (Mandatory)
Plant: AFRU WERKS - Single selection parameter (Mandatory)
If procurement type is E or X, system has to check the routing through CA03.
If procurement type if F, leave this field as blank
1.operator
2.material
3.material description
4.workcenter
5.vendor
6.operation description
7.uom
8.qty
9.uom
10.setuptime
11.processingtime
12.deliverytime
using cs12,cs13
here i have seen the details of finished goods components like semifinished goods,rawmaterils,i tried se11 to find the the table for relevent field,
i cant get, if possible to suggest me the logic and how to find the relevent table for
that field
Regards
dsfor exploding the bom if you know header material use
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
if production order created you have to check in afvc and afvv else check in plpo and plko.
for checking with plpo and plko you have to check MAPL table.
for bom and material link
MAST,STPO,STKO.
stlnr is the common field
regards
shiba dutta -
Suggestions for controller for logic pro
Hi;
I'm composer. And i want to buy staff for makind music on computer. I found many but they arent special for Logic pro.
I'll write want i want, please write your suggestion about what i need and have to buy..
Requirement about the staff that i want:
* After i prepare my music' midi files by writing to Logic or Finale; i want to change this ınstruments with good sample sounds.
* After that i want to control everything about music (tempo!,velocity, volume, balance etc.)with automation by using a analog table like a conductor.
* By using this analog table, i want to change ınstrument effects. For example; When its neccessary i need to import pizzicato strings or staccato woodwinds etc.
*Like a rehearsal with symphonic orcestra, i want to order everything from this analog table.
Please suggest me staff which has ""every"" requirements that i need(with trade names)
(please attention : some suggestions hasn't got automation for tempo -ritardando, accelerando)
Thank you for now.jazzlife, I really suggest you read up on what Logic 7 can do and how it works. Logic uses both MIDI and recorded audio files and can use both real (external) and virtual (software) synthesisers. It is a very flexible piece of software and will fulfil all the requirements you have listed. I'm not sure what you mean exactly by an 'analog table' but be assured you have full control over every aspect of your music such as adding effects and mixing.
It is difficult to suggest exactly what you need because everybody's requirements are different.
If you wish to record audio then you will need an audio i/o device. Some good trade names are: RME, Apogee, MOTU and Presonus. There are others of course.
If you need a MIDI i/o device for external synths then I suggest you start look at MOTU. Also, some of the audio i/o devices have a built in MIDI port as well!
It might be useful to find a music shop that can advise you or put you in contact with someone near you who uses Logic.
I hope that helps you a bit.
Rik -
Logic Needed for MM Report with PR, PO, GR and Invoice details
Hi Experts,
We need to provide a list of below details as columns.
PR, PR creation date, PO, PO creation date, GR, GR creation date, Invoice and Invoice creation date.
Now on the selection screen we'll have Date range. If I give the dat range as 01.01.2011 to 31.12.2011, then the list should be displaying all the details. However, it should first check Invoices in that date range and mention the related details. If there are some GRs (for which invoice is not yet created) for that year, then the related details (PR, PO and GR) of that GR are to be shown. For POs (for which GR itself is not yet created), again details are to be shown (PR and PO details).
Can somebody help me in getting this done in some simpler way? I am thinking of fetching the data from the respective tables for this date range and then from invoice i will be printing and then deleting the corresponding GR, PO and PR. Then will be checking GR , printing the details and deleting corresponding PR and PO.. and so on. But I felt this not that great.
Can anyone suggest some other logic or provide some inputs?
Thanks.Hi,
As per your requirement you can cross the tables i.e. BSET,RSEG,RBKP(For Invoice Header n Item Details).Then now go to the MKPF,MSEG tables (For MIGO Details) and EBAN,EKKO,EKPO(For Purchase Requsitions,Orders Details).... Consider BUDAT as a selection date among the tables RSEG,MKPF,EKKO.
Regards,
Rickky -
Hi
I need a procedure 4 this logic,
Need to get 32+ inputs in procedure of same type varchar2,
If comp_id !=360
insert 32 inputs in table column-> value using custom-id
Note:
Column : brand-code,value,custom_name using custom_id
brand-code gets from comp-id from another table
i/p- from procedure comp_id and 32 inputs
This 32 inputs should use varray cocept
end if;
ex:
table 1
brand_code custom-id value editble
table 2
custom-id custom-name
Could you please share ur suggestionsCreate or replace procedure cdm_cl_proc is
v_sqnum number(3);
cursor c1 is
select dcn, pp_code from d_cl_ext;
Cursor c2 is
Select t_code, s_date, area_chrg, rc_pct from d_c_p_ext;
Begin
for v1 in c1
Loop
update d_cl set pp_code = v1.pp_code
where dcn=v1.dcn;
select d_sqnum into v_sqnum from d_cl
where dcn=v1.dcn;
For v2 in c2
Loop
Update d_c_p set area_chrg= v2.area_chrg, rc_pct=v2.rc_pct
Where t_code= v2.t_code and s_date = v2.s_date
and d_sqnum = v_sqnum;
if mod(c2%rowcount,1000)=0 then
commit;
end if;
End loop;
if mod(c1%rowcount,1000)=0 then
commit;
end if;
End loop;
Commit;
End;
I amable to load the data when dcn is matched but, if the dcn is not matched no data found error is coming. can u suggest error handling for this. -
Need Suggestion for Archival of a Table Data
Hi guys,
I want to archive one of my large table. the structure of table is as below.
Daily there will be around 40000 rows inserted into the table.
Need suggestion for the same. will the partitioning help and on what basis?
CREATE TABLE IM_JMS_MESSAGES_CLOB_IN
LOAN_NUMBER VARCHAR2(10 BYTE),
LOAN_XML CLOB,
LOAN_UPDATE_DT TIMESTAMP(6),
JMS_TIMESTAMP TIMESTAMP(6),
INSERT_DT TIMESTAMP(6)
TABLESPACE DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 1M
NEXT 1M
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
LOGGING
LOB (LOAN_XML) STORE AS
( TABLESPACE DATA
ENABLE STORAGE IN ROW
CHUNK 8192
PCTVERSION 10
NOCACHE
STORAGE (
INITIAL 1M
NEXT 1M
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOCACHE
NOPARALLEL;
do the needful.
regards,
SandeepThere will not be any updates /deletes on the table.
I have created a partitioned table with same struture and i am inserting the records from my original table to this partitioned table where i will maintain data for 6 months.
After loading the data from original table to archived table i will truncating the original table.
If my original table is partitioned then what about the restoring of the data??? how will restore the data of last month??? -
Suggestion for a drum pad interface to use in Logic 7.2
Hello all. I'm looking for suggestions for a drum pad interface to use with logic 7.2. I was very interested with the Korg PadKontrol but unfortunately it is not UB compliant. According to my understanding it will only work in Rosetta. Can anyone else let me know what pad interface you use (UB compliant) and your experiences with it. I am doing alot of research on what to get but I really believe in Feedback from "real life" users. Thank you very much in advance for your time!!
the pad itself uses MIDI to communicate with the Mac. They bundle software with the pad that is not UB. So if you are not intending to use the editor software, it is irrelevent.
-
Suggestion for a needed Walkman app improvement
Dear Sirs,
Although I’ll sadly have to part from my Sony Z1 (for other issues reported on this forum and to Sony Xperia Care, namely the touchscreen issue), I would still like to leave a suggestion for the most underachieving app (imho) from a Sony Smartphone.
With the long tradition on audio excellence and the Walkman brand, I would suspect that it would be a strong point on a Sony Smartphone. Strangely enough, the Walkman app made me buy a third party app (PowerAmp) to get some basic functionality like I had on my old iPhone 3GS.
One of the most serious faults of the Walkman app is the lack of volume normalization between audio tracks. Although Sony does provide a workaround (which is nothing more than a dynamic range compressor), it doesn’t make any sense (imho) with today’s technology.
Replaygain (for instance) is a free (but very effective) way of normalizing volumes without degrading the sound quality. Many apps like PowerAmp have it, and even iTunes has a proprietary version of it built in on every device for many years now.
As I said before, this can be done with third-party apps and third-party media management software (like JRiver or the free Foobar), but by doing so, the user loses the integration provided by a unique manufacturer (Sony Media Go -> Sony Walkman).
I’m really just trying to help, as it gets harder to understand why Sony lacks on such elementary things audio-wise, when the same company has Walkmans supporting the highest definition audio formats available today.
I tend to relate Sony with high quality digital audio products, so it seems strange that this particular app is so rudimentary on these levels. The Walkman app is eye-candy, but it should also be “hear-candy”, which it isn’t.You need to pass this on to the Sony delvelopers site as this is a user support forum
Contact details for Sony support http://developer.sonymobile.com/about/how-do-i-get-in-contact
For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. Richard P. Feynman
Maybe you are looking for
-
Live Migration with Different CPU versions on the hosts, win 2012R2 Datacenter
Hello This question have been asked in different forums but when I read the the thread's I feel that I get mixed answers. And most answers are dating from 2012 (Win 2008R2), I don't know if they are still correct in win 2012R2. So now I ask the quest
-
How to upgrade from mac os 10.5.8 to mac os 10.6
I have Mac OS 10.5.8. How do I get Mac OS 10.6 needed to upgrade to Lion? thank you
-
RFC call from ECC to XI & message looping/splitting.
Hi, I have a ECC RFC that returns table. The RFC does not have any input or output parameters. The data is sent to XI from ECC. I used RFC sender adapter but there is a problem. Once data comes in I am not able to map the response as source to anothe
-
Reader 9.0 install problem
I too am having problems with this install. The message is twofold: Network not supported; then it's looking for something called 'sfr.msi file'. I tried the windows cleanup suggestion, got another error from them saying " cannot find script engine f
-
TABLE CONTROL IN TAB STRIP CONTROL
hi experts, I have a problem with table control in tab strip control i have table control in first tab and some text fields in second tab . i enter data into table control in first tab and enter into second tab and i fill data into second tab also