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

Can we set 'flag1' field in table PA0015?

Can we set the 'flag1' field in table PA0015 to 'X' by using ABAP code?

If yes, can anyone show me the code?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 27, 2006 at 04:51 AM

    Why do you need to modify a standard table using abap code ?

    use the help for modify statement or update to do it.

    syntax : modify PA0015 from itab.

    declare itab as table of type PA0015. and assign all the values of the changed row.

    regards,

    Sandeep Josyula

    *Reward if helpful

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Irene,

      You cant update the FLAG1 field in PA0015 using the function HR_INFOTYPE_OPERATION. The only way to update this field is using the abap code.

      modify PA0015 from table itab.

      I am assuming that itab contains the records from table PA0015 where the FLAG1 field needs to be update.

      Hope this helps.

      • Note the FLAG1 field is reserved by SAP. Also it is not recommended to directly update the database.

      Regards,

      Pulkit

      Message was edited by: Pulkit

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.