{"id":1527,"date":"2012-10-07T21:30:48","date_gmt":"2012-10-07T21:30:48","guid":{"rendered":"http:\/\/www.pixelbase.co.uk\/?p=1527"},"modified":"2014-10-09T10:14:50","modified_gmt":"2014-10-09T10:14:50","slug":"abap-development-for-sd-in-sap-exits-badis-and-enhancements","status":"publish","type":"post","link":"https:\/\/www.pixelbase.co.uk\/?p=1527","title":{"rendered":"ABAP Development for SD in SAP: Exits, BAdIs and Enhancements"},"content":{"rendered":"<p>A few weeks ago, when I <a href=\"http:\/\/www.pixelbase.co.uk\/?p=1470\">announced my first SAP publication<\/a>, <a href=\"http:\/\/www.sap-press.com\/products\/ABAP-Development-for-Sales-and-Distribution-in-SAP%3A-Exits,-BAdIs,-and-Enhancements-.html\">\u201cABAP Development for Sales and Distribution in SAP\u201d<\/a>, I promised a post in which I delve a little deeper into the book, its background and how it came about. A little &#8220;behind the stage&#8221; article if you like.<\/p>\n<div id=\"attachment_1533\" class=\"wp-caption alignleft\" style=\"width: 225px\"><a href=\"http:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_photo2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1533 \" style=\"margin: 5px;\" title=\"book_photo\" src=\"http:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_photo2-e1349644925815-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_photo2-e1349644925815-225x300.jpg 225w, https:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_photo2-e1349644925815.jpg 306w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><p class=\"wp-caption-text\">good to finally hold it in my hands!<\/p><\/div>\n<p>One of Pixelbase\u2019s main mantras is very much to \u201cKeep it Real\u201d, to provide value for money and real-world advice. It probably might not come as a big surprise to you that \u201cABAP Development for SD in SAP\u201d was written along the same lines. In order to achieve a certain \u201creal-world feel\u201d, I decided to create end-to-end examples and use two characters (Junior ABAPer \u201cChristine\u201d and Senior SD Consultant \u201cSean\u201d) and a fictive company (\u201cByrell Corporation\u201d). While Christine is a young developer, well-versed in topics such as OO programming, Sean is an experienced SD consultant who occasionally dabbled in ABAP, but has never created a class parameter in his life!<br \/>\n<!--more--><\/p>\n<p><strong>We are in it together!<\/strong><\/p>\n<p>The interesting aspect of the book is that the two actually learn and feed off each other: Christine introduces to Sean topics such as web services, persistent objects and Business Object Layer programming. At the same time, Sean proves to Christine that not everything requires lengthy code enhancements (pricing routines, for example). In other chapters, he shows her how numbering ranges are defined. Just like in a real team environment, both consultants learn from each other. In most chapter projects, they have to weigh up enhancement options, making this process transparent to the reader. The latter is an important aspect of creating \u201cresponsible enhancements\u201d, as there is no silver bullet, no \u201cif A then implement B\u201d scenario. My book tries to do away with some of the black magic that enhancements can sometimes being shrouded in.<\/p>\n<p>I picked scenarios and example projects of varying degrees of difficulty which are based on my own experiences in the field, such as<\/p>\n<ul>\n<li>Validating sales order data<\/li>\n<li>Capturing and saving additional fields in sales order processing<\/li>\n<li>Creating CRM activities after SD order billing<\/li>\n<li>Filtering pricing data within a web service<\/li>\n<li>Using custom fields in SD pricing<\/li>\n<li>Setting a delivery block on header level<\/li>\n<li>Keeping track of delivery KPIs<\/li>\n<li>Enhance the outbound delivery monitor<\/li>\n<li>Invoice splitting using VOFM<\/li>\n<li>Changing reference number and number range in billing<\/li>\n<\/ul>\n<p>In an initial chapter, readers are also introduced to practical, relevant aspects of user exits, customer exits, enhancements and BAdIs. This should give them a good foundation for future enhancement projects.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Starting with the end<\/strong><\/p>\n<p>Writing the book was very challenging, as every chapter more or less had to be re-engineered, starting with the end in mind. Once I knew what I wanted to bring across, I had to reverse-engineer a little project in which Christine and Sean played their parts. This was usually the most interesting, but also the hardest part. Once the plot was ready, everything else seemed to slot into place.<\/p>\n<p>Another thing I noted was that I very much enjoy writing. My experience as a SAP blogger came in very handy here. I am particularly proud of the introductory and outlook chapters of the book, where I am trying to deliver a perspective for consultants and developers, providing an informative view that goes further.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_1530\" class=\"wp-caption alignright\" style=\"width: 296px\"><a href=\"http:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_image1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1530\" title=\"An Enhancement Dilemma\" src=\"http:\/\/www.pixelbase.co.uk\/wp-content\/uploads\/book_image1.jpg\" alt=\"\" width=\"296\" height=\"212\" \/><\/a><p class=\"wp-caption-text\">An Enhancement Dilemma<\/p><\/div>\n<p><strong>A first !<\/strong><\/p>\n<p>\u201cABAP Development for SD in SAP\u201d is also the first SAP Press publication that uses a cartoon illustration. A good friend of mine, Stuart\u00a0Trotter of <a href=\"http:\/\/www.rockpoolchildrensbooks.com\">Rockpool Children\u2019s Books<\/a>, produced a great illustration, which emphasised my introductory message. I still can\u2019t believe my luck in knowing someone like Stuart, who\u2019s work further enhanced my book. Working with him and spanning the disciplines added yet another interesting facet to my project.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Acknowledgements<\/strong><\/p>\n<p>Lastly, I would like to thank the SAP Mentor initiative, especially its \u201cwolf pack leader\u201d Mark Finnern, who helped me enormously at an early stage to connect dots and people. Martin Lang, Matthias Steiner and Thomas Jung also helped me significantly in the early stages, when I needed system access for enhancement coding. SAP Press\u2019 very own Kelly Harris and Laura Korslund helped me throughout the project \u2013 needless to say that without them none of this could have been achieved.<\/p>\n<p>I would also like to thank friends and colleagues Peter Richardson, Zoe Gill, Arpit Oberoi, Ben McGrail, Stefan Karaivanov, Thomas Otter and Nick Watkins for their feedback, advice, criticism and ideas, which were essential for the completion of the book. Special thanks go to Cath Laursen and Arran McMillan for their assistance with questions around SAP CRM.<\/p>\n<p>Most importantly, my family provided me with plenty of support and help during the 8 months of writing. Thank You to you all!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>A Discount Code !<\/strong><\/p>\n<p>Use discount code <em><strong>UO2JL8WB1<\/strong><\/em>\u00a0now and receive 10% off the purchase price when <a href=\"http:\/\/www.sap-press.com\/products\/ABAP-Development-for-Sales-and-Distribution-in-SAP%3A-Exits,-BAdIs,-and-Enhancements-.html\">buying my book through the SAP Press website<\/a>\u00a0(offer expires 31\/12\/2012).<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago, when I announced my first SAP publication, \u201cABAP Development for Sales and Distribution in SAP\u201d, I promised a post in which I delve a little deeper into the book, its background and how it came about. A little &#8220;behind the stage&#8221; article if you like. One of Pixelbase\u2019s main mantras is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,65],"tags":[],"class_list":["post-1527","post","type-post","status-publish","format-standard","hentry","category-abap","category-abap-for-sd-book"],"_links":{"self":[{"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1527"}],"version-history":[{"count":12,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1527\/revisions"}],"predecessor-version":[{"id":1581,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1527\/revisions\/1581"}],"wp:attachment":[{"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pixelbase.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}