on 05-03-2007 1:02 AM
Hi all
We need to evaluate the value of a tag to validate if we can create on register into a table. Ex.:
<MATRIAL_TYPE>ERSA<\MATERIAL_TYPE>
In this case we need to create this value in a table, otherwise we don't create it.
BR
Hi Satish
I send iu the specific problem that we have
Family_code→
Concat(*)→
Line_code→ Concat(*)→
Category → Concat(*) →Idiomas→Item
Ginco_code→
I need to add this operation
Material_type_code --→ concat(*) → Idiomas → Item,
only if Material_type_code = ERSA
otherwise leave it as original
Where Idiomas:
public void Idiomas(String[] idiomas,ResultList result,Container container){
//write your code here
String[] var = idiomas[0].split("
*");
for (int i = 0; i < var.length; i++) {
result.addValue(var<i>);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jose,
<b>>>>Material_type_code --→ concat(*) → Idiomas → Item,
only if Material_type_code = ERSA</b>
do u want to concatenate material type code with somevalue and map to target. if then u need to use if..else condfition in graphical mapping. the mapping will be like: Material_type_code <u><b>equals</b></u> "ERSA" then u concatenate node and link to THEN part of IF. The other end of IF mapped to the target item.
Note: Equals, concatenate are all std nodes available. for ERSA u need to use a constant node and hardcode the value.
Jose,
As I understood if you have the value ERSA as material type you want to create the value else nothing to be done.
If it is yes then use the standard function If-then-else.
So if exists then you create else you dont.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.