Skip to Content
0
Former Member
May 28, 2008 at 10:07 PM

Update routine- ABAP Code

45 Views

I have Key figures 0ACT_GI_DTE (Actual Ship Date) and 0GI_DATE (Planned ship date) in my source obejct.

Now when I pull this data into the target infoprovider, I want to calculate a new keyfigure. ZABC(say) which is nothing but the difference of above 2 KFs

ZABC = 0ACT_GI_DTE - 0GI_DATE

But there are a lot of records where 0ACT_GI_DTE is blank. I want to leave ZABC blank as well for these records.

I know the logic is real simple but if someone can give me the code(with syntax), it would be great.

Thanks