‎2009 Aug 26 12:57 PM
how to decide posting key for negative valuies and for positive values
and who will decide this
i have to assign minus sign to value for posting key say 21.
how can i do that. is it like this ?
{if itab-BSCHL = '22'.
concatenate '(-)' amount into itab-amount .
condense itab-amount no-gaps .
itab-WRBTR = itab-WRBTR * -1 .
endif.}
please reply
‎2009 Aug 26 1:05 PM
Hi,
I dont think you can assign the sign to the amount for the posting key...
Posting keys are divided into Debit and Credit Indicator...
So system automaically take the sign of the amount from the Posting key you have selected.
You can try Txn FB01...there you cannot give the amount in negative...it should be positive but after posting u can see the differnece...
it depends on the posting key ....
exactly for what purpose you r looking posting key...
Thnx
Rahul
Edited by: Rahul Keshav on Aug 26, 2009 5:36 PM
‎2009 Aug 26 1:17 PM
Hi ,
Use Debit credit indicator for identifying sign
i.e. H credit.
S Debit.
Regards,
Vijay
‎2009 Aug 26 1:25 PM
Hi Ravi,
Functioanl guys can help you regarding the posting key logic, try consulting them.
Regards
arun
‎2009 Aug 26 1:26 PM
HI,
There is a field SHKZG for debit credit indicator. values( 'S' or 'H').
Write condition on that field, you can mark sign to the values.
Regds,
Anil
‎2009 Aug 27 6:52 AM
‎2009 Aug 27 12:59 PM