Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unknown Function Code in BP

Former Member
0 Likes
3,892

HI

In transactions BP/BUP1/2 we added some custom tabs. On one of these tabs I had to add a text button to call a report which is working fine. However when I press the 'BACK' key from the report to get back to the BP transaction, I get a message "Unknown Function Code xxxx" (Message no. BUPA_DIALOG_JOEL103)

I added the function code in the BUPT config under GUI Additional Functions(BUS9) but it didn't make a difference.

I tried all kinds of function modules to clear the function code after the call to the report but nothing is working

Please help!

Thanks so much

Ansa Leonard

3 REPLIES 3
Read only

Former Member
0 Likes
2,297

Found the problem

Read only

0 Likes
2,297

Hello,

I have the same problem in BP. I have added a push button on the screen and the button function code name is 'SAVE'. when I click on the button, everything works fine but at last this message appears, Please help me to solve this problem. Thanks a lot in advance.

Regards,

Ravi

Read only

0 Likes
2,297

You must create your GUI Status in transaction BUS9. After this, you must need create a FUNCTION MODULE like the example below:

FUNCTION z_xxx_bupa_event_fcode.

*"----------------------------------------------------------------------

*"*"Interface local:

*"  IMPORTING

*"     REFERENCE(I_FCODE) TYPE  TBZ4-FCODE

*"  EXPORTING

*"     REFERENCE(E_XHANDLE) TYPE  BOOLEAN

*"----------------------------------------------------------------------

*" E_XHANDLE default'X' = Fcode is handled in this unit

  e_xhandle = 'X'.

"your code here

ENDFUNCTION.

Than access the transaction BUS7. Select FCODE register and assingn your FUNCTION MODULE to it.