on 2025 Nov 10 3:36 AM
Hi Experts.
I'm dealing with getting the data of node MAKT and entity MATERIAL from the feeder class associated to a search help of a new field that belongs to a different node (MARA). My feeder class is a subclass of CL_MDG_BS_MAT_FEEDER_FORM.
Within method /PLMU/IF_FRW_G_OVS~HANDLE_PHASE_2, I tried to instantiate class /PLMU/CL_FRW_CONTEXT_POOL and get the MAKT context from the attribute MT_CONTEXT_POOL, however, this is private and I cannot read it from my code.
Any advice? Thanks in advance.
Request clarification before answering.
Hi raarriol,
Please try with below abap codes to retrieve any node data for MDG Material in Feeder Class:
"Get dynamic Node Structure
lo_node_metadata = mo_applictaion->mo_metadata->get_node_metadata( iv_node_name = 'MARC' ). "Get Node Metadata
lo_node_metadata->get_data_container ( Importing er_data_table = lr_node_data ).
Assign lr_node_data->* to <lt_node_data>
"Retrieve Node data with material number
mo_application_mode->retrieve(
Exporting
iv_node_name = 'MARA'
iv_target_node_name = 'MARC' "replace with your required node name
it_node_it = lt_node_id "internal table with material number
Importing
et_node_data = <lt_node_data> "dynamic field symbol Br.
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.