on 03-23-2007 10:20 AM
Hi,
I am working with Idoc to file scenario.
And my requirement in some of the fields are as follow.
IF E1IDB02 BA-FIIKWAER = CNY
then MID(E1EDKA1 BE-NAME1,12,11)
IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
then MID(E1EDKA1 BE-STRAS,1,35)
IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
then MID(E1EDKA1 BE-NAME1,36,35)
Please let me know the functions to be used for mapping
eg:ifequal.... etc
Manoj
Good Results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can achieve this by UDF,
inputs are E1IDB02 BA-FIIKWAER,E1EDKA1 BE-NAME1
yes then suggest MIDE(E1EDKA1 BE - STRAS,1,35)
IF E1IDB02 BA-FIIKWAER = CNY
then MID(E1EDKA1 BE-NAME1,12,11)
IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
then MID(E1EDKA1 BE-STRAS,1,35)
IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
then MID(E1EDKA1 BE-NAME1,36,35)
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use adavnced UDF that is pass the value in Queue or context then you can loop the all values you have.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
You can achieve with the help of BPM loop and block functions
Thx
Ravijeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u can make use of nodes in graphical mapping like if..else,equals etc...but it have more contriol on tis u can check with udf's...the input to the udf will beE1IDB02 BA-FIIKWAER, CNY, E1EDKA1 BE-NAME1 , E1EDKA1 BE-STRAS and inside the udf u will have the java check condition and return the substring which is then mapped to target.
and check if the topic is relevant to ur post.
Message was edited by:
Prabhu S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can achieve with the help of boolean function "IF"(ie IF the ELSE)of standard fucntions in message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.