‎2006 Dec 15 9:27 AM
Hi All,
We are making use of BDTs to enhance SAP Standard Screen for which provisions exist for enhancements using BDTs.
We need the funtion modules ie GET and COLLET funtion modules to tranfer the data on the screens to the Database tables
for example we know GMG_GMGT_GMGR_GET
GMG_GMGT_GMGR_COLLECT
funtion modules to transfer data on customized fields to the Data base tables.
Simillarly we want to suggest the procedure to find that those function modules for other BDT enabled transactions.
HELPFUL ANSWERS WILL BE REWARDED.
‎2006 Dec 15 9:45 AM
Hello Kiran
Do you append your additional fields to an existing DB table (i.e. you are participating on an existing BDT application) or are they stored in a customer table? Whereas in the first case it is rather easy to transfer the data to the DB table the latter case is more complicated.
Regards
Uwe
‎2006 Dec 15 12:18 PM
hi
In my case i have to change the
1.Field name of one of the existing field.
2.I have to include one new field
3.I have to include one new table and i must maintain log of created by created time last changed by last changed time in one of the custom created table.
that is what the requirement is.
now i am in confusion how to map that data into database.
i have no information about any of the function modules.
and the only things i am aware of is transaction code is REBDPR and database table is VIBDPR.
please help me out.
‎2006 Dec 21 5:02 AM
Hi Kiran
1...As far as i know, Through BDT we cannot change the name of the existing field.
But using SE63 u can change the Field name, provided the standard dialoug program is refering directly to the Dictionary object for the Field Label. Basically the SE63 is a Translation Environment, where you can change the Field Label.
2...Including New field can easily be done through BDT.
Step1...Add a field in the Customer include CI_VIBDPR of table VIBDPR
Step2...Create a function group and create a Screen for that function group trhough SE51 and include the above field in that.
Step3....do the process for adding the field group, View , Section , and Screen through you BDT Transaction.---Any problem in any step, let me know.
I have done this quite a few times for Business Partner.
3....For his problem i will let you know in a day or two. But the Logic is similar to above.
Regards
Mithlesh
‎2007 Jan 10 10:48 AM
Thank u for your Reply
But How to change the name of the field using SE63 and will the change here effect any other transaction that uses same data element?
‎2007 Jan 11 12:39 AM
Hi Kiran
Basically when you are changing the name of the field, you are actually changing the field label of the data element in the dictionary table. So its definitely going to effect the other transaction using the same data element.
Basically SE63 is for Translation. You choose the source language as german and Target as English and Select the Data Element and just change the Text.
Regards
Mithlesh
‎2007 Jan 11 12:43 AM
Regarding the addition of a new table....
I have added a new ZTABLE in an Independent Tab.
You need to do through BDT only and you have to follow the same path as addition of New Field. Just instead of adding field in the CI_EEW_BUT000, you need to add your ZTABLE in the Screen
In case of any problem, do revert back
Regards
Mithlesh
‎2007 Jan 11 7:10 AM
But how can we add a ztable(custom Data base table) in database table.
Fields store a value entry for single entry in master table but my ztable should be capable of storing multiple values for a single value in master table
‎2007 Jan 11 7:14 AM
For changing the field label it should not effect else where .
Even i knoe procedure to change the short text using CMOD but eventhis changes the field name at all other transactions using the same data element.
‎2007 Jan 11 9:27 AM
Hi
You will not be adding table inside the Table.
Create a ZTABLE....
Create a Screen and table inside it using the fields of ZTABLE. Use the Wizard.
Than use that screen in the VIEWS of BDT and Just do the Rest of Customization similar to th one we do it to add the New Tab.
To store data and Read data from table use the BDT Event
DSAVE and ISDAT
For the Other problem of changing name, i will suggest use new field, instead of Changing the Name. Its not the right approach to change the Field Label. You are right it will have impact every where in the System
Do Reward Points If Helpful
RGDS
Mithlesh
‎2007 Jan 11 2:46 PM
I done in the same procedure by handling those two events isdat & dsave but the save is happining explicitly how to make the save to be happened implicitly. How to make original object to recognise this is one of the enhancement to that object because in case of fields we are declaraing the fields in ci include so those are taken care of but what about this table control.
But i used some other procedure to handle that but that is not recommended so suggest me regarding this issue.
‎2007 Jan 12 12:53 AM
Hi
You are right, probably this is not the standard way of handling this kind of development. And SAP Certainly provide a Standard way of doing this.
Can you let me know for what Process, yoou are using BDT
Is it Business Partner?
I will reply you on this over the weekend, probably on Monday.
Have a nice time
Rgds
Mithlesh
‎2007 Jan 12 7:53 AM
Me working on Real Estate Property (T code - REBDPR).
also one more problem i am facing is the fields which are included in ci include, if any change made to the data in that fields it got not recorded in CDPOS table
Message was edited by:
kiran kumar
‎2007 Mar 08 7:43 PM
Hi, I have added new fields and screen(tab) to the contract account screen using bdt. they are working fine, however, when the transaction CAA3 (display contract acccount) the fields are not protected and still in input mode.
Do i have write code to protect them or is it some configuration I missed in transaction CAWM?
thanks in advance,
Ariel
‎2007 Apr 03 6:14 PM
‎2007 Apr 04 6:17 AM
Yes i made the Field label change using CMOD
but i know other procedure to make the field label change using GUIXT but it have implementation dependencies
Thanks
Kiran.
‎2007 Apr 04 6:24 AM
Hi Ariel
The BDT will automaticall take care to protect the fields in the Display mode.
the things to be taken care are
1. Use the dictionary elements while desiging your screen in screen painter(I.e the element you defined in Ci include of the table)
2. Assign that fields in the field groups.
Note .. If there is any mismatch between the names of the fields you used in Screen painter and in the field groups the bdt wont handle
the other procedure is...
there is one more option called Field status
Go to field status and change the radio button to display option in display mode
if the above solutions fails let me know.
Thanks
Kiran.
‎2007 Apr 04 6:34 AM
If above solutions fails
you can also handle that using the code
making use of
function module 'BUS_FMOD_STATUS_GET'
Let me know if you require more details
Thanks
Kiran