{"id":100636,"date":"2025-02-06T09:00:00","date_gmt":"2025-02-06T08:00:00","guid":{"rendered":"https:\/\/eiposgrados.com\/?p=100636"},"modified":"2025-02-03T17:51:43","modified_gmt":"2025-02-03T16:51:43","slug":"documents-in-sap","status":"publish","type":"post","link":"https:\/\/eiposgrados.com\/eng\/consultor-sap\/documentos-en-sap\/","title":{"rendered":"Creating Custom Documents in SAP: Step-by-Step Guide"},"content":{"rendered":"<p>Each company has specific needs that require the <strong>creating custom documents in SAP<\/strong>. To do this, it is essential to correctly configure the documents in the purchasing module (<em>MM \u2013 Material Management<\/em>), ensuring that they reflect the particular circumstances of each organization.<\/p>\n\n\n\n<p>In this article, we explain the step-by-step process for setting up purchasing documents in SAP, using the <strong>SPRO transaction<\/strong> and customizing fields and document types according to business needs.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-2dadae1a gb-headline-text\">&nbsp;<strong>Phases of the Document Creation Process in SAP<\/strong><\/h2>\n\n\n\n<p>To ensure that the document meets the company&#039;s requirements, it is necessary to follow these steps:<\/p>\n\n\n\n<p>phases:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Requirements gathering<\/strong>: Define the objectives of the document and its functionality.<\/li>\n\n\n\n<li><strong>Construction<\/strong>: Configure the document in SAP using transaction SPRO.<\/li>\n\n\n\n<li><strong>Tests (Test and UAT)<\/strong>: Validate the correct functioning of the document.<\/li>\n\n\n\n<li><strong>Implementation (Going live)<\/strong>: Integrate the document into the production environment.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Requirements Gathering: Defining the Document Structure<\/strong><\/li>\n<\/ol>\n\n\n\n<p>The first step is to analyze what type of order the company needs.<\/p>\n\n\n\n<p>Let&#039;s take as an example a document where we must locate a particular type of order, and then extract Reports of information &quot;X&quot; that the company requires in particular to locate the costs of certain materials.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Configuration in SAP: Document Creation in SPRO<\/strong><\/li>\n<\/ul>\n\n\n\n<p>To customize a purchasing document in SAP, we access the <strong>SPRO transaction<\/strong> (Purchases\/Order section) and follow these steps:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"770\" height=\"405\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image.png\" alt=\"\" class=\"wp-image-100637\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image.png 770w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-300x158.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-768x404.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-123x65.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-18x9.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-500x263.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-200x105.png 200w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<p><strong>Step 1: Define the Document Class<\/strong><\/p>\n\n\n\n<p>Each document in SAP has a specific class. In the case of custom documents, it&#039;s recommended to use a prefix to differentiate them from the standard one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"870\" height=\"449\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1.png\" alt=\"sap\" class=\"wp-image-100638\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1.png 870w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-300x155.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-768x396.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-123x63.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-18x9.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-500x258.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-800x413.png 800w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-1-200x103.png 200w\" sizes=\"(max-width: 870px) 100vw, 870px\" \/><\/figure>\n\n\n\n<p>We create the order from scratch or by copying another.<\/p>\n\n\n\n<p>ZNB for example is an order type that is created based on the standard SAP NB order.<\/p>\n\n\n\n<p>The type of document we want to create will be configured little by little:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"984\" height=\"453\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2.png\" alt=\"sap\" class=\"wp-image-100639\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2.png 984w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-300x138.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-768x354.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-123x57.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-18x8.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-500x230.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-800x368.png 800w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-376x174.png 376w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-2-200x92.png 200w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p><strong>Step 2: Configure Item Types and Purchase Requests<\/strong><\/p>\n\n\n\n<p>Within the order, we can define:<br>&nbsp;\u2013 The types of positions allowed.<br>\u2013 Purchase requests that can generate this type of document.<\/p>\n\n\n\n<p>This configuration is key to ensuring that the document works correctly within the company&#039;s purchasing flow.<\/p>\n\n\n\n<p>The types of \u201cOrder Request\u201d that can trigger the created order:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"955\" height=\"472\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3.png\" alt=\"sap\" class=\"wp-image-100640\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3.png 955w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-300x148.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-768x380.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-123x61.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-18x9.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-500x247.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-800x395.png 800w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-3-200x99.png 200w\" sizes=\"(max-width: 955px) 100vw, 955px\" \/><\/figure>\n\n\n\n<p>The Purchase Requests that can trigger the order being created are selected.<\/p>\n\n\n\n<p><strong>Step 3: Define Range of Numbers<\/strong><\/p>\n\n\n\n<p>Each document must have a <strong>numbering range<\/strong> for identification within the system. SAP allows these ranges to be defined and assigned specifically to the organization.<\/p>\n\n\n\n<p>Number of ranks:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1022\" height=\"164\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4.png\" alt=\"\" class=\"wp-image-100641\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4.png 1022w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-300x48.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-768x123.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-123x20.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-18x3.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-500x80.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-800x128.png 800w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-4-200x32.png 200w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Document Customization: Show and Hide Fields<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Once the document is created, we can <strong>modify the display of fields<\/strong> within the order. To do this, we return to the <strong>SPRO,<\/strong> within the order, and we make the following adjustments:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Define required and optional fields<\/strong>.<\/li>\n\n\n\n<li><strong>Show or hide information according to the user&#039;s needs<\/strong>.<\/li>\n\n\n\n<li><strong>Set default values in critical fields<\/strong> (example: fixed purchasing group for specific orders).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"101\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5.png\" alt=\"\" class=\"wp-image-100642\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5.png 641w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5-300x47.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5-123x19.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5-18x3.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5-500x79.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-5-200x32.png 200w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/figure>\n\n\n\n<p>We will place the fields as we want so that the document makes sense:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"779\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6.png\" alt=\"\" class=\"wp-image-100643\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6.png 747w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-288x300.png 288w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-158x165.png 158w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-123x128.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-12x12.png 12w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-500x521.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-6-192x200.png 192w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/figure>\n\n\n\n<p>Based on our design, we will create our own image and assign it to the type of document we have created.<\/p>\n\n\n\n<p>For each field, we&#039;ll first specify whether the entry is required, optional, or whatever. Each field that appears in the purchase order can be parameterized. Some fields can be left with fixed values and cannot be modified by the user.<\/p>\n\n\n\n<p><strong>Example<\/strong>: If a purchasing department handles exclusively a certain type of materials, we can create a document type with a <strong>specific purchasing group<\/strong> and lock this field from editing. With this, we&#039;ll have assigned the image, the number range, and our order nomenclature. We can now start working with it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"789\" height=\"690\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7.png\" alt=\"\" class=\"wp-image-100644\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7.png 789w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-300x262.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-768x672.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-189x165.png 189w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-123x108.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-14x12.png 14w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-500x437.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2025\/02\/image-7-200x175.png 200w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/figure>\n\n\n\n<p><strong>Step 4: Implementing and Using the Custom Document in SAP<\/strong><\/p>\n\n\n\n<p>Once configured, the document will be ready for use within the company. From this moment, users can work with it following the rules established in the configuration.<\/p>\n\n\n\n<p>&nbsp;<strong>Advantages of document customization in SAP<\/strong><br>\u2705 Adaptation to the specific needs of the company.<br>\u2705 Greater efficiency in purchasing management.<br>\u2705 Better control over information and internal processes.<\/p>\n\n\n\n<p><strong>The Importance of Personalization in SAP<\/strong><\/p>\n\n\n\n<p>Set up <strong>custom documents in SAP<\/strong> allows companies to optimize their purchasing and management processes. By following this guide, you&#039;ll be able to create documents tailored to your needs, ensuring greater control and efficiency in the SAP system.<\/p>\n\n\n\n<p>\ud83d\udca1 <strong>Need help with SAP configuration?<\/strong> At EIP International Business School, you can learn how to optimize your company&#039;s purchasing documents.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-79227bcf gb-headline-text\"><strong>Discover our SAP training<\/strong><\/h2>\n\n\n\n<p>Find out everything on our blog and train in SAP with our <strong><a href=\"https:\/\/eiposgrados.com\/eng\/certification\/sap-s-4hana-official-certificate\/\">Sap S\/4Hana Finance Official Certificate<\/a><\/strong>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Each company has specific needs that require the creation of customized documents in SAP. To do this, it is essential to correctly configure the documents in the SAP module \u2026 <a title=\"Creating Custom Documents in SAP: Step-by-Step Guide\" class=\"read-more\" href=\"https:\/\/eiposgrados.com\/eng\/consultor-sap\/documentos-en-sap\/\" aria-label=\"Read more about Creating Custom Documents in SAP: Step-by-Step Guide\">Read more<\/a><\/p>","protected":false},"author":1,"featured_media":100645,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1195],"tags":[],"class_list":["post-100636","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-consultor-sap"],"acf":[],"_links":{"self":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/100636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/comments?post=100636"}],"version-history":[{"count":0,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/100636\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media\/100645"}],"wp:attachment":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media?parent=100636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/categories?post=100636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/tags?post=100636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}