07-29-2009 5:41 AM
Hi all,
I have this procedure that creates a DO in the background from SO. This DO, during background run, will eventually prints a FORM (Pre-Invoice) to the printer.
However, the form doesn't show price item and price unit.
If i print this form again manually, the price item and price unit appears...
I'd check my print program and form... i don't see anything unusual that restricts the value from printing differently...
However, i suspect function module 'RV_PRICE_PRINT_ITEM' is not getting value out from teh system because SO has not been saved or DO hasn't been saved during the background run...
Any ideas...
Thanks,
William Wilstroth
07-29-2009 6:01 AM
yeah KNUMV is the condition number, which is a key for KONV table...
try calling the FM in a NEW TASK ... (check for the addition for call function)
07-29-2009 7:02 AM
Sorry J@y... I don't understand your suggestion...
The price print function module "RV_PRICE_PRINT_ITEM" is in a print-program of an output type being called in the background by a DO which is also generated in the background from an SO....
I don't see why I should make the "RV_PRICE_PRINT_ITEM in the print program to start as a NEW TASK...
Thanks,
William Wilstroth
Edited by: william wilstroth on Jul 29, 2009 2:34 PM
10-16-2015 11:28 AM
Hi william Wilstroth,
I know it is a old thread opened ages ago and i am facing the same issue.
Please let me know if you fixed this.
Regards
S.Janagar
10-19-2015 2:48 AM
HI Janagar,
Wow! I didn't know anyone would come into this issue again... !
Until today it remains a mystery and my issue was another ABAPer make a change to the standard program somewhere out there and there was no documentation on it (or even a note on it)...
Sorry mate, I am not sure what the previous ABAPer did to it... and no one could tell...
However, I have highlighted it in my blog... with an alternative solution... this may not be a long run permanent answer but it is good to know at which point it causes... this issue cost me 4 days of sleepless nights!
Is Sky The Limit : The Technical: SAP ECC6.0 : SO-DO (No Pricing Display)
And down in my the comments section, there's one guy who said, probably function 'RV_PRICE_PRINT_FUNCTION' may have coded somewhere too so causing the mystery...
If you do found out the "concrete" solution OR the best possible cause, please update here too... so other users or contributors who are facing this issue knows what to do in the future.
Good luck...
Regards,
William W.
10-20-2015 3:17 PM
Hi William wordsworth,
Thanks for your reply.
I have written a wrapper RFC FM and called it as CALL FUNCTION 'ZFM' destination 'NONE' and it worked .
Regards
S.Janagar
10-21-2015 3:46 AM
You are welcome!
And your wrapper RFC something similar to my "alternative" solution in my blog?