Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RV_PRICE_PRINT_ITEM not printing in the background when DO created by SO

Wil_Wilstroth
Active Participant
0 Kudos

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

William Wilstroth
6 REPLIES 6

former_member156446
Active Contributor
0 Kudos

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)

0 Kudos

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

William Wilstroth

0 Kudos

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

0 Kudos

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.

William Wilstroth

former_member183990
Active Contributor
0 Kudos

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

0 Kudos

You are welcome!

And your wrapper RFC something similar to my "alternative" solution in my blog?

William Wilstroth