2014 Dec 04 12:03 PM
Hello Experts
I need a quick help on how to get through an error " Requesting function & is not available here".
My requirement is to add a push button in the VA21 quotation screen, so that when the button is clicked it should default all the Order quantities to 1.
I have added the button and wrote my logic in PAI of the screen. But when testing I am not able to proceed with this error occuring.
Please help
Thanks
Navya
2014 Dec 04 12:29 PM
Hi Navya,
Did you check whether this is standard error message? Double click on the message displayed, and note the message class and message number.
Now, Get into debugging mode and put breakpoint at statement 'message'.
It will stop at every message you encounter in the program. Execute all until you get to the desired message. Look for your message class and number that you got after execution.
This way you will come to know why the error message is coming.
2014 Dec 04 1:26 PM
Please post your PAI code (specifically where you are stting sy-ucomm).
Alternatively please try this logic:
sy-ucomm = 'xxxx'.
fcode = sy-ucomm.
2014 Dec 04 4:37 PM
PAI Module code
data: lwa_vbap like line of xvbap.
data: lv_counter type vbap-posnr.
case sy-ucomm.
WHEN 'QNTY'.
loop at xvbap into lwa_vbap.
lv_counter = lv_counter + 1.
lwa_vbap-posnr = lv_counter.
lwa_Vbap-kwmeng = 1000.
modify xvbap from lwa_vbap index sy-tabix TRANSPORTING posnr kwmeng."pvpos kwmeng.
endloop.
ENDCASE.
2014 Dec 05 10:02 AM
2021 May 04 8:31 PM
Hi All,
You can maintain the required custom function codes in the T.code VFBS as follows.
1. Maintain related program name.
2. Check Function Codes radio button --> Change
3. Maintain the individual entries for each custom function codes which you want.
4. Check Development Support radio button, maintain an entry for the users who need authorizations for the program and function codes.
Best regards
Siva Kukkala