Skip to Content

Add custom fields to tcode VKP5

Hi Guys,

I am adding 4 custom fields to tcode VKP5 (Create Price Calaculation) and want to make one of the fields as DISPLAY ONLY, as it will be a calculated field. Kindly let me know the tcode or IMG path for configuring the custom fields. I know table TWLF is involved in the configuration.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 18, 2011 at 10:45 AM

    Hai mini,

    Create a ZT CODE for VKP5 program using se93.

    Create a Varinat in ZVKP5 with protect variant.

    For the field to be in display mode

    Put Tick mark in protect field.

    Save it.

    Ask abaper to write a code in VKP5 program

    DATA itab TYPE TABLE OF sy-ucomm. 
    if sy-tcode = 'ZVKP5'. 
     APPEND 'SPOS' TO itab. "save a variant
                p_status  = sy-pfkey
                p_exclude = itab.

    Now Go to Se93

    T CODE : VKP5

    Transaction text Create Calculation

    Program RWVKP007

    Selection screen 1000

    Start with variant * give the Variant Name created*

    It ensures ZVKP5 with open iwth default varinat and user having authorzation of ZVKP5 can do same activity but the some fields in Display mode.

    The code helps that he cannot change any field, the Variant SAVE option is removed.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 09:39 AM


    See Note 912856 - Saving further list fields in the pricing document



    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.