I've unique requirement. It's a ECC - Idoc to R/2 Idoc scenarion.
The requirements are :
At source side I've two fields Vendor_Amt and VAT. At target side Idoc has fixed no of line Items (251)
Now if Vendor_Amt has more than 7 digits (Including decimals ) then divide them by 2 and check the resulting amount. If the resulting amout is again >7 digits then divide by 3 and check again..and so on.
Once this is complete, divide the VAT with the same u201Cdividing factoru201D used for Vendor_amt.
same time at target side I have to check If the total no of line items at source side is increased more than 251 then I've to split it into another Idoc structure.
Please follow this link for the example.
Any suggestion appreciated.
Edited by: chintan patel on Sep 6, 2008 12:08 AM