‎2007 May 22 10:20 AM
Hi,
I have to add a new feild in output of T-code of Koc4.
‎2007 May 22 12:23 PM
Hi,
Hi,
Check the BADI DATA_EXTENSION_RW and method ADD_FIELDCAT.
1. goto SE19 for the badi implementatiom.
2. enter the badi name DATA_EXTENSION_RW
3. clik create and enter short discription.
4. click on interface tab and double click on th method ADD_FIELDCAT
5.now add your logig to add the field KTEXT to the Field catalog between method and end method
6. Save , check and activate the code.
thanks and regards,
Pavankumar
‎2007 May 22 1:40 PM
Hi,
I am using 4.6c in that above mentioned badi, I am not able to locate kindly give suggestion.
‎2007 May 22 2:01 PM
Hi,
have u eneterd the BADI name as "DATA_EXTENSION_RW" in tcode SE18?
Revert back if any issues.
Regards,
Naveen
‎2007 May 22 3:05 PM
Hi,
I have searched it in se18 it is not existing in that.
‎2007 May 22 3:27 PM
‎2007 May 22 3:43 PM
when I am entering that badi name and choosing display option it does not eixst in our version i.e 4.6c.
‎2007 May 22 3:46 PM
I am getting this msg.
Message no. ENHANCEMENT 190
Diagnosis
The BAdI definition you chose does not exist.
Procedure
Try using the name of an existing BAdI definition.
‎2007 May 23 7:04 AM
Hi,
iam not working on that version 4.6..., as per the messages wat u said is correct, BADI doesnt exist.
if i got 4.6 then i could have tried in finding a BADI...
i think i couldnt help this...
Regards,
Naveen
‎2007 May 23 1:31 PM
Hi,
I have got another way of adding new feild in this transaction output .
execute koc4 then execute prog (RKKBALV1) in se 38 after that select Include BALV1F01 in this select Form FIELDCAT_GET_AUFK then after look for this section LOOP AT LT_ORSEL.
LS_FIELDCAT-FIELDNAME = LT_ORSEL-FELD.
LS_FIELDCAT-REF_TABNAME = LT_ORSEL-TABELLE.
APPEND LS_FIELDCAT TO RT_FIELDCAT.
ENDLOOP.
*****Do your changes here for adding your feild ktext
Chnaged by priya ranjan
LS_FIELDCAT-FIELDNAME = 'KTEXT'.
LS_FIELDCAT-REF_TABNAME = 'AUFK'.
APPEND LS_FIELDCAT TO RT_FIELDCAT.
Changed by priya ranjan
‎2007 May 23 1:35 PM
Hi,
But u shud have Access Key to do the changes in the standard code.
Talk to ur leads to have access key.
Revrt back if any issues.
Regards
Naveen
‎2007 May 23 1:34 PM
I have solved this through help of my freind Sohail Basha.
‎2013 May 09 12:56 PM
Hi priya,
Can u let me the solution which ur friend sohail Basha has suggested because i am also facing the same issue now.
It would be helpful if u provide the solution .
Thanks,
Sandeep