2006 Feb 03 4:25 PM
Hi all,
We are working on creating basicaly copy a standard transaction F-49 which posts document. there are many transactions internally called with in the process.
The requirement is to make one of the fields mandatory and it has to update some of the Z tables along with the standard tables as F-49 does.
so can you help us in how can we copy the whole transaction (i.e even the internall transactions and their includes).
And how do we fetch the values , and fill it in the database.
Thanks in advance,
Kishore Kumar Yerra.
2006 Feb 03 4:32 PM
F-49 is parameteric transaction.
Internally it is calling FB31. Do You want to copy FB31?
It is not Advisable to copy the whole trasncation.
Better search for some User exit or BADI to do your stuff.
If you really wants to copy the whole transaction goto SE80 and Enter program name of FB31 and COPY it.
F-49 is parameteric transaction.
Internally it is calling FB31. Do You want to copy FB31?
It is not Advisable to copy the whole trasncation.
Better search for some User exit or BADI to do your stuff.
If you really wants to copy the whole transaction goto SE80 and Enter program name of FB31 and COPY it.
2006 Feb 03 4:30 PM
This transaction is tied to program SAPMF05A, first you would start by coping this program to a "Z" version. SAPMZF05A. Then you will probably have to copy some of the includes to "Z" versions as well. Then you will have to make your changes, and assign a "Z" transaction to your new program SAPMZF05A.
Regards,
Rich Heilman
2006 Feb 03 4:30 PM
Copy the Function group of that transaction to some custom group. Then, it will ask the related includes/transactions to copy. Copy all those to your custom related and modify accordingly.
For this, use SE80 to copy Function Group.
2006 Feb 03 4:32 PM
F-49 is parameteric transaction.
Internally it is calling FB31. Do You want to copy FB31?
It is not Advisable to copy the whole trasncation.
Better search for some User exit or BADI to do your stuff.
If you really wants to copy the whole transaction goto SE80 and Enter program name of FB31 and COPY it.
2006 Feb 03 4:32 PM
Hi
Try to use the BTE and not Z-transaction.
You can use BTE:
- 1030 to update your Z-TABLE while document is saving,
- 1011 to check the value of item
Max
2006 Feb 03 4:55 PM
Hi
Iam new to this , could you help what are BTE's or suggest me a HOW-To or Tutorial about this.
Thanks in Advance
Kishore Kumar Yerra.
2006 Feb 03 5:49 PM
Hi
The BTE (Business Transaction Event) are user-exit called at strategig points of the certain process.
They are the Function Module: every process has an own function module as example.
You have to copy the fm std and insert your abap code into it. After assign that function to your process (the event).
So use trx FIBF:
Goto Enviroment->System Info(Event) or System Info(process): here all events you can use are listed and you can read the documentation and see the function module standard.
Goto Setting->Module for event(Process) here you can assign your Z-fm to your event.
For example:
event 1030 -> FM std is SAMPLE_INTERFACE_00001030
So you copy it and create fm Z_INTERFACE_00001030: here you can insert the code to update your Z-TABLE. The interface of this FM return all header and items data.
After assign this fm to your process:
Goto Setting->P/S Function Modules->of an SAP appl.
Here the system'll open the maintain view where you enter your data:
Event: 00001030
Process: FI-FI
Function Module: Z_INTERFACE_00001030
Before saving document system'll call your function and run your code.
Max
2006 Feb 03 6:44 PM
Hi max,
i was able to understand the process now in a abstract manner .
i would be grateful if you could suggest me a link or a document about BTE's.
Thanks in Advance
Kishore Kumar Yerra.
2006 Feb 04 7:32 AM
Hi ,
Hi we have tried implementing the BTE's ,
1)but how do we get open items in the second screen based on assignment number( BSEG-ZUONR).
the first screen is F-49 and the second screen is (process open items.)
2)how to get the open items in the second screen(post incoming payments process open items) from the Z Table .
Z table conatins the open items.
Thanks in Advance,
Kishore Kumar Yerra.
2006 Feb 04 8:28 AM
Hi
Can you explain what you need to do?
Do you want fill some fields with values of a z-table?
http://fuller.mit.edu/user_exits/business_transaction_event.htm
Max
2006 Feb 04 8:49 AM
Hi
My requirement is to display the open items from Ztable on the 'Post incoming payments: process open items' screen.
selection of the open items is based on Assignment field of the first screen.
This screen is second screen of f-49/ f-28 transactions.
I have the open items data in Z table.
Thanks in advance ,
Kishore Kumar Yerra.
2006 Feb 04 10:28 AM
Hi
You can change the value fields only by substitutions.
If you want to use BTE, there the event 00001120 but it can change the value at the end (while system's storing the document).
Max
2006 Feb 03 4:35 PM
Rather than copying the transaction, try using User Exits for the same. it can be used to validate( check for fields to be filled ) and also populating data into ur ztables. just that u need to find out which among all the User exits available for ur transaction will be useful for u.
these r the list of exits for transaction F-49
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
u can c them in transaction SMOD.
hope it helps.
regards,
Bikash
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |