New Blog on ABAP OO Functional Methods

As a special Christmas treat I've just released the latest blog on ABAP OO for Workflow - this one on using functional methods:
/people/jocelyn.dart/blog/2006/12/19/using-functional-methods-in-workflows-and-tasks
Enjoy!
Regards,
Jocelyn

Hi Jocelyn,
first of all, thanks for some excellent blogs on ABAP OO Workflow. Do you have any plans for writing about exception handling in ABAP OO Workflow. I think it would be very appreciated by the community to get some general guidelines on how to handle ABAP OO exceptions in workflows.
What do you think?
//Elvez

Similar Messages

  • I'm very new tp SAP ABAP, how to create a function module..V.URGENT

    hi folks,
    I'm very new to sap abap.
    I want to create a function module.
    the following is my requirement.
    by passing(eporting parameters to funtion module from pgm point of view) a field, i want to get(importing parameters from the funtion module, from pgm point of view) some 7 fields(of various tables).
    please also tell me how can code an inner join for tables 5 tables(a,b,c,d,e). i'm joining a on b, b on c, c on d,the problem here is that i can not join d on e as there are no common fields in d and e.
    can i join e and c or b, there are no common fields even in a and e.
    please tell me the solution as soon as possible, this very important and urgent deliverable.
    thanks in advance

    Here is link for creating function modules
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm">Creating Function Modules</a>
    Regds
    Manohar

  • New To OOPs ABAP

    Hi Friends, I am new to OOps ABAP,
    can any give me the differences between Procedural ABAP & OOps ABAP ?
    what is class ?
    what is Object ?
    thanks
    vijaya

    OOPS – OO ABAP
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    DIRLL DOWN AND INTERACTIVE REPORT
    http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm
    PAGE BREAK FOR ALV LIST
    check out this link
    http://www.abap4.it/download/ALV.pdf
    good book on ABAP objects(OOPS)
    http://www.esnips.com/doc/bc475662-82d6-4412-9083-28a7e7f1ce09/Abap-Objects---An-Introduction-To-Programming-Sap-Applications
    How to check Cluster Table Data
    https://forums.sdn.sap.com/click.jspa?searchID=5215473&messageID=3520315
    http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Rewards if useful.................
    Minal

  • Inserting records in the ABAP exit function (hashed table XTH_DATA)

    Hi all,
    I want to add records in the logic of an ABAP exit function. Due table XTH_DATA being a hashed table the normal insert or append is not possible.
    My logic MUST move the data to a temporary table (ITAB) where the logic is executed (modifying KYF values and creating new records.
    In order to quickly get to a result I have solved the problem in an awful way through hardcoding the structure of ITAB to be the same as XTH_DATA is in this specific case.
    I would like to know if someone has an exmaple of a nice way to dynamically create an ITAB with the structure of XTH_DATA?
    At the end it should be possible to do: XTH_DATA[] = itab[].
    Greetings,
    Martin

    Hi Martin,
    the only way I know is to solve this problem with sort of pointers, field symbols. Roughly spoken the idea is you lookup the structure of xth_data in table dd03l. you define an internal table of type any. you loop around your xth_data table and assign the value of each column of xth_table to your internal table. then you do your your adding. Hopefully then you can simply assign xth_data to your itab.
    regards,
    Jürgen

  • Does ExtendScript have a concept of "main" function/method like when script is included as a library

    I was just wondering whether ExtendScript has any concept like a main method, whereby if the current script is included by another script like a library import it will not execute this main function/method and only execute it when the script is run directly.
    Similar to Java's main() method and Python's __main__.
    If not, is there a workaround to mimic such behavior generically?

    I cannot reproduce this.  Can you create a very simple repro of this issue and post to OneDrive?
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • New developments in ABAP in ECC

    Hi All,
    Can you please provide me document or link fir the new developments in ABAP in ECC 6.0?
    Thanks

    >
    osk osk wrote:
    > Hi All,
    >
    > Can you please provide me document or link fir the new developments in ABAP in ECC 6.0?
    >
    > Thanks
    I can't suggest you for searching,I'm Afraid if You able to find enough information on Internet.
    You Need to take a Walk to some Institute or to Some Functional Consultant.
    Also You Must Have a Sight towards SCN Rule of Posting,Which is On top Of the Forum In Sticky Threads.
    Thank You.

  • Using the functional methods with workflows

    Hi All,
    I'm passing the plant number to a workflow by triggering an event in a user-exit. The workflow uses a functional method of an ABAP class and retrives the plant details. While binding the functional method back to the workflow, the binding includes a partial expression like this..
    &_WI_OBJECT_ID.PLANT(W_PLANT=)&
    Here, if I give &_WI_OBJECT_ID.PLANT(W_PLANT='1000')& I get no error and the details of plant 1000 are retrived successfully. How do I pass this value dynamically?
    Regards
    Indu.

    Aditya,
    Thanks for your input. But there were no start conditions.
    The import parameter should be filled in the partial expression as &PLANT& which was not taking its value earlier. But now, its working. Thanks anyway.
    Regards
    Indu.

  • Diplay Message with ABAP Planning Function (same message several times)

    Hello experts,
    I use a ABAP Planning Function (custom developed funtion type) to vaildate the planning data.
    I want to display the validation results in a message box in the workbook. Therefor I use the Parameter I_R_MSG of the "Execute" Method.
    This works fine, BUT
    I want to display the same message several times.
    Example (I want an output in the message box like this):
    AREA1
      Error Message A
    AREA 2
      Error Message A
      Error Message B
    The system merge the identical messages. And the output is this:
    AREA 1
      Error Message A
    AREA 2
      Error Message B
    Can I avoid the automatical merge of identical messages in the monitor?
    Thanks
    Johannes

    Hello Johannes,
    I think the only way is to use a field for (e.g. MSGV4) to group the messages since the system compares
    all fields msgty, ..., msgv4 to identify duplicates. So if your messages do not use msgv4 the above suggestion
    should work.
    Regards,
    Gregor

  • New blog entries experience "error updating .Mac", and no "add comments"

    Blog always worked fine. Now new blog entries get error updating .Mac message. New post does appear online, but there is no Add Comments option, despite it being selected in the inspector. Also, the blog main page doesn't show a title in the title bar at top. Might this have something to do with the new Mobile Me features (which I haven't tried or signed up for). When I delete the new posting and publish, it publishes fine. This error even happens with the template pg, so it's not anything to do with my formatting. Thanks for your help.

    I have not tried publishing a new Blog entry since the new "me" thing, but I did try just a text edit on an existing Entry and republished the Entry. It seemed to function normally.
    However, all of my Comments are missing from all my Blog entries - although the hit counts are still there.
    And my Slide Shows won;t work and thumbnails won't enlarge on my photo pages.
    Everything was working perfectly before this big "improvement" we just got.
    I sure hope this is temporary or I just might throw a fit. There was a lot of valuable stuff in those comments, and if there won;t be a Comments function at all, I won't be able to keep my blog at mac. com or me whatever.
    Why fix what isn't broken?
    jessica

  • How to count the number of test ABAP Unit test methods

    I need to count the number of test methods of a class.   Has anybody done this before?   For example, if I have a class that has 3 methods and I wrote 6 abap unit test methods for it.   I can count the number of methods using cl_abap_classdescr=>describe_by_name (which gave me 3 from my example) but I could not find the function module to count the number of test methods (which should give me 6 in my example).
    I appreciate your reply.

    This call does thew trick.  I just had to make sure the prog name that I pass has "CP" from the 30th pos for it return the result.   Here is thew subroutine that I use:
    form get_test_method_count using     query_class
                               changing  test_method_count.
      data: l_progname type progname.
      l_progname = query_class.
      l_progname+30 = 'CP'.  "needed so the following method will recognize this as a class
      data: l_result type if_aunit_prog_info_types=>ty_t_testclasses.
      try.
          call method cl_aunit_prog_info=>get_tests_of_program
            exporting
              progname = l_progname
            receiving
              result   = l_result.
          if l_result is not initial.
            data: result_rec like line of l_result.
            loop at l_result into result_rec.
              test_method_count = lines( result_rec-methods ).
            endloop.
          endif.
        catch cx_root.
      endtry.
    endform.

  • Comments on SDN's new blogging policy

    SDN has recently made the right to blog therein a "by invitation only" right.
    See /people/community.user/blog/2007/03/13/community-profiles-the-future-of-junior-blogs-and-you for more details.
    I personally think this is wrong. I am copying here my response to one of the related forums and invite you to express your opinion, whether you agree with me or not. Here it is:
    "I know I'm probably too late but my take on it is topic is:
    If what you are reading
    1. is not news to you
    2. feels "too junior" for your knowledge level, or
    3. you just pain don't like it (etc.)
    then don't read it!
    Even a repeated topic can have a different twist when written by a different author. So why not just let the reader decide???
    It feels as if you are trying to make this an elite club. I think you should call these postings 'articles' and not 'blogs'.
    May I just add:
    Don't you for a moment think that only what you can see exists...
    There are thousands of people who use SDN and who have never posted anything on it. And you worry about the expectations of a few that you've heard from????
    All those people you haven't heard from may have something to say one day, and you've just denied them the opportunity to do so spontaneously here - they now have to go and get 100 points before they can be entitled to posting something... "
    Please share your thoughts on this.
    Carlos

    Although I encourage as many comments here as you get let me just point out that this topic has been under discussion for about 12 months now and with hundreds of replies be it email, phone conversations, IM's, blog comments, forum replies or face to face at various events.
    The blog policy did change, this is true to an invitation only process HOWEVER, it was an approval process before with many being denied simply because they failed to fill out the application form properly. With a community growing as quickly as this one, one needs to focus energies and reduce the noise and "problems" that arise because of the nature of things being a "free for all", we welcome your input and we thank you for taking the step forward to give it.
    So to address this again for you and everyone else - yes it's a invitation process for the "expert" blogs, however considering the numerous ways for one to acquire the needed "100" points to be giving the chance to create their profile and thus write blog entries under the flag of a "junior" blogger I think everyone actually has an even better chance of getting to be a blogger.
    Let's look for example at this:
    John "applied" to become a blogger and filled out his application and it was reviewed and declined because he wanted to blog about ABAP ALV Grid. Once declined John though decided he wanted to fight the decision so he emails the person back that declined him (despite the first line being "PLEASE DO NOT REPLY") now numerous emails follow and after 6 mails it's understood that was simply the first blog John wanted to write about and then he wanted to talk more about "xyz". However as John was not the most pleasant of people to deal with and failed to put the required effort (proper spelling, grammar, etc) into their application it's now a judgment call by the one reviewing the application. This of course is hardly a great way for someone to get started blogging here on the Community Network.
    Now of course you might say that "hey then just let everyone blog", well since we art not Wordpress or Blogger that doesn't work this is a professional community with a targeted audience and this audience has made it very clear on numerous occasions that they simply don't want that and we do not either. Everyone has the right to "try out" and that means get acquainted with the community and how our system of contribution works then you get that chance within the "junior" area under your very own profile, this is how you make yourself known, this is how we can see how the community reacts and this is how we can then invite you to blog in the "expert" blog area.
    Again this feedback, as you point out, is coming from those who speak up - since I'm not a mind reader nor is anyone on the team that's all we have to go on so we look carefully at all those emails, phone conversations, IM's, blog comments, forum replies, face to faces at various events and of course our survey feedbacks. The feedbacks are of course anonymous (at least when I get the parts about the blogs, etc.) therefore I'm not sure how many are "repeats" to what I've already heard but I did count for 2007 in terms of blog feedback (inlcuding survey) 2834 pieces of feedback and that was just to "me" now if I was to ask every other member of the team I'm positive this number would increase and be closer to the 3500 if not the 4000 mark - then if I look at those actively contributing here (those who have earned over 250 points - since we start sending things out at that point) I see that I have more feedback than those people. So how else would one purpose to take action within a community without listening to that feedback?
    Our the "expert blogs" an "elite" area - in the sense that (as well as everyone else) simply want the best stuff there - then yes it is. Those blogs are read by millions of people all over the world and therefore should be of the best possible quality - a free for all does not ensure that best possible quality nor did the application process therefore now you and everyone else with over 100 points can now blog and if the community sees someone to be really great and let us know then we invite them to the "expert" blog area.
    Since we started this process we've had no complaints (none that I've seen but I have been travel to SAP SAPPHIRE lately so maybe I've just not read it in my inbox yet) nor have I seen any comments questioning the quality (again maybe I missed one?) so for me that says we've made a positive impact - would you or anyone else not agree?
    Not to mention the more time our team has had to focus on the great stuff as opposed to fielding questions about "quality issues".
    Now you say,
    > SDN has recently made the right to blog therein a "by invitation only" right.
    > See /people/community.user/blog/2007/03/13/community-profiles-the-future-of-junior-blogs-and-you for more details.
    > I personally think this is wrong.
    You've not actually said why though?
    I agree with,
    > If what you are reading
    > 1. is not news to you
    > 2. feels "too junior" for your knowledge level, or
    > 3. you just pain don't like it (etc.)
    > then don't read it!
    Many others will as well however, why do you feel the invitation process is "wrong"?

  • AT NEW command in ABAP Objects

    Hi everyone!
    Is there an equivalent of the AT NEW command in abap oo? When I try to use this command inside a BAdi, I get an error message.
    Best Regards,
    Luís.

    Hi,
    Thank you for your response
    Sample code:
    LOOP AT c_t_data ASSIGNING  variants are no longer supported in the OO context. Use dynamic variants instead.
    Regards,
    Luís.

  • How to log in to the new installed SAP ABAP instance ?

    Dear Experts,
    In SAP ERP 2005 installation,
    I have done central system installation, Now I need to perform postinstallation steps,
    Could you please tell me,  how to log in to the new installed SAP ABAP instance and do the post installation?
    Regards,
    Madhavan K

    Hi,
    Check the list of post installation steps:
    http://www.saptechies.com/post-installation-steps-for-ecc-60/
    From my point of view basic post installation steps are:
    - Installing SAP License (from http://service.sap.com/licensekeys)
    - Setup TMS  (STMS)
    - Import profiles (RZ10)
    - Client Copy (SCC*)
    - Create users (SU01)
    However further many steps are required as per your requirements. Cehck the link for more detailed steps.
    Regards,
    Srikishan

  • New Blogs:  Asset Accounting and Project Systems

    There are two new blogs out this month in the ERP space.
    Dominic Nadeau has blogged about a useful tcode in PS to track changes to a project.
    /people/dominic.nadeau/blog/2008/06/09/fields-in-problem-in-a-project
    I've written a blog on the Schedule Manager Monitor.  I've given an example related to Asset Accounting but it works for most all areas in FI/CO.
    /people/nathan.genez/blog/2008/06/17/gaining-more-insight-into-fixed-asset-job-monitoring
    -nathan

    When you create the WBS in will create from there an AUC. In the auc in the tab origin you see the project number.
    When you settle it from the AUC (in PS) to the final asset you found the AUC number back in the asset tab origin. You can click to on the posting on the asset

  • Help, my new Blog entries, since iLife '08 upgrade, don't show ANY text!

    Ever since upgrading to iLife '08, my new Blog entries do not show any of the text once it is uploaded to the server. In fact, all of my recent Blog entries now have all thier text gone when viewed online. Only Blog pages in "Archives" are still normal. What gives?! They all look good in iWeb, but not live. Thanks for your help. Wayne
    [email protected]

    Hi Cedric. I went ahead and took down all recent changes to my site, and then just re-uploaded my last good set-up from iLife 2006. I think iLife 2008 changes how blog pages are addressed. As an example, my two most recent good entries show on the web as:
    http://waynelhenderson.com/Blog/693901ED-99E6-42D3-8AA9-7F8338989B47.html
    http://waynelhenderson.com/Blog/629035FF-E021-4B9D-AFE5-D091583E0676.html
    Notice the long string of numbers, letters, and dashes, after the word /Blog/? My iWeb in iLife 2008 no longer puts those types of strings at the end of /Blog/. Instead, the Blog web entries show as:
    http://waynelhenderson.com/Blog/Entries/2007/10/26Tuning_In_With_Wayne_Henderson_podcast_39_%26_40%2C_by_Wayne_Henderson_Voice-ove rs(206)984-1446iPhone_GreenpeacePackers!.html (before I took it down because it wasn't working right).
    Could the fact that instead of the string of number, letters, and dashes after /Blog/, my iLife '08 uses "/Blog/Entries/2007/10/26_Tu....etc" have anything to do with my problem of text not showing?
    I've always used the same fonts, sizes, and colors. But now it's not working. What is weird, however, is that if I did Select All, and Copy and Paste the web page contents onto Notepad...the text IS THERE...just not showing on the web.
    Argh!
    Wayne

Maybe you are looking for

  • Preview prints empty boxes instead of text in .pdf

    Recently I noticed that when I try to print a .pdf file  from Preview, even when all the text shows on the monitor correctly, when it prints, it prints empty  boxes (outline of a box the size of the letters) where the texts should be. When I open the

  • Preview's "Import from Scanner" documents -Text Tool cannot be activated.

    Any documents created within 10.6 and printed/saved as a pdf file can be opened in Preview and the Text Tool activated allowing selection of text and copy/paste or text highlight actions made. Using OSX 10.6.7 Preview application using the File > Imp

  • Extra blank rows in vba spreadsheet zoom

    Here's how it happens: - in Excel 2003 VBA - two row dims - right row dim is fixed list of mbrs - left row dim is single member zoom - sheet has other stuff on it, so retrieve range is not entire sheet - top of retrieve range is in row 6 so when I ca

  • What is the proper procedure dor uninstalling and reinstalling CS5 extended?

    I downloaded some trial plugins and then removed them and ever since, CS5 is not working well. Sometimes when I open it and go to file open to open an image, everything is grayed out and I have to close down and re-launch. When I open an image and wa

  • Strangest thing I've ever experienced with fcp

    I opened one of my current project files and saw my footage in black and white. Much to my surprise, a tint filter has somehow appeared on nearly all the clips in my sequence. The strangest thing is I have never used the tint filter and has magically