sap

Download Sap

If you can't read please download the document

Upload: panirbanonline3426

Post on 28-Sep-2015

219 views

Category:

Documents


2 download

TRANSCRIPT

'SD_COLLECTIVE_RUN_EXECUTEYou can use customer function EXIT_SAPLV60P_008 to sort to your ownrequirements in VF04 (include ZXV6PU08) You can use this exit (SE38) : V05IEXITYou can update the field VKDFS-SORTKRI with our own logical.This field is used directly in the selection screen. when gc_vbtyp_order. lv_oj_name = 'BUS2032'. when gc_vbtyp_return. lv_oj_name = 'BUS2102'. when gc_vbtyp_credit_req. lv_oj_name = 'BUS2094'. when gc_vbtyp_debit_req. lv_oj_name = 'BUS2096'.............................................................ENHANCEMENT-SECTION sdbont06_03 SPOTS es_sdbont06. -- vbeln_tabprotokol - V - Entry....................................................................Suppose Gross Value ( say KOMP-KZWI6 ) = 5151.11 Formula -> Gross Value = Net value ( say XKWERT ) + 17% of Net value. So, Net Value = ( Gross Value * 100 ) / 117 = 5151.11 * 100 / 117 = 4402.66 (1) How SAP does it - i) SAP stores % as 0. So 17% is stored as 170.00 in SAP.II) During multiplication, SAP internally ignores the decimal points and does multiplication using whole numbers. After getting the final amount, SAP then puts the decimals at the correct position. So formula (1) becomes = 5151.11 / 1.17 = ( 515111 ) / ( 100 + 17000/ 1000) . ( Divided by 1000 = 10 ( for getting the actual % ) * 100 ( To counter removal of decimal in 17000 ) = ( 515111 * 100000 ) / ( 100000 + 17000 )= 51511100000 / 117000= 440265.81 After final calcualtion, SAP puts the decimals back at the right place= 440265.81 / 100 ( Divided by 100, as earlier during calculation, it was using 515111 , instead of 5151.11 ) = 4402.66.........................................................................................................