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

BADI for VA01 Header ( Order Data)

Hi,

I am working on the tcode VA01 BADI / Enhacements in which i am trying to implement a code in Header of Sales Order -> Order Data...... I am using a BADI BADI_SD_V46H0001 and made some amendments in the code in the method EXIT_SAPLV46H_003 but when i try to make enhacement for it,the error of no enhancement would created...

I want to know how it is to be done so that i can proceed with my further working ...

Edited by: nav009 on Aug 6, 2009 8:58 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 06, 2009 at 07:05 AM

    Hi,

    Could you elaborate your question.?

    Thanks

    kamath

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I had checked the implementation of it also and i also verfied that the implementation which i had done is only activated not any other one.

      When i execute the code it is not giving the desiered result in the tcode VA02.......

      • I am facing a problem that when i try to create the enhacement spot for this BADI,it does not allows me to create and by only implementation performed it does not execute the desiered result.*

      I really dont know how to solve this problem. I searched a lot but still did not got the solution for it.

      Edited by: nav009 on Aug 12, 2009 11:49 AM

      Edited by: nav009 on Aug 12, 2009 12:11 PM

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 10:27 AM

    hi

    You can add the required tab there by designing the layout in this screen and can write the logic in either " MV45AFZZ" or "MV50AFZ1".

    This can be done as:

    process before output.

    • Verarbeitung vor der Ausgabe

    *{ INSERT "TR No" 1

    module zzchange_validity_screen.

    *} INSERT

    process after input.

    • Verarbeitung nach der Eingabe

    *{ INSERT "TR No" 1

    field vbak-zzvaldt module zzvaldt_check on request.

    *} INSERT

    Saurabh Goel

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Himanshu,

      Yes i had checked the implementation and it does not conatin any errors and that field is present in the structure .... I_VBAKKOM-SUBMI (Collective Number)

      here's the code which i am using right now in the implementation:-

      
      method IF_EX_BADI_SD_V46H0001~EXIT_SAPLV46H_003.
      
        IF SY-TCODE = 'VA02'.
        if sy-UNAME = 'ISDEPT'.
        I_VBAKKOM-SUBMI = 1.
        BREAK-POINT.
        ENDIF.
        ENDIF.
      
      endmethod.
      
      

      The thing is when i try to create a create a enhacement spot for the badi (which is system generated) is not allowing to create for it,even i tried to use the implementation also ....

      Please rectify if i am wrong at any step ....

      Edited by: nav009 on Aug 13, 2009 10:14 AM

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.