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

User exit in VA01 - adding push button

Hi All,

In VA01 screen number 7905 ( for Mill products) , i have to place a button to split the items.

i have placed a pushbutton in the screen and assigned the OKCODE also. the okcode is FACT.

When i click the button , the items have to split based on some other factors. i have the code also plaved in MV45AFZZ under USEREXIT_SAVE_DOCUMENT_PREPARE.

BUT when i click the Button , it throws a error "Required Function FACT is not available here".

HOW TO SOLVE THIS.

kindly help me in solving this.

Waiting for your replies.

VIKKI.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 01:20 PM

    Hi,

    You need to specify function for that push button.

    Double click on the pushbutton in screen painter and assign function to it.

    REWARD IF USEFUL

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 01:32 PM

    Hi Vikki,

    I have also done similar kind of object which was the heart of one of my project. I need to replicate the Item Level Billing plan tab onto the Additional B tab including the buttons contained and other such requirement. I have implemented all the functionality as specified but not the Button functionality. I have researched, debugged a lot and came to final conclusion that we can't place our own buttons on Standard SAP screens and interact with them and achieve the requirement. The reasons are as follows.

    1. Because it is SAP provided screen whatever FCodes that we interact with, they are being validated against the tables T185, T185F etc...

    2. It gave me the error Flow Control XXXXXXXXXXXXXXXXXXXXXXXXXXX is missing in table T185

    3. This FCode validation will happen in Module FCODE_BEARBEITEN by taking into account the program name, FCode etc.

    4. The error is getting triggered in the perform T185F_LESEN

    5. In this perform first the following Statement is validated.

    Select single * from T185F where AGIDV EQ T185F-AGIDV and

    TRTYP EQ T185F-TRTYP and

    FCODE EQ T185F-FCODE.

    6. The above statement is returning SY-SUBRC = 4. and then the following statement is getting validated.

    7. Select single * from T185F where AGIDV EQ T185F-AGIDV and

    TRTYP EQ '*' and

    FCODE EQ T185F-FCODE.

    8. After the above stmt it is returning the error message 'Requested Function XXXX is not available here'

    Hope this is clear to you now. Reward accordiingly.

    Thanks and Regards,

    Maddineni Bharath.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2009 at 07:53 AM

    After responding to you're function and executing you're specific action, clear the ok_code that is used in the standard transactin.

    The problem is that you're specific function is not known in VA01.

    Kind regards,

    Stefaan Vermeulen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2012 at 01:59 PM

    Hi Vikki Ram,,

    Even i gotta same error in VA02 like Requested Function XXXX is not available here '

    After that debug i have solved by using follwing code,

    Hope it ll be helpful for abapers.

    ___________________________________________________________________

    If sy-ucomm = 'ZIMAGE'.

    call transaction 'ZIMG'.

    sy-ucomm = 'T\01'.

    fcode = sy-ucomm.

    endif

    ___________________________________________________________________________

    Thanks & Regards,

    BASTIN VINOTH NG

    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.