cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud SDK : In AdvanceListPanel Fix Row WIth Default Value

Former Member
0 Kudos

Hi Experts,

I have requirements in SAP Coud SDK on Custom Business Object.

I have Custom Business Object 

businessobject Custom_BO {

     elements Account1 : BusinessPartnerInternalID;

     elements Account2 : BusinessPartnerInternalID;

     elements Account3 : BusinessPartnerInternalID;

     elements Account1_Name : LANGUAGEINDEPENDENT_MEDIUM_Name;

     elements Account2_Name : LANGUAGEINDEPENDENT_MEDIUM_Name;

     elements Account3_Name : LANGUAGEINDEPENDENT_MEDIUM_Name;

}

I have 1 AdvanceListPanel in my QA screen and in that 3 columns as shown below.

Static TextAccountsLevel
CompanyAccount11
CustomerAccount22
VendorAccount33

 

Here in above screen we have 3 columns 1) Static Text 2) Accounts and 3) Level

I want in AdvanceListPanel only 3 constants Row( No Add , No Delete Only Display )

-> In Column 1 ( Static Text ) Fill with static text ( "Company" in Column1 and Row1 , "Customer" Column1 and Row2 and "Vendor" Column1 and Row3) using ABSL code When i Open the QA screen.

-> In Column 2 ( Accounts ) Fill dynamic ( "Accoun1"  in Column2 and Row1 , "Account2" Column2 and Row2 and "Account3" Column2 and Row3) using ABSL when i select the value from OVS of Account.

-> In Column 3 ( Level ) Fill Static ( Constant value)  ( "1"  in Column3 and Row1 , "2" Column3 and Row2 and "3" Column3 and Row3) using ABSL when the Account1 filled or Account2 filled or Account3 filled.

1) Is it possible this requirements using SAP Cloud SDK?

2) Is it possible to Make Constant Row and Columns in AdvanceListPanel using ABSL code ?

3) Is it Possible to Fill Constants value and Dynamic values using ABSL code?

Many Thanks

Mithun

Accepted Solutions (0)

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mithun,

If you want to use ABSL you need to bind the List to a association pointing to a sub-node of your BO.

The BO shall return the 3 required lines.

As there are no changes to those lines (=instances of the sub-node) you can acieve this via a AfterLoading ABSL code.

In the UI Designer you need to set the List to read-only and disable any New, Edit, or similar buttons.

HTH,

   Horst

Former Member
0 Kudos

Hi Horst,

Can you please give me the sample example for this?

Or

How to Add Line using ABSL code with Default value under the AdvanceListPanel?

Many Thanks,

Mithun

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mithun,

First: The QA is a one-instance floorplan.

If you want to have a list, this refers normally to the content of a sub-node of the Root node which in turn refers to the instance.

Is this okay for you?

Bye,

    Horst