Skip to Content
avatar image
Former Member

Variant Configuration Changing Item Text (POTX1)

We have a Variant Configuration set up to change the Item Text field (POTX1) of a material.

I want to read this changed field from a function module. I have tested CS_BOM_EXPLOSION and CS_BOM_EXPL_MAT_V2, I get all the data but the POTX1 field is not calculated as configured. 🤯

VC_I_GET_CONFIGURATION and CUD0_GET_VAL_FROM_INSTANCE gets me the characteristics, but still no sign of POTX1...

Exploding it in CU51 shows the expected value but no luck with the FMs.

Please advice!

Best regards

Jörgen Lindqvist

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 28, 2015 at 03:09 PM

    Hi Jörgen,

    a possibility could be to directly read the table STPO and get the field POTX1, by joining MAST, STKO and STPO tables.

    Thank you and bye,

    Flavio

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member flavio ciotola

      Hello again!

      Yes, if the text is written manually, that approach works. However in my case the text is set automatically by the variant configuration, by a procedure dependency. I guess I was not very clear on that in my first question...

      Thank you again

      // Jörgen