2006 Oct 16 7:53 AM
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
2006 Oct 16 8:25 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |