cancel
Showing results for 
Search instead for 
Did you mean: 

S4: Substitution of business area

nico_dewaele
Active Contributor
0 Kudos

hi,

we have a substitution on business area that causes trouble in S4 Hana.

When we do a substitution with constant value, all goes fine.

When we do a substitution via user exit ( USING bool_data TYPE gb002_015. ) Only the Entry view is updated (BSEG) but not the General Ledger view (ACDOCA).

How can we correct this?

kr

NicoSPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }.L0S52 { color: #0000FF; }.L0S55 { color: #800080; }

raymond_giuseppi
Active Contributor
0 Kudos

Could you post the code of the Exit, else consider using BADI_FINS_POSTING_INTF, method CHANGE_AFTER_CHECK.

View Entire Topic
nico_dewaele
Active Contributor
0 Kudos

hi,

the code

IF bseg-vorgn EQ 'SD00'.
LOOP AT bool_data-bseg INTO bseg WHERE kunnr = ''
AND koart = 'S'
AND gvtyp = 'X'.
l_gsber = bseg-fkber.
bseg-gsber = l_gsber.
MODIFY bool_data-bseg FROM bseg INDEX sy-tabix.
ENDLOOP. SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }.L0S31 { font-style: italic; color: #808080; }.L0S33 { color: #4DA619; }.L0S52 { color: #0000FF; }.L0S55 { color: #800080; }.L0S70 { color: #808080; }

kr

Nico

raymond_giuseppi
Active Contributor
0 Kudos

Don't use answer if you don't answer the original question. Comment on the previous answer or comment so that the user who posted it is aware of it.