When we go for a UDF
Hi,
this is an FAQ.. so, can you please provide me the solution for this.. I'm using PI 7.0 in which scenario we need to go for UDF.. normally in PI for everything standard functions are there.. even though.. some times we need to go for an UDF's.. can anybody give the scenarios.. when exactly we need to go for a n UDF..
how can we sya this with better answer..
Thanks
babu
Hi Babu,
As u r aware that UDF is the functinality provided by XI where we can not fulfill the requirement by Std functions.
Let me give you few example:
1) UDF is required when we want to do lookup in R3,which can not be done with std function.
Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
Some use cases:
Look up material number from table MARA.
Look up cost center budget.
Look up employee information.
Look up unit-of-measure (UOM) information from table t006a.
Lookup for raising an alert.
In this case we need to write the UDF for the same.
2) UDF is used when you want to get the file value dynamically from the File adapter that time you have to go for UDF.
3) When there is a requirement where you need to do the comparision of input value with some value and based on that comparision you need to return some different value.
4) You can use USF for raising alert.
5) You can use UDF for calling passing values to other java code.
There are many examples but it depends upon the requirement.
Thnx
Chirag
Similar Messages
-
How to activate Approval in Sales Order for the UDF with condition
Dear Expert,
I have created the UDF field Rebate(type amount) in Sales Order.I want to activate the approval procedure for this UDF with condition where Rebate is greater then Zero.I had applied the query and Activate it in approval procedure.--
SELECT (Case When IsNull(count(T0.[DocEntry]),0) <>0 Then 'True' Else 'False' End) AS TF
FROM Ordr T0 where DocType='I' AND t0.U_rebate >0 and convert(Varchar(20),T0.[CreateDate],103) =(select convert(Varchar(20),Getdate(),103))
But I found that the approval procedure activate every time inspite the Rebate field is Zero.
Plaese suggest some soloution for it.
regards,
PankajKHi Pankaj......
Try this.......
Select Distinct 'True' From ORDR T0 Where T0.U_Rebate>0 and T0.DocType='I' And T0.DocNum=$[ORDR.DocNum.0]
Hope this will help you.......
Regards,
Rahul -
Error when executing statement for table/stored proc. : ORA-00911
Hi All,
I am posting IDOC->XI->JDBC, approx 5000 Idocs.
But few messages are giving following error in XI-_SXMB_MONI
Can any one guide me what is the cause of error? I check whole Idoc data I am not able to see bad character? can any once guide me what are the bad character in XML to post data in oracle? so that i can search in XML and how to avoide this error.
"com.sap.aii.af.ra.ms.api.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'HRP1001' (structure 'INSERT_PAD34'): java.sql.SQLException: ORA-00911: invalid character"> I am talking about following IDOC.<ZRMD_A06> ->
> <E1PLOGI SEGMENT="1">-> <E1PITYP SEGMENT="1"> ->
> <E1PAD34 SEGMENT="1"> -><PROZT>0.00 #</PROZT>.
> Can we remove this # during message mapping in XI??
sure you can remove it using Replace function or by writing UDF.
as I am seing # is last character..<b>so remove # with " " (single space) and then use the TRIM fucntion.</b>
Thanks
Farooq.
*<b>Rewards points if you find it useful*</b> -
I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?
The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
Menu > Format > Import Styles
The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
Peter -
MY I PHONE WILL NOT LET ME DOWNLOAD ANYMORE APPS CUS OF MY BILLING INFORMATION IVE FIXED THIS ERROR SEVERAL TIMES ALREADY & IT STILL TELLS ME "SECURITY CODE INVALID" WHEN I KNOW FOR A FACT IT IS NOT. HELP ME
Contact the card issuer and find out what the problem is.
Was the card issued in the same countryas the store you're trying to use? -
Hi,
I want to update my software, in order to buy Numbers, which requires 10.7. However, when I check for updates I'm told I'm up to date although I see I only have 10.6.8
Help.
Thanks in advanceYou are upto date for 10.6 = Snow Leopard...
The next OS X = Mountain Lion = 10.8 which is a paid Upgrade...
Upgrade to Mountain Lion -
I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.
Contact App Store support. They're the folks who can help with Account issues.
Regards
TD -
When i serch for a term on Firefoxthe page comes up with all the relevant serch items but when i click on one of them it takes me to a completely different web page to that on the serched items. So the only way i can find is to cut and paste the link.
Do a malware check with some malware scanning programs.<br />
You need to scan with all programs because each program detects different malware.<br />
Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
* http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
* http://www.superantispyware.com/ - SuperAntispyware
* http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
* http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
* http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
See also:
* "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
When I search for a website it itakes me to another website. I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy! Thanks! Jen
Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.
-
I have a problem while typing in my MacBook pro. it is showing different characters when i type. for example: qw`e§r]t[y= this is how when we type "qwerty|" can anyone help me pls?
You could just try changing your Input Sources under System Preferences>Language & Text:
But I kind of doubt that's going to work. It may be a hardware problem or a system problem. If you take it into Apple they might be able to determine which and might advise a reinstallation of System software. I would take it to an Apple Store or an AASP but, first, make sure that you have a backup just in case they suggest a clean install of the system.
Good luck,
Clinton -
I just bought iphone 5 and my itunes says I need itunes 10.7 But when I look for upgrades it says I have the current version of itunes. HELP!
I am so sorry I am frustrating you. This is the first time I have used this community and am leanring as I go. I am not able to see the entire post that you leave, unless I look at it on my phone (email)--I am so sorry. You have no idea how much i appreciate your help. Yes, I see that I can get the later version of OS software, but its not availabe for immediate download. My only options appear to be having it shipped, or going to the store to purchase. And if you know of another way that I can access all of my itunes library music on my new phone withouth using itunes, I would love to hear about it.--thanks and again i am so sorry for frustrating you.
-
I Have an iPad mini running iOS 7.1.2, I downloaded a new app and it's icon does not appear anywhere ( have ~ 180 apps so not at limit) and it won't open from the purchased apps list. It does not show up when I search for it so can't open t that way either. It doesn't require iOS 8. Can't delete and reinstall, cause not icon. This is not a normal "app won't open" question. it doesn't start the. Stop it just doesn't seem to exist. Any help is appreciated
Hello Chelleuri,
Thank you for using Apple Support Communities.
The following article provides information to trroublehshoot issues with installed apps, including not opening.
iOS: An app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
Regards,
Jeff D. -
I downloaded Iphoto 11 9.2 from the apps store (was on iphoto '09 before version 8.x) and when opened it for the first time it tried to update my photo librery and ended up corupting it to the extreme that I had to get a backup from time capsule and downgrade my iphoto version. I spent yesterday 6 hours at the genius bar in an apple store and they were not able to provide me with any other solution. In the emantime, I have to forget about about photo streaming... Any idea, is this a bug that somebody knows how tp fix?
In fairness, this isn't an issue in iPhoto 11 but one in your Library. Some file or other in there is damaged and that's what causes the crash during the upgrade.
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. -
When a link is a file (not a web site) Firefox opens a dialog box that begins "You have chosen to open...: and defaults to Save File. When I click on the Open File.. radio button, my word processing program, Word does not appear. When I Browse for the application in the Program Files folder of my computer, I can select Word but the check box to "Do this automatically for this file type from now on." is 'grayed out'. When I click OK, Word loads with the downloaded document.
This is a real pain the in tokus to do this EVERY time. I have checked the association in Windows XP and that file extension IS associated with the Word application. What gives?Try using a different graphics type for your logo. Some don't translate well to Word. I used to know which ones were compatible but that was long ago and the list may have changed.
Jerry -
I have had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.
Hi there,
I would recommend taking a look at the troubleshooting steps found in the article below.
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
-Griff W.
Maybe you are looking for
-
FD32 - Customers Payment history/arrears
I need to develop report for all the customers Payment history/arrears (With cash Disc. and no. Of days) which is displayed in FD32 transaction. Is there any table store the value of Payment history for the entire customer or how to calculate this? K
-
How to get SWF files to play in Dreamweaver CS5
I designed an interactive memorial page for my company in flash catalyst 5.5. According to the tutorial, it should be simple to insert into a webpage in Dreamweaver. Insert, media, SWF. When I try to preview it in internet explorer, there is a blank
-
Hide RANGE option in Multiple Selection Popup window
This is regarding Parameter option. In parameter variable,i declared NO INTERVALS option to get only multiple values. In multiple selection popup window.i want to select only multiple values not RANGE values. so i want to either disable or hide the f
-
Server 2012 SMB 3.0 file cluster issues with Streaming media services 2008 R2
So I have a file server setup with the always available feature turned off on this brand new cluster. Everything seems to function normally and I can hit files from the shares no problem. My issue I built a brand new 2008 R2 machine and created an on
-
Mailbox very tiny - how to enlarge?
I installed Thunderbird on my 27inch iMac. I find the lettertype in the program itself much to tiny. Changing te font size through the normal menu's only enlarges the font size in de emails but nog the headers, the titels of the email etc. Can anybod