Reply from avtenta77 on Oct 15 at 4:43 AM I used PC47 = 3 and I get P0014 SI11 GEN NOAB 3 1200 Fiksna stim01 X 01 300,00 3 1200 Fiksna stim01 X 02 400,00 Now I have to recalculate amount, like I wrote 300 / 184* 88 = 143,48 400 / 184 * 96 = 208,70 I created rule: - I create pc 90 for 1200 000050 P0014 SI11 GEN NOAB 000060 PIT &S11 P90 NOAB &S11 000010 D VWTCL 90 000020 * 000030 A NUM=TSDIVIDIVID ANN PRINT ADDWT * I get (300 / 184, 400 / 184 ) 3 1200 Fiksna stim01 X 01 1,63 300,00 3 1200 Fiksna stim01 X 02 2,17 400,00 Now I have to muliply NUM with planned hours (PSP table) ... 143,48 208,70 Do I need to create ABAP function for this? Thank you for your answer. It helped me a lot.
| | | ---------------Original Message--------------- From: avtenta77 Sent: Tuesday, October 14, 2014 7:47 AM Subject: Function P0014 I have two records in IT0014. Standard function have as result one line for this WT. 1200 Fiksna stimulacija 16.10.2014 31.10.2014 400,00 1200 Fiksna stimulacija 01.10.2014 15.10.2014 300,00 01.10.2014 - 15.10.2014 300 eur AMT1 (88 planned hours) 16.10.2014 - 31.10.2014 400 eur AMT2 (96 planned hours) NUM=TSDIVI = 184 hours I need in result table 2 records 300 / 184* 88 = 143,48 400 / 184 * 96 = 208,70 1200 143,48 1200 208,70 Best Regards, Nadja | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |