Skip to Content
avatar image
Former Member

Refresh Data at Custom Entity

Hi all,

i have create a custom Entity.

This Entity is under BP_HEADER->BP_MLT_AS->BP_VENGEN->BPCOMPNY.

I had use the "SAP How-To Guide: Extend the MDG Business Partner – Node Extension (Reuse Option) "

But now i have a problem. Can anyone say how a can refresh the data when i insert one new Payee? I weill select the name and the city. But i dont knwo how it works and the How To Guide dont say that.

The both first one i get from Database Table LFZA. But the last one i insert at NWBC and now i want get the name and city. And how can i fill ASSGNM_ID, BP_HEADER and COMPANY?

EDIT: I think i can get the infos at Method IF_FPM_GUIBB_LIST~GET_DATA from class CL_BS_BP_GUIBB_LIST. But how can i get the Information about the BP?
I need that in this case.


Thanks and Br,

Markus

zalt-paye.jpg (74.0 kB)
payee.jpg (62.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 26 at 11:38 AM

    mdg-data-img.jpgHi Markus,

    when you insert a new entry with the click of new button, it will trigger local event which you can capture within feeder class/BRF to derive a data. I hope you have assigned an action event for that ,check other new button assigned for other entity. Coming to Assignmenmt id ,BP id these will get derived based on the relationship you have maintained so no need to fill. you can assign an event to any field to trigger event,for an example vendor,go to feeder class properties and assign event.

    Thanks and Regards,

    Logan.D

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 26 at 12:34 PM

    Hi Logan,

    maybe you can help me with the Relationship and Data Model? I think there is the error.
    This is what i customize in our system.

    The new Custom Entity

    Attributes

    Relationship

    maybe i have a problrem at Genil Model?
    Can you have a look at this.

    Thanks & Br,

    Markus

    Add comment
    10|10000 characters needed characters exceeded