10-02-2009 11:56 AM
Hi All,
I want to created ABAP program for Change Accounting Document Information like transaction FB02.
but i dont want to use BDC, cause i don't want to give user authorization FB02,
Can somebody give me the solution.
Best Regards,
Ferry
10-03-2009 6:35 AM
Hi Ferry Tjhin,
In FB02, you can only change the text fields, so whats the issue in giving authorization.
You can copy the standard program to a z-prog. and give authorization to the z- program.
Regards,
Vinod
10-03-2009 6:35 AM
Hi Ferry Tjhin,
In FB02, you can only change the text fields, so whats the issue in giving authorization.
You can copy the standard program to a z-prog. and give authorization to the z- program.
Regards,
Vinod
10-05-2009 5:09 AM
Hi Vinod Iyer,
On our Business Proses,
FB02 can change the :
- BSEG-ZUONR
- BSEG-SGTXT
- BSEG-XREF1
- BKPF-BKTXT
- BKPF-XBLNR
and the issue it's...
if i giving the authorization,
user can change the Assignment (ZUONR) directly,
it's be effect with another user proses automatic clearing without definition (transaction F.13)
10-05-2009 7:21 AM
Hi,
You can copy the transaction code FB02 to a z tcode and give authorization to that z tcode.
But still you might have to give authorization to authorization object F_BKPF_BUK and activity 02(Change)
which are used in FB02.
Regards,
Vinod
10-05-2009 2:21 PM
In FB02, you can only change the text fields, so whats the issue in giving authorization.
You should understand more about the configuration for the process before you make a statement like that - it's not true. As for your other assertions, you are close but still not there. You can assign a different user ID to the transaction execution which has the appropriate authorization and then lock down the access to the custom process (report/transaction).
10-05-2009 2:34 PM
Hi,
Use the concept of Transaction variants.(Transaction SHD0) You need not copy the standard program for FB02, Just create a transaction variant for FB02 and assign a custom transaction code(also called variant transaction) to access the transaction
Also you can assign authorizations for the custom transaction.
Using transaction variant, you can hide some fields(business critical), input disable, make mandatory and default some values on the screen fields of FB02.
Also note: If you active the transaction variant as Standard variant, then when ever you call FB02, the transaction variant is called with the screens(of the transaction variant)
Documentation for transaction variants is available in SHD0 -> Application tool bar -> icon
Hope this helps
Regards
Shiva