Skip to Content
author's profile photo Former Member
Former Member

SAP Cloud SDK : In AdvanceListPanel Fix Row WIth Default Value

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 TextAccountsLevelCompanyAccount11CustomerAccount22VendorAccount33

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 22, 2014 at 01:15 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.