Hi,
Experts
can you help me to build a conversion logic for the following
1.BKPF-BLART .setting it to 'ZF'.
2.BKPF-MONAT derived from posting date
3.BKPF-WAERS set to GBP
4.Dr/.Cr indicator BSEG-SHKZG.
If Posting Key (BSEG-BSCHL) is u201840u2019 then this indicator (BSEG- SHKZG)is u2018Su2019 (Debit)
If Posting Key (BSEG-BSCHL) is u201850u2019 then this indicator (BSEG- SHKZG)is u2018Hu2019 (Credit)
5.a)If Cost Object Type is u2018Cu2019 (= Cost Centre), then Cost Collection Object Id shall be mapped to BSEG- KOSTL.
BSEG- PRCTR should be derived from the Cost Centre Master data CSKS- PRCTR.
Effective date should fall between the validity dates CSKS-DATAB and CSKS-DATBI
b)If Cost Object Type is u2018Iu2019 (= Internal Order), then Cost Collection Object Id shall be mapped to BSEG- AUFNR.
BSEG - PRCTR should be derived from the Internal Order Master data AUFK-PRCTR
c)If Cost Object Type is u2018Wu2019 (= Work Breakdown Structure element), then Cost Collection Object Id shall be mapped to BSEG-PROJK.
BSEG - PRCTR should be derived from the WBS Master data PRPS-PRCTR
d)If Cost Object Type is u2018Pu2019 (= Profit Centre), then Cost Collection Object Id shall be mapped to BSEG - PRCTR.
6.Ledger Group BKPF-LDGRP. Set it to u2018Blanku2019 so that the document is posted to all ledgers.
7.Set BSEG-KOKRS (Controlling Area) to 1000.