Quantcast
Channel: SCN : Popular Discussions - SAP Cloud Applications Studio
Viewing all articles
Browse latest Browse all 1333

SAP Cloud SDK : Radio-button Issue in Embed Component

$
0
0

Hi Experts,

 

We have created embed component from XBO and structure are as below.

 

import AP.Common.GDT;

import AP.Common.Global;

import AP.CRM.Global;

 

[Extension] businessobject AP.CRM.Global:CustomerQuote {

 

   element zfile_type : ZZPTypeCode;

   element zfext_ile : ID;

   element znew_file: ID;

   element zexp_date : Date;

   action ZnSubmit;

   action ZOVSChange;

   node Item {

      }

   node ItemProposal {

       }

}

 

Now ZZPTypeCode is created as Code List Data Type and using this all fields we have created embed component and add into overview screen.

I have created radiobutton and binding with this zfile(ZZPTypeCode) field and radiobutton display with text given into Code List Data Type.


When user open any order screen i can able to see that embed component into overview screen. Once user select 1 radiobutton (R1) and click on save it it store into database and i have check in Repository Explorer and run QueryByElement from CustomerQuote i can able to see custom field into Result.

Issue 1:

When I again open same order i can not see saved record or radio button selected and all blank without selected.

Issue 2:

I have also make if default value in BO definition as below syntax

element zfile_type : ZZPTypeCode = ZZPTypeCode.CO_R1;

but it is not selected by default sometime it works and sometime not.


Please anyone have idea help me.


Regards,

Mithun


Viewing all articles
Browse latest Browse all 1333

Trending Articles