Application Development and Automation 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: 
Read only

Cross company posting

Former Member
0 Likes
376

Hallo,

We have 2 companies and we have to do cross company clearing. The problem is that we have to use different GL according to the subject - for banks we want to use GL's X & Y and for cross company income we want to use GLws A & B. Doe's anybody have an idea how to do that? is there any user exit we can use?

Regards

Gal

Hallo,

We have 2 companies and we have to do cross company clearing. The problem is that we have to use different GL according to the subject - for banks we want to use GL's X & Y and for cross company income we want to use GLws A & B. Doe's anybody have an idea how to do that? is there any user exit we can use?

Regards

Gal

1 REPLY 1
Read only

Former Member
0 Likes
339

i dont know if it help you but i am giving you some

badi's , in hope it will help :

1) BAPI_ACC_DOCUMENT_POST i use it in inverse sign .

2)

CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'

EXPORTING

reversal = s_reversal

bus_act = v_bus_act

  • IMPORTING

  • OBJ_TYPE =

  • OBJ_KEY =

  • OBJ_SYS =

TABLES

return = t_return[] .

LOOP AT t_return.

CALL FUNCTION 'MESSAGE_STORE'

EXPORTING

arbgb = t_return-id

msgty = t_return-type

txtnr = t_return-number

msgv1 = t_return-message_v1

msgv2 = t_return-message_v2

msgv3 = t_return-message_v3

msgv4 = t_return-message_v4

zeile = t_return-row.

ENDLOOP.

IF v_error IS INITIAL.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

IMPORTING

return = s_return.

IF NOT s_return IS INITIAL.