Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Change Accounting Document FB02 without BDC

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

rvinod1982
Contributor
0 Kudos

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

5 REPLIES 5

rvinod1982
Contributor
0 Kudos

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

0 Kudos

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)

0 Kudos

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

0 Kudos

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).

Former Member
0 Kudos

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