cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDG Supplier Flex Entity, Data disappears after check or SAVE, Not Saving in Staging Tables.

dharma_esampalli
Participant
0 Kudos

Hello experts,

I extended for MDG Supplier (BP Data Model) a FLEX ENTITY of Type4. I required the data only during CR process. Simply to say Process Attributes. I followed a document on SCN. https://www.sap.com/documents/2015/07/fc7a4a4d-5b7c-0010-82c7-eda71af511fa.html . Thank you Author.

I did a FORM UIBB with 2 checkboxes. After extending GenIL,View Maintenance, Feeder class, Wiring, My UIBB is in Read-Only Mode. So, I modified my Feeder class Get_Data to make my attributes Editable. Now my issue is, Data in my UIBB is erased after any event (Check/Save/ Submit/ any). Data is not saving in Staging tables.

For more Info. I extended BP with Type4 Entity. and related with BP_HEADER as Leading, 1:1 Cardinality. Extended GenIL as given in SCN Doc wrt to Bp_Root. My Structures, Staging Tables got Generated. For my Feeder Class, Superclass-CL_MDG_BS_GUIBB_FORM.

What is that I'm Missing. Any Help please.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member844576
Discoverer
0 Kudos

Hi Sekhar
Have you got the solution, I am also facing the same issue. In my case staging area is working for Edit scenario.
For create scenario if i am defaulting some values in in my custom UIBB it is not working.

michael_theis
Active Contributor
0 Kudos

Hi,

using GET_DATA for modifying fields properties just has an effect on the UI. If fields are read-only in lower layers, e.g. the MDG framework, or in genIL, your modification does not help at all. Both the MDG framework and the genIL layer deny any data changes for fields being read-only. That's very likely the reason why your data disappears.

Best regards

dharma_esampalli
Participant
0 Kudos

Hi Michael,

So Any suggestions where I should do changes to get the UIBB editable. any modification in GenIL. ?