2011 Jul 12 2:56 PM
Hi Experts,
I have a problem in program RFUSVB10. When the program call FM DMEE_PUT_ITEM, the value that we passed in structure vatlist_xml-TOTAL_DEBIT is 2345.23 and vatlist_xml-TOTAL_CREDIT is 53424.43 and the result is the FM truncate the value and remove the decimal places. Now the XML output is:
<?xml version="1.0" encoding="utf-8" ?>
- <Total Debit="2345" TaxSum="53424">
I had debug how the values are being transfered but can't figure out where as there is a ABAP Kernel method being called.
Anyone knows of an OSS note that will solve this issue?
Thanks,
Drans
2011 Jul 13 3:28 AM
Hello Drans ,
have you checked that ATTRIBUTES of those nodes.....look for options "Conv. function" and check for the possible values based on your requirement.....
ex
Conv. function = AR.2 --->Amount with 2 decimals and right just....
regards
Prabhu
2011 Jul 13 6:29 AM
Hi Prabhu,
Thanks for your reply.
Yes I have already checked the conv. function. Actually I am in upgrade project. in ECC5, this FM's are working and then in ECC6 (upgrade box), it is not working anymore and what it does is truncate the amount and remove the decimal places. All properties (eg. Lenght, target offset, conv.function) in ECC5 and ECC6 are the same. I wonder why it's not working anymore in ECC6. I'm still debugging this FM and still searching for an OSS note but I couldn't find one.
Thanks and Regards,
Drans.
2011 Jul 13 6:45 AM
Hi Drans ,
how abt the mappings , are you using any exit modules or direct mapping ? if you are using Exit Modules for these Nodes , then u need to make sure in that exit FMs you are passing outout values to p_value (export params in that exit FM )....
regards
Prabhu
2011 Jul 13 6:57 AM
Hi Prabhu,
What you mean by mappings, exit modules or direct mapping? How will I check this? I only check every nodes in tcode DMEE? is there any tcode where I can check this mappings and exit modules? sorry this is my 1st time working on DMEE transaction and FM's.
Thanks and Regards,
Drans
2011 Jul 13 8:56 AM
Hello Drans,
if you look at MAPPING Procedure(Attribute tab in DMEE )...you have options like : "Structure field ( directlying mappend to FPAYH/HX/P int tabls ) or Exit Module ( check Source Tab for more info)....
so which procedure you are using to populate amt and tax fields?
Tcode : DMEE itself....
regards
Prabhu
2011 Jul 13 11:17 AM
Thanks Prabhu.
I have look at Mapping of amt and tax fields and they were defined as a structure field and no exit function used.
Tax is PTDART_ITEMS-DOC_TOTAL and Amount is PTDART_ITEMS-GLDEBIT_AMT.
Regards,
Drans.
2011 Jul 14 2:41 AM
Hello Drans ,
can you send me screen shot DMEE nodes and also name the DMEE format from which u copied or using ?
regards
Prabhu
2011 Aug 02 7:29 AM
Hi Prabhu and to all,
Thanks for all your help. I solve the issue by reloading the XML page in tcode DMEE.
Regards,
Drans.