Skip to Content
author's profile photo Former Member
Former Member

Material List in COR1 transaction

Hi all,

My requirement is to fetch the materials on the screen in COR1 transaction i.e. on screen 5120 in Program SAPLCOMK...

I have implemeted Method at_save of BADI WORKORDER_UPDATE.

I tried in debugging mode but I was able to get only the compoenent list under the header material, but I dont require that, I require the materials entered on the screen.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2012 at 08:48 AM

    HI Pranav,

    I think you are using Correct Badi WORKORDER_UPDATE but Wrong method.Please check with Method BEFORE_UPDATE.Here Check parameter IT_ITEM.Hope This will help You.

    regards

    Ajit

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I figured out myself.....

      The structure that gets the materials from the material lisr from the screen is

      (SAPLCOMK)LOOP_CTR_BUFF[]..

      It contains the materials and irrespective of that it contains some of the status flags..

      Filter out when material is not initial and use.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.