04-14-2010 11:51 AM
Hi,
I need to modify the document created using FB01 / MIRO for WBS Element. I could not find any user exit or BADI to do the same. So I tried the BTE 1120... I added a structure to BSEGSUBT to add the WBS Elements... And in the FM for 1120, I am passing the WBS Element to BSEGSUBT-PROJK.
But this data is not getting updated in the document. On further investigation, i discovered that the Internal Table T_ACCIT has the field PS_PSP_PNR and not PROJK and its because of these differences in the name of the fields, i am not able to add the data to ACCIT...
How do i get my data in the document?
Appreciate your help.
Kind Regards,
Tanuja
04-15-2010 7:36 AM
you can change table trwpr and insert your own fm - but caution: this is a like a modification of sap-standard!
A.
04-15-2010 8:13 AM
as said by andreas ,you can user this as well for your requirement
http://wiki.sdn.sap.com/wiki/display/ABAP/Junction+Functions
cheers
S.Janagar
04-15-2010 10:14 AM
Helll T ,
i think in that case ,...make use of Substitutions in Controlling area , in FI area system wont allow to change field values which are not part of its substittion fields.
try GGB1(tcode)--->Cost Account ->line item->create Step -->and make use of Exit Module in order to change value of COBL-PS_PSPNR or something like that.
regards
Prabhu