Skip to Content
avatar image
Former Member

Inconsistency in table plko and plpo with counter

I have seen quite a few posts on this issue but never see a solution. Could you please let me know why the inconstancy with the group counter between PLPO & PLKO and how to update it. please advise if we have any function module for it. Please do not respond with work around solutions as I have done all required reserch.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 19, 2018 at 02:31 PM

    Hello Sankaran,

    Appriciate your response on this issue. I could make it work based on the logic that you provided. However, I would still question SAP for the Inconsistency between PLKO & PLPO tables.


    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2018 at 11:44 AM

    Hi Srini,

    Table PLAS is relation between PLPO and PLKO. so you can use field PLAS-PLNKN instead of field ZAEHL.

    Read data from table PLAS from PLKO

    plnty=lt_plko-plnty AND plnnr=lt_plko-plnnr AND plnal=lt_plko-plnal AND loekz NE 'X'.

    Read data from table PLPO from PLAS

    plnty=lt_plas-plnty AND plnnr=lt_plas-plnnr AND plnkn=lt_plas-plnkn AND aehl=lt_plas-zaehl.



    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10, 2018 at 02:37 AM

    Hello Srini

    There is no specific solution that works for every issue in those tables. Usually, it is only possible to find the a solution for this kind inconsistency after a deep analysis in the data constellation.

    Therefore, can you please provide more details about your inconsistency? Which exact table is inconsistent?Are you missing any record on those tables? Is it affecting any standard transaction?



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Srini,

      ZAEHL is internal counter for the table PLKO and PLPO.

      Its not linking PLKO and PLPO at all.

      Its changing when u change some thing specific to those tables.

      As suggested by Sankaran PLAS is the linkage table between PLKO and PLPO. Linkage is PLNKN.