Application Development 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: 

BDT button for Business Partner. Unknown Function Code

Former Member
0 Kudos
1,293

Hi experts :

We have put a new button in the business partner trx bp using BDT. This button calls a Z funtion that shows a modal window and has the function code ZDIR set in the screen painter.

We have customized the BDT with the images, sections and so on.

The problem is that when we come back from the modal window the systems shows the next error message:

"Unknown Function Code ZDIR" (BUPA_DIALOG_JOEL103)

We have also added the function code to the "Function GUI" but the error still appears.

Any suggestion ?

Does someone has a GOOD manual on BDT and function GUI ?

Does someone has had the same problem before ?

Tyvm in advance.

8 REPLIES 8

Former Member
0 Kudos
375

I've already solved it setting handle to 'X' in one of our events

0 Kudos
375

Mike,

How were you able to solve this? We are facing a similar problem after we upgraded to ECC6.0 from 46c and when we click on the custom push buttons on the custom screens we are receiving the same error.Any help in resolving the same would be appreciated.

Thanks

Narasimhan

0 Kudos
375

Hi Mikel,

Can you please explain in detail how resolved this issue. I am facing the similar problem.

Thanks,

Naga

0 Kudos
375

Hi all:

Sorry for being too late to answer your questions.

You should probably have your own events in the function group, if not you should create an event, for example ZF_EVENT_FCODE.

Then add this function via BUPT transaction to the FCODE event group.

The function should have an import parameter defined like this:

I_FCODE LIKE TBZ4-FCODE (optional & by value)

And an export parameter:

E_XHANDLE TYPE C (by value)

And inside you write this code:

IF I_FCODE EQ 'ZDIR'. "replace ZDIR by your button function code

E_XHANDLE = 'X'.

ENDIF.

Hope to be usefull.

0 Kudos
375

Hi, how are you?

Could someone detail the first steps to add the button?

Regards

0 Kudos
375

Hi, I´ve added the tab, but the problem is I added just for one business partner, and i want to add for all of them, even if I create a new one, obvious without do all the steps. Does anyone knows how to do this?

Maybe is modifying a standar "application"? but also i don't know how.

thanks in advance.

Regards.

0 Kudos
375

Hello Michael

I'm facing a similar issue... but where do we need to call this function module??

Regards

Sanguine

former_member217722
Participant
0 Kudos
375

Hi Mikele Perez,

Can you please explain me that how you added a button for transaction BP. As I found that usinf tx BUS9 we can do that. But Iam unable to that.

Regards,

Mithuunn