Davidoff33
Registered user
Global user
Registered: 03-2005
Posts: 4
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
BDT: show/hide customer field business partner.
Hi,
I have some problems hiding/showing a customer field on the Business Partner screen:
I have extended the standard table BUT000 with a customer field, created a new field group, view and section. I attached the new section to an existing screen(control tab). The view contains the subscreen layout + PBO/PAI function modules. The field group contains the new customer field + function module for field grouping.
Everything is working fine except the customer field always stays ready for input even in display mode.
Any ideas how I can solve this issue . Thanks in advance.
Kind regards,
David
|
|
3/2/2005, 6:55 pm
|
Send Email to Davidoff33
Send PM to Davidoff33
|
sapdev
Head Administrator
Global user
Registered: 07-2004
Posts: 56
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
Re: BDT: show/hide customer field business partner.
I am not sure if it will be the same but when i was using BDT for grants management you had to ensure i used the correct field names on the screen. i.e the actual data table is GMGR but when declaring new fields on the screens you needed to use gmg_fields-[fieldname] instead of gmgr-[fieldname]. Are the fields you have added referencing the same structure as the rest of the SAP fields, or does business partner not work like this?
Regards
Mart
|
|
3/3/2005, 9:50 am
|
Send Email to sapdev
Send PM to sapdev
Blog
|
Davidoff33
Registered user
Global user
Registered: 03-2005
Posts: 4
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
Re: BDT: show/hide customer field business partner.
Hi Mart,
thanks for your swift answer.
I tried to follow your advice but it is not working yet:
I found a similar structure BUS000FLDS which is also used for screen layout but this one does not have a customer include as the gmg_fields structure . So the customer field I created in table but000 is not available here. I did an append structure on BUS000FLDS with the custom field.
On the subscreen I added a field with reference to the BUS000FLDS-ZFIELD. But then you have to change also your field group to BUS000FLDS-ZFIELD instead of BUT000-ZFIELD.
Or else you get a warning that the field does not exist on the subscreen.
I changed some coding but at the moment it is not working at all. I does not even save the inputted value…
Any ideas to help me further?
Thanks in advance.
Regard,
David
|
|
3/3/2005, 5:18 pm
|
Send Email to Davidoff33
Send PM to Davidoff33
|
Davidoff33
Registered user
Global user
Registered: 03-2005
Posts: 4
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
Re: BDT: show/hide customer field business partner.
Works fine now,
started from scratch and now it works...
|
|
3/4/2005, 4:36 pm
|
Send Email to Davidoff33
Send PM to Davidoff33
|
sapdev
Head Administrator
Global user
Registered: 07-2004
Posts: 56
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
Re: BDT: show/hide customer field business partner.
Excellent, Did you end up using BUT000 to add the fields to the screen or another table/structure.
|
|
3/7/2005, 8:58 am
|
Send Email to sapdev
Send PM to sapdev
Blog
|
Davidoff33
Registered user
Global user
Registered: 03-2005
Posts: 4
Karma: 0 (+0/-0)
|
|
Reply | Quote
|
|
Re: BDT: show/hide customer field business partner.
To define the field on the subscreen used the customer include structure: CI_EEW_BUT000-ZZFIELD.
|
|
3/7/2005, 12:41 pm
|
Send Email to Davidoff33
Send PM to Davidoff33
|