on 11-14-2008 12:52 PM
hi all,
give me some exapmle scenarios for simple and advanced user defined functions?
Hi,
There are many example on SDN, just serch it..
few of them are here..
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
Always try to search first on SDN before posting your query.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When can we go for UDF.
As the name UDF is self explainotry "User Defined Function". It means that whenever in mapping your requirement is not fulfilled by the standard functions, the we think about UDF creation for mapping. UDF can be used in complex situations like:
1. If you are having a scenario IDoc to File, and in which you are sinding some account information like sumrized amount (per GL Account Number) to file, then standard function will not help you. In this case you have to go for an UDF.
2. It can also be used for R/3 lookups, to searching any value in R/3 tables. (But it creates performance issue, since every time you run your scenario it will hit the R/3 database which is not good).
Regards,
Sarvesh
Hi again,
For 1st one you have to create UDF as per need. But in case of 2nd you can go for Value mapping Replication, which will be good instead of using RFC Lookup.
Value mapping Replication
http://help.sap.com/saphelp_nw70/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
Regards,
Sarvesh
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.