cancel
Showing results for 
Search instead for 
Did you mean: 

How to design UI5 Application using Classes and to have modal pop up document display window

MKM
Active Participant
0 Kudos

Hi Experts,

I have developed a web dynpro application which will list out work items awaiting user action. These work items are from different documents like purchase orders created in SRM system, Shopping cart, Travel request, travel expense and MM/FI invoices.

When you will select any record and click on custom buttons, it will open corresponding document/attachment to that document from ECC or from SRM system as per the type.

Now i have to design it in UI5. I have my custom SE24 classes which is used for fetching data in Webdynpro application.

Is it possible to use same class for building my odata service in SEGW ? Also the class Types as my Data Model ?

Is it possible to pop up window from click of a record ?

Need guidance on the steps to be followed.

Thanks in advance,

Manoj

Accepted Solutions (0)

Answers (2)

Answers (2)

Joseph_BERTHE
Active Contributor
0 Kudos

When you create a Project in SEGW, you have to design the data model of your application. As I can see you probably need an Entity Type called Document and an EntitySet called Documents.

Behind the runtime artifact, you will have generated classes where inside (only in ZCL_*_DPC_EXT) you will be able to connect you custom class to your OData services.

Regards,

Joseph

MKM
Active Participant
0 Kudos

Hi Joseph,

Thanks for the information.

I guess for my requirement, it won't be possible to use any standard fiori template to start the layout. Because there is a selection screen to display the ALV records. Everything i have to code from scratch. Your inputs on this please.

Thanks in advance,

Manoj

Joseph_BERTHE
Active Contributor
0 Kudos

You can use the standard template from Web IDE : List Report.

But inspire you with the guidelines.

junwu
Active Contributor
0 Kudos

1.yes,

2.yes

there are tons of steps.....

google how to develop odata service and ui5