Skip to Content
0

Refresh Data at Custom Entity

Jan 25 at 10:53 AM

84

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Loga Nathan Duraisamy Jan 26 at 11:38 AM
0

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


mdg-data-img.jpg (211.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 26 at 12:34 PM
0

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


zalt-payee.jpg (338.7 kB)
attributes.jpg (157.3 kB)
rel1.jpg (421.4 kB)
rel2.jpg (452.2 kB)
gen1.jpg (247.1 kB)
gen4.jpg (211.9 kB)
gen5.jpg (251.1 kB)
Share
10 |10000 characters needed characters left characters exceeded