Sitemap
Rupesh_kadge

Rupesh_kadge

4 X Sap globally ๐ŸŒ Certified | Sr ABAP Technical Consultant | IBM | Cognizant | SAP S4 Hana | exp in 2 X Implementation | 1 X Migration | 1 X support projects

๐ŸŒป๐‡๐จ๐ฐ ๐‚๐š๐ง ๐˜๐จ๐ฎ ๐‚๐ซ๐ž๐š๐ญ๐ž ๐š๐ง๐ ๐ฌ๐š๐ฏ๐ž ๐„๐ง๐ญ๐ซ๐ข๐ž๐ฌ ๐ข๐ง ๐€๐ฌ๐ฌ๐จ๐œ๐ข๐š๐ญ๐ž๐ ๐„๐ง๐ญ๐ข๐ญ๐ฒ ๐”๐ฌ๐ข๐ง๐  ๐‡๐š๐ง๐๐ฅ๐ž๐ซ ๐š๐ง๐ ๐ฌ๐š๐ฏ๐ž๐ซ ๐œ๐ฅ๐š๐ฌ๐ฌ ๐ข๐ง ๐˜๐จ๐ฎ๐ซ ๐”๐ง๐ฆ๐š๐ง๐š๐ ๐ž๐ ๐‘๐€๐ (๐‘๐„๐’๐“๐Ÿ๐ฎ๐ฅ ๐€๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ข๐จ๐ง ๐๐ซ๐จ๐ ๐ซ๐š๐ฆ๐ฆ๐ข๐ง๐ )? ๐€ ๐’๐ญ๐ž๐ฉ-๐›๐ฒ-๐’๐ญ๐ž๐ฉ ๐†๐ฎ๐ข๐๐ž?

3 min readDec 27, 2024

๐˜Ž๐˜ณ๐˜ฆ๐˜ฆ๐˜ต๐˜ช๐˜ฏ๐˜จ๐˜ด ๐˜ฐ๐˜ง ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฅ๐˜ข๐˜บ,

Hello, ๐’๐€๐ ๐‚๐จ๐ฆ๐ฆ๐ฎ๐ง๐ข๐ญ๐ฒ!.When you begin developing your unmanaged RAP application, itโ€™s important to create all CRUD (Create, Read, Update, Delete) functions based on your business needs, as there are no automated solutions available. While implementing the create functionality for associated entities, you may encounter issues with generating UUIDs, creating by association, and saving entries. To make this easier, you can use methods from the handler and saver classes for creation. Iโ€™ve put together a simple guide to assist you in this process.

๐Ÿ”ฐLetโ€™s explore this topic together! I invite you to share your thoughts and insights in the comments below.

Step 1 : The associated entity record creation involve implementing below methods in exact sequence.

1) earlynumbering_cba_Academic (Handler)

2) cba_Academic (Handler)

3) save (Saver)

Press enter or click to view image in full size

As these methods belong to different classes, a buffer class is necessary to facilitate the transfer of create entries. Typically, we would implement a singleton class, but to simplify the modifications and enhance clarity, I have designed a buffer class that utilizes a static table type, as demonstrated above.

1) Handler class

Get Rupesh_kadgeโ€™s stories inย yourย inbox

Join Medium for free to get updates fromย thisย writer.

2) saver class

3) buffer class

Note: The create entries are passed using a table type and must be created within the classes listed below.

Step 2 : The associated entity creation requires to pass UUID from the parent entity. Since the used associated entity donโ€™t have unique key other than โ€˜IDโ€™.

Press enter or click to view image in full size

Step 3: Get associated entity record in global static table. the mapped entity require % param. So the associated entity have to fetched from entities with parent and child relation.

Press enter or click to view image in full size

Step 4: After making changes from handler and saver class. You have passed the newly associated create entry to global internal table and it saved in saver class as below.

๐Ÿ“ขFollow for more such Blogs.

โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” -

๐Ÿ”— Connect with me on LinkedIn for more ABAP insights and techniques: @๐ซ๐ฎ๐ฉ๐ž๐ฌ๐ก_๐ค๐š๐๐ ๐ž

๐Ÿ”— Connect with me on Twitter[X]: [ @KadgeRupesh ]

--

--

Rupesh_kadge
Rupesh_kadge

Written by Rupesh_kadge

4 X Sap globally ๐ŸŒ Certified | Sr ABAP Technical Consultant | IBM | Cognizant | SAP S4 Hana | exp in 2 X Implementation | 1 X Migration | 1 X support projects