FTR_CUSTOMER_EXTENT
Hello Everyone,
I am trying to make some fields from an append to table vtbfha available for display AND editing in transaction TS01 - TS07 (treasury deal).
I created an own implementation for BADI FTR_CUSTOMER_EXTENT.
In the PBO module for that additional dynpro I to this
move-corresponding g_proxy_transaction->a_transaction to <fields on dynpro>.
The result is: the display works fine. But the values entered or changed on the screen are newer updated to the database, although the additional fields are editable when an edit-transaction is called.
In the PAI module I already do this
* try to return append data to VTBFHA
call method g_proxy_cust_data->set_cust_data
exporting pi_tab_fha_appends = pi_tab_fha_appends
exceptions others = 4.
(found in a SAP-sample).
But something seems to be missing.
Can anyone please help?
Thanks a lot!
Dieter
Hi Vijay,
please chech if this thread may help you http://scn.sap.com/thread/2127415
Moody
Similar Messages
-
BADI FTR_CUSTOMER_EXTENT Implementation for Facility creation - TM_61
Hello Experts
I am trying to add new tab in the create facility transaction and I feel that the right BAID to do this is FTR_CUSTOMER_EXTENT. I am not able to update the new values in the screen to the database table. I check in the forum and there are many questions for the same but there is no clear answer for the same. Request your help in letting me know how this can be achieved.
I have also checked the same Function Group FTR_CUSTOM_BADI_SAMPLE but still I am not clear as to how I can achieve this.
Thanks in advance
Vijay VHello Claudia,
I finally solved the problem, and I hope my solution may suite your problem.
The bigger problem I had was pass the data from the screen to the BADI itself, so I created a function group following the FTR_CUSTOM_BADI_SAMPLE in which I developed the objects.
Those are the steps I followed:
I enhanced the structure VTBFHA with the custom field I needed;
I created an implementation for the FTR_CUSTOMER_EXTENT
in EVT_APPLICATION_START method I called a function module (copied from the FTR_CUSTOM_BADI_SAMPLE_START) in which I started the subscreen I draw in new tab. (Please note that by doing this I now have the interface if_open_trtm_customer_data always at hand). Follow the instruction of the sample code or the http://scn.sap.com/thread/1534252 thread)
in the PBO of the subscreen I retrivied the custom data via GET_CUST_DATA of the IF_OPEN_TRTM_CUSTOMER_DATA interface and pass the data in my screen fields. In order to do that I called a function module developed in the same function group, so that the interface is ready to be used.
in the PAI of the subcreen, once the data is entered I pass the new data via SET_CUST_DATA of the IF_OPEN_TRTM_CUSTOMER_DATA interface, again developing a FM within the function group of the EVT_APPLICATION_START custom function module I used.
I am sure there must be a better solution, but it owrked pretty fine for me, so I hope this my help you as well.
Moody -
Problem BADI FTR_CUSTOMER_EXTENT
Hi masters,
I'm trying to add a new tab in tcode TS01 using the badi FTR_CUSTOMER_EXTENT.
I was able to add the new tab, but i dont know how to add the fields on that tab (subscreen).
I think that i need to code the PBO and PAI of the subscreen area, but i dont know how to do it.
I need some helps, please.
how to add the new fields on the new tab? so i can put data on it.
RegardsHI Daniel,
To add a new custom tab in TM_XX transactions you have to follow these steps:
1. (SE80) Create a dynpro as SUBSCREEN, with the structure (fields, tablecontrols...) you want in the new tab, located in a modul-pool.
Example: Program: ZCFM001
Dynpro: 1010
2. (SE18) Create your custom implementation of BADI FTR_CUSTOMER_EXTENT. This will create a Z class where you can program the new tab management.
Example: Implementation: ZAMPLIACIOTM001
Class: ZCL_IM_AMPLIACIOTM001
3. (SE24) Implement method EVT_APPLICATION_START of your new class. This method is called when the transaction is going to be painted, and manages (among other things) which tabs need to be shown. In general terms, you will have to assign your dynpro to a function code.
This BADI offers you 2 custom function codes, and so, the ability to add two custom tabs. These function codes are OPEN_TRTM_CUST_01 and OPEN_TRTM_CUST_02.
To add your dynpro to a function code, you have to identify this relationship in the internal table (parameter) PC_TAB_BADI_TABS. This is the table that contains the custom tabs to be added.
To do this, you have to add the following piece of code:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
4.1. Modify the tab structure.
LS_BADI_TABS-REPID = ZCFM001. "Report
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '1010'. "Subscreen
4.2. Add the new tab.
MODIFY PC_TAB_BADI_TABS
FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
And that's it! Now you will be able to see you new tab in these transactions.
I hope this helps you.
Alberto. -
Screen exit in badi FTR_CUSTOMER_EXTENT for tcode FTR_EDIT
Hi,
I need to add new tab to standard screen interest rate instrument (SAP t-code FTR_EDIT). In the new tab i need to add input parameter to save customised field in table vtbfha. I'm using SAP ECC6.
When searching for any user exit or badi, i found out badi FTR_CUSTOMER_EXTENT. There is no sample code that i can refer to.
I've looked at that BaDi and there is an option to add FCodes and Subscreen.
Is there possiblities that we can add new tab and input parameter to the standard screen.
How can i proceed from there.
Kindly help.
Thanks,
Biah
HowHi,
Yes definitely you can add tab (screen enhancement) to the existing screen. The all you need to do is create implementation for that badi (FTR_CUSTOMER_EXTENT).
First create screen '9000' using function group or program.
In method EVT_APPLICATION_START there is changing parameter 'PC_TAB_BADI_TABS'.
Now in this method write down the code as:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
LS_BADI_TABS-REPID = 'Program Name'.
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '9000'. "Subscreen
MODIFY PC_TAB_BADI_TABS FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
Hope it works. <removed by moderator>
Thanks
Vishvesh
Message was edited by: Thomas Zloch -
USER Exits FOR TM_55 Tcode
Hi All,
Iam working on the enhancement for the TM_55 Transaction which is for the reverse of interst rate.
I want to do some enhancement when user presses the save button.
can any body give me any exits, badi, or enhancement point which will trigger when user click the save button on the tcode tm_55.
thanks in advance.
vinod.Hi,
There are 2 Exits in Tcode "TM_55".
RFTBCOEX
RFTBCOMO Treasury: Correspondence Monitor
The Badis List as below.
FTR_BAV Open TR-TM: BAV regulatory reporting
FTR_CORR_INC_100 CFM: Inbound confirmation via IDoc
FTR_CORR_OUT_100 CFM: Outgoing Confirmation via IDoc
FTR_CUSTOMER_EXTENT Open TR-TM: Enhancements for Customers
FTR_FINANCIAL_OBJECT Open TR-TM: Finance object connector
FTR_FX_INT_EXIT Enhancements for Internal Forex Trading
FTR_HEDGE_MGMT Open TR-TM: Hedge Management
FTR_HEDGE_MGMT_USER User Exit for Hedge Management Subscreen
FTR_MA_LAUNCH Settings for the MiniApp Launcher
FTR_MA_LAUNCH_1STP Control Start Page for MiniApp Launcher (FTR_MA_LAUNCH)
FTR_MA_LAUNCH_CUSTOM Settings for the MiniApp Launcher
FTR_MIRROR_DEALS Open TR-TM: Connection to Mirror Transactions
FTR_PARTNER_ASSIGN Open TR-TM: Partner Assignments
FTR_SE_DEFAULTS Add-In: Default Issue Structure Data for Sec. Transaction
FTR_TRACA_STATREPORT Posting of TR Transactions: Enhancements for Reporting
FTR_TR_EXTENTION Enhancements to TR-TM
FTR_TR_FACILITY Open TR-TM: Connection to Facilities
FTR_TR_GENERIC Open TR-TM: Generic Connection to Transaction Management
FTR_TR_POSMON BADI Position Monitor
FTR_TR_TBB1_EXIT Enhancements of (Operat.) Posting Interface (Obsolete!!!)
IBS_FS_LIST_OPTIONS Manipulate Field List for Display in MiniApp
SMOD_RFTBCOEX CFM: Enhancement of Transaction Confirmations/Dealing Slips
Thanks -
Hello Everyone,
How r u guys? I need some help in BADI/User Exit. I am working on FI - CFM. There is a transaction with TCode- TS01 (Create Securities) / TS04 (settle securities).
I need a BADI/Exit which gets activated when the user clicks on the save button. I tried to locate them but couldnt find anything suitable. I emailed sap and they told me that there is a BADI - FTR_CUSTOMER_EXTENT which I
could use to solve my problem. I did try that and wrote a code in that badi;s EVT_TRANSACTION_SAVE_CHECK method.
But unfortunately when i clicked on save button the badi didnt run. I am in a fix as to what do I do ? The system I am working on is a bit old its SAP R3 4.7C. In that I created a Z badi implementation and embeded the original
badi definition and wrote code and activated everything.
Either the badi I am using (which sap guys told) isnt correct or something. Can anyone guide me as to whats the next step.
Thanks,
JGHi,
To add a new custom tab in TM_XX transactions you have to follow these steps:
1. (SE80) Create a dynpro as SUBSCREEN, with the structure (fields, tablecontrols...) you want in the new tab, located in a modul-pool.
Example: Program: ZCFM001
Dynpro: 1010
2. (SE18) Create your custom implementation of BADI FTR_CUSTOMER_EXTENT. This will create a Z class where you can program the new tab management.
Example: Implementation: ZAMPLIACIOTM001
Class: ZCL_IM_AMPLIACIOTM001
3. (SE24) Implement method EVT_APPLICATION_START of your new class. This method is called when the transaction is going to be painted, and manages (among other things) which tabs need to be shown. In general terms, you will have to assign your dynpro to a function code.
This BADI offers you 2 custom function codes, and so, the ability to add two custom tabs. These function codes are OPEN_TRTM_CUST_01 and OPEN_TRTM_CUST_02.
To add your dynpro to a function code, you have to identify this relationship in the internal table (parameter) PC_TAB_BADI_TABS. This is the table that contains the custom tabs to be added.
To do this, you have to add the following piece of code:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
4.1. Modify the tab structure.
LS_BADI_TABS-REPID = ZCFM001. "Report
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '1010'. "Subscreen
4.2. Add the new tab.
MODIFY PC_TAB_BADI_TABS
FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
And that's it! Now you will be able to see you new tab in these transactions.
I hope this helps you.
<b>Reward points</b>
Regards -
Deleted standard class and BAdI. Need to re-generate/re-import.
Hello SAPients,
My buddy was working on the implementation of a BAdI. He arrived to a point where he couldn't save the Implementation because the system showed the error "Interface doesn't exist". He thought that deleting the implementation and re-creating it he would be able to save the implementation but then the system requested for an Access Key to modify the object, he requested the Key to the Basis guys, they provided it and my buddy deleted the implementation (that's what he thought). Actually, something weird happened and he deleted the class and the BAdI. Now, we are having trouble with short dumps in standard TCodes. The question is, is it posible to re-generate/re-import this standard objects? How?
Thanks in advance for your kind help.I already told him that.
BAdI: FTR_CUSTOMER_EXTENT.
Class: CL_EX_FTR_CUSTOMER_EXTENT.
We have too many developers working on this system, if we restore it from a backup we'll lose their work.
Any other idea?
Thanks. -
Sap treasury profit center integration
Hi,
My company number of branches and each branch treated as a profit center in sap
In SAP, head office also a profit center, I want to integrate Profit Centre into treasury.
Please guide me how to integrate
with regards
raju2. If you want to show profit center inside a deal/transaction - use custom tab Custom Screen in Transaction Manager, Facility
And if you want to make posting with Profit center from your deal/transaction, but without configuration in SM30 -> TRACV_ADDACCDATA - use badi TPM_ACCIF_TRAC, method ACCIT_EXIT
It is a task for your ABAPers.
1. Aks them to append Profit center field to VTBFHA.
2. They have to implement FTR_CUSTOMER_EXTENT using this article Custom Screen in Transaction Manager, Facility
3. They have to draw Profit center field connected to VTBFHA-your_profitcetner_field. So users witll have Profit center field inside transaction on customer tab. and they can enter needed profit center.
4. Implement badi TPM_ACCIF_TRAC, method ACCIT_EXIT - it has to get profit center from screen (3) and put it in one of the ACCIT structures from ACCIT_EXIT structure. Remeber that Profit center is CO object, so it has to be posted with P&L account.
That's all.
I hope that idea is clear. If not - ask questions.
Maybe you are looking for
-
How do I swap an image in one cell by clicking a link in another?
In a website I'm designing I have typed a "+" in one table cell. Next to that cell is another cell containing a jpg. I want the viewer to be able to click on the "+" and have the image in the other cell change to another image. I have several stacked
-
My Mac is dying - what's the best course of action?
My computer has been running poorly for months. Today I tried to run Disk Utility and I was informed my hard drive was failing and DU couldn't be run. Technically, I can't really afford any action right now but clearly I need to do something. In your
-
OUTPUT CUSTOMISING: TNAPR-NACHA empty
Dear all, I have customised a new Output attached to sales document header: When doing unit test I get error following error when trying to priint. Processing program missing for output ZIRP (medium 1) Message no. VN020 Diagnosis No processing progra
-
Delete the reference document in the list MRRL
Hi, I post a GR for Inbound delevery but to a false scheduling agreement. I got the referenz document number in List (MRRL: Evaluated receipt settelment(ERS). I cancel this GR but I always have this referenz document number in the List. All Entry or
-
Difficulty receiving MMS messages
MMS messages. . . photos are slooooooooooow to download to the point of not caring to even to see them. And a group message (including any related responses made my anyone in the group also using MMS) may take hours or days to come through at all. I