Skip to Content
0

IBase Component only shows in genil_bol_browser

Jan 13, 2017 at 11:06 AM

153

avatar image
Former Member

Hi All,

I am trying to retrieve IBase component via the following relation

BTOrderHeader->BTHeaderBOSSet->BTRefObjSet_A->BTRefObjectComponentsAll

However, there are discrepancy between WEBUI result entity and GENIL_BOL_BROWSER result entity as shown below:

In GENIL_BOL_BROWSER - 3 IBase component

During code execution(WEBUI - BTRefObjectComponentsAll)

Example Code

        CALL METHOD lr_entity->get_related_entity
          EXPORTING
            iv_relation_name = 'BTOrderHeader'
          RECEIVING
            rv_result        = lr_entity.

        CALL METHOD lr_entity->get_related_entity
          EXPORTING
            iv_relation_name = 'BTHeaderBOSSet'
          RECEIVING
            rv_result        = lr_entity.

        CALL METHOD lr_entity->get_related_entity
          EXPORTING
            iv_relation_name = 'BTRefObjSet_A'
          RECEIVING
            rv_result        = lr_entity.

        CALL METHOD lr_entity->get_related_entities
          EXPORTING
            iv_relation_name = 'BTRefObjectComponentsAll'
          RECEIVING
            rv_result        = lr_collection.

Anyone knows what might have caused this discrepancy - 3 IBase component(GENIL_BOL_BROWSER) VS 1 IBase componenent (code)?

Also, is BTRefObjectComponentsAll is the correct relation to get ref obj, more specifically IBase and IBase component?

Regards,

Kang

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers