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

BAPI/FM to populate custom fields in Assigned objects in QM02 transaction

Hi All,

I have a requirement to update the custom fields like Object category, Sales document and item in the

Items->Assigned objects tab of QM02 transaction. I have been unable to locate a BAPI/FM to do the same.

Requesting anybody who has worked on such a requirement to come up with any details.

Regards,

Madhavi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2013 at 04:21 AM

    Hi Madhavi,

    Can you provide screen shot of 'QM02' pointing what is your requirement , also which BAPI you used ?

    Regard's

    Smruti

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Smruti,

      Please see the below screen shots.

      The object category is selected as ‘Sales order’. This category has been added by

      implementing the BADI ‘BADI_QNAO_OBJCAT’.

      Once the object category is selected the relevant custom fields ‘Sales Doc’ and ‘Item’ appear as highlighted below. These fields are also added through the BADI ‘BADI_QNAO_OBJCAT’. I need a BAPI to populate the 'Object category', ‘Sales Doc’ and ‘Item’ fields.

      I have not yet been able to locate an appropriate BAPI to update these.

      Regards,

      Madhavi

      pastedImage_1.png (27.5 kB)
      pastedImage_2.png (25.7 kB)
  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2013 at 05:37 AM

    one option is to enhance standard BAPI to achieve this.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 19, 2013 at 06:00 AM

    Hi, If this is a one time update; you can go for a small LSMW recording to the update the required fields to close this task.

    Hope this helps.

    Best Regards, Murugesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2013 at 07:07 AM

    Hi Madhavi,

    Can you share document how did you achieve adding object catagory with custom fields. My requirement is add new object catagory for DB batch validation and qty. field.

    i created new object catagory, copy of 001 and it's giving error Object Batch/DB does not exist.

    Thanks,

    Yugi

    Add a comment
    10|10000 characters needed characters exceeded

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.