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

How to make a custom transaction..?

Hello gurus,

I have been given the task to make a custom transaction ZVA02.One the first screen there will be a field Order Number and then once we enter the order number it searches and find out whether that order exists or not...if it does then make the change in the fields..if it does not then create a new order by that name...

I have no clue how to go about with this...Your help is required experts...

Cheers:Jim

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 10:37 AM

    Hi Jimmy,

    Go to SE93 and Then Give your Program Name and Screen Number.

    Thanks,

    Reward If Helpful.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2007 at 10:39 AM

    Hi,

    If I understand you right you are given the task to customize the trnsaction VA02.

    You need to copy the program SAPMV45A to some ZSAPMV45A and then add a new screen of your own to provide the customization you need.

    First step is to copy the existing program SAPMV45A.

    Regards,

    Sesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 10:42 AM

    Hi,

    What create include program inside that that take order number from the screen and check /validate the same by checking inside the table

    if it is there in the table then proceed otherwise

    call the VA01 tr code using CALL Transaction within the same report

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      check with ABAPDOCU Transaction to create dialog program.

      goto ABAPDOCU Transaction -> ABAP User Dialogs -> Screens here you will have example programs.

      you can validate order number against VBAK Table

      simple query in dialog

      select single vbeln from vbak into vbak-vbeln

      where vbeln = screen field order #.

      if sy-subrc eq 0.

      call transaction 'VA02' and skip first screen.

      else.

      call transaction 'VA01' .

      endif.

      even you can build new screen what ever in sales order -

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.