Add Customer Push Button on SAPMV45A/8309 without making core-mod
Hi, we have added many numerous custom fields on screen SAPMV45A/8309(Additional Data B) and have had no issues.
We would now like to add a pushbutton on the screen 8309.
We have added the pushbutton and built the corresponding logic in the PAI which is all working.
The issue is we are getting the message after executing:
"Requested function C2C1 is not available here
Message no. V0104"
This seems to be saying that we need to add the the function code(C2C1) to a GUI Status.
But we are unsure which GUI status to add it to, AND we do not want to have to change a core GUI Status (which seems to be K).
Is there a custom GUI Status that we should be adding it to?
Any help is appreciated.
Raj N replied
Solution you implemented is correct .
Your Function Code is 'C2C1' assigned to pushbutton is relavant to screen flow of the program
When the logic passes back to Standard sales order processing it can not recognise 'C2C1' . So we need to reset the FCODE .
In this case your new code " 'ENT1' to FCODE. <------new statement "
took care of resetting the Function code. So you did not get any error message.
Hope this helps . If any questions let me know.