I am posting a document via VL02N and I have a requirement in which when I create the accounting document:
In item 2: I must clear the amount and local currency 2 amount.
In item 3: I must move the value of local currency 3 to amount and local currency 2 as the picture below.
I was trying to use a substitution in ggb1 but the values are 0 during the debugging. I tried also with several BADIs related to posting and I do not have the value.
Do you know how I could do it? I was checking online and it seems I cannot modify this LC2 or LC3 so which value is related to it that once i modify it, the values of LC2 and LC3 are updated?