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

User exit for transaction VK11/VK12

Hi ,

I would like to put my own check on vk11 and vk12.

and on the basis of that check i would like to change To Date.field.

By default 31.12.9999 is comming. i want to change it as per my requirement.

i tried it with SD_COND_SAVE_A but it is not changing the data in tables.

any help will be higly appricated

Regards

malik

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2011 at 07:14 AM

    Hi Malik,

    Create a implicit enhance at the end of FORM RV13A_KSCHL_SCHNELL.

    Include - MV13AF0R
    
    FORM rv13a_kschl_schnell.

    and change the value of field RV13A-DATBI (Valid to.)as per your requirement.

    BR,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2011 at 02:34 PM

    Hi

    Try with BTE's. See SAP Note 325551 - Field check and field texts in condition tables for further information.

    I hope this helps you

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2011 at 06:33 PM

    Hi,

    Try to use BTE 00503303 and BTE 00503305.

    BR,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the replies.

      I check the note and BTE's.

      BTE 00503305 dont have Valid from and Valid to field to change the values.

      BTE 00503303 have these two but in import parameters so it is not possible to change these values.

      ANy other hint or solution .

      Regards

      malik

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2011 at 06:37 AM

    Hi Malik ,

    whats you issue if you have end date is 31.12.9999 , anyhow you can create condition records based on the end date , but SAP will create default record with end date 31.12.9999

    regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      My issue is that, By Default SAP is taking 31.12.9999 ok,

      or user can put any date in "Valid To" Field.

      We dont want both options.

      what we want is we should check the date of "Valid From" and add 30 days in that date

      and put that date in "Valid to" Date.

      Means programatically i want to put "Valid to". i am unable to achive this through BADI and BTE.

      Any help.

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.