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

Data Not retrieved from API - Change Scenario

Dear Experts,

I have extended the BP data model with the new custom entity to store KNVA/KNVD related values

  • I have added the new custom entity
  • Generated data structures
  • Did the SMT mapping
  • Have done GNIL model relation ship
  • created the custom feed class to handle my custom UIBB
  • Have added the UIBB and did the wire modeling.


While creating the change request I am able to perform all the operations in UIBB, once change request approved data has to move from staging to Active are (api)

I am also handled all those using my custom handler class (inherited CL_MDG_BS_FND_HANDLER ) and I am able to save the data into database table . In my case custom UIBB data is getting saved into KNVA and KNVD tables.


The issue I am facing here is , after approving the change request if I open the change request to view the data then all UIBB data is coming as blank

I am assuming data is not getting moved to properly from API à staging.I tried to debug the standard UIBB’s to check from where data is getting from and I can see data is coming get_data method (IF_FPM_GUIBB_LIST~GET_DATA ) inside that it actually getting the data from using method get_collection_data( lr_data ).


But in my case get_collection_data( lr_data ) method not able to get data because lo_entity is not bound .

----- retrieve for all entities
lo_entity = lo_iterator->get_by_index( iv_start_index ).
WHILE lo_entity IS BOUND.
IF NOT iv_row_count IS INITIAL
AND sy-index > iv_row_count.
EXIT.
ENDIF.

*----- proper data
TRY.
CALL METHOD get_entity_data
EXPORTING
io_access = lo_entity
CHANGING
cs_data = <ls_data>.
CATCH cx_bol_exception.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 10, 2014 at 09:16 AM

    Hi Baarati,

    did you created the SMT Mapping for both to the staging and the API?

    Regards,

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2019 at 02:40 AM

    hi,

    did you get a solution to your issue. i am facing a similar issue of data not being changed on the UI once entered?

    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.