Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Material from ABAP memory Project systems

Former Member
0 Kudos


Hi ,

I am working on creation of project system, WBS , network , activity and assignment of material to activity.

While saving WBS , I need to do some validation on user field based on material at activity level . I am using BADI WORKBREAKDOWN_UPDATE and method at_save for the same. Kindly help me to find material from memory. If project is already saved then I can find material from RESB , if not how can I retriev material .

Regards,

Sandeep

1 REPLY 1

ipravir
Active Contributor
0 Kudos

Hi,

You can read the Entered Material Information through the Parameter ID 'MAT'.

Example:

l_matnr type matnr.

GET PARAMETER ID 'MAT' FIELD l_matnr.

And the IT_WBS_ELEMENT import parameter of the BADI itself is having the MATNR column.

Kindly check.

Regards.

Praveer.