Skip to Content
author's profile photo Former Member
Former Member

Smartform with function modules in nodes?

Hey guys, I'm trying to use the function module 'RV_PRICE_PRINT_ITEM' within a node that i'm currently using in sapscript.

For some weird reason I am not receiving any of price conditions that i'm supposed to.

I've double and triple checked the parameters are exactly the same and even tested the function module by itself and everything works.

Is it possible that the function module won't run correctly within a smart form node?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 30, 2004 at 03:06 AM


    Could you please mention the node type where you are calling the FM? If you are not already doing so, the node type Program Node might solve your issue. There are a couple of other places where you can write your code as well, like in Global Definitions-->Subroutines tab and others. Please do share the outcome.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yes, I tried in the program node also in the global definitions. I'm pretty sure the problem is an SAP bug and I've opened a note with them. I'm sure of this now because i've tested the function module in a basic abap program, from the test screen, and within an abap programming that calls sap script. All of these work fine but the same exact call returns nothing when running in the smart form. I looked for notes relating this and there was 1 that looked like it could be a similar problem, i'll update you when i have fixed the issue.



  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2004 at 07:16 AM

    Hi everyone,

    I have a similar problem.

    I have a print program and sapscript. In the print program, I call FM 'RV_PRICE_PRINT_ITEM' (of course fill out the structure before calling it).

    Transaction VF02/VF03, enter the billing document and then print or preview the report (this will call the print program and the sapscript).

    If I do the above steps in VF02, FM doesn't return any data in KOMV table. However, when I do the same steps in VF03, the function module returns data in KOMV table.

    Any idea why? I checked komp & komk structure in both VF02 and VF03. They're the same.

    Any input will be appreciated.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.